projects
/
invirt/packages/invirt-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
packageWorkdir needs to be passed the commit to make a workdir from.
[invirt/packages/invirt-dev.git]
/
invirtibuilder
diff --git
a/invirtibuilder
b/invirtibuilder
index
ff82d4e
..
e6bf214
100755
(executable)
--- a/
invirtibuilder
+++ b/
invirtibuilder
@@
-212,7
+212,7
@@
def updateSuperproject(pocket, package, commit, principal):
@contextlib.contextmanager
@contextlib.contextmanager
-def packageWorkdir(package):
+def packageWorkdir(package, commit):
"""Checkout the package in a temporary working directory.
This context manager returns that working directory. The requested
"""Checkout the package in a temporary working directory.
This context manager returns that working directory. The requested
@@
-300,7
+300,7
@@
def build():
# do the build ourselves
else:
db.failed_stage = 'checking out package source'
# do the build ourselves
else:
db.failed_stage = 'checking out package source'
- with packageWorkdir(package) as workdir:
+ with packageWorkdir(package, commit) as workdir:
db.failed_stage = 'preparing source package'
packagedir = os.path.join(workdir, package)
db.failed_stage = 'preparing source package'
packagedir = os.path.join(workdir, package)