From 8a863498db088a43e354ff23175fa36ddcb5337a Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 2 Nov 2022 08:01:22 +0100 Subject: [PATCH] Move default repos into a subdirectory that is git ignored --- git-importer.py | 2 +- repos/.gitignore | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 repos/.gitignore diff --git a/git-importer.py b/git-importer.py index 2b0bb23..09a3ba2 100755 --- a/git-importer.py +++ b/git-importer.py @@ -91,7 +91,7 @@ def main(): return if not args.repodir: - args.repodir = pathlib.Path(args.package) + args.repodir = pathlib.Path("repos/" + args.package) importer = Importer(URL_OBS, "openSUSE:Factory", args.package) importer.import_into_db() diff --git a/repos/.gitignore b/repos/.gitignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/repos/.gitignore @@ -0,0 +1 @@ +*