Closed Bug 653771 Opened 15 years ago Closed 15 years ago

update gitignore to be a bit better

Categories

(Webtools Graveyard :: Elmo, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Pike, Assigned: Pike)

Details

Attachments

(1 file)

The current gitignore on develop has a bunch of left overs, and doesn't contain *.pyc. Let's fix that.
Attachment #529163 - Flags: review?(stas)
Comment on attachment 529163 [details] [diff] [review] update .gitingore Review of attachment 529163 [details] [diff] [review]: r=me with a nit, which I'd like to hear your thoughts about. ::: .gitignore @@ -3,2 @@ settings/local.py -settings/test.py IIRC, test.py was a special settings file the Peter used for faster in-memory tests. I think it's fine to remove this special case, but I'd change > settings/local.py to > settings/local*.py so that we can locally have local_test.py, local_bm.py and others if needed.
Attachment #529163 - Flags: review?(stas) → review+
(In reply to comment #3) > flag: review?(stas@mozilla.com) => review+Comment on attachment 529163 [details] [diff] [review] > update .gitingore > > Review of attachment 529163 [details] [diff] [review]: > r=me > r=me with a nit, which I'd like to hear your thoughts about. > > ::: .gitignore > @@ -3,2 @@ > settings/local.py > -settings/test.py > > IIRC, test.py was a special settings file the Peter used for faster in-memory > tests. I think it's fine to remove this special case, but I'd change > > > settings/local.py > > to > > > settings/local*.py > > so that we can locally have local_test.py, local_bm.py and others if needed. +1 Lastly, I would argue that *.pyc should go into ~/.gitignore_global as it's unreleated to elmo.
https://github.com/mozilla/elmo/commit/0f0fa903f117ab9505bfb212df3e26a864543581, FIXED. I prefer to keep *.pyc in there, it's no harm, and it doesn't require that folks contributing need to edit their global git config the way we think they should.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
I like the idea of having good defaults straight from a fresh clone, too.
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: