You are not logged in.
This may be a stupid questions already answered but I can't find it.
1/ I want to contribute to a aur package already maintened. Can I made a pull request?
git clone https://aur.archlinux.org/package_name.git/
cd package_name
vi PKGBUILD
git commit -a -m "I fixed blah blah"
git pull https://aur.archlinux.org/package_name.git master
2/ I'm a maintener, I want to know if someone had made a pull request on one of my package. How I do that?
EDIT: Solved - Using patch
Last edited by Nyutag (2015-08-25 19:31:32)
Offline
In short, there is no support for pull requests in the AUR.
Offline
The AUR doesn't need github pull requests I think. Changes should be small enough to send patches if a simple outdated-flag is not enough.
If you want to fix something, do it in your local copy and commit it. Then create the patch (git format-patch) and send it per mail to the maintainer.
If the maintainer is very slow, maybe publish it in a pastebin (or even a gist) and add a comment to the package with the link.
If you have a change you feel is too large for a simple git format-patch / git am workflow, then create your own public repository and use "git request-pull" to ask for a merge.
Edit: The new AUR supports co-maintainers. So if you want to help maintainig a package, you can ask the maintainer if he wants your help. Maybe he trusts you enough to allow you write access.
Last edited by progandy (2015-08-25 02:13:59)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Online
Fyi, git pull doesn't do pull requests. See git-pull(1) for what it does.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
You could also just clone the repo, make changes, push to your github acct, then comment on AUR with the URL of your repo. The author can then pull your remote and merge as necessary. Essentially:
$ git clone https://aur.archlinux.org/package_name.git
$ git remote add mygithub git@github.com:myusername/package.name.git
$ git push mygithub master
$ git checkout -b changes mygithub/master
... make changes ...
$ git commit -am 'fixed such and such'
$ git push
Offline