FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix exception when DMCA'd starred gists are backed up by mrexodia · Pull Request #525 · josegonzalez/python-github-backup · GitHub

Fix exception when DMCA'd starred gists are backed up - #525

Merged
josegonzalez merged 1 commit into
josegonzalez:masterfrom
mrexodia:gist-fix
Jul 17, 2026
Merged

Fix exception when DMCA'd starred gists are backed up#525
josegonzalez merged 1 commit into
josegonzalez:masterfrom
mrexodia:gist-fix

Conversation

Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Owner

@Iamrodos thoughts on unit tests here?

Copy link
Copy Markdown
Contributor

@Iamrodos thoughts on unit tests here?

I wrote one yesterday but ended up abandoning the post.

  1. It was about ninety lines of testing for a one line code change. It was more about regression testing over efficacy.
  2. There is a rabbit hole I went down over removing the crash which starts masking failed runs. The earlier test of 128 fires for a DMCA but also for network error, throttle etc. I got lost trying to untangle that and if warnings should be present, because the clone is skipped but the metadata retrieved earlier is still saved.

Net outcome, the change is valid and a test is probably border line helpful. The nuances around failures get so convoluted with the shell command and error codes that it's probably best to wait for issues than over engineer (which is my typical tendency 😊 ).

josegonzalez merged commit 31f39ec into josegonzalez:master Jul 17, 2026
10 checks passed
mrexodia deleted the gist-fix branch July 17, 2026 14:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL