Export the built tree as git repo #9
@ -91,7 +91,7 @@ def main():
|
||||
return
|
||||
|
||||
if not args.repodir:
|
||||
args.repodir = pathlib.Path(args.package)
|
||||
args.repodir = pathlib.Path("repos/" + args.package)
|
||||
Ghost marked this conversation as resolved
|
||||
|
||||
importer = Importer(URL_OBS, "openSUSE:Factory", args.package)
|
||||
importer.import_into_db()
|
||||
|
1
repos/.gitignore
vendored
Normal file
1
repos/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*
|
Loading…
x
Reference in New Issue
Block a user
if in L47 use a type pathlib.Path, like in L52, you will be sure that a path is given, and this line can be
args.repodir = "repos" / args.package
But we need package for more than that