It would be nice if layman.cfg would allow specifying extra arguments to the update commands. E.g. I patched locally: --- /usr/lib/python2.6/site-packages/layman/overlays/svn.py.orig 2011-02-17 11:24:52.000000000 +0100 +++ /usr/lib/python2.6/site-packages/layman/overlays/svn.py 2011-02-17 11:25:28.000000000 +0100 @@ -53,6 +53,7 @@ args = ['co'] if quiet: args.append('-q') + args.append('--config-option=config:miscellany:use-commit-times=yes') args.append(self.src + '/@') args.append(path([base, self.parent.name])) @@ -75,6 +76,7 @@ args = ['up'] if quiet: args.append('-q') + args.append('--config-option=config:miscellany:use-commit-times=yes') args.append(checkout_location()) return self.run_command(*args) Adding this to svn_command in layman.cfg will not work, but result in this error: * Error was: Program "/usr/bin/svn --config-option=config:miscellany:use-commit-times=yes" not found Reproducible: Always
Ok, I've added config options for add and sync operations on a per repo type basis. There are a few missing in the listing due to the fact they are not possible for that type. Some others may or may not be possible, but the option to be able to add them was there. So it is a "user beware" configuration option. commit http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=af55bea519642b9742135498e5fddaececab7d1f I was unable to test it on all repo types, but the code changes are very simple. Tested with svn :)
Thanks Brian!
Released in >=layman-2.0.0_rc1