Git Product home page Git Product logo

Comments (15)

sils avatar sils commented on May 25, 2024

CC @andreiraduta1101

from coala-quickstart.

marian-ald avatar marian-ald commented on May 25, 2024

I'll try to fix this

from coala-quickstart.

adtac avatar adtac commented on May 25, 2024

@marian-ald sure! I've assigned you this. If this is your first issue, take a look at coala.io/newcomer and if you get stuck anywhere, just ask on our Gitter channel :)

from coala-quickstart.

marian-ald avatar marian-ald commented on May 25, 2024

Thanks 👍 😄

from coala-quickstart.

marian-ald avatar marian-ald commented on May 25, 2024

@jayvdb Let's say I create a .gitignore file with 'touch'. What do you mean by "better .gitignore"?

from coala-quickstart.

adtac avatar adtac commented on May 25, 2024

maybe a project specific gitignore file? For example node projects usually have a node_modules directory that should be in gitignore. If we have a tool that can recognizeif a project is a node project, then it can generate a relevant gitignore automatically.

from coala-quickstart.

jayvdb avatar jayvdb commented on May 25, 2024

See https://github.com/github/gitignore

from coala-quickstart.

marian-ald avatar marian-ald commented on May 25, 2024

I'm a little bit confused... There are a lot of gitignore files types in this project(github/gitignore). Should I modify the existing .gitignore from coala-quickstart/ and add some other files, or to reorganize it?

from coala-quickstart.

jayvdb avatar jayvdb commented on May 25, 2024

This issue is not about the .gitignore in the coala-quickstart repo.
This issue is about bypassing the "files to ignore" question when coala-quickstart runs in CI mode. In CI mode, there is no user to answer the question. The process hangs indefinitely waiting for a user.

from coala-quickstart.

marian-ald avatar marian-ald commented on May 25, 2024

Aaa... so it's something in coala-quickstart.py I guess

from coala-quickstart.

marian-ald avatar marian-ald commented on May 25, 2024

Finally, I understood what the problem is. I can bypass the question, no problem.
So when coala runs in in CI mode, if there is a .gitignore file, file globs expressions are loaded from .gitignore. But if there is not a .gitignore, I should generate one, it's ok this? But I'm not sure how could I generate it...
@jayvdb You said it's enough to create it, it's ok if I just bypass the question and create the empty .gitignore?
Also @adtac

from coala-quickstart.

adtac avatar adtac commented on May 25, 2024

@marian-ald creating an empty gitignore would automatically skip the question. What did you mean by

it's ok if I just bypass the question and create the empty .gitignore?

from coala-quickstart.

marian-ald avatar marian-ald commented on May 25, 2024

You're right, it's the same thing 👍
So the question should be: It's ok if I just create the empty .gitignore? You said something about a tool for a better .gitignore.

from coala-quickstart.

sils avatar sils commented on May 25, 2024

from coala-quickstart.

adtac avatar adtac commented on May 25, 2024

@marian-ald the tool is probably quite involved and surely beyond the scope of this issue. I just wanted to put the idea out there. (I'm thinking it could even be a GSoC project? CC @sils)

And indeed, they're not the same thing - creating an empty gitignore is probably just a workaround. Skipping the question without a gitignore is the better way (just do the "are we in CI mode" you'd do to create a gitignore at the place of the question).

from coala-quickstart.

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.