[gnome-devel-docs/wip/swilmet/prog-guidelines: 2/3] programming-guidelines: merging release commits
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs/wip/swilmet/prog-guidelines: 2/3] programming-guidelines: merging release commits
- Date: Sat, 7 Nov 2015 14:48:21 +0000 (UTC)
commit 0485c4c9fd844c3fa140b092c8bbc6c4614e5595
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Nov 7 14:34:10 2015 +0100
programming-guidelines: merging release commits
Absolutely requiring a linear Git history can be painful when doing
releases. Re-running make distcheck is not the funniest thing to do and
can take a long time (compiling the API documentation, running the
tests, etc). So I think a small exception to the rule is acceptable.
There was a discussion about that on the desktop-devel-list:
https://mail.gnome.org/archives/desktop-devel-list/2014-July/msg00027.html
the conclusion was that merging the release commit was the simplest
solution.
https://bugzilla.gnome.org/show_bug.cgi?id=757735
programming-guidelines/C/versioning.page | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/programming-guidelines/C/versioning.page b/programming-guidelines/C/versioning.page
index d9380a5..938d3bf 100644
--- a/programming-guidelines/C/versioning.page
+++ b/programming-guidelines/C/versioning.page
@@ -221,7 +221,11 @@ AC_SUBST([LT_VERSION],[0:0:0])</code>
<list>
<item><p>
If that fails due to other commits having been pushed in the
- meantime, restart at step 1
+ meantime, run <cmd>git pull</cmd> to merge your commit on the
+ branch followed by a second <cmd>git push</cmd>. This is an
+ exception to the GNOME guideline to have a linear Git history
+ (<link xref="version-control#use-of-git"/>). If you prefer to have
+ a linear history, you need to restart at step 1.
</p></item>
</list>
</item>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]