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

ability to "download" custom software from mounted filesystem #1198

Closed
hohwille opened this issue Jun 16, 2023 · 0 comments · Fixed by #1344
Closed

ability to "download" custom software from mounted filesystem #1198

hohwille opened this issue Jun 16, 2023 · 0 comments · Fixed by #1344
Assignees
Labels
enhancement New feature or request setup related to the setup process of devonfw-ide (setup[.bat] and devon ... setup) software software-package with 3rd party products

Comments

@hohwille
Copy link
Member

hohwille commented Jun 16, 2023

We have added custom software feature that gives projects a great flexibility to add project specific software to their automated ide setup.
However, currently this requires a remote repository where the software will be downloaded via curl.
As a result all developers need to have access to a server where they can download the custom software from and this must not require authentication. In setups where different partners work together but the custom software repository may not be published on the internet this makes things tricky as all partners have to have access to that repository server via VPN or whatever.

The idea of this story is to also support file URLs for a custom software repository.
In that case the file will not be "downloaded" but just "copied" (using cp instead of curl).
The only trick is that the path to such mounted software repository needs to be configured somewhere and that may be tricky if you want to support multiple operating systems. E.g. for windows you might want to mount smb://software.mycompany.com to S: and e.g, configure S:\software as repository while on linux or MacOs this would need to be something rather like /mnt/software.
I guess something could be done with symlinks or so to make it cross-platform or otherwise maybe a variable DEVON_CUSTOM_SOFTWARE_REPOSITORY could be used and define as the windows default in the template for conf/devon.properties so users of linux or mac could simply adopt this or set it as env variable before they run the setup.

Besides implementing the actual change here:

doInstall "${software}" "${software_version}" "silent" "" "${DEVON_IDE_HOME}/software/${software}" "${os}" "" "${repo}"

We should also create a test setup of the scenario and verify that also a cross-platform solution is possible.
Then we can also extend the custom software documentation with some hints how to do it.

@hohwille hohwille added enhancement New feature or request software software-package with 3rd party products setup related to the setup process of devonfw-ide (setup[.bat] and devon ... setup) labels Jun 16, 2023
@Leosssss Leosssss self-assigned this Jul 20, 2023
Leosssss added a commit to Leosssss/ide that referenced this issue Aug 10, 2023
…ity-to-download-custom-software-from-mounted-filesystem
@hohwille hohwille added this to the release:2023.08.002 milestone Aug 10, 2023
hohwille added a commit to Leosssss/ide that referenced this issue Aug 10, 2023
Leosssss added a commit to Leosssss/ide that referenced this issue Aug 14, 2023
Leosssss added a commit to Leosssss/ide that referenced this issue Aug 14, 2023
…ounted-filesystem' of https://github.com/Leosssss/ide into devonfw#1198-ability-to-download-custom-software-from-mounted-filesystem
hohwille added a commit to Leosssss/ide that referenced this issue Aug 29, 2023
alfeilex added a commit to Leosssss/ide that referenced this issue Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request setup related to the setup process of devonfw-ide (setup[.bat] and devon ... setup) software software-package with 3rd party products
Projects
None yet
2 participants