Code Monkey home page Code Monkey logo

Comments (5)

sdushantha avatar sdushantha commented on May 28, 2024

Do you want me to add to the readme that python3 should be used? Im kinda confused

from gitdir.

abuxton avatar abuxton commented on May 28, 2024

apologise yeah I was rambling as debugging,
i think the 2 add to doco are:
.py must be executable
must be executed with python3

from gitdir.

abuxton avatar abuxton commented on May 28, 2024

also does not work with root folder of a repository

$python3 gitdir.py https://github.com/sdushantha/gitdir/tree/master/
Traceback (most recent call last):
  File "gitdir.py", line 89, in <module>
    main()
  File "gitdir.py", line 51, in main
    os.makedirs(download_dir, exist_ok=True)
  File "/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/os.py", line 221, in makedirs
    mkdir(name, mode)
FileNotFoundError: [Errno 2] No such file or directory: ''

from gitdir.

sdushantha avatar sdushantha commented on May 28, 2024

also does not work with root folder of a repository

I know that. You could just clone the whole repo with git if you want the whole repo

Also, i added the the shebang in the latest commit

from gitdir.

sdushantha avatar sdushantha commented on May 28, 2024

Im closing this because I think i have done what you said. Just let me know, if I have misunderstood and done something wrong. I can reopen it :)

from gitdir.

Related Issues (18)

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.