All of lore.kernel.org
 help / color / mirror / Atom feed
* proposal to stop using "backport: " in commit logs
@ 2015-04-13 16:48 Ken Dreyer
  2015-04-13 16:49 ` Sage Weil
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ken Dreyer @ 2015-04-13 16:48 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

A while ago this came up in #ceph-devel and I wanted to bring it to a
wider audience.

Should we stop the convention of adding the "backport: " tags in Git?

Loic brought up the point that this data is essentially immutable after
we merge it, and it's better to point at a Redmine tracker where we can
alter the "backport" field.

This makes it easier to adjust the "backport" data after the code's been
merged to master. It also makes it easier for whoever is corralling the
backport efforts, because the person only have one place to look
(Redmine) instead of two (Redmine + git commit logs).

For what it's worth I agree with Loic on this.

Any objections?

- Ken

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: proposal to stop using "backport: " in commit logs
  2015-04-13 16:48 proposal to stop using "backport: " in commit logs Ken Dreyer
@ 2015-04-13 16:49 ` Sage Weil
  2015-04-13 17:04 ` Gregory Farnum
  2015-04-13 17:04 ` Loic Dachary
  2 siblings, 0 replies; 8+ messages in thread
From: Sage Weil @ 2015-04-13 16:49 UTC (permalink / raw)
  To: Ken Dreyer; +Cc: ceph-devel@vger.kernel.org

On Mon, 13 Apr 2015, Ken Dreyer wrote:
> A while ago this came up in #ceph-devel and I wanted to bring it to a
> wider audience.
> 
> Should we stop the convention of adding the "backport: " tags in Git?
> 
> Loic brought up the point that this data is essentially immutable after
> we merge it, and it's better to point at a Redmine tracker where we can
> alter the "backport" field.
> 
> This makes it easier to adjust the "backport" data after the code's been
> merged to master. It also makes it easier for whoever is corralling the
> backport efforts, because the person only have one place to look
> (Redmine) instead of two (Redmine + git commit logs).
> 
> For what it's worth I agree with Loic on this.

Yeah, this sounds better to me!

sage

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: proposal to stop using "backport: " in commit logs
  2015-04-13 16:48 proposal to stop using "backport: " in commit logs Ken Dreyer
  2015-04-13 16:49 ` Sage Weil
@ 2015-04-13 17:04 ` Gregory Farnum
  2015-04-13 17:28   ` Loic Dachary
  2015-04-13 17:04 ` Loic Dachary
  2 siblings, 1 reply; 8+ messages in thread
From: Gregory Farnum @ 2015-04-13 17:04 UTC (permalink / raw)
  To: Ken Dreyer; +Cc: ceph-devel@vger.kernel.org

On Mon, Apr 13, 2015 at 9:48 AM, Ken Dreyer <kdreyer@redhat.com> wrote:
> A while ago this came up in #ceph-devel and I wanted to bring it to a
> wider audience.
>
> Should we stop the convention of adding the "backport: " tags in Git?
>
> Loic brought up the point that this data is essentially immutable after
> we merge it, and it's better to point at a Redmine tracker where we can
> alter the "backport" field.
>
> This makes it easier to adjust the "backport" data after the code's been
> merged to master. It also makes it easier for whoever is corralling the
> backport efforts, because the person only have one place to look
> (Redmine) instead of two (Redmine + git commit logs).
>
> For what it's worth I agree with Loic on this.
>
> Any objections?

Why don't we just treat the backport commit tag as an expected value,
and any corresponding redmine data as the canonical one? I find the
backport tags to be useful when reviewing commits and I think the
authorial intention matters. For instance, it's not uncommon in some
parts of the codebase to discover and fix bugs as part of a feature
branch (because it's doing new things that weren't previously
exercised), tag the bug fix as a backport, and then generate tickets
later (assuming we're behaving).
-Greg

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: proposal to stop using "backport: " in commit logs
  2015-04-13 16:48 proposal to stop using "backport: " in commit logs Ken Dreyer
  2015-04-13 16:49 ` Sage Weil
  2015-04-13 17:04 ` Gregory Farnum
@ 2015-04-13 17:04 ` Loic Dachary
  2 siblings, 0 replies; 8+ messages in thread
From: Loic Dachary @ 2015-04-13 17:04 UTC (permalink / raw)
  To: Ken Dreyer, ceph-devel@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 1055 bytes --]



On 13/04/2015 18:48, Ken Dreyer wrote:
> A while ago this came up in #ceph-devel and I wanted to bring it to a
> wider audience.
> 
> Should we stop the convention of adding the "backport: " tags in Git?
> 
> Loic brought up the point that this data is essentially immutable after
> we merge it, and it's better to point at a Redmine tracker where we can
> alter the "backport" field.
> 
> This makes it easier to adjust the "backport" data after the code's been
> merged to master. It also makes it easier for whoever is corralling the
> backport efforts, because the person only have one place to look
> (Redmine) instead of two (Redmine + git commit logs).
> 
> For what it's worth I agree with Loic on this.

I agree with myself ;-)

> 
> Any objections?
> 
> - Ken
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
Loïc Dachary, Artisan Logiciel Libre


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: proposal to stop using "backport: " in commit logs
  2015-04-13 17:04 ` Gregory Farnum
@ 2015-04-13 17:28   ` Loic Dachary
  2015-04-13 18:53     ` Gregory Farnum
  0 siblings, 1 reply; 8+ messages in thread
From: Loic Dachary @ 2015-04-13 17:28 UTC (permalink / raw)
  To: Gregory Farnum, Ken Dreyer; +Cc: ceph-devel@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 1778 bytes --]


Hi Greg,

On 13/04/2015 19:04, Gregory Farnum wrote:
> On Mon, Apr 13, 2015 at 9:48 AM, Ken Dreyer <kdreyer@redhat.com> wrote:
>> A while ago this came up in #ceph-devel and I wanted to bring it to a
>> wider audience.
>>
>> Should we stop the convention of adding the "backport: " tags in Git?
>>
>> Loic brought up the point that this data is essentially immutable after
>> we merge it, and it's better to point at a Redmine tracker where we can
>> alter the "backport" field.
>>
>> This makes it easier to adjust the "backport" data after the code's been
>> merged to master. It also makes it easier for whoever is corralling the
>> backport efforts, because the person only have one place to look
>> (Redmine) instead of two (Redmine + git commit logs).
>>
>> For what it's worth I agree with Loic on this.
>>
>> Any objections?
> 
> Why don't we just treat the backport commit tag as an expected value,
> and any corresponding redmine data as the canonical one? 

That's what we currently do, I think.

> I find the
> backport tags to be useful when reviewing commits and I think the
> authorial intention matters. 

A git-notes could be added for that purpose instead. 

> For instance, it's not uncommon in some
> parts of the codebase to discover and fix bugs as part of a feature
> branch (because it's doing new things that weren't previously
> exercised), tag the bug fix as a backport, and then generate tickets
> later (assuming we're behaving).

Cheers

> -Greg
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
Loïc Dachary, Artisan Logiciel Libre


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: proposal to stop using "backport: " in commit logs
  2015-04-13 17:28   ` Loic Dachary
@ 2015-04-13 18:53     ` Gregory Farnum
  2015-04-13 20:04       ` Loic Dachary
  2015-04-13 23:59       ` Joao Eduardo Luis
  0 siblings, 2 replies; 8+ messages in thread
From: Gregory Farnum @ 2015-04-13 18:53 UTC (permalink / raw)
  To: Loic Dachary; +Cc: Ken Dreyer, ceph-devel@vger.kernel.org

On Mon, Apr 13, 2015 at 10:28 AM, Loic Dachary <loic@dachary.org> wrote:
>
> Hi Greg,
>
> On 13/04/2015 19:04, Gregory Farnum wrote:
>> On Mon, Apr 13, 2015 at 9:48 AM, Ken Dreyer <kdreyer@redhat.com> wrote:
>>> A while ago this came up in #ceph-devel and I wanted to bring it to a
>>> wider audience.
>>>
>>> Should we stop the convention of adding the "backport: " tags in Git?
>>>
>>> Loic brought up the point that this data is essentially immutable after
>>> we merge it, and it's better to point at a Redmine tracker where we can
>>> alter the "backport" field.
>>>
>>> This makes it easier to adjust the "backport" data after the code's been
>>> merged to master. It also makes it easier for whoever is corralling the
>>> backport efforts, because the person only have one place to look
>>> (Redmine) instead of two (Redmine + git commit logs).
>>>
>>> For what it's worth I agree with Loic on this.
>>>
>>> Any objections?
>>
>> Why don't we just treat the backport commit tag as an expected value,
>> and any corresponding redmine data as the canonical one?
>
> That's what we currently do, I think.
>
>> I find the
>> backport tags to be useful when reviewing commits and I think the
>> authorial intention matters.
>
> A git-notes could be added for that purpose instead.

Huh, I'm not previously familiar with that mechanism. Is there any
particular reason you didn't use that for tracking backport states to
begin with? It looks like it's sort of designed for this purpose.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: proposal to stop using "backport: " in commit logs
  2015-04-13 18:53     ` Gregory Farnum
@ 2015-04-13 20:04       ` Loic Dachary
  2015-04-13 23:59       ` Joao Eduardo Luis
  1 sibling, 0 replies; 8+ messages in thread
From: Loic Dachary @ 2015-04-13 20:04 UTC (permalink / raw)
  To: Gregory Farnum; +Cc: Ken Dreyer, ceph-devel@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 2242 bytes --]



On 13/04/2015 20:53, Gregory Farnum wrote:
> On Mon, Apr 13, 2015 at 10:28 AM, Loic Dachary <loic@dachary.org> wrote:
>>
>> Hi Greg,
>>
>> On 13/04/2015 19:04, Gregory Farnum wrote:
>>> On Mon, Apr 13, 2015 at 9:48 AM, Ken Dreyer <kdreyer@redhat.com> wrote:
>>>> A while ago this came up in #ceph-devel and I wanted to bring it to a
>>>> wider audience.
>>>>
>>>> Should we stop the convention of adding the "backport: " tags in Git?
>>>>
>>>> Loic brought up the point that this data is essentially immutable after
>>>> we merge it, and it's better to point at a Redmine tracker where we can
>>>> alter the "backport" field.
>>>>
>>>> This makes it easier to adjust the "backport" data after the code's been
>>>> merged to master. It also makes it easier for whoever is corralling the
>>>> backport efforts, because the person only have one place to look
>>>> (Redmine) instead of two (Redmine + git commit logs).
>>>>
>>>> For what it's worth I agree with Loic on this.
>>>>
>>>> Any objections?
>>>
>>> Why don't we just treat the backport commit tag as an expected value,
>>> and any corresponding redmine data as the canonical one?
>>
>> That's what we currently do, I think.
>>
>>> I find the
>>> backport tags to be useful when reviewing commits and I think the
>>> authorial intention matters.
>>
>> A git-notes could be added for that purpose instead.
> 
> Huh, I'm not previously familiar with that mechanism. Is there any
> particular reason you didn't use that for tracking backport states to
> begin with? It looks like it's sort of designed for this purpose.

My thoughts exactly. But I figure that out only recently. The cross referencing script  which currently creates a web page should be changed to update / verify git notes in a namespace dedicated to backporting, in a json format that is rigid and meant to be consistent and reliable. And the web page should be a display of these git notes instead of what it currently is. The default git notes name space could be used by developers to store human edited notes about commits such as the Backport field etc. because there is value in loosely maintained information.

Cheers

-- 
Loïc Dachary, Artisan Logiciel Libre


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: proposal to stop using "backport: " in commit logs
  2015-04-13 18:53     ` Gregory Farnum
  2015-04-13 20:04       ` Loic Dachary
@ 2015-04-13 23:59       ` Joao Eduardo Luis
  1 sibling, 0 replies; 8+ messages in thread
From: Joao Eduardo Luis @ 2015-04-13 23:59 UTC (permalink / raw)
  To: Gregory Farnum, Loic Dachary; +Cc: Ken Dreyer, ceph-devel@vger.kernel.org

On 04/13/2015 07:53 PM, Gregory Farnum wrote:
> On Mon, Apr 13, 2015 at 10:28 AM, Loic Dachary <loic@dachary.org> wrote:
>>
>> Hi Greg,
>>
>> On 13/04/2015 19:04, Gregory Farnum wrote:
>>> On Mon, Apr 13, 2015 at 9:48 AM, Ken Dreyer <kdreyer@redhat.com> wrote:
>>>> A while ago this came up in #ceph-devel and I wanted to bring it to a
>>>> wider audience.
>>>>
>>>> Should we stop the convention of adding the "backport: " tags in Git?
>>>>
>>>> Loic brought up the point that this data is essentially immutable after
>>>> we merge it, and it's better to point at a Redmine tracker where we can
>>>> alter the "backport" field.
>>>>
>>>> This makes it easier to adjust the "backport" data after the code's been
>>>> merged to master. It also makes it easier for whoever is corralling the
>>>> backport efforts, because the person only have one place to look
>>>> (Redmine) instead of two (Redmine + git commit logs).
>>>>
>>>> For what it's worth I agree with Loic on this.
>>>>
>>>> Any objections?
>>>
>>> Why don't we just treat the backport commit tag as an expected value,
>>> and any corresponding redmine data as the canonical one?
>>
>> That's what we currently do, I think.
>>
>>> I find the
>>> backport tags to be useful when reviewing commits and I think the
>>> authorial intention matters.
>>
>> A git-notes could be added for that purpose instead.
> 
> Huh, I'm not previously familiar with that mechanism. Is there any
> particular reason you didn't use that for tracking backport states to
> begin with? It looks like it's sort of designed for this purpose.

I agree.  git-notes seem like the way to go for this -- also, mind blown
at finding about git-notes, looks amazing!

  -Joao


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-04-13 23:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-13 16:48 proposal to stop using "backport: " in commit logs Ken Dreyer
2015-04-13 16:49 ` Sage Weil
2015-04-13 17:04 ` Gregory Farnum
2015-04-13 17:28   ` Loic Dachary
2015-04-13 18:53     ` Gregory Farnum
2015-04-13 20:04       ` Loic Dachary
2015-04-13 23:59       ` Joao Eduardo Luis
2015-04-13 17:04 ` Loic Dachary

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.