Re: Add a minimal Gitignore

2023-03-10 Thread Tega Ukavwe
Here I quote Tom's reply to this thread: "As Python changes, as new tools come out, the gitignore needs to be constantly updated. There will be a lot of bikeshedding about what should and shouldn't go in. For example, the .vscode directory sometimes has project specific code that should be included

Re: Add a minimal Gitignore

2023-03-10 Thread Jörg Breitbart
Also -1 from my side. Imho django should deal with django things, and not with other stuff that may come handy on top. There are many more VCS than git, and even with git in particular there are several ways to structure your repo. To me this should stay a matter of VCS/repo tooling, not being

Re: Add a minimal Gitignore

2023-03-10 Thread Arthur Pemberton
What exactly would be considered the burden in maintaining a .gitignore? Arthur On Fri, Mar 10, 2023 at 11:37 AM Tega Ukavwe wrote: > I strongly agree with Adam and Tom, the extra and unnecessary burden of > maintaining the .gitignore file outweighs its advantages. > > Cheers, > Tega. > > On Fr

Re: Add a minimal Gitignore

2023-03-10 Thread Tega Ukavwe
I strongly agree with Adam and Tom, the extra and unnecessary burden of maintaining the .gitignore file outweighs its advantages. Cheers, Tega. On Fri, Mar 10, 2023 at 5:12 PM 'Adam Johnson' via Django developers (Contributions to Django itself) wrote: > I'm also against the idea, unless done i

Re: Add a minimal Gitignore

2023-03-10 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
I'm also against the idea, unless done in a very minimal fashion. Many tools in the ecosystem put "ignore everything here" .gitignore files into their not-normally-committed directories: at least Coverage.py, Mypy, pytest, and virtualenv. So the trend is that less and less .gitignore patterns are

Re: Add a minimal Gitignore

2023-03-10 Thread Tom Carrick
I don't really like the idea of this for a number of reasons. A lot of people create the project in a subdirectory. For them, the gitignore is in the wrong place. Enough people are using GitHub that they create the repo first with one of GH's provided gitignores, or copy it in after. As Python c

Re: Add a minimal Gitignore

2023-03-10 Thread Bogdan Barna
Just want to say that I agree with Cory. Being a non-core feature/issue, I don't see a reason of why not to re-evaluate the "denied" decisions. On Friday, March 10, 2023 at 9:11:03 AM UTC+2 Cory Zue wrote: > Is there a more nuanced discussion of this issue anywhere? The reasons > stated in the

Re: Add a minimal Gitignore

2023-03-10 Thread Cory Zue
Hey, Thanks, I appreciate the response. It sounds like your main concern is the overhead of maintaining the .gitignore file, is that right? Could that potentially be mitigated by a clear writeup of what's included, why, and then an easy way to close all other tickets? E.g. we could easily just use

Re: Add a minimal Gitignore

2023-03-10 Thread Mariusz Felisiak
Hi, I'm -1. "Other frameworks..." is not an argument for me, and I don't believe that `.gitignore` in the project template makes it more beginner friendly as I wouldn't call a beginner someone who use VCS. Adding `.gitignore` assumes that folks always use Git, that's not true. Moreover, `.giti

Re: Add a minimal Gitignore

2023-03-09 Thread Cory Zue
Is there a more nuanced discussion of this issue anywhere? The reasons stated in the linked PR that it's "not for the project template to provide configuration for source code management tools" feels more like an opinion than a fact. I know one of the goals that emerged from recent discussions wa

Re: Add a minimal Gitignore

2023-03-09 Thread Mariusz Felisiak
Hi Daniel, Adding .gitignore to the project template has been discussed and rejected multiple times, e.g. https://github.com/django/django/pull/13847 Best, Mariusz -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django its

Re: Add a minimal Gitignore

2023-03-09 Thread Daniel Azubuine
Yeah. Nice idea! Arthur! I'll do that On Thu, Mar 9, 2023, 20:40 Arthur Pemberton wrote: > I like the idea as I've seen novices commit all their .pyc files, but > maybe this should only triggered by a flag to startproject, --git perhaps. > > Arthur Pemberton > > On Thu, Mar 9, 2023, 14:13 Danie

Re: Add a minimal Gitignore

2023-03-09 Thread Arthur Pemberton
I like the idea as I've seen novices commit all their .pyc files, but maybe this should only triggered by a flag to startproject, --git perhaps. Arthur Pemberton On Thu, Mar 9, 2023, 14:13 Daniel Azubuine wrote: > Yeah > > What I meant is for the default ‘startproject’ template to include a > m

Re: Add a minimal Gitignore

2023-03-09 Thread Daniel Azubuine
Yeah What I meant is for the default ‘startproject’ template to include a minimal .gitignore file. I've added the template. Just wanted to ask before I push On Thu, Mar 9, 2023, 20:00 James Bennett wrote: > On Thu, Mar 9, 2023 at 10:27 AM 'Adam Johnson' via Django developers > (Contributions t

Re: Add a minimal Gitignore

2023-03-09 Thread James Bennett
On Thu, Mar 9, 2023 at 10:27 AM 'Adam Johnson' via Django developers (Contributions to Django itself) wrote: > The Django project has a .gitignore file: > https://github.com/django/django/blob/main/.gitignore > I think this person was asking for the default ‘startproject’ template to include a mi

Re: Add a minimal Gitignore

2023-03-09 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
The Django project has a .gitignore file: https://github.com/django/django/blob/main/.gitignore On Thu, Mar 9, 2023 at 3:46 PM Daniel Azubuine wrote: > I think it will be a little bit helpful to add a very minimal .gitignore > file to the django project. > Maybe one that just ignores the environ

Add a minimal Gitignore

2023-03-09 Thread Daniel Azubuine
I think it will be a little bit helpful to add a very minimal .gitignore file to the django project. Maybe one that just ignores the environments, test files -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.