Merge branch 'master' of logicalhacking.com:BrowserSecurity/ExtensionCrawler
This commit is contained in:
commit
a1781b9ff9
|
@ -60,6 +60,8 @@ def pull_get_list_changed_files(gitrepo):
|
|||
for single_fetch_info in fetch_info:
|
||||
for diff in single_fetch_info.commit.diff(
|
||||
single_fetch_info.old_commit):
|
||||
logging.debug("Found diff: " + str(diff))
|
||||
if not diff.a_blob is None:
|
||||
if not diff.a_blob.path in files:
|
||||
files.append(diff.a_blob.path)
|
||||
return files
|
||||
|
@ -221,6 +223,9 @@ def pull_get_updated_lib_files(cdnjs_git_path):
|
|||
libvers = set()
|
||||
files = []
|
||||
cdnjs_repo = git.Repo(cdnjs_git_path)
|
||||
logging.info(" HEAD: " + str(cdnjs_repo.head.commit))
|
||||
logging.info(" is detached: " + str(cdnjs_repo.head.is_detached))
|
||||
logging.info(" is dirty: " + str(cdnjs_repo.is_dirty()))
|
||||
for update in pull_get_list_changed_files(cdnjs_repo):
|
||||
if not (os.path.basename(update) in ["package.json", ".gitkeep"]):
|
||||
if update.startswith("ajax"):
|
||||
|
|
Loading…
Reference in New Issue