Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76139 - [openjdk-doc] Inclued the JDK's version number in the directory name

Attached to Project: Arch Linux
Opened by Saleh Bakraa (SalB) - Saturday, 08 October 2022, 00:21 GMT
Last edited by freswa (frederik) - Tuesday, 18 October 2022, 22:33 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Levente Polyak (anthraxx)
freswa (frederik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The `openjdk-doc` package should follow the `java-openjdk` package have the version number of the JDK in the directory's name and the current
directory name be a symlink that is setup through `archlinux-java`. The `java-openjdk` package should also follows this for the JDK's licences.

I was trying to write code that sets up the available system java runtimes for the java language server and it was annoying trying to link
each documentation directory with the appropriate JDK.


Additional info:
* package version(s) - 18.0.2.1.u0-1
* config and/or log files etc. - N/A
* link to upstream bug report, if any - N/A

Steps to reproduce:

$ ls /usr/share/doc/java*
This task depends upon

Closed by  freswa (frederik)
Tuesday, 18 October 2022, 22:33 GMT
Reason for closing:  Won't fix
Comment by Toolybird (Toolybird) - Sunday, 09 October 2022, 03:10 GMT
This kind of thing seems to be a recurring issue whenever we provide multiple versions of a thing e.g. nodejs, electron, java, etc. Not sure it's worth implementing just because it's "annoying". Deferring to PM's better judgement on this one.
Comment by freswa (frederik) - Tuesday, 18 October 2022, 22:33 GMT
As toolybird mentioned, this is a rather a policy discussion. We're using the pkgname for the doc directory here (which has no version in it).
At the moment the latest pkg in electron, java, etc. has no version in it's name, so its' rather an issue of the pkgname than only the directory scheme.
I don't really feel the need to change that, but please feel free to write a mail to the ML or get in touch with us via IRC and start an RFC.

Loading...