Giter Site home page Giter Site logo

gitdump's People

Contributors

sh33lsh00k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gitdump's Issues

i have problem when run tool

when run tool
URL for test: https://www.soom.com/.git/
Fetching: https://www.soom.com/.git/index
Fetching: https://www.soom.com/.git/FETCH_HEAD
Fetching: https://www.soom.com/.git/HEAD
Fetching: https://www.soom.com/.git/ORIG_HEAD
Fetching: https://www.soom.com/.git/config
Fetching: https://www.soom.com/.git/description
Fetching: https://www.soom.com/.git/packed-refs
Fetching: https://www.soom.com/.git/info/exclude
Fetching: https://www.soom.com/.git/info/refs
Fetching: https://www.soom.com/.git/logs/HEAD
Fetching: https://www.soom.com/.git/logs/refs/heads/develop
Fetching: https://www.soom.com/.git/logs/refs/heads/master
Fetching: https://www.soom.com/.git/logs/refs/remotes/origin/develop
Fetching: https://www.soom.com/.git/logs/refs/remotes/origin/step_develop
Fetching: https://www.soom.com/.git/logs/refs/remotes/origin/master
Fetching: https://www.soom.com/.git/logs/refs/remotes/github/master
Fetching: https://www.soom.com/.git/refs/heads/develop
Fetching: https://www.soom.com/.git/refs/heads/master
Fetching: https://www.soom.com/.git/refs/remotes/origin/develop
Fetching: https://www.soom.com/.git/refs/remotes/origin/master
Fetching: https://www.soom.com/.git/refs/remotes/origin/step_develop
Fetching: https://www.soom.com/.git/refs/remotes/github/master
Fetching: https://www.soom.com/.git/objects/info/packs
Fetching: https://www.soom.com/.git/refs/remotes/origin/HEAD
Parsing Index File
Traceback (most recent call last):
File "git-dump.py", line 250, in
main()
File "git-dump.py", line 243, in main
gitDumper()
File "git-dump.py", line 201, in gitDumper
sha1List = sha1Extractor()
File "git-dump.py", line 113, in sha1Extractor
jsonList = gin.parse_file(outputFolder + ".git/index", pretty=False)
File "/root/GitDump/gin.py", line 179, in parse_file
for item in parse(arg, pretty=pretty):
File "/root/GitDump/gin.py", line 27, in parse
with open(filename, "rb") as o:
FileNotFoundError: [Errno 2] No such file or directory: 'output/.git/index'

Solution?

Fetching: refs/heads/master
Fetching: refs/remotes/origin/develop
Fetching: refs/remotes/origin/master
Fetching: refs/remotes/origin/step_develop
Fetching: refs/remotes/github/master
Fetching: objects/info/packs
Fetching: refs/remotes/origin/HEAD
Downloading Index File
Parsing Index File
Traceback (most recent call last):
File "git-dump.py", line 99, in
jsonList = gin.parse_file(".git/index", pretty=False)
File "/Users/cypher/tools/GitDump/gin.py", line 171, in parse_file
for item in parse(arg, pretty=pretty):
File "/Users/cypher/tools/GitDump/gin.py", line 25, in parse
f = mmap.mmap(o.fileno(), 0, prot=mmap.PROT_READ)
ValueError: cannot mmap an empty file
Cyphers-MBP:GitDump cypher$

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.