RFC: devscripts .rc file(s)
There are a couple of wishlist requests asking for devscripts programs
to have a .rc/.conf file facility. There are several programs which
could benefit from such things: debuild, debsign and debrelease to
name just some.
I'm just not sure what the most helpful format of .rc files would be.
The two possibilities I have thought of so far are:
- one /etc/devscripts.conf or ~/.devscriptsrc file, which would
contain lines of the form:
debuild: -k0x12345678
debrelease: -t master
and these options would be read whenever the program is run (with
the possibility of ignoring the .rc file, obviously)
- a /etc/devscripts/ or ~/.devscripts/ directory, with files such as
debuild.conf in them, which would be something like:
# debuild.conf
# any extra debuild-specific options to always use
DEBUILD_OPTS=
# any extra dpkg-buildpackage options to always pass on
DPKG_BUILDPACKAGE_OPTS=-k0x12345678
Do people have preferences for one or the other? Or is there a better
way of doing it?
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
Debian GNU/Linux Developer, see http://people.debian.org/~jdg
Donate free food to the world's hungry: see http://www.thehungersite.com/
Reply to: