Giter VIP home page Giter VIP logo

Comments (11)

josegonzalez avatar josegonzalez commented on July 3, 2024

We definitely hande existing repositories correctly here. Can you post logging output of your run?

from python-github-backup.

anodium avatar anodium commented on July 3, 2024

Here's the output for one of my starred repos:

8<----- snip...
Cloning wii-u-gc-adapter repository from https://*****:[email protected]/ToadKing/wii-u-gc-adapter.git to /run/media/andrea/5295089D57AEB47E/old_hdd/github/starred/ToadKing/wii-u-gc-adapter/repository
git returned 128:
	 git clone --mirror https://*****:[email protected]/ToadKing/wii-u-gc-adapter.git /run/media/andrea/5295089D57AEB47E/old_hdd/github/starred/ToadKing/wii-u-gc-adapter/repository
Skipping wii-u-gc-adapter (https://*****:[email protected]/ToadKing/wii-u-gc-adapter.wiki.git) since it's not initialized
Retrieving ToadKing/wii-u-gc-adapter issues
Saving 0 issues to disk
8<----- snip...

As you can see in line 5, it's stating that git returned a code of 128. On a seperate terminal, I ran the command in line 6 with my personal access token and --verbose, and it returned this:

andrea@inspiron ~>  git clone --verbose --mirror https://*****:[email protected]/ToadKing/wii-u-gc-adapter.git /run/media/andrea/5295089D57AEB47E/old_hdd/github/starred/ToadKing/wii-u-gc-adapter/repository
fatal: destination path '/run/media/andrea/5295089D57AEB47E/old_hdd/github/starred/ToadKing/wii-u-gc-adapter/repository' already exists and is not an empty directory.

from python-github-backup.

josegonzalez avatar josegonzalez commented on July 3, 2024

Looks like the bare check failed. That code is here

What is the output of the following from within that directory?

git rev-parse  --is-bare-repository

from python-github-backup.

anodium avatar anodium commented on July 3, 2024
andrea@inspiron ~> cd /run/media/andrea/5295089D57AEB47E/old_hdd/github/starred/ToadKing/wii-u-gc-adapter/repository
andrea@inspiron /r/m/a/5/o/g/s/T/w/repository> 
git rev-parse --is-bare-repository
true

from python-github-backup.

josegonzalez avatar josegonzalez commented on July 3, 2024

I wonder if it's getting newlines or something. I'll have to play around with this to add verbose logging for you to try later tonight.

from python-github-backup.

anodium avatar anodium commented on July 3, 2024

Definitely would be willing to test out or help out any way I can, can't risk losing all my repositories.

from python-github-backup.

siepkes avatar siepkes commented on July 3, 2024

I'm encountering the exact same issue (also bare repos) on CentOS 7. GIT version is 2.9.3.

from python-github-backup.

siepkes avatar siepkes commented on July 3, 2024

I've updated my GIT to version 2.16.2 to see if that would make a difference but that doesn't make a difference unfortunately.

from python-github-backup.

siepkes avatar siepkes commented on July 3, 2024

I no longer see this behavior (problem) with github-backup 0.20.0.

from python-github-backup.

josegonzalez avatar josegonzalez commented on July 3, 2024

\o/

@anodium can you confirm it fixed it for you?

from python-github-backup.

anodium avatar anodium commented on July 3, 2024

@josegonzalez Just confirmed, fixed and works properly now. Thank you very much! 👍

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.