Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
01c31c2b38 | |||
2d44e243a7 | |||
381b98fb6f |
@@ -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,11 +23,11 @@ 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
|
||||
|
||||
The shell script will contain a list of osc commands with appropriate parameters and automatically generated message logs . This is easy when, for example, a SR just updates
|
||||
The shell script will contain a list of osc commands with appropriate parameters and automatically generated message logs. This is easy when, for example, a SR just updates
|
||||
a package with a newer version, or adds a patch. But there are situations in which osc-batch-submit will warn you that it's better for someone to review a message log if,
|
||||
for example, it detects a patch being removed. In this case, osc-batch-submit will tell you to check the message log files to better explain what's being submitted (and
|
||||
more importantly, to check if something may be being submitted by mistake).
|
||||
|
@@ -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__)
|
||||
|
@@ -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):
|
||||
|
Reference in New Issue
Block a user