Skip to content

--watched / subscriptions causes backup to fail #522

Description

@andrewferrier

What happened?

If I run this:

github-backup <myaccount> --incremental --all --fork --private --bare --token-fine ${token} --output-directory <outdir>

I'm getting fatal errors of this form:

Requesting https://api.github.com/users/<myaccount>/subscriptions?per_page=100&page=1
JSON decode error detected
API request returned HTTP 204: No Content

It looks like something may have changed in the GitHub API that affects --watches. This started breaking around Saturday, July 4th. This might be related - it looks like the /subscriptions endpoint is being deprecated / removed.

I know you're not actively working on this project so for now just logging this here for others' awareness. For me I found if I removed --all and expanded it to all the other flags it was equivalent to except --watches, my backup started working again.

I'm using github-backup 0.63.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions