diff --git a/README b/README index 6308829..7cb2a8c 100644 --- a/README +++ b/README @@ -30,32 +30,38 @@ tatt -b300000 -j superjob 2) We want to stable a whole list of packages that we have saved in a file foo. -tatt -f foo +tatt -f foo -b bugnumber This will open the file foo, look for all atoms to be found write the scripts for useflagtesting and -rdep testing of the two packages. If -j is omitted the filename is used. +rdep testing of the two packages. If -j is omitted the filename is used. The bugnumber is necessary +for the commit script. +3) Resolving the bug -3) Running individual tests: +Assume everything was committed and we want to resolve the bug. + +tatt -r bugnum -m "x86 stable, Thanks xyz" removes your arch from the cc and adds the message +tatt -cr bugnum -m "x86 stable, Thanks, closing" also closes the bug. + +4) Running individual tests: -) Everything was successful, we want to comment on the bug. The following command will log in and write the 'successmessage' to the bug. -./tatt.py -s300000 +tatt -s300000 -) Create the test script for reverse dependencies of foo: -./tatt.py -d app-bar/foo +tatt -d app-bar/foo -) Create the use flag testing script of foo -./tatt.py -u app-bar/foo +tatt -u app-bar/foo 4) Show help tatt -h - ####### EXAMPLE ~/.tatt ############ # Here we show the possible options together with their default values @@ -68,11 +74,12 @@ tatt -h # ignoreprefix contains a list of use flag prefixes to be ignored # ignoreprefix="elibc_","video_cards_","linguas_","kdeenablefinal","test","debug" +# The arch you are working on (be careful, only tested with x86) +# arch=x86 + # You can customize the maximal number of rdeps to be tested as follows: # rdeps=3 # You can customize the maximal number USE combis to be tested as follows: # usecombis=3 -# Note that All USE-flags on and all USE-flags off will always be tested. - - +# Note that All USE-flags on and all USE-flags off will always be tested. \ No newline at end of file diff --git a/scripts/tatt b/scripts/tatt index d2868ee..0251100 100755 --- a/scripts/tatt +++ b/scripts/tatt @@ -188,9 +188,9 @@ if options.resolvenum: print("Please call with a message per -m") exit (1) print("Resolving bug number " + options.resolvenum) - calllist = ['bugz', 'modify', options.resolvenum, '-c', config['resolvemessage'], '--remove-cc', config['arch']+"@gentoo.org"] + calllist = ['bugz', 'modify', options.resolvenum, '-c', options.resolvemessage, '--remove-cc', config['arch']+"@gentoo.org"] if options.close: - calllist = callist + ['--fixed'] + calllist = calllist + ['--fixed'] retcode = call(calllist) if retcode == 0: print("Success!");