Skip to content

Commit

Permalink
Document the new options and some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tom111 committed Mar 22, 2011
1 parent a99d12a commit 32a1f78
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
27 changes: 17 additions & 10 deletions README
Expand Up @@ -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

Expand All @@ -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.
4 changes: 2 additions & 2 deletions scripts/tatt
Expand Up @@ -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!");
Expand Down

0 comments on commit 32a1f78

Please sign in to comment.