Skip to content

Github-backup in 140 repository org backups nothing #198

@k8s-gpubuilder-markus

Description

@k8s-gpubuilder-markus

github-backup prai-org -t _TOKEN_redacted --organization --private --all

2022-05-20T14:57:20.874: Backing up user prai-org to /home/mars/github_backup
2022-05-20T14:57:20.874: Requesting https://api.github.com/user?per_page=100&page=1
2022-05-20T14:57:21.094: Retrieving repositories
2022-05-20T14:57:21.095: Requesting https://api.github.com/orgs/prai-org/repos?per_page=100&page=1
2022-05-20T14:57:22.566: Requesting https://api.github.com/orgs/prai-org/repos?per_page=100&page=2
2022-05-20T14:57:23.295: Filtering repositories
2022-05-20T14:57:23.296: Backing up repositories
2022-05-20T14:57:23.296: Retrieving prai-org starred repositories
2022-05-20T14:57:23.296: Requesting https://api.github.com/users/prai-org/starred?per_page=100&page=1
2022-05-20T14:57:23.556: Writing 0 starred repositories to disk
2022-05-20T14:57:23.557: Retrieving prai-org watched repositories
2022-05-20T14:57:23.557: Requesting https://api.github.com/users/prai-org/subscriptions?per_page=100&page=1
2022-05-20T14:57:23.854: Writing 0 watched repositories to disk
2022-05-20T14:57:23.855: Retrieving prai-org-ai followers
2022-05-20T14:57:23.856: Requesting https://api.github.com/users/prai-org/followers?per_page=100&page=1
2022-05-20T14:57:24.117: Writing 0 followers to disk
2022-05-20T14:57:24.117: Retrieving prai-org following
2022-05-20T14:57:24.118: Requesting https://api.github.com/users/prai-org/following?per_page=100&page=1
2022-05-20T14:57:24.375: Writing 0 following to disk

This does a lot of nothing, a verbose flag would be important, why it is not backing up any of the 140 repositories.
A verbose flag (in my experience EVERY software needs it) would show what is being filtered and why it is just filtering everything, even when specifying --all

I'm a little confused, it says backing up user, but it actually means organization right? Because if I use the user instead of the org name, it can't find that.

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