Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#23860 - [srcpac] wish to add some options

Attached to Project: Arch Linux
Opened by Steffen Weber (boenki) - Wednesday, 20 April 2011, 17:26 GMT
Last edited by Andrea Scarpino (BaSh) - Thursday, 21 April 2011, 11:35 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I'd like to suggest some options for srcpac:
In order of personal importance.

srcpac -Qb shows all pkgs with build-flag

srcpac -Qi additionally shows if there's a patchfile in /etc/srcpac.d
Source : Yes
Patchfile : Yes

srcpac -Rb removes build-flag only, not the pkg.
Asks if patchfile from /etc/srcpac.d should be removed, too, if there is one.

srcpac -Ro removes patchfile from /etc/srcpac.d
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Thursday, 21 April 2011, 11:35 GMT
Reason for closing:  Implemented
Additional comments about closing:  implemented in git:
* -Qi shows additional flag Patchfile
* -Qb shows all built packages
* -Rb remove the build-flag only
* -Ro remove the patchfile only