Skip to content

Make JRE dependencies from packages optional/recommended#12792

Merged
chadlwilson merged 1 commit intogocd:masterfrom
chadlwilson:optional-package-deps
May 24, 2024
Merged

Make JRE dependencies from packages optional/recommended#12792
chadlwilson merged 1 commit intogocd:masterfrom
chadlwilson:optional-package-deps

Conversation

@chadlwilson
Copy link
Member

Fixes #12791

Change them to recommended dependencies in each ecosystem; and fallback to just using java off path from the configuration if not available.

@chadlwilson chadlwilson added this to the Release 24.2.0 milestone May 22, 2024
@chadlwilson chadlwilson force-pushed the optional-package-deps branch 4 times, most recently from 1496bce to 9bb912b Compare May 22, 2024 14:07
Change them to recommended dependencies in each ecosystem; and fallback to just using `java` off path from
the configuration if not available.
@chadlwilson
Copy link
Member Author

Hiya @matthiaskraaz - WDYT about changing these to recommended/weak dependencies?

There's a (mild) complaint in #12791 and I did another deep dive into virtual packages, but I really can't find a good solution for the "general case" of finding the install location of an arbitrary package that satisfies a virtual package dependency, although do have a hack at https://github.com/chadlwilson/gocd/compare/231d6795c42a9dfd80a22b1540a2586af05bf289...chadlwilson:hard-virtual-package-dep?expand=1 which doesn't really even "try" to find the proper install location unless it's one of the openjdk variants satisfying the hard virtual package dependency.

I'm not sure :-)

@chadlwilson chadlwilson marked this pull request as ready for review May 24, 2024 01:39
@chadlwilson chadlwilson merged commit de60740 into gocd:master May 24, 2024
@chadlwilson chadlwilson deleted the optional-package-deps branch May 24, 2024 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GoCD 24.1.0 forced package dependency on OpenJDK17 JRE makes it difficult to BYO JRE

1 participant