You are not logged in.
Hello everyone,
I am Carlos, from Valencia (Spain). I introduce myself by submitting my first package to AUR. You can see it in checkpkg.
It is designed to look for updates of given packages (stdin or args). You can find examples and an animation in GitHub.
Hope you like it and thanks for all!
I will be grateful of receiving any type of feedback.
Last edited by carmilso (2017-09-10 17:21:42)
Offline
Moving to Creating Packages...
Offline
Why are you parsing HTML? The repositories have a JSON interface. See https://wiki.archlinux.org/index.php/Of … _interface
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Why are you parsing HTML? The repositories have a JSON interface. See https://wiki.archlinux.org/index.php/Of … _interface
True! But at first moment I prefered not to use external programs like jq and finally I left it this way
Offline
Offline
What advantages does this script have over a simple...
checkupdates | grep <pkgname>
For any reason (that I don't know) maybe you don't want to update your local repositories. Also you can check if some package exists in official repositories or if you have a concrete package updated and you don't want to grep over the grep
Offline
For any reason (that I don't know) maybe you don't want to update your local repositories.
The checkupdates script doesn't update your pacman database, that's the reason it exists.
Also you can check if some package exists in official repositories
pacman -Ss <pkgname>
or if you have a concrete package updated and you don't want to grep over the grep
What's a concrete package?
Last edited by Slithery (2017-08-28 19:34:23)
Offline
carmilso wrote:For any reason (that I don't know) maybe you don't want to update your local repositories.
The checkupdates script doesn't update your pacman database, that's the reason it exists.
Also you can check if some package exists in official repositories
pacman -Ss <pkgname>
or if you have a concrete package updated and you don't want to grep over the grep
What's a concrete package?
Sorry. A package which update you are waiting to.
I know it exists checkupdates, but I find this package useful for specific tasks.
Offline
Unfortunately, the name checkpkg clashes with the name of a script provided by the devtools package.
I don't really know how to change the name of my package without deleting it from AUR. Could you guide me?
Offline
Upload a new package with a different name and create a merge request ("Submit Request" -> Merge)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Upload a new package with a different name and create a merge request ("Submit Request" -> Merge)
Is it also necessary to use replaces of PKGBUILD to avoid conflicts with systems where the package is already installed?
Offline
replaces doesn't do much in the AUR. You want conflicts and provides. You can add replaces as well if you want.
Offline
Alad wrote:Upload a new package with a different name and create a merge request ("Submit Request" -> Merge)
Is it also necessary to use replaces of PKGBUILD to avoid conflicts with systems where the package is already installed?
Offline
Offline