Giter VIP home page Giter VIP logo

Comments (8)

josegonzalez avatar josegonzalez commented on July 23, 2024 1

Released 0.22.0.

from python-github-backup.

whwright avatar whwright commented on July 23, 2024

I believe the last argument should only be the organization name. If you want to back up a certain repo, you need to use

  -R REPOSITORY, --repository REPOSITORY

So maybe something like github-backup -u ${USER} -p ${PASSWORD} -O -P -R ${REPO} ${ORG}

from python-github-backup.

francoislauger avatar francoislauger commented on July 23, 2024

@whwright If I do that with CEDIA-models for ${ORG} I get github-backup: error: unrecognized arguments: CEDIA-models

This is the exact command : github-backup -u USER francoislauger -P --issues --issue-comments -R repo1 -O CEDIA-models

from python-github-backup.

whwright avatar whwright commented on July 23, 2024

I think this might be an order or arguments thing? I did this with success on an org/repo I have access to

↪ github-backup -t ${GITHUB_TOKEN} --issues --issue-comments -R ${REPO} -P ${ORGANIZATION}

from python-github-backup.

francoislauger avatar francoislauger commented on July 23, 2024

Now with :
github-backup -t ${GITHUB_TOKEN} -O --issues --issue-comments CEDIA-models

I can backup public folder of CEDIA-models. However when I try to backup private repository with:

github-backup -t ${GITHUB_TOKEN} -O --issues --issue-comments -P -R simul CEDIA-models

I got this warning:
Authenticated user is different from user being backed up, thus private repositories cannot be accessed

The token loggeg to francoislauger and I have full acces to CEDIA-models. I tried with and without the -O. Any idea?

from python-github-backup.

whwright avatar whwright commented on July 23, 2024

This is a bug that was fixed in #103 and is in master branch, but has not been released to pypi.

from python-github-backup.

francoislauger avatar francoislauger commented on July 23, 2024

@whwright Thank, I reinstall from github and it's working.

Note, the warning (Authenticated user is different from user being backed up, thus private repositories cannot be accessed) still there but seem to be ignore.

from python-github-backup.

whwright avatar whwright commented on July 23, 2024

I think this can close now

from python-github-backup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.