summaryrefslogtreecommitdiff
path: root/Porting/sync-with-cpan
Commit message (Collapse)AuthorAgeFilesLines
* add --help to Porting/sync-with-cpanH.Merijn Brand2014-08-011-3/+11
|
* sync-with-cpan: allow digits after -TRIALRicardo Signes2014-03-201-2/+2
|
* Porting/sync-with-cpan: allow "-TRIAL" version numbersAaron Crane2014-03-191-2/+2
|
* Elide use of `grep`Max Maischein2013-10-061-3/+5
| | | | | | | 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.
* Run correct makeMax Maischein2013-10-061-2/+13
| | | | | | | | | 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
* Elide use of `chmod`Max Maischein2013-10-061-3/+14
| | | | | | We simplify life here and try to set Porting/Makefile.PL always to mode 755 (u=rwx , ao=rx) instead of being more precise.
* Elide use of `ls`, `find` and `touch`Max Maischein2013-10-061-15/+29
| | | | | | | | | | | 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.
* Elide use of `rm`Max Maischein2013-10-061-6/+6
| | | | | | | | 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.
* First try with HTTP::Tiny, fallback on `wget`Max Maischein2013-10-061-2/+12
| | | | | | | 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.
* typo fixes for porting scriptsDavid Steinbrunner2013-05-241-1/+1
|
* Fix typo in Porting/sync-with-cpanMax Maischein2013-05-211-1/+1
| | | | | | 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.
* Eliminate external call to tar executable in favour of Archive::TarMax Maischein2013-05-211-1/+2
| | | | | | | | 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>
* Fix various minor pod issuesKarl Williamson2013-01-241-1/+1
| | | | | These were all uncovered by the new Pod::Checker, not yet in core. Fixing these will speed up debugging the new Checker.
* whoops, should be using $new_version hereJesse Luehrs2012-06-181-1/+1
|
* use the right default for MAPJesse Luehrs2012-06-181-0/+3
|
* make sure podlators is skipped, it won't be handled correctlyJesse Luehrs2012-06-181-1/+5
|
* teach sync-with-cpan how to update Maintainers.plJesse Luehrs2012-06-181-2/+40
|
* update sync-with-cpan to handle dists with MAPped filesJesse Luehrs2012-06-181-25/+52
|
* ensure 'make' updates all necessary filesJesse Luehrs2012-06-181-0/+2
| | | | | | 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/
* get the dir name from the tarball filenameJesse Luehrs2012-06-181-1/+1
| | | | | | 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
* allow overriding version in this branch tooJesse Luehrs2012-06-181-0/+4
|
* not sure why this is necessaryJesse Luehrs2012-06-181-1/+0
|
* fix error messageJesse Luehrs2012-06-171-1/+1
|
* Fix small Pod error introduced by commit c5e3e317152223ae.Nicholas Clark2012-06-151-1/+1
| | | | Spotted by t/porting/podcheck.t
* clean up documentation for sync-with-cpanJesse Luehrs2012-06-151-40/+119
|
* Bail out if it looks scary.Abigail2012-03-191-3/+16
| | | | | | | | 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.
* Don't remove --tarballAbigail2012-03-191-1/+1
| | | | | | 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.
* Use #!/usr/bin/envAbigail2012-03-191-1/+1
| | | | | | /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)
* Add a --tarball optionAbigail2012-03-191-27/+42
| | | | | | | | 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.
* Allow passing the name of the CPAN moduleAbigail2012-03-141-6/+7
|
* Deal with files in the CUSTOMIZED sections.Abigail2012-03-141-2/+14
|
* Fix the fixing of MANIFESTAbigail2012-03-141-11/+4
|
* List one more TODOAbigail2012-03-131-0/+1
|
* More tests, and more exec-bit removal.Abigail2012-03-131-11/+42
| | | | | | | | 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.
* Disambiguate map { }Abigail2012-03-131-1/+1
|
* Script to help out upgrading a cpan/ distro.Abigail2012-03-131-0/+262
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.