git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: <Graham.Menhennitt@c4i.com>
To: <richard.kerry@atos.net>, <git@vger.kernel.org>
Subject: RE: request for development/build workflow suggestion/fix
Date: Mon, 30 May 2022 21:59:17 +0000	[thread overview]
Message-ID: <BN2P110MB174675FF841676169C7F578DC5DD9@BN2P110MB1746.NAMP110.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <AS8PR02MB7302BAA142824332D1BE24939CDD9@AS8PR02MB7302.eurprd02.prod.outlook.com>

Thanks for replying, Richard.

I'll have a think about your suggestion. It's a fairly radical change from what we currently do, but I'll consider it.

Thanks,
	Graham

-----Original Message-----
From: Kerry, Richard <richard.kerry@atos.net> 
Sent: Monday, 30 May 2022 7:32 PM
To: Graham.Menhennitt@c4i.com; git@vger.kernel.org
Subject: [EXTERNAL] RE: request for development/build workflow suggestion/fix

WARNING: Email originated from an EXTERNAL source. Do NOT click links, open attachments or reply unless you recognize sender and know the content is safe.

> -----Original Message-----
> From: Graham.Menhennitt@c4i.com <Graham.Menhennitt@c4i.com>
> Sent: 30 May 2022 02:45
> To: git@vger.kernel.org
> Subject: request for development/build workflow suggestion/fix
>

> Our (simplified) development workflow for fixing a bug or adding
> functionality:
> - clone the repo and create a private branch off the Integration 
> branch
> - fix the bug or develop the functionality (and test)
> - merge the private branch to Integration
> - create a tag to identify the fix
>
> Our build system:
> - clone the repo's Integration branch
> - edit a 'version' file in the repo that contains the current build 
> number and increment that number
> - build the software
> - commit the edited version file
> - create a tag identifying the build number
> - produce a list of changes since the previous build by diffing 
> between the newly created tag and the previous build tag
>
> The problem:
> - if a developer merges to Integration and creates a tag while the 
> build is in progress, his tag gets included in the diffs even though 
> his changes aren't actually included in the build.

> So, my question: can anybody please suggest an improvement to our 
> development or build workflows to fix/avoid the problem? The obvious 
> change of omitting the pulls before pushing from buildClone doesn't 
> work - git won't allow the push.
>
> Many thanks in advance for any suggestions.
>       Graham
>

Don't merge to the integration branch, commit to the development branch (ie the trunk) At the moment when a build is to be started, branch it generating a new integration branch (maybe also tag its start point).  Build from that.
Thus at that point in time it is frozen.  No-one commits to it.

Integration manager creates the integration branch and is then in control of what may be merged to it.  The rest of the team can commit to the development branch and their work will not hit integration without something being done explicitly to put it there.

Maybe,
Richard.



      reply	other threads:[~2022-05-30 22:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-30  1:45 request for development/build workflow suggestion/fix Graham.Menhennitt
2022-05-30  2:15 ` rsbecker
2022-05-30  9:31 ` Kerry, Richard
2022-05-30 21:59   ` Graham.Menhennitt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BN2P110MB174675FF841676169C7F578DC5DD9@BN2P110MB1746.NAMP110.PROD.OUTLOOK.COM \
    --to=graham.menhennitt@c4i.com \
    --cc=git@vger.kernel.org \
    --cc=richard.kerry@atos.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).