Ticket #307 (closed feature: fixed)

Opened 5 years ago

Last modified 5 years ago

make pmcrenumber broken?

Reported by: coke Owned by:
Priority: normal Milestone:
Component: build Version:
Severity: medium Keywords: newbie, build
Cc: Language:
Patch status: Platform:

Description

make pmcrenumber doesn't change src/pmc/pmc.num, even though it contains many PMCs that no longer exist.

This target should probably insure that all the PMCs from src/pmc/*.pmc are included, and any that are no longer available are removed.

Related ticket here:  http://rt.perl.org/rt3/Ticket/Display.html?id=48587

Change History

Changed 5 years ago by cotto

The pmcrenumber.pl script wasn't intended to be as smart as you expect it to be. The only thing it currently does is rewrite src/pmc/pmc.num so that the numbers in the file reflect order of the PMCs listed in that file. This is so we can edit a single line in the file, make pmcrenumber and have it work.

There's no reason that the script couldn't be further refined to detect non-existent PMCs or even to generate the list based on an appropriate set of criteria. The only reason I didn't bother was because I didn't think that the script would be used very often, as the set of core PMCs is fairly stable at this point. If this isn't the case and the script is worth completing, I (or someone else interested in a Perl task) can take care of it.

Changed 5 years ago by jkeenan

  • component changed from none to build

Changed 5 years ago by cotto

  • keywords newbie, build added
  • type changed from bug to feature

I'm tagging this as "newbie" since this is a fairly well-isolated task that'd be a good way for a newcomer to become familiar with how PMCs are built.

Changed 5 years ago by coke

  • status changed from new to closed
  • resolution set to fixed

Added a note to tools/dev/pmcrenumber.pl in r43231.

Note: See TracTickets for help on using tickets.