-
Notifications
You must be signed in to change notification settings - Fork 83.1k
Bower gitignore added #1724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bower gitignore added #1724
Conversation
This reverts commit a4adf87.
bower_components | ||
|
||
# logs | ||
*.log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to add a trailing new line here
Why is this not merged yet? Bower is popular for years. |
I believe this is a useful snippet :-) |
I've been going through the PR's (since Issues are closed on a GitHub project? 💯 ) and it seems like they don't want to ignore Bower. Because............ well, I dunno... I couldn't find a single solid argument for it. Addy Osmani talks about it https://addyosmani.com/blog/checking-in-front-end-dependencies/ and raises some good points for keeping it and not keeping it. A lot of people have raised interesting points about it, but it's all a matter of opinion whether you want to check them in or not. Personally I make a lot of small projects where I'm the sole maintainer and don't want to check-in/out bower_components all the time. Why allow Node to be ignored but not Bower? Both are dependency managements. Here's a PR that's been open for months about it #1601 Another #1529 Another #904 I could go on like this forever... So I have no idea why GitHub made this decision. It's funny because they're letting certain projects dictate whether they let bower_components in or not... f59e22d Luckily we have https://github.com/joeblau/gitignore.io which submodules github/gitignore, but also adds sensible customizations to it rather than trying to make this 🐴 drink. |
I'm sorry that you feel like Bower has been ignored here. This is a long story, so grab a ☕ or 🍵 and read on while I try to share my experiences as the person reviewing these PRs. I don't speak for GitHub on this (although I am talking with others internally about the list that appears when creating a new repository here). We can group the vast majority of these templates in this repository into one of three categories:
The reason why I group them this way relates to a couple of things:
When a contribution comes in, we want to understand the change before merging. As the maintainers, we don't have the breadth and depth of experience to know the impact of every change, and many times in the past people have returned to a PR to disagree with the change. So we try and gather more information (#1529 is actually a good example of this) for future reference.
This is an excellent question. At this point I will defer to the
In the context of the larger world, I don't have an opinion on this. If someone wants to submit a PR to add a rule to a certain template, I'd like to see that this decision represents a bit of a consensus from the community. That's why we ask for supporting material to understand the why of the change (for example, #1734 linked to the official front-end documentation about Bower).
I've got all the time in the world for @joeblau who has built out something fantastic - I always enjoy where our goals overlap - and I hope we share more rather than duplicating work unnecessarily. So let's see what options we have here. If you would like a standalone template for If this is intended to be a thread about applying @corysimmons let me know if that clears things up, and how we can resolve this |
Without creating an extensive list, Drupal, Joomla, Laravel, for instance, don't fall under any of these. They're just packages you dump into a directory and then build other stuff around it (like Bower). ... Actually... I spend way too much of my time arguing on GitHub. Do whatever you want with it. I don't care. I'll just keep using gitignore.io's packages. |
Alright, well that didn't end up how I'd hoped. I guess this is my takeway:
I'll leave this open for a bit to see if anyone else has a differing view on this. |
Also, this is missing some of the rules captured in the |
@shiftkey Yeah I'm sorry. No disrespect meant. Thank you for taking the time to write out such a thorough response. I read the whole thing. I just didn't want to get into a big conversation about this. It's nothing personal, I've honestly just been talking about stuff on GitHub for the past few days and it's really bumming me out. I want to build things - not argue with other people about how they're building their stuff. To that end, I'm gonna try to be less of a whiny jerk (for a while anyway). 👍 |
@corysimmons thanks for coming back to this ❤️ - personally I've dealt with a lot of conflicts and debates over changes to PRs since becoming one of the core maintainers, so that's why I favour this conservative approach with reviews. I do empathise with the frustration about long-running PRs, and am open to suggestions to make things easier for everyone. There's still a massive backlog of these, and I'm trying to find spare cycles to work through these on top of everything else I look after. My contact details are over on my GitHub profile if you'd like to follow up about this privately. |
@shiftkey I'm afraid the process of using this repository is not in any way similar to what you've described. People just google for something like "Intellij IDEA gitignore" or "node.js gitignore" and then put what they find into their People most likely search for what they should delete. You don't see npm logs every day if you're programming in Node.js. It's easy to forget about these. That's why That's why As you probably have mentioned, people don't like spending time arguing on github instead of programming. When you become too opinionated to maintain a previously awesome repo, people just make a fork or use it as submodule. |
Conservative is fine. Closing several PRs over the years without a good explanation isn't that.
Again, I think if it's something so common that there have been several different users go through the hassle of tracking down this repo, forking it, cloning it, adding the ignore, and submitting a PR, then it's probably worth merging, or at least taking a very close look at it.
Nah that's cool, unless you just wanna be friends? |
@polkovnikov-ph @corysimmons thanks for the feedback.
Agreed. I'm still trying to find that right balance here between structure and chaos, and that
This is exactly the sort of pain I get to deal with during reviews, and I feel terrible that I don't have an understanding of this example from looking at #1142 where it was merged in. My current process isn't without flaw either - for example, I thought #1815 was a reasonable change but it turns out to break scenarios for some users, which I found out later. Having that context around rule additions or changes is something I want to continue to push for.
This is something I'm actively trying to improve, and will continue to do as I triage the backlog of outstanding PRs.
Agreed. For the standalone For things that are not as mainstream, it's hard to gauge interest in formalizing templates. I have ideas to improve this, but want to flesh these out and gather feedback before adopting them. |
I believe, all things considered, |
I merged in #2157 as lots of people have proposed adding it to the Please open a new PR if you think something needs to exist under the |
Bower manages frameworks, libraries, assets, utilities, and rainbows installing packages in bower_components. It needs only a bower.json file and not the entire bower packages installed.
http://bower.io/