[aur-general] Missing Co-Maintainer Search Criteria on AUR
Hi, I'd like to address a feature that I've been always missing. If you login to AUr you can view "Packages" and "My Packages". However the Co-Maintained packages are not listed there and you cannot even select those. If I am not totally wrong there is no way to find you co-maintained packages. The reason for why this is an important feature is to check them for newer versions, as if you are a co-maintainer most of the time the original maintainer wants to keep its position but just has no time to do so. So to get an overview of your packages that'd make a lot sense. And in case of a user "review" of his packages or his work for TU applications or just as reference it would be nice to list the packages where he also worked on. I am aware that you should have a local copy of you maintained packages anyways, but that'd be just a nice addition which might not be that complicated to add. Could also make sense on the official repo. Any opinions? Cheers, Nico
Hey, This belongs on either the bugtracker[0] or aur-dev rather than aur-general. Essentially the reason there isn't currently support for it is that both me and Lukas has been rather busy lately, but we'd gladly accept patches for it! [0]: https://bugs.archlinux.org/task/45591 -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/
On Fri, 04 Nov 2016 at 22:24:32, Johannes Löthberg via aur-general wrote:
This belongs on either the bugtracker[0] or aur-dev rather than aur-general. Essentially the reason there isn't currently support for it is that both me and Lukas has been rather busy lately, but we'd gladly accept patches for it!
I actually wanted to implement this a while ago but deferred it because I had problems finding a good UI. The two straightforward options are: 1. Adjust the maintainer filter such that it also looks for co-maintainers... Which would essentially result in packages you co-maintain being listed under "My Packages". 2. Add a new co-maintainer filter. Then, in addition to "My Packages", add a "Packages I Co-Maintain" link. I do not like the first option because packages you co-maintain differ from "your" packages. Co-maintainers do not have the same privileges as maintainers. I also do not really like the second option. Adding more and more options and links clutters the UI and makes things inconvenient. For example, we added a filter for exact package name searches in commit 1c55e6b (Add option to search for exact name matches only (fixes FS#23556)., 2011-04-06). I wish we had implemented it the way archweb does it [1] back then. It is much more intuitive and clear. Transferring this idea to co-maintainer search, maybe the "My Packages" page should have two sections: A list with packages one maintains, followed by a second table of packages one co-maintains. It is not entirely clear how to implement this as part of the package search, especially when it comes to pagination. So, many topics to discuss before coming up with a patch... [1] https://www.archlinux.org/packages/?q=linux
On 11/05/2016 09:55 AM, Lukas Fleischer wrote:
On Fri, 04 Nov 2016 at 22:24:32, Johannes Löthberg via aur-general wrote:
This belongs on either the bugtracker[0] or aur-dev rather than aur-general. Essentially the reason there isn't currently support for it is that both me and Lukas has been rather busy lately, but we'd gladly accept patches for it!
I actually wanted to implement this a while ago but deferred it because I had problems finding a good UI. The two straightforward options are:
1. Adjust the maintainer filter such that it also looks for co-maintainers... Which would essentially result in packages you co-maintain being listed under "My Packages".
2. Add a new co-maintainer filter. Then, in addition to "My Packages", add a "Packages I Co-Maintain" link.
I do not like the first option because packages you co-maintain differ from "your" packages. Co-maintainers do not have the same privileges as maintainers.
I also do not really like the second option. Adding more and more options and links clutters the UI and makes things inconvenient. For example, we added a filter for exact package name searches in commit 1c55e6b (Add option to search for exact name matches only (fixes FS#23556)., 2011-04-06). I wish we had implemented it the way archweb does it [1] back then. It is much more intuitive and clear.
Transferring this idea to co-maintainer search, maybe the "My Packages" page should have two sections: A list with packages one maintains, followed by a second table of packages one co-maintains. It is not entirely clear how to implement this as part of the package search, especially when it comes to pagination. So, many topics to discuss before coming up with a patch...
I think adding a manual co-maintain filter is enough for now (option 2 without special UI). I do not really need a special button etc, just somehow an option to show the packages. This way the feature could be implemented possibly simple while keeping the UI idea open for now. (However I like the idea of the "Packages I Co-Maintain" section idea).
On Sat, 05 Nov 2016 at 10:00:35, NicoHood wrote:
I think adding a manual co-maintain filter is enough for now (option 2 without special UI). I do not really need a special button etc, just somehow an option to show the packages. This way the feature could be implemented possibly simple while keeping the UI idea open for now. (However I like the idea of the "Packages I Co-Maintain" section idea).
Simply adding new filters before thinking ahead is something I would rather avoid, though. If we find a better UI later (maybe something like the split maintainers page I suggested), we cannot silently drop the co-maintainer filter again because links and scripts might already use it. For the same reason, we still have that legacy "Exact name" filter instead of being consistent with archweb now. Make a plan, then implement -- not the other way round...
On 11/05/2016 04:55 AM, Lukas Fleischer wrote:
I actually wanted to implement this a while ago but deferred it because I had problems finding a good UI. The two straightforward options are:
1. Adjust the maintainer filter such that it also looks for co-maintainers... Which would essentially result in packages you co-maintain being listed under "My Packages".
2. Add a new co-maintainer filter. Then, in addition to "My Packages", add a "Packages I Co-Maintain" link.
I do not like the first option because packages you co-maintain differ from "your" packages. Co-maintainers do not have the same privileges as maintainers.
I also do not really like the second option. Adding more and more options and links clutters the UI and makes things inconvenient. For example, we added a filter for exact package name searches in commit 1c55e6b (Add option to search for exact name matches only (fixes FS#23556)., 2011-04-06). I wish we had implemented it the way archweb does it [1] back then. It is much more intuitive and clear.
Transferring this idea to co-maintainer search, maybe the "My Packages" page should have two sections: A list with packages one maintains, followed by a second table of packages one co-maintains. It is not entirely clear how to implement this as part of the package search, especially when it comes to pagination. So, many topics to discuss before coming up with a patch...
That (split results view) sounds like a good way of doing it. A search for maintainers could return co-maintainers as well, but separated. As for pagination, just return co-maintainers at the end (the last page)... I assume since co-maintained packages are "lesser", people will be less interested in them. There is no need to restrict the co-maintainers search to your own packages only, so it has nothing to do with "My Packages" as opposed to the maintainer search it is a shortcut for. ... Methinks now is a good time to move the discussion to [aur-dev]... -- Eli Schwartz
participants (4)
-
Eli Schwartz
-
Johannes Löthberg
-
Lukas Fleischer
-
NicoHood