michaellass / AUR

PKGBUILDs of all my AUR packages
7 stars 11 forks source link

Should AdoptOpenJDK be renamed to Temurin? #23

Closed Thammachart closed 3 years ago

Thammachart commented 3 years ago

It's been quite some time since AdoptOpenJDK become Adoptium's Temurin officially. Do we have any plan for migration?

Lots of package managers already applied this. (Homebrew, Scoop, Chocolatey)

michaellass commented 3 years ago

Yes, generally they should be renamed. In jdk-adoptopenjdk I at least updated the description now so that the package can be found when searching for Temurin or Adoptium. I'm not sure yet what would be the best way to do so. There are at least two different options:

  1. Rename the packages by writing a message to aur-general. Afterwards, an update of the packages is needed to update the installation target from /usr/lib/jvm/java-*-adoptopenjdk to /usr/lib/jvm/java-*-temurin. This would however leave people with a locally installed package that is not available in the AUR anymore. Also an update that changes the installation target might confuse people.
  2. Create new Temurin packages which use replace to signal that they are the successor of the current adoptopenjdk packages. The old packages could be updated to just depend on the new ones and create corresponding symlinks. At some point they can be removed from the AUR or merged into the new packages.

While writing this up I tend to solution 2. Merging the old packages into the new ones should also transfer comments and votes. For the transition period where both packages exist, they would be separate though.

Thammachart commented 3 years ago

Agreed with the solution 2

In addition, make it clear that it's deprecated and recommend Temurin packages in AdoptOpenJDK.

michaellass commented 3 years ago

Implemented in #24.