[pacman-dev] [PATCH] Allow -c,--conf option for ABS
In creating my python arch integrity script, which looks for various issues in pkgbuilds and repos, I found it would be useful to be able to have both an abs.conf and an abs64.conf that I can call abs directly with. Right now I have to keep (un)commenting lines each time I want to update the abs tree for each arch, which is a pain. So here's a patch that allows the user to pass -c or --conf. I have no idea if I used git correctly, but it gave me a patch. Scott
On Nov 23, 2007 9:11 PM, Scott Horowitz <stonecrest@gmail.com> wrote:
In creating my python arch integrity script, which looks for various issues in pkgbuilds and repos, I found it would be useful to be able to have both an abs.conf and an abs64.conf that I can call abs directly with. Right now I have to keep (un)commenting lines each time I want to update the abs tree for each arch, which is a pain. So here's a patch that allows the user to pass -c or --conf.
I know I'm being nitpicky, but why a function? Looks like that sourcing could all be done in-place.
On Nov 26, 2007 2:25 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On Nov 23, 2007 9:11 PM, Scott Horowitz <stonecrest@gmail.com> wrote:
In creating my python arch integrity script, which looks for various issues in pkgbuilds and repos, I found it would be useful to be able to have both an abs.conf and an abs64.conf that I can call abs directly with. Right now I have to keep (un)commenting lines each time I want to update the abs tree for each arch, which is a pain. So here's a patch that allows the user to pass -c or --conf.
I know I'm being nitpicky, but why a function? Looks like that sourcing could all be done in-place.
Sorry I haven't responded on this at all- its mainly because ABS is going to get a rewrite rather than do this based off of rsync, so it doesn't make much sense to patch code that I'm going to delete soon. -Dan
On Nov 26, 2007 12:27 PM, Dan McGee <dpmcgee@gmail.com> wrote:
Sorry I haven't responded on this at all- its mainly because ABS is going to get a rewrite rather than do this based off of rsync, so it doesn't make much sense to patch code that I'm going to delete soon.
No worries. It was a simple change and I'm using it here. And while I don't know exactly how you're going to use rsync, I hope that it will accommodate users who want to quickly update both CURRENT and CURRENT-64 trees, for example. Scott
participants (3)
-
Aaron Griffin
-
Dan McGee
-
Scott Horowitz