Last modified: 2014-06-02 08:02:56 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 T63562, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61562 - set submodule.<name>.update to 'rebase'
set submodule.<name>.update to 'rebase'
Status: VERIFIED FIXED
Product: Wikimedia
Classification: Unclassified
Deployment systems (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-19 22:26 UTC by Greg Grossmeier
Modified: 2014-06-02 08:02 UTC (History)
8 users (show)

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


Attachments

Description Greg Grossmeier 2014-02-19 22:26:35 UTC
On Wed, Feb 19, 2014 at 1:24 PM, Antoine Musso <amusso@wikimedia.org> wrote:

> Le 19/02/2014 20:07, Greg Grossmeier a écrit :
> <snip>
> >  the patches are manually applied on the cluster
>                    ^^^^^^^^
>
> Here is the problem: "manually".
>
> We can commit the security patches in the extension submodules and
> configure submodule update to always rebase.
>
> [submodule "extensions/WikiLove"]
>    path = extensions/WikiLove
>    url = .... gerrit ...
>    update = rebase
>
> The default is "checkout".
>
>
> Ref: submodule.<name>.update in gitmodules(5)
>
>
Holy crap that's amazing. How did I not know about this?
*THIS* is what we need.
Comment 1 Chad H. 2014-02-19 22:56:59 UTC
This needs to be done in the checkoutMediaWiki script so it does things right when creating local clones :)
Comment 2 Gerrit Notification Bot 2014-05-05 17:00:13 UTC
Change 131500 had a related patch set uploaded by BryanDavis:
Configure git submodules to rebase on update

https://gerrit.wikimedia.org/r/131500
Comment 3 Gerrit Notification Bot 2014-05-05 17:02:39 UTC
Change 131500 merged by jenkins-bot:
Configure git submodules to rebase on update

https://gerrit.wikimedia.org/r/131500
Comment 4 Bryan Davis 2014-05-06 02:47:43 UTC
Chad will test this in the 1.24wmf4 deploy.
Comment 5 Bryan Davis 2014-05-21 21:16:10 UTC
From tin:/a/common/php-1.24wmf5/.git :

[branch "wmf/1.24wmf5"]
        remote = origin
        merge = refs/heads/wmf/1.24wmf5
        rebase = true
[submodule "extensions/AbuseFilter"]
        url = https://gerrit.wikimedia.org/r/p/mediawiki/extensions/AbuseFilter.git
        update = rebase
[submodule "extensions/AccountAudit"]
        url = https://gerrit.wikimedia.org/r/p/mediawiki/extensions/AccountAudit.git
        update = rebase
Comment 6 Antoine "hashar" Musso (WMF) 2014-06-02 08:02:56 UTC
Well done guys!

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


Navigation
Links