Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List available versions for a tool #826

Closed
5 tasks done
tobka777 opened this issue Jul 14, 2022 · 2 comments · Fixed by #915, #919 or #928
Closed
5 tasks done

List available versions for a tool #826

tobka777 opened this issue Jul 14, 2022 · 2 comments · Fixed by #915, #919 or #928
Assignees
Labels
enhancement New feature or request

Comments

@tobka777
Copy link
Member

tobka777 commented Jul 14, 2022

As a devon-IDE user, I want to know which versions are available for a tool i.e. java so that can easily switch the version of a tool.

Acceptance criteria:

  • start with JAVA
  • save all versions to a file (name: available-versions) in https://github.com/devonfw/ide-mirrors
  • create nightly github action to crawl versions and update the file and push changes to git.
  • suggest the versions to the user during installation and update
  • optionally the autocomplete function can be extended
@tobka777 tobka777 added enhancement New feature or request Team_IDE labels Jul 14, 2022
@hohwille
Copy link
Member

hohwille commented Jul 14, 2022

@tobka777 thanks for filing the issue.
Some thoughts on this:

  • The versions file should be sorted from latest to oldest version.
  • To determine the latest version, we can then just get the first line via head command.
  • We could define some specific syntax for versions such as e.g.:
devon «tool» version list - list all available versions of the tool
devon «tool» version set «version» - save version as `«tool»_VERSION` variable in `settings/devon.properties`, choose version from the list with auto-completion.

Some people tend to install things like https://github.com/nvm-sh/nvm#node-version-manager--- and SDKMan (#772) also works in this way. So making it easier for the user to install a specific or latest version surely makes sense.

sarahffm added a commit to sarahffm/ide that referenced this issue Aug 26, 2022
ahmedagdmoun added a commit to sarahffm/ide that referenced this issue Sep 5, 2022
sarahffm added a commit to sarahffm/ide that referenced this issue Sep 27, 2022
sarahffm added a commit to sarahffm/ide that referenced this issue Sep 27, 2022
sarahffm added a commit to sarahffm/ide that referenced this issue Sep 27, 2022
sarahffm added a commit to sarahffm/ide-mirrors that referenced this issue Sep 29, 2022
sarahffm added a commit to sarahffm/ide-mirrors that referenced this issue Sep 29, 2022
sarahffm added a commit to sarahffm/ide-mirrors that referenced this issue Sep 29, 2022
sarahffm added a commit to sarahffm/ide that referenced this issue Sep 29, 2022
sarahffm added a commit to sarahffm/ide that referenced this issue Sep 29, 2022
sarahffm added a commit to sarahffm/ide that referenced this issue Sep 30, 2022
hohwille pushed a commit to devonfw/ide-mirrors that referenced this issue Sep 30, 2022
@hohwille hohwille linked a pull request Sep 30, 2022 that will close this issue
sarahffm added a commit to sarahffm/ide-mirrors that referenced this issue Oct 4, 2022
hohwille pushed a commit to devonfw/ide-mirrors that referenced this issue Oct 7, 2022
hohwille added a commit to hohwille/ide-mirrors that referenced this issue Oct 7, 2022
hohwille added a commit to hohwille/ide-mirrors that referenced this issue Oct 7, 2022
hohwille added a commit to devonfw/ide-mirrors that referenced this issue Oct 7, 2022
@hohwille hohwille linked a pull request Oct 7, 2022 that will close this issue
hohwille pushed a commit that referenced this issue Oct 7, 2022
@hohwille hohwille added this to the release:2022.08.004 milestone Oct 7, 2022
@hohwille
Copy link
Member

hohwille commented Oct 7, 2022

Reopening as following aspects are still open:

  • exceptions for special commands (e.g. maven vs. mvn)
  • autocompletion

@hohwille hohwille reopened this Oct 7, 2022
hohwille added a commit to hohwille/ide that referenced this issue Oct 7, 2022
hohwille added a commit to hohwille/ide that referenced this issue Oct 7, 2022
hohwille added a commit to hohwille/ide that referenced this issue Oct 7, 2022
@hohwille hohwille linked a pull request Oct 7, 2022 that will close this issue
hohwille added a commit to hohwille/ide that referenced this issue Oct 10, 2022
hohwille added a commit to hohwille/ide that referenced this issue Oct 11, 2022
hohwille added a commit that referenced this issue Oct 11, 2022
hohwille added a commit that referenced this issue Nov 7, 2022
… doInstall (#934)

* #878: insteall latest version if unspecified

* #933: fixed typo

* #878: insteall latest version if unspecified also for docker

* #878: added to CHANGELOG

* #826: excuse rule for cobigen added

* #878: fixed stupid bug

* #847: fix for global tools and cobigen

* #878: #933: fixes and improvements

* #893: ability to configure version prefix

* #940: handle silent mode in doInstall and simplify doSetup

* #934: shellcheck fix

* #934: CHANGELOG

* #940: generalize macos workarounds

* #940: generalize macos workarounds

* #940: generalize macos workarounds

* #940: need to implement on mac, small improvements for debugging

* #940: generalize macos workarounds

* #940: generalize macos workarounds

* #940: fix - thanks shellcheck

* #940: fixed doInstall java extra arg order

* #940: OMG: fixed custom tools bug

* #893: extended test and fixed doVersionCompare

* #934: removed code entirely

* #934: removed TODO

* #934: simplified

* #934: fixed download caching

* #934: fixed aws

* #934: keep code to remove aws installer

* #934: fixed typos

* #957: symlink fix

* #957: symlink fix

* #934: fixed gcviewer

* #934: shellcheck fix

* #934: shellcheck war starts

* #934: improve DEVON_SOFTWARE_PATH on win

* #934: shellcheck fix

* #958: make symlinks work on windows

* #958: updated documentation

* #934: improved DoD from review comment

* #934: define HOME always on top

* #960: prevent "oc version" error

* #940: improve MacOS workaround

* #934: fixed doMavenArchetype

* #934: fixed aws

* #934: aligned and simplified

* #940: fixes for MacOS workaround

* #940: MacOS quickfix for eclipse

* #911: further improvements for eclipse

* #934: shellcheck fix

* #934: nasty shellcheck

* #960: added to CHANGELOG

* #961: split functions, fixed intellij version command on mac

* #961: fixed function doc

* Fix Add-plugin and custom start parameter

I fixxed the add plugin function which forgot to call vscode with "--install-extension".
And I changed the run command so it passes the arguments given to the run method, so you can run vscode with custom start parameters aswell now.

For example:
devon vscode run --list-extension

* #934: removed debug output

* #961: fixed function doc

* #934: #943: improve vscode plugin installation

* rename pip-latest-windows to pip-latest-pip

There was in an error installing pip on Windows because the installation file was renamed from pip-latest-windows-py to pip-latest-pip.py

* use cg --version

* #934: added missing X flags

* #940: fixed MacOS Workaround

* #934: python fix due to doInstall installer missuse

* #934: improved doc for shared software

* #934: rancher fix due to doInstall installer missuse

* #934: kubectl shall not have knowledge about docker installation

Co-authored-by: Genetics <102921542+Amueller36@users.noreply.github.com>
Co-authored-by: alfeilex <101652401+alfeilex@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants