Harrison Wright

Results 22 comments of Harrison Wright

It looks like there might be a bug with case sensitivity. Is the name of the organization all lowercase `prai-org`?

Isn't this kind of already done? https://github.com/josegonzalez/python-github-backup/pull/101

Derp, somehow missed that. Should this be implemented as a failure or a warning? I am thinking similar to this: https://github.com/josegonzalez/python-github-backup/blob/89ee22c2be626a064533a28ca8c97534c7eef16b/bin/github-backup#L539

I am not familiar with pass. Is it possible it is outputting your password to `stderr` instead of `stdout`? Does `pass test 2>&1 | zxcvbn | jq` work? It works...

Existing repos will only have their remotes fetched: https://github.com/josegonzalez/python-github-backup/blob/c3e470b34eeff30c1b5a285c49b9b28a15f427bd/github_backup/github_backup.py#L1324 so checkout the remote branch or merge it into the local copy. `git merge origin/main` for example

This has come up several times, duplicate issue here https://github.com/josegonzalez/python-github-backup/issues/196 You can't assume a merge will always be clean, so IMO this introduces unnecessary complexity to handle potential conflicts and...

@andry81 as stated above I believe this will work if you include `--repositories` or `--all`

Yeah that's true, I think it would be a reasonable change to backup starred repos with only `--all-starred`. That would be an easy change.

I have tested and endorse this change :+1: