Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#12483 - Package meta info: Repository
Attached to Project:
Pacman
Opened by kludge (kludge) - Wednesday, 17 December 2008, 04:53 GMT
Last edited by Allan McRae (Allan) - Tuesday, 23 December 2008, 02:25 GMT
Opened by kludge (kludge) - Wednesday, 17 December 2008, 04:53 GMT
Last edited by Allan McRae (Allan) - Tuesday, 23 December 2008, 02:25 GMT
|
Detailsmaking a list of all packages installed from a given repository is a surprisingly non-trivial task.
pacman can list all *available* packages by repo (-Sl repo_name), and list all installed packages (-Q), but it takes some bashery to find all the packages installed from [community]. It's even more difficult to generate a list of all pkgs installed from [unsupported]; pacman -Qm shows all 'foreign' packages, but distinguishing between packages from [unsupported] and my 'private' pkgbuilds takes lots of invocations of wget and some ugly bash array work. why? well, i've started banging away at a script to making voting a whole lot easier. honestly, i don't normally keep track of which packages i use are from [community]. i can't make very good use of aurvote if i don't know which packages i might want to vote for. further, voting for pkgs one-by-one on the web interface is cumbersome. so i need to generate installed lists of packages from [community] and [unsupported] so i can edit them and pass them to aurvote. if pacman 'knew' this info, this would be an utterly trivial task. right now, it's a little slow and ugly. i'll start looking at libalpm and pacman source to see if i can provide a patch. |
This task depends upon
Closed by Allan McRae (Allan)
Tuesday, 23 December 2008, 02:25 GMT
Reason for closing: Not a bug
Additional comments about closing: Pacman will never know what the AUR is
Tuesday, 23 December 2008, 02:25 GMT
Reason for closing: Not a bug
Additional comments about closing: Pacman will never know what the AUR is
still no love on [unsupported], though.
i'm only suggesting a metadata field and the ability to search on it, not a real change in functionality.
i'm tempted to rant about the difficulties of making voting more accessible, but i won't.
<mini-rant>to me, it's a question of social interface design. voting in the aur ([unsupported] *and* [community]) is a really powerful social mechanism and afaik is unique to arch. i want my vote to mean "i'd like to see this package promoted." so i don't necessarily want to vote for every package i have installed. however, actually voting in a manner that reflects my preferences and usage is an awkward and complicated process *at best*.
voting is an interaction, and i'd like the process of voting to be interactive (as opposed to manual (the web interface) or automatic (pacman -Qm | aurvote)). and i can do it with what i've written now, but the process of gathering the basic data set is slow and inelegant. repository metadata would make the process more efficient and elegant. that would make an interactive voting interface work better. i hope that will encourage more people to vote in a more meaningful way, and i feel like that would be A Good Thing for archlinux. i feel like i'm starting to repeat myself, and i realize this isn't really the right venue for this discussion, so...</mini-rant>
In the end, this bug is not about pacman, it is about the AUR and voting. If you want to know which packages you have are from the AUR, create a local repo and add all packages you build from the AUR to it. The you can just use the paclist tool. The tools are all provded for you to solve this problem.