Compare commits

3 Commits
0.1 ... main

3 changed files with 9 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
# osc-batch-submit
Tool to batch submit requests with osc. This helps when submitting large software stacks from one OBS project to another.
For example, KDE Frameworks + Plasma + Applications consist on ~500 packages and Qt6 has ~30 packages.
For example, KDE Frameworks + Plasma + Applications consists of ~500 packages and Qt6 has ~30 packages.
# Installation
@@ -23,7 +23,7 @@ osc-batch-submit copypac qt6-from-Factory-to-home-prj.conf
That creates a shell script file with all the osc commands you need.
You should then review the commands (specially if osc-batch-submit tells you to check some message logs, more on this below) and once they're ok, just run this script.
You should then review the commands (especially if osc-batch-submit tells you to check some message logs, more on this below) and once they're ok, just run this script.
# Reviewing the shell script

View File

@@ -72,7 +72,7 @@ def process_log(filename, show_packagelist=False, show_state=False,
def main():
parser = ArgumentParser(description='Manage your music collection',
parser = ArgumentParser(description='List generated Submit Requests',
formatter_class=RawTextHelpFormatter)
parser.add_argument('--version', action='version',
version='list-srs ' + __version__)

View File

@@ -48,7 +48,7 @@ class OSCBatchSubmit:
def parse_command_line(self):
main_parser = ArgumentParser(
description='Manage your music collection',
description='Manage Batch Submissions',
formatter_class=RawTextHelpFormatter)
main_parser.add_argument('--version', action='version',
version='osc-batch-submit ' + __version__)
@@ -96,6 +96,10 @@ remove-cache
options = main_parser.parse_args()
if not options.command:
main_parser.print_help()
sys.exit(1)
self.command = options.command
if getattr(options, 'config_file', None):