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#31754 - Make repo management more 'scriptable'
Attached to Project:
Pacman
Opened by JB (techryda) - Monday, 01 October 2012, 14:02 GMT
Last edited by Andrew Gregory (andrewgregory) - Monday, 16 March 2015, 13:38 GMT
Opened by JB (techryda) - Monday, 01 October 2012, 14:02 GMT
Last edited by Andrew Gregory (andrewgregory) - Monday, 16 March 2015, 13:38 GMT
|
DetailsSee https://bbs.archlinux.org/viewtopic.php?id=149869 for background
Parsing pacman.conf from a script to add/remove or enable/disable repos is difficult (difficult: meaning can't be easily accomplished w/sed, grep and echo) Rather than having a list of repos in pacman.conf, repos could be stored in individual .repo files in /etc/pacman.d/repos/available/. Active repos would be copied/created in /etc/pacman.d/repos/active/ The .repo files would be prefixed w/a number so the could be ordered like udev rules i.e. 40_core.repo 50_extra.repo 70_community.repo A configuration directive RepoDir= would be added to pacman.conf and perhaps a pacman switch also for specifying an alternate directory. |
This task depends upon
Closed by Andrew Gregory (andrewgregory)
Monday, 16 March 2015, 13:38 GMT
Reason for closing: Won't implement
Monday, 16 March 2015, 13:38 GMT
Reason for closing: Won't implement
Comment by Andrew Gregory (andrewgregory) -
Wednesday, 11 March 2015, 20:36 GMT
This can be achieved by using Include with a glob: Include = /etc/pacman.d/repos/*.repo