Skip to content

Commit

Permalink
More garbage debug code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Nov 16, 2022
1 parent 891704a commit 115d027
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/toolshed.yaml
Expand Up @@ -53,7 +53,7 @@ jobs:
path: 'galaxy root/.venv'
key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-toolshed
- name: Run tests
run: './run_tests.sh -toolshed'
run: './run_tests.sh -toolshed lib/tool_shed/test/functional/test_shed_repositories.py'
working-directory: 'galaxy root'
- uses: actions/upload-artifact@v3
if: failure()
Expand Down
6 changes: 6 additions & 0 deletions lib/tool_shed/util/commit_util.py
Expand Up @@ -202,6 +202,12 @@ def handle_directory_changes(
full_name = os.path.join(root, name)
if full_name not in filenames_in_archive:
files_to_remove.append(full_name)
else:
log.info("About to read file...")
try:
log.info(open(full_name, "r").read(256))
except Exception:
log.exception("Ekkk...")
for repo_file in files_to_remove:
# Remove files in the repository (relative to the upload point) that are not in
# the uploaded archive.
Expand Down

0 comments on commit 115d027

Please sign in to comment.