Block a user
Export the built tree as git repo
What I am wondering is the semantic of the function. calc_delta
seems to be from some status to self
. When the other status is not None
the old_files
is empty making all to download, when…
Export the built tree as git repo
right, the last line can be replaced with a for
, but this change is for the for
and if
lines
Export the built tree as git repo
The last two lines: old_files = {e["name"]: f"{e['md5']}-{e['size']}" for e in current_rev.files_list(db)}
Export the built tree as git repo
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
Add a test case for a simpler and newer package
Add actual tree and a test case for zsh
Instead of using a test case to generate the fixtures, create a funtion. One way here is that, because there is an __main__
check later, see if there is a parameter in sys.argv
named…