summaryrefslogtreecommitdiff
path: root/Porting/cmpVERSION.pl
Commit message (Collapse)AuthorAgeFilesLines
* Don't leak stderr from 'git describe' in cmpVERSIONHugo van der Sanden2012-11-021-1/+1
|
* Detect empty git tag in cmpVERSIONHugo van der Sanden2012-11-021-0/+7
|
* Fix command-line argument quoting in Porting/cmpVERSION.plSteve Hay2012-08-101-2/+3
| | | | Windows, NetWare and VMS want double-quotes, other OSes want single quotes.
* cmpVERSION.pl: Correct err msgFather Chrysostomos2012-06-231-1/+2
|
* Teach Porting/cmpVERSION.pl about .pm files extracted from .pm_PL files.Nicholas Clark2012-06-181-18/+26
| | | | | | | | | | | | | | Previously these were overlooked - the generated .pm file corresponding to an .xs file would be found on disk, but as that file was not in git, the original $VERSION could not be determined and it would be skipped. Now the correct master file is checked, and failed if it is not updated. Without this change, t/porting/cmp_version.t currently fails for a build using -Dmksymlinks, due to ext/DynaLoader/dl_vms.xs having recent changes. The test changes directory to the original git checkout, and if that checkout is clean, there is *no* ext/DynaLoader.pm file there, which meant that the previous version of pm_file_from_xs() would die because it could not figure out which Perl file relates to dl_vms.xs
* In Porting/cmpVERSION.pl, treat undefined versions more rigorously.Nicholas Clark2012-06-181-5/+6
| | | | | | | For any changed module, if the old version is undefined or unparseable, treat it as a SKIP, not an OK. If the old version *was* parseable, but the current version is not, treat that as a FAIL - moving from a parseable to an unparseable version is a regression.
* In Porting/cmpVERSION.pl, increment $count in one place, unconditionally.Nicholas Clark2012-06-181-3/+4
| | | | | | | | Previously it was only incremented if it was being used (as part of generating TAP output). However, this was done as ++$count, necessitating using a printf statement. By moving the increment to one place we can use print instead, which is simpler, and avoid the risk of forgetting to increment $count if we add a new block for different test output.
* cmpVERSION.pl: Check lib/*.pl, tooFather Chrysostomos2011-12-061-1/+1
|
* Skip .xs files in t/ dirs when comparing versionsFlorian Ragwitz2011-07-121-1/+1
|
* In cmp_version.t, show in the TAP when we are skipping a particular version.Nicholas Clark2011-07-061-8/+7
| | | | | | | | | The facility to skip specific versions of modules was added in a5a2efce1e0ae6b7. However, it gave no indication when such an exception caused a skip, because it generated identical TAP output to the normal pass case. Instead, we now show the diffs (as for the "not ok" TAP output), but generate TAP "SKIP" for the pass. This makes it clear what is happening.
* Ignore deletes when looking for changed versionsFlorian Ragwitz2011-06-141-1/+1
|
* Restore cmpVERSION.pl's ability to spot differences in XS files.Nicholas Clark2011-05-231-51/+63
| | | | | | | | | | Since the refactor to use git tags (instead of a second source tree), cmpVERSION.pl was only spotting differences in XS files if the corresponding PM file was also modified. If only the XS file was modified, this was going undetected. Remove compare_git_file() - if git has already told us that a file differs, there's no need to duplicate the work of comparison in Perl.
* Fold Abigail's TAP generation logic back into cmpVERSION.plNicholas Clark2011-05-231-20/+59
| | | | | Reduce t/porting/cmp_version.t down to an invocation of cmpVERSION.pl with --tap.
* Change the -x option of cmpVERSION.pl to exclude upstream ne 'blead'Nicholas Clark2011-05-231-10/+13
| | | | | | Previously it was excluding if CPAN were true, which meant that anything with a DISTRIBUTION was excluded, including files where blead is upstream, and hence something we should fix.
* Pass the git tag to cmpVERSION.pl with a --tag argument.Nicholas Clark2011-05-231-15/+16
| | | | | | | | | If no tag is specified, default to git describe --abbrev=0. (This is David Golden's suggestion, added t/porting/cmp_version.t in 3d92e8b1e4996571) Eliminate the source_dir command line argument - this is now always assumed to be '.'.
* Convert cmpVERSION.pl to Getopt::Long from Getopt::Std.Nicholas Clark2011-05-231-11/+8
|
* Trim the import list from File::Spec::Functions and don't use File::Find.Nicholas Clark2011-05-231-4/+2
| | | | | | Most of the vestigial entries were caused by the refactoring to use git in 42e700c91cf83f56. Use File::Spec::Functions::devnull() in place of hard coded values based on $^O.
* Only load Maintainers.pm if cmpVERSION.pl is invoked with -xNicholas Clark2011-05-231-8/+7
| | | | Skip chdir $source_dir with -x, because -x checks that it's '.'
* Fix Porting/cmpVERSION.pl to work on Win32Steve Hay2010-09-191-3/+5
|
* Make everything exec-bit.txt lists executableFlorian Ragwitz2010-08-191-0/+0
| | | | | | | All these files used to be executable in the release tarballs. Apparently things also work without that in the repository, but I'd rather add this possibly unecessary change to blead instead of breaking the upcoming release. This should probably be looked into again afterwards.
* cmpVERSION.pl: don't flag version 'undef'David Golden2010-07-191-4/+3
|
* remove trailing space in cmpVERSIONDavid Golden2010-07-041-1/+1
|
* Update Porting/cmpVERSION.pl to use gitMatt Johnson2010-07-041-51/+82
| | | | | Update Porting/cmpVERSION.pl to take a directory and a git tag, rather than two directories, as suggested in perltodo.
* Let the cmdVERSION usage message expand $0Gisle Aas2010-04-181-1/+1
| | | | It makes more sense than literally printing "usage: $0 ..."
* Fix minor typo in commentLeon Brocard2009-11-181-1/+1
|
* make cmpVERSION.pl ignore Config.pmDavid Mitchell2009-07-031-1/+2
|
* add -x option to Porting/cmpVERSION.plDavid Mitchell2009-07-031-4/+23
| | | | which ignores dual-life modules
* add -d option to Porting/cmpVERSION.pl to display diffsDavid Mitchell2009-01-031-10/+33
|
* Add some basic decriptions and/or usage info to some Porting/ scriptsDavid Mitchell2009-01-031-0/+2
|
* Skip another module from the VERSION comparison checksSteve Hay2008-09-221-1/+2
| | | p4raw-id: //depot/perl@34391
* Bump VERSIONs in all non-dual-lived modules that have changedSteve Hay2008-09-151-0/+2
| | | | | | | | | | since 5.8.8, ready for merging into maint-5.8 prior to 5.8.9. (Many (all?) of these should really have been changed prior to 5.10.0, but better late than never.) Also modify cmpVERSION.pl to skip uninstalled test modules whose VERSIONs don't really matter. p4raw-id: //depot/perl@34365
* Skip another file in the VERSION comparison programSteve Hay2008-09-111-1/+4
| | | p4raw-id: //depot/perl@34348
* parse_version doesn't always succeed.Jarkko Hietaniemi2003-09-131-2/+3
| | | p4raw-id: //depot/perl@21214
* Tweak from Slaven to catch also changed .xs filesJarkko Hietaniemi2003-08-141-1/+8
| | | | | (.pm -> .xs name equivalence is assumed) p4raw-id: //depot/perl@20696
* Add a known exception.Jarkko Hietaniemi2003-08-141-0/+7
| | | p4raw-id: //depot/perl@20691
* Add cmpVERSION.pl from Slaven for comparing twoJarkko Hietaniemi2003-08-131-0/+38
Perl source trees for modules that have changed but have the same version numbers. p4raw-id: //depot/perl@20678