projects
/
services
/
jenkins-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2171d0f
)
Do not handle non-existing repo when create repos
23/204623/1
author
Hyokeun Jeon
<hyokeun.jeon@samsung.com>
Thu, 25 Apr 2019 05:54:08 +0000
(14:54 +0900)
committer
Hyokeun Jeon
<hyokeun.jeon@samsung.com>
Thu, 25 Apr 2019 05:54:11 +0000
(14:54 +0900)
Problem: If there exist no matched directory in live repo,
it collects all rpms from other repos.
Change-Id: I24b21f56331f137c4e46271d9442ee60793258b3
common/repomaker.py
patch
|
blob
|
history
diff --git
a/common/repomaker.py
b/common/repomaker.py
index
85698f7
..
59e240a
100644
(file)
--- a/
common/repomaker.py
+++ b/
common/repomaker.py
@@
-57,7
+57,7
@@
def collect(in_dir, archs, repo_name=None):
find_dir = os.path.join(in_dir, repo_name)
if not os.path.exists(find_dir):
#TODO: Do not handle non-existing repo.
- find_dir = in_dir
+
#
find_dir = in_dir
print "WARNING! No matching repo(%s) exist." % repo_name
for fname in find_files(find_dir):
ftype = fname.split('.')[-2]