Re: PATCH: remove runtest_start procedure

Ben Elliston <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <20181215081833.GA7984@bapbop>
On Sat, Dec 15, 2018 at 01:42:22AM -0600, Jacob Bachmeyer wrote:

> Is it better to write new code close to the existing style and then
> patch both for cleanup or to write new code in "new" style and patch
> only the old code in cleanup?

I tend to use the latter.

> I suppose the real question is: what are the trade-offs to minimize
> the overall effort required for review?  Is there significant
> per-patch overhead (pushing to group patches: 10+1 + 10+1 + 10+1 +
> 10+1 == 44 but 10+4 == 14), is the review effort more proportionate
> to total diff size (neutral impact), or is the effort to review
> greater than linear in diff size for each patch (pushing to split
> patches: 1^2 + 1^2 + 1^2 + 1^2 == 4 but 4^2 == 16)?

Your approach of breaking up patches on the basis of logical changes
is, of course, fine. My personal way of doing things is, if I find a
separate bug, to immediately create a new branch, fix the bug there,
and submit it separately. Yes, it puts a higher workload on the patch
submitter, but I have always felt that the onus is on the submitter to
make the work of the maintainer easier (if you want your patch
accepted). :-)

In general, review overhead is a function of patch size. I don't mind
reviewing more numerous, but trivial patches.

Cheers, Ben

_______________________________________________
DejaGnu mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/dejagnu
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEFS8+rdM1/2KWERKFZ9rcPj90NkkFAlwUuNgACgkQZ9rcPj90
NkncEBAAhve2ErKnbiLsvlooy5TEE6o2bLKMCx2oDDTdo6BaFIBiUZM4pI4Q/34u
n09lgpRCF6uC6SMhlxJTWyby7TpwhLvmLX2GYSXT+s2+vOUNROt3QQ2yUdnrwN8Z
/wldE87UVQ9Srye3BSIJ92sE9Ms4RsESFVJF+Qt4llwqizaFYMk1HRoiPKtC9lUQ
voTZq3SIz8seMf9ydOBQ2rQA8zR/ZfQ9sgA7HZLlFZA9/xIw2kgJLuSDnbyLRYJI
WjG5zukcxVzyRm5yD4h7LsDMY1hjvUL95i5WNc3gmWQp04ST92EkDc4UfWIvZOc9
dw/dnnsUEzy5azs3qRenv3kS/ELOJyCpRCd7DBpYRzmLzYlxCrdY4D0C5jQ7vdO2
jajylUJxHsTPm3R3sPF1p+llM409ZLIFQHGyBTjMVflxRI+AatlU6K8V29cbjdDZ
TzFjfC1J7irjyDuYYpTQQUwIwaG8u4m5ejF+OSxTogy4wa0zoSx+m8U7F5g1nnV8
VsK4prXXUKqDyhXxzZodxovIM2sp0jECvRarTAK0bP08qElUcaYDINT9JiWZqslm
q/fOCdS8MpYPOrc+wkDe36kZMJ5Y0ygpQhMSDxeePZZwAtGLguYJ9iIbKkiyhjdy
hR/cu2EWV/WXHk+9Sy0LmoFDQpfqBbVuJvngmcTTNowD1Jrp4uM=
=SlEy
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.