Giter Club home page Giter Club logo

Comments (8)

abrausch avatar abrausch commented on May 10, 2024

Same for me. Is there some possibility to enable some kind of logging? Or a verbose mode?

from ginatra.

NARKOZ avatar NARKOZ commented on May 10, 2024

Did you set the correct path(s) for git_dirs in config.yml?

Check that

  • it ends with an asterisk * (it is a glob)
  • doesn't contain anything but folders with git repositories

Path should be absolute. https://github.com/NARKOZ/ginatra#configuration

Verbose mode is available if ginatra installed as an app. Just export RACK_ENV before starting the server:

RACK_ENV=development ./bin/ginatra run

from ginatra.

abrausch avatar abrausch commented on May 10, 2024

Yes for me it was a problem with my git_dirs. Is there a reason why it is not allowed to have non git directories inside the same folder?

from ginatra.

NARKOZ avatar NARKOZ commented on May 10, 2024

Thanks for the reports. I've released version 4.0.2 that changes this behaviour.

from ginatra.

abrausch avatar abrausch commented on May 10, 2024

Very nice, thanks 👍

from ginatra.

rogermarlow avatar rogermarlow commented on May 10, 2024

I have been having similar problems. There isn't much handling of cases where the user config file is absent or broken. I'd like to be able to specify a git repo on the command line at startup too. And some of my repos don't have .git/describe files which also causes a fail. Unless anyone else is working on this I'm happy to fork and do some work towards some pull requests.

from ginatra.

NARKOZ avatar NARKOZ commented on May 10, 2024

@rogermarlow pull requests are appreciated.

On the other hand, each git repo has .git/description file by default, so that's a bit strange.

from ginatra.

rogermarlow avatar rogermarlow commented on May 10, 2024

@NARKOZ agreed, but some repos were set-up a very long time ago, and I don't know when the description file convention came in. Looks like some geolite users might be in this situation depending on when they initialised their repos. See this StackOverflow thread http://stackoverflow.com/q/13015001/327074 . No big deal, it's easy to deal with.

from ginatra.

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.