Skip to content

Fix error handling when pushing to branch #6

@JakeQuilty

Description

@JakeQuilty

When the script was running, one of the repos in the list that it tried to push to was archived. That made the whole script stop running with an error. I think this could be fixed by adding some error handling in git-manager.py around the bash commands. We should have it log and print out a list of the repos that failed.

  • Handle pushing to archived repo
  • Handle pushing to repo that already has a branch with the same name
  • Handle pushing to repo that your token doesn't have contributor access to
  • Handle other things

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