Migration of p7-tools to cahute
Hi everyone, I currently maintain some packages on the AUR, related to Casio calculators. In particular we'll focus on p7/libp7/p7screen which are dedicated to communication protocols. https://aur.archlinux.org/packages/p7 https://aur.archlinux.org/packages/libp7 https://aur.archlinux.org/packages/p7screen Recently the developer (Cakeisalie5) rewrote these utilities and replaced them by a single package, Cahute. https://cahuteproject.org/ I made a new package for this, which is not yet on the AUR but can be found on my personnal forge: https://git.middleearth.fr/Packages/cahute So I have some questions for you ^^ - How do I manage the decommissioning of the old tools? - I understand I'm not allowed to use the 'replaces' directive on the PKGBUILD as it is not an official package, I am right? - Should I add some warnings on existing p7/libp7/p7screen packages warning that they are no more maintained? - On the cahute package, does the .install looks good? - More generally I'll take any advise that help me to comply with the AUR guidelines :) Thanks for your help, Eldeberen
Ey, Does installing cahute and removing the other packages break existing files? If not, you should be able to use replaces. Cheers, Aᴀʀᴏɴ
On Mon, 11 Mar 2024 15:43:23 +0000 "Eldeberen" <eldeberen.archlinux@middleearth.fr> wrote:
- How do I manage the decommissioning of the old tools?
You request that they be merged into the new package. Anyone that has notifications set should get an email.
- I understand I'm not allowed to use the 'replaces' directive on the PKGBUILD as it is not an official package, I am right?
You can, it just won't do much in the AUR. It's generally advised against because people don't understand when to use it, but this is exactly the type of case it was made for. Unfortunately, replaces only does anything when the package is in a pacman repo, and won't do anything when people just -U the package. People managing a local repo will get an automatic replacement instead of having to `pacman -Syu cahute`, so there's that, but that's about it.
- Should I add some warnings on existing p7/libp7/p7screen packages warning that they are no more maintained?
Merging should take care of that.
participants (3)
-
Doug Newgard
-
Eldeberen
-
Lime In a Jacket (Aaron Liu)