Closed
Bug 653771
Opened 15 years ago
Closed 15 years ago
update gitignore to be a bit better
Categories
(Webtools Graveyard :: Elmo, defect)
Webtools Graveyard
Elmo
Tracking
(Not tracked)
RESOLVED
FIXED
1.2
People
(Reporter: Pike, Assigned: Pike)
Details
Attachments
(1 file)
|
269 bytes,
patch
|
stas
:
review+
|
Details | Diff | Splinter Review |
The current gitignore on develop has a bunch of left overs, and doesn't contain *.pyc.
Let's fix that.
| Assignee | ||
Comment 1•15 years ago
|
||
Attachment #529163 -
Flags: review?(stas)
| Assignee | ||
Comment 2•15 years ago
|
||
It's also in https://github.com/Pike/elmo/commit/a4785871192df5081d0f57d2ef406da46a6259b6 to grab.
Comment 3•15 years ago
|
||
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+
Comment 4•15 years ago
|
||
(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.
| Assignee | ||
Comment 5•15 years ago
|
||
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
Comment 6•15 years ago
|
||
I like the idea of having good defaults straight from a fresh clone, too.
Updated•6 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•