You are not logged in.
Hey,
recently I wanted to merge a diff to AUR package. The owner was not responsive, so I left the patch in comments.
I am wondering if someone was considering to implement model of pull requests (like on github). Instead of leaving patch in comment I could do pull request.
Benefits:
1. Pull requests leaves trace who is doing what (useful to see that someone else is working on the same thing, etc)
2. Easier to navigate - diffs in comments are not very readable. Also you should be able to comment on pull request
3. "Request forget" - make a pull request and remove local directory. Your changes are already submitted, if owner decides to merge you don't need to do 'git push ...' anymore
I would find it very useful.
What do you think? How much work it could take?
Offline
Moving to AUR Issues...
Also, pretty sure this was discussed on the AUR ML around the time of aur4.
Offline
You can pastebin the .patch and link it in the comments...
As for me, I keep all my PKGBUILDS on GitHub: https://github.com/eli-schwartz/pkgbuilds
People can submit pull requests there, if they want.
I don't see why the AUR needs to duplicate that functionality.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
@Eschwartz your solution is somewhere in the middle and I like this approach in a few cases. For instance:
https://aur.archlinux.org/packages/qbittorrent-git/
By going to that page I can't determine whether you have github repository for that package or not. I would find it useful to see some url like 'Maintained on github', so other people will know.
But the other case is when package owner is not using github? In that case we go to my origin question.
As for me the model you have (with this extra piece of information on the page) is sufficient, but then I still hit the problem when someone does not have github or anything like that.
Last edited by mkaczanowski (2016-03-02 03:11:38)
Offline
I will revert one thing. There is an information about what 'source repo' but there is no info about your repository
Last edited by mkaczanowski (2016-03-02 03:13:40)
Offline
And I intend to add the line "# All my PKGBUILDs are managed at https://github.com/eli-schwartz/pkgbuilds" to each PKGBUILD, as I update them. A couple of them have that line already.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Good approach, but I still think it should be visible on website. Below "Upstream URL".
I feel like this is natural place to look for such information.
I guess this will require changes in mksrcinfo and pkgbase.
@Eschwartz do you know who can I loop in a thread to make it happen? (of course I may bake up diff, but I would like to discuss it more broadly)
Offline
Perhaps raise it as an issue on the aur-dev mailing list. And/or file an enhancement request to aurweb on the bugtracker.
I wouldn't mind an account setting for "upstream source of PKGBUILDs", which could e.g. get displayed on all your packages.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
The aur-general mail list is the appropriate place to discuss this. This thread will not get the eyeball attention it needs on the forums.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
The pull request mechanic would require the AUR to accept Github style forks for every package from every user. There already is a "Manage Co-Maintainers" button. If you really need to fix a package and can't wait for the current maintainer to reply to you, request the package to be orphaned and adopt it.
Offline
Mail list sounds good.
@Awebb As far as I know if you're not co-maintainer you can't pull request anything.
I did requested package as orphaned and sent email to owner to add me as co-maintainer but I didn't get any response.
My impression is that current workflow is slowing me down. Normally I would do fork and pull request. Then if I see or someone else sees that pull requests are hanging without answer and those are valuable; the co-owner could be added or owner would be changed.
As @Eschwartz mentioned, duplicating functionalities is not the best idea, but adding simple information in AUR that package is being developed on github or other alike sites is somewhat mitigating the issue.
Thanks for taking a voice in this thread
I value my time. Mailing owner + requesting orphan + taking over package + checking if someone else did some patches in comments etc. is IMHO much of overhead.
As I mentioned in my vision I would do pull request (whether I am co/maintainer or not) and leave it. If it gets merged cool if not then I can say 'Hey there are 3 pull requests hanging, those are important and I believe this is good ground to change owner'.
Fast and simple. If i
Offline
Aur now has the option to pin comments.
That would be the perfect place for comments like :
pkgbuilds are alsa available here, unofficial binary repo here etc.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
As for me 'comments' is not right place for this kind of information.
It should be in .SRCINFO imo
Offline
As for me 'comments' is not right place for this kind of information.
It should be in .SRCINFO imo
Adding it to SRCINFO implies adding it to PKGBUILD. IOW, you're asking to add fields for things that are irrelevant to pacman.
Everyone who uses AUR packages is required to read the PKGBUILD. That means a "# see repo foo" is in plain sight already.
Last edited by Alad (2016-03-02 15:58:46)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
I don't know much about git tbh but what about this? https://git-scm.com/docs/git-request-pull
https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...
Offline
As for me 'comments' is not right place for this kind of information.
It should be in .SRCINFO imo
As Alad said, that would require expanding the PKGBUILD syntax
And anyone who is going to make a patch or PR against a PKGBUILD has certainly read the PKGBUILD in order to edit it.
So a maintainer expressing in a comment the willingness to accept PRs, is AFAIAC a satisfactory way of dealing with things.
But once again, any serious discussion will need to take place on the aur-dev mailing list, where the people who are in charge of aurweb will see.
(Or pacman-dev, but I highly doubt you will get it standardized as a PKGBUILD variable.)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
I don't know much about git tbh but what about this? https://git-scm.com/docs/git-request-pull
That is a way of auto-generating a comment which describes a series of changes.
Pastebinning and linking the *.patch or *.diff or even github.com/*/*/commit/$sha1 does literally the same thing, but without the boilerplate AUR comment message -- thus requiring you to write a better comment.
Last edited by eschwartz (2016-03-02 16:35:00)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
The fallacy here is, that pull requests would not change the actual problem, an unresponsive maintainer.
Offline
The fallacy here is, that pull requests would not change the actual problem, an unresponsive maintainer.
In theory, it would make it easier for people to see if there are proposed changes.
But I agree that isn't particularly useful, because there is not actually an urgent need for that, and especially because an unresponsive maintainer can and should be replaced.
And I assume the active maintainers check the comments to their packages -- as far as I am concerned, the purpose of leaving a comment pointing at my GitHub repo is purely for the sake of convenience.
Last edited by eschwartz (2016-03-02 21:11:21)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
The fallacy here is, that pull requests would not change the actual problem, an unresponsive maintainer.
Correct. The valid solution here is to file an orphan request against the package to remove the unresponsive maintainer.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Yeah, I agree that PKGBUILD might not be the best place as this information is not relevant to pacman.
But yet I am not convinced that comment (even pinned) is good place for maintainer github/whatever url.
I still believe that this small piece of information should be visible on the aur package page in main section.
Offline
@Lone_Wolf how can you pin comment? I don't see it
Offline
Awebb wrote:The fallacy here is, that pull requests would not change the actual problem, an unresponsive maintainer.
In theory, it would make it easier for people to see if there are proposed changes.
If you ignore ood flags and comments, why would you bother checking for pull requests?
Offline
Yeah, I agree that PKGBUILD might not be the best place as this information is not relevant to pacman.
But yet I am not convinced that comment (even pinned) is good place for maintainer github/whatever url.I still believe that this small piece of information should be visible on the aur package page in main section.
Keep in mind that not every maintainer holds his/her PKGBUILDs at a separate location (github, or whatever). It's not a must-have...
Offline
As @Eschwartz mentioned, duplicating functionalities is not the best idea, but adding simple information in AUR that package is being developed on github or other alike sites is somewhat mitigating the issue.
@michs Agree, thats why my original question was about making pull/requests as an default option. Addidg url of external repo to AUR page is just a mitigation of a problem.
Offline