Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[patch] advice regarding make regen products

0 views
Skip to first unread message

Jim Cromie

unread,
Dec 31, 2009, 12:20:07 AM12/31/09
to Perl 5 Porters
doc recent advice about including changes
wrought by 'make regen' in patches.
0001-advice-regarding-make-regen-changes.patch

Karl Williamson

unread,
Jan 1, 2010, 3:58:23 PM1/1/10
to Jim Cromie, Perl 5 Porters
Jim Cromie wrote:
> doc recent advice about including changes
> wrought by 'make regen' in patches.
>

This helped me understand things. And either I misunderstand, or it
could be made clearer that a series of patches may be an exception to
the rule. Something like:

+submit your patch without them. An exception to this might be if
+you're submitting a series of
+patches: it might be best to submit the regenerated changes
+immediately after the source-changes that caused them, so as to have
+as little effect as possible on the bisectability of your patchset.

Rafael Garcia-Suarez

unread,
Jan 3, 2010, 9:13:42 AM1/3/10
to Jim Cromie, Perl 5 Porters
2009/12/31 Jim Cromie <jim.c...@gmail.com>:

> doc recent advice about including changes
> wrought by 'make regen' in patches.

Thanks, applied as ac1cbfb08dc1370fbe2937f6bdd95a86fa70bce4.

Jim Cromie

unread,
Jan 4, 2010, 4:56:33 PM1/4/10
to karl williamson, Perl 5 Porters

hi Karl,

Im glad it helped.
I was rather hoping that the process might be further discussed and
perhaps refined.

The preference was (originally?) expressed here:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2009-11/msg00841.html

I invented the separated "derived-products-only" patch approach as
satisfying the preference, but also further highlighting the "make
regen needed".

Pumpkings clearly do the needed 'make regen' before committing such
patches to blead, but separating the derived files would allow a
double-check of sorts.

So - what happens when a make-regen-needed commit is 'make regen'd,
followed by applying the 'derived-files' patch ?
Hopefully, the apply would succeed, and also say 'no files changed'
This would be a nice easy-to-use double-check.

Jim Cromie

unread,
Jun 16, 2010, 10:52:08 PM6/16/10
to Perl 5 Porters

re-raising the issue, with a patch to undo the advice.

0001-undo-make-regen-advice-bulk-of-94e892a68016a417b1b32.patch
0 new messages