Last modified: 2014-03-03 02:16:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57486, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55486 - Add .gitignore to the /skins directory to make it easier to work on extensions
Add .gitignore to the /skins directory to make it easier to work on extensions
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.23.0
All All
: Low enhancement (vote)
: 1.23.0 release
Assigned To: Huji
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-08 23:16 UTC by Huji
Modified: 2014-03-03 02:16 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Huji 2013-10-08 23:16:07 UTC
Just like extensions which are usually hosted in a separate repo, skins (other than the default ones) are also often hosted externally. When you checkout these external repos into your working copy of MW, they always get listed in the results of "git status" when that command is run in the higher directory levels (inside MW). This also introduces the risk of incorrectly adding those skins to your patch when you carelessly run "git commit -am ..."

I believe these were the reasons we (rightfully) added svnignore in the old days, and .gitignore in the news days, to the /extensions directory. I would like to propose doing the same for the skins directory.
Comment 1 Chad H. 2013-10-08 23:35:40 UTC
Not a Git/Gerrit bug, marking invalid. Anyone can submit a patch to do this.
Comment 2 Gerrit Notification Bot 2013-10-08 23:40:23 UTC
Change 88669 had a related patch set uploaded by Huji:
(bug 55486) Add .gitignore to the /skins directory to make it easier to work on extensions

https://gerrit.wikimedia.org/r/88669
Comment 3 Gerrit Notification Bot 2013-10-08 23:43:57 UTC
Change 88670 had a related patch set uploaded by Huji:
(bug 55486) Add .gitignore to the /skins directory to make it easier to work on extensions

https://gerrit.wikimedia.org/r/88670
Comment 4 Gerrit Notification Bot 2013-11-23 20:52:36 UTC
Change 88669 abandoned by Huji:
(bug 55486) Add .gitignore to the /skins directory to make it easier to work on extensions

Reason:
Duplicate. see https://gerrit.wikimedia.org/r/#/c/88670/

https://gerrit.wikimedia.org/r/88669
Comment 5 Gerrit Notification Bot 2013-11-28 23:20:41 UTC
Change 88670 had a related patch set uploaded by Bartosz Dziewoński:
(bug 55486) Add .gitignore to the /skins directory to make it easier to work on extensions

https://gerrit.wikimedia.org/r/88670
Comment 6 Gerrit Notification Bot 2013-11-28 23:25:46 UTC
Change 88670 merged by jenkins-bot:
Add .gitignore to the /skins directory

https://gerrit.wikimedia.org/r/88670
Comment 7 Bartosz Dziewoński 2013-12-27 21:24:00 UTC
Reverted in I77655ea4, new skin files (images etc.) seem to be matches by these rules. I'm going to revert this for now since it's annoying, feel free to resubmit a .gitignore that works.
Comment 8 Huji 2013-12-27 21:55:35 UTC
Do you mean new files for existing skins are being matched? If that is the case, I will fix it with a wild card. If you are talking about adding a "new" skin to the core, then all that is needed is to add the relevant rule to the .gitignore.

Please specify which of the two is the problem, and I will surely provide a fix.
Comment 9 Bartosz Dziewoński 2013-12-27 21:58:10 UTC
The first, of course, I wouldn't complain otherwise :)
Comment 10 Huji 2013-12-28 00:01:58 UTC
https://gerrit.wikimedia.org/r/#/c/104165/ appears to do the job.
Comment 11 Huji 2014-01-01 00:30:01 UTC
Please see https://gerrit.wikimedia.org/r/#/c/104784
Comment 12 Gerrit Notification Bot 2014-01-02 16:07:27 UTC
Change 104784 had a related patch set uploaded by TheDJ:
Add .gitignore to the /skins directory

https://gerrit.wikimedia.org/r/104784
Comment 13 Gerrit Notification Bot 2014-01-25 04:47:14 UTC
Change 104784 merged by jenkins-bot:
Add .gitignore to the /skins directory

https://gerrit.wikimedia.org/r/104784
Comment 14 Andre Klapper 2014-03-02 19:20:42 UTC
Patch was merged a while ago - is there more work left to do here (if yes: please reset the bug report status to NEW or ASSIGNED), or can you close this ticket as RESOLVED FIXED?
Comment 15 Huji 2014-03-03 02:16:38 UTC
Thanks for the reminder; somehow, closing this bug slipped through the cracks.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links