pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Support new perl module namespace in stable branches 5+ messages / 1 participants [nested] [flat]
* pgsql: Support new perl module namespace in stable branches @ 2022-04-21 13:41 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 5+ messages in thread From: Andrew Dunstan @ 2022-04-21 13:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Support new perl module namespace in stable branches Commit b3b4d8e68a moved our perl test modules to a better namespace structure, but this has made life hard for people wishing to backpatch improvements in the TAP tests. Here we alleviate much of that difficulty by implementing the new module names on top of the old modules, mostly by using a little perl typeglob aliasing magic, so that we don't have a dual maintenance burden. This should work both for the case where a new test is backpatched and the case where a fix to an existing test that uses the new namespace is backpatched. Reviewed by Michael Paquier Per complaint from Andres Freund Discussion: https://postgr.es/m/20220418141530.nfxtkohefvwnzncl@alap3.anarazel.de Applied to branches 10 through 14 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b235d41d9646c531864ecc680fd9ec5da9217051 Modified Files -------------- src/test/perl/PostgreSQL/Test/Cluster.pm | 16 +++++++++++ src/test/perl/PostgreSQL/Test/Utils.pm | 47 ++++++++++++++++++++++++++++++++ src/test/perl/PostgresNode.pm | 14 ++++++++++ src/test/perl/TestLib.pm | 42 ++++++++++++++++++++++++++++ 4 files changed, 119 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Support new perl module namespace in stable branches @ 2022-04-21 13:41 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 5+ messages in thread From: Andrew Dunstan @ 2022-04-21 13:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Support new perl module namespace in stable branches Commit b3b4d8e68a moved our perl test modules to a better namespace structure, but this has made life hard for people wishing to backpatch improvements in the TAP tests. Here we alleviate much of that difficulty by implementing the new module names on top of the old modules, mostly by using a little perl typeglob aliasing magic, so that we don't have a dual maintenance burden. This should work both for the case where a new test is backpatched and the case where a fix to an existing test that uses the new namespace is backpatched. Reviewed by Michael Paquier Per complaint from Andres Freund Discussion: https://postgr.es/m/20220418141530.nfxtkohefvwnzncl@alap3.anarazel.de Applied to branches 10 through 14 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1c60a99dd9a2064125d503227d8f8b17d33dc4ed Modified Files -------------- src/test/perl/PostgreSQL/Test/Cluster.pm | 16 ++++++++++++ src/test/perl/PostgreSQL/Test/Utils.pm | 45 ++++++++++++++++++++++++++++++++ src/test/perl/PostgresNode.pm | 14 ++++++++++ src/test/perl/TestLib.pm | 40 ++++++++++++++++++++++++++++ 4 files changed, 115 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Support new perl module namespace in stable branches @ 2022-04-21 13:41 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 5+ messages in thread From: Andrew Dunstan @ 2022-04-21 13:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Support new perl module namespace in stable branches Commit b3b4d8e68a moved our perl test modules to a better namespace structure, but this has made life hard for people wishing to backpatch improvements in the TAP tests. Here we alleviate much of that difficulty by implementing the new module names on top of the old modules, mostly by using a little perl typeglob aliasing magic, so that we don't have a dual maintenance burden. This should work both for the case where a new test is backpatched and the case where a fix to an existing test that uses the new namespace is backpatched. Reviewed by Michael Paquier Per complaint from Andres Freund Discussion: https://postgr.es/m/20220418141530.nfxtkohefvwnzncl@alap3.anarazel.de Applied to branches 10 through 14 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/17bdba3ee69083e47069e9f26b4ee87d3d5dc3d5 Modified Files -------------- src/test/perl/PostgreSQL/Test/Cluster.pm | 16 ++++++++++++ src/test/perl/PostgreSQL/Test/Utils.pm | 44 ++++++++++++++++++++++++++++++++ src/test/perl/PostgresNode.pm | 14 ++++++++++ src/test/perl/TestLib.pm | 39 ++++++++++++++++++++++++++++ 4 files changed, 113 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Support new perl module namespace in stable branches @ 2022-04-21 13:41 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 5+ messages in thread From: Andrew Dunstan @ 2022-04-21 13:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Support new perl module namespace in stable branches Commit b3b4d8e68a moved our perl test modules to a better namespace structure, but this has made life hard for people wishing to backpatch improvements in the TAP tests. Here we alleviate much of that difficulty by implementing the new module names on top of the old modules, mostly by using a little perl typeglob aliasing magic, so that we don't have a dual maintenance burden. This should work both for the case where a new test is backpatched and the case where a fix to an existing test that uses the new namespace is backpatched. Reviewed by Michael Paquier Per complaint from Andres Freund Discussion: https://postgr.es/m/20220418141530.nfxtkohefvwnzncl@alap3.anarazel.de Applied to branches 10 through 14 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/8b910d94234bd751398890a478336aee214e530b Modified Files -------------- src/test/perl/PostgreSQL/Test/Cluster.pm | 16 ++++++++++++ src/test/perl/PostgreSQL/Test/Utils.pm | 43 ++++++++++++++++++++++++++++++++ src/test/perl/PostgresNode.pm | 14 +++++++++++ src/test/perl/TestLib.pm | 38 ++++++++++++++++++++++++++++ 4 files changed, 111 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Support new perl module namespace in stable branches @ 2022-04-21 13:41 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 5+ messages in thread From: Andrew Dunstan @ 2022-04-21 13:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Support new perl module namespace in stable branches Commit b3b4d8e68a moved our perl test modules to a better namespace structure, but this has made life hard for people wishing to backpatch improvements in the TAP tests. Here we alleviate much of that difficulty by implementing the new module names on top of the old modules, mostly by using a little perl typeglob aliasing magic, so that we don't have a dual maintenance burden. This should work both for the case where a new test is backpatched and the case where a fix to an existing test that uses the new namespace is backpatched. Reviewed by Michael Paquier Per complaint from Andres Freund Discussion: https://postgr.es/m/20220418141530.nfxtkohefvwnzncl@alap3.anarazel.de Applied to branches 10 through 14 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5d223e4e0691911d1addbacbb6d843ac5c8af53a Modified Files -------------- src/test/perl/PostgreSQL/Test/Cluster.pm | 16 +++++++++++++ src/test/perl/PostgreSQL/Test/Utils.pm | 40 ++++++++++++++++++++++++++++++++ src/test/perl/PostgresNode.pm | 10 ++++++++ src/test/perl/TestLib.pm | 36 ++++++++++++++++++++++++++++ 4 files changed, 102 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2022-04-21 13:41 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2022-04-21 13:41 pgsql: Support new perl module namespace in stable branches Andrew Dunstan <andrew@dunslane.net> 2022-04-21 13:41 pgsql: Support new perl module namespace in stable branches Andrew Dunstan <andrew@dunslane.net> 2022-04-21 13:41 pgsql: Support new perl module namespace in stable branches Andrew Dunstan <andrew@dunslane.net> 2022-04-21 13:41 pgsql: Support new perl module namespace in stable branches Andrew Dunstan <andrew@dunslane.net> 2022-04-21 13:41 pgsql: Support new perl module namespace in stable branches Andrew Dunstan <andrew@dunslane.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox