trying to upgrade the giteapy version, bleh
This commit is contained in:
25
main.py
25
main.py
@ -37,6 +37,14 @@ def main():
|
||||
required=True,
|
||||
help="Name of the source organization"
|
||||
)
|
||||
parser.add_argument(
|
||||
"--source-required-topic", "--source-topic",
|
||||
dest="source_topics",
|
||||
default=[],
|
||||
action="append",
|
||||
help="Specify zero or more topics required topics for source repositories."
|
||||
" Any repository that doesn't have all required topics will be skipped"
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--destination-hostname", "--dest-hostname", "--destination-host", "--dest-host",
|
||||
@ -78,6 +86,21 @@ def main():
|
||||
help="Specify zero or more topics to add to each destination repository"
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--interactive",
|
||||
dest="interactive",
|
||||
default=True,
|
||||
action="store_true",
|
||||
help="Ask to confirm each migration.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--no-interactive", "--non-interactive",
|
||||
dest="interactive",
|
||||
default=True,
|
||||
action="store_false",
|
||||
help="Do not ask to confirm each migration; Migrate all repos quickly.",
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--no-verify-ssl",
|
||||
dest="verify_ssl",
|
||||
@ -97,7 +120,9 @@ def main():
|
||||
)
|
||||
mig.set_verify_ssl(args.verify_ssl)
|
||||
mig.migrate_entire_org(
|
||||
interactive=args.interactive,
|
||||
source_org=args.source_org,
|
||||
source_topics=args.source_topics,
|
||||
destination_org=args.destination_org,
|
||||
destination_repo_name=args.destination_repo_name,
|
||||
destination_topics=args.destination_topics
|
||||
|
Reference in New Issue
Block a user