diff options
author | 2017-11-14 18:13:10 +0100 | |
---|---|---|
committer | 2017-11-28 22:01:28 +1100 | |
commit | c922991662f86b7c43a798ebf416f425eaadce57 (patch) | |
tree | 2eebf371457ca7fe1d9b0dc474944c83b8220ab1 | |
parent | put package atom in all lines in report file (diff) | |
download | tatt-c922991662f86b7c43a798ebf416f425eaadce57.tar.gz tatt-c922991662f86b7c43a798ebf416f425eaadce57.tar.bz2 tatt-c922991662f86b7c43a798ebf416f425eaadce57.zip |
include bug number in job name
This makes the script name unique, which helps if the same packages are affected
e.g. by stabilization and keywording, or if different python versions (2, 3) are
requested for stabilization.
-rwxr-xr-x | scripts/tatt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/tatt b/scripts/tatt index 38192a3..68897fc 100755 --- a/scripts/tatt +++ b/scripts/tatt @@ -175,6 +175,8 @@ if myJob.packageList is not None and len(myJob.packageList) > 0: myJob.name = options.jobname elif options.infile: myJob.name = options.infile + elif options.bugnum: + myJob.name = myJob.packageList[0].packageName() + '-' + options.bugnum else: myJob.name = myJob.packageList[0].packageName() print ("Jobname: " + myJob.name) |