Skip to content

docs: take the examples of the download task from the camel-lsp-server and perl-lsp installers - #2050

Merged
lagergren merged 2 commits into
redhat-developer:mainfrom
lagergren:docs/download-examples-of-current-templates
Nov 20, 2026
Merged

lagergren merged 2 commits into
redhat-developer:mainfrom
lagergren:docs/download-examples-of-current-templates

Conversation

@lagergren

@lagergren lagergren commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Part of #1960.

The examples of the download task, in docs/UserDefinedLanguageServerTemplate.md and in the Javadoc of DownloadTask, were a copy of the sdl-lsp installer from before cbe50d3, which made it download the latest GitHub release into $PROJECT_DIR$/.sdlb. Besides the folder, they were out of date in:

  • the URL, a snapshot on oss.sonatype.org, which answers 404 since OSSRH was shut down;
  • the command java -jar ${output.dir}/${output.file.name}, without the quotes around the path that the templates got in fix: small template and installer bugs from #1959, #1960, #1961 and #1947 #1981;
  • the asset pattern sdl-lsp-*-jar-with-dependencies.jar of the github example, while the release asset is now sdl-lsp.jar.

As muescha suggested on #1960, the example of a JAR download and the one of configureServer now come from the camel-lsp-server installer. It downloads into $USER_HOME$/.lsp4ij/lsp/camel-lsp-server, from a URL on Maven Central that answers, and quotes the path of the JAR. The example of an asset with * comes from the perl-lsp installer, perllsp-*-x86_64-unknown-linux-gnu.tar.gz.

Docs and a Javadoc comment only.

…r and vscode-js-debug installers

The examples were a copy of the sdl-lsp installer from before cbe50d3:
a snapshot URL on oss.sonatype.org, which answers 404 since OSSRH was
shut down, a command without the quotes around the path of the JAR, and
an asset pattern that no longer matches the sdl-lsp release.
@lagergren lagergren added this to the 0.30.2 milestone Nov 20, 2026
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

This review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry.

Next included review available in 16 seconds.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5c2604b0-16fe-4b7d-b04b-d0cd4e0a38ca
Commits

Reviewing files that changed from the base of the PR and between ccd8284 and e2597d4.

Files selected for processing: 2

  • docs/UserDefinedLanguageServerTemplate.md
  • src/main/java/com/redhat/devtools/lsp4ij/installation/definition/tasks/DownloadTask.java

@lagergren lagergren changed the title docs: take the examples of the download task from the camel-lsp-server and vscode-js-debug installers docs: take the examples of the download task from the camel-lsp-server and perl-lsp installers Nov 20, 2026
@lagergren

Copy link
Copy Markdown
Collaborator Author

@muescha could you review this? It takes the examples from the camel-lsp-server and perl-lsp installers, as you suggested on #1960. GitHub doesn't let me add you as a reviewer, since it only takes collaborators of the repository.

@lagergren
lagergren merged commit c1b1658 into redhat-developer:main Nov 20, 2026
9 of 10 checks passed
@codecov

codecov Bot commented Nov 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.47%. Comparing base (ccd8284) to head (e2597d4).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##             main    #2050     +/-   ##
=========================================
  Coverage   49.47%   49.47%             
=========================================
  Files         813      813             
  Lines       33330    33330             
  Branches     6850     5193   -1657     
=========================================
  Hits        16490    16490             
  Misses      14266    14266             
  Partials     2574     2574             

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@muescha

muescha commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation install template-ls

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants