Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hooks page make the script exit early #176

Closed
ribsadmin opened this issue May 28, 2021 · 2 comments · Fixed by #238
Closed

hooks page make the script exit early #176

ribsadmin opened this issue May 28, 2021 · 2 comments · Fixed by #238

Comments

@ribsadmin
Copy link

Excuse me for the grave-digging, but i seem to have run into this issue once more. (year 2021), as you expect, i starred the token a little:

github-backup UMCU-RIBS --organization -o '/var/backups/github-backup-RIBS' --token 'ghp_************' --lfs --all

fails on the first 404 found, the hooks page again:

2021-05-28T14:39:17.967: Retrieving UMCU-RIBS hooks 2021-05-28T14:39:17.967: Requesting https://api.github.com/repos/UMCU-RIBS/ALICE/hooks?per_page=100&page=1 2021-05-28T14:39:18.122: API request returned HTTP 404: Not Found

Here the script stops. Not using --all would continue to retrieve all other repositories.

Originally posted by @ribsadmin in #27 (comment)

@sqbaillie
Copy link

We're encountering the same using the '--all' flag. Version version 0.39.0

@jonzenor
Copy link

I too am running into this issue in 0.40.1.

mofe23 added a commit to mofe23/python-github-backup that referenced this issue Jan 16, 2024
Explanation: Repositories where no webhooks are defined return 404 errors. This breaks further script execution.
mofe23 added a commit to mofe23/python-github-backup that referenced this issue Jan 16, 2024
Explanation: Repositories where no webhooks are defined return 404 errors. This breaks further script execution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants