| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The new approach uses more memory as it reads the whole
11 MB CPAN packages file into memory. Also, it makes
less use of parallel multiprocessing now available on
many machines.
|
|
|
|
|
|
|
|
|
| |
Use Config.pm to determine correct kind of `make` tool
For Windows, the make process is supposed to get kicked off
in ./Win32.
We now run `make test-prep` before trying the module self-tests
|
|
|
|
|
|
| |
We simplify life here and try to set Porting/Makefile.PL
always to mode 755 (u=rwx , ao=rx) instead of being
more precise.
|
|
|
|
|
|
|
|
|
|
|
| |
File::Find and code copied from ExtUtils::Command do the same.
This patch makes the code to remove the exec bit a little less
efficient by not restricting itself to files that now have
the exec bit set, but instead looking at all files.
This change also uses $ENV{TEMP} in preference to
/tmp as a temp directory for caching the CPAN index.
|
|
|
|
|
|
|
|
| |
We remove the reliance on an external 'rm' tool in
favour of using File::Path::remove_tree.
We also eliminate some dir-changing by using
more absolute directory names.
|
|
|
|
|
|
|
| |
This tries downloads first with the built-in HTTP::Tiny
before it falls back to the external `wget` tool. Arguably,
the reliance on `wget` could be eliminated to reduce the
amount of code clutter.
|
| |
|
|
|
|
|
|
| |
I will run `make test_porting` on the correct branch before submitting a patch.
I will run `make test_porting` on the correct branch before submitting a patch.
I will run `make test_porting` on the correct branch before submitting a patch.
|
|
|
|
|
|
|
|
| |
Archive::Tar has ->extract_archive, which does Just That. This means
we lose immediate support for bzip2 files, but not all
incarnations of `tar` support it either.
Signed-off-by: David Golden <dagolden@cpan.org>
|
|
|
|
|
| |
These were all uncovered by the new Pod::Checker, not yet in core.
Fixing these will speed up debugging the new Checker.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
moving files around doesn't change the mtime, and tarballs store the
mtime to use when untarring, so it's possible to end up with an updated
file with an mtime before the corresponding file in lib/
|
|
|
|
|
|
| |
Filter::Util::Call comes from Filter-x.yz.tar.gz for instance, which
untars to Filter-x.yz, not Filter-Util-Call-x.yz as it was previously
assuming
|
| |
|
| |
|
| |
|
|
|
|
| |
Spotted by t/porting/podcheck.t
|
| |
|
|
|
|
|
|
|
|
| |
Porting/sync-with-cpan hasn't automated all situations yet. In particular,
it assumes the FILE entry has just one element, and that element is a
directory. It also does not know what to do with MAP. If we determine
this situation, we terminate the program before making any changes.
Although there's the --force option for the braves.
|
|
|
|
|
|
| |
By default, the script removes the tarball of the new distributions.
However, if the --tarball option was given (and hence, the file was not
downloaded from CPAN), we opt to keep this file around.
|
|
|
|
|
|
| |
/usr/bin/perl on dromedary is 5.8.8; but the script requires 5.10.
By using #!/usr/bin/env, we give the user more control over which perl
should be used. (And this benefits not just dromedary usesr)
|
|
|
|
|
|
|
|
| |
This allows to do the cpan/ upgrade without having to contact CPAN.
For instance, from dromedary, it seems to be impossible to fetch
files from CPAN. With the --tarball option, you can pass the location
of the tarball, and this will used instead of fetching it automatically
from CPAN.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Checks all the files in the new directory that have the exec bit set.
If the file isn't new, and if the old file doesn't have the exec bit set,
disable it.
Runs the tests that come with the package as well.
|
| |
|
|
This one is not complete yet, and its portability can be much improved.
But it helps me out right now, and it wouldn't be fair to keep it all to
myself.
|