Last modified: 2013-01-30 12:48:34 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 T39942, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37942 - prevents Jenkins from conflicting on release note files
prevents Jenkins from conflicting on release note files
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-25 21:21 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-01-30 12:48 UTC (History)
3 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2012-06-25 21:21:50 UTC
When jenkins fetch a change to run test on, it attempts a merge against latest master. We often end up with a conflict in the release note files which are not really relevant to tests. Example:


21:01:45  + git merge FETCH_HEAD
21:01:45  Auto-merging RELEASE-NOTES-1.20
21:01:45  CONFLICT (content): Merge conflict in RELEASE-NOTES-1.20
21:01:45  Auto-merging languages/messages/MessagesEn.php
21:01:45  Auto-merging languages/messages/MessagesQqq.php
21:01:45  Automatic merge failed; fix conflicts and then commit the result.
21:01:45  Build step 'Execute shell' marked build as failure
21:01:45  Finished: FAILURE

Git support per files merge strategy, so we could use 'ours' to just overwrite latest master : http://stackoverflow.com/questions/332528/is-it-possible-to-exclude-specific-commits-when-doing-a-git-merge/3970442#3970442

Relevant script would be integration/jenkins , file bin/fetch_gerrit_head.sh
Comment 1 Antoine "hashar" Musso (WMF) 2013-01-30 12:48:34 UTC
With our new workflow, we always attempt a merge against latest master. In some case we will eventually automatically merge the change.  I dont think we should ignore release notes conflict but still ask for a rebase.

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


Navigation
Links