11 years agoRT#87352: fix .packlist path abs2rel RT87352-packlist-paths-abs2rel
Olivier Mengué [Mon, 29 Jul 2013 16:33:36 +0000]
RT#87352: fix .packlist path abs2rel

The abs2rel algorithm used to map paths in .packlist files was not
working in some cases (AnyEvent) because those distributions install
their .pm files in archlib.
To fix this we now lookup each path relative to each @INC path.

11 years agoRelease commit for 0.009018 v0.009018
Karen Etheridge [Sat, 27 Jul 2013 03:07:59 +0000]
Release commit for 0.009018

11 years agobump version
Karen Etheridge [Sat, 27 Jul 2013 03:07:23 +0000]
bump version

11 years agofixed bump-version (from Moo dist)
Karen Etheridge [Sat, 27 Jul 2013 03:01:31 +0000]
fixed bump-version (from Moo dist)

11 years agochangelog for miyagawa's patch (RT#84414)
Karen Etheridge [Sat, 27 Jul 2013 02:59:01 +0000]
changelog for miyagawa's patch (RT#84414)

11 years agoStop chdir when finding packlist. Absolutify %INC path in case there's a relative...
Tatsuhiko Miyagawa [Wed, 3 Apr 2013 21:39:53 +0000]
Stop chdir when finding packlist. Absolutify %INC path in case there's a relative path in @INC.

When there's a relative path in @INC (e.g. with -Mlib=./local/lib/perl5),
FatPacker died with `Can't open local/lib/perl5/.../.packlist` even if the
file exists, because of File::Find's chdir, and $File::Find::name is yet
relative.

This patch adds 'no_chdir' option to File::Find to stop chdir'ing to
the directories, and then expand the %INC entries to fullpath with
Cwd::abs_path, so that it will hopefully match with what you have in
.packlist content.

Reproduce:

  cpanm -l local Plack
  perl -Mlib=local/lib/perl5 -S fatpack packlists-for Plack.pm

11 years agomake changelog more readable, CPAN::Changes-compliant
Karen Etheridge [Thu, 18 Jul 2013 21:40:26 +0000]
make changelog more readable, CPAN::Changes-compliant

11 years agoRelease commit for 0.009017 v0.009017
Karen Etheridge [Thu, 30 May 2013 01:47:15 +0000]
Release commit for 0.009017

11 years agobump version for release
Karen Etheridge [Thu, 30 May 2013 01:46:42 +0000]
bump version for release

11 years agoMSWin32 does not support -| $cmd @args: "List form of piped open not implemented"
Karen Etheridge [Wed, 29 May 2013 22:06:45 +0000]
MSWin32 does not support -| $cmd @args: "List form of piped open not implemented"

11 years agominor wording improvement
Karen Etheridge [Tue, 16 Apr 2013 19:08:21 +0000]
minor wording improvement

11 years agoRelease commit for 0.009016 v0.009016
Karen Etheridge [Sun, 7 Apr 2013 19:57:07 +0000]
Release commit for 0.009016

11 years agobump version for next release
Karen Etheridge [Sun, 7 Apr 2013 19:55:56 +0000]
bump version for next release

11 years agoUpdate changelog
Tatsuhiko Miyagawa [Sun, 7 Apr 2013 19:51:49 +0000]
Update changelog

11 years agoMerge branch 'packer-command'
Tatsuhiko Miyagawa [Sun, 7 Apr 2013 19:49:35 +0000]
Merge branch 'packer-command'

11 years ago'file' command now moves shebang line and prints script content
Robin Smidsrød [Sun, 17 Mar 2013 13:55:15 +0000]
'file' command now moves shebang line and prints script content

Cherry-picked 0858ab66aa74dba45191596ee7b33838e208d911

11 years agoRelease commit for 0.009015 v0.009015
Karen Etheridge [Sun, 7 Apr 2013 17:50:55 +0000]
Release commit for 0.009015

11 years agobump version for next release
Karen Etheridge [Sun, 7 Apr 2013 17:46:28 +0000]
bump version for next release

11 years agoMerge branch 'miyagawa-packer-command'
Karen Etheridge [Sun, 7 Apr 2013 17:45:27 +0000]
Merge branch 'miyagawa-packer-command'

New 'pack' command

11 years agochangelog for "pack" command
Karen Etheridge [Sun, 7 Apr 2013 17:45:09 +0000]
changelog for "pack" command

11 years agospelling
Karen Etheridge [Sun, 7 Apr 2013 17:43:54 +0000]
spelling

11 years agoAdded documentation about pack command
Tatsuhiko Miyagawa [Wed, 3 Apr 2013 22:24:18 +0000]
Added documentation about pack command

11 years agoAdded fatpack pack file, which does the equivalent of RECIPE in the doc in one shot
Tatsuhiko Miyagawa [Wed, 3 Apr 2013 22:21:01 +0000]
Added fatpack pack file, which does the equivalent of RECIPE in the doc in one shot

11 years agoseparate command_file implementation to a utility method ->fatpack_file
Tatsuhiko Miyagawa [Wed, 3 Apr 2013 22:20:34 +0000]
separate command_file implementation to a utility method ->fatpack_file

11 years agoRemoved apparently unused piece of code, that prevents the use of ->trace() to slurp...
Tatsuhiko Miyagawa [Wed, 3 Apr 2013 22:20:02 +0000]
Removed apparently unused piece of code, that prevents the use of ->trace() to slurp the output

11 years agoRelease commit for 0.009014 v0.009014
Karen Etheridge [Wed, 3 Apr 2013 21:34:22 +0000]
Release commit for 0.009014

11 years agobump version for next release
Karen Etheridge [Wed, 3 Apr 2013 21:33:24 +0000]
bump version for next release

11 years agolink to Sawyer's advent article
Karen Etheridge [Wed, 3 Apr 2013 19:54:12 +0000]
link to Sawyer's advent article

11 years agochangelog for RT#84413
Karen Etheridge [Wed, 3 Apr 2013 21:29:28 +0000]
changelog for RT#84413

11 years agoSkip lib if it doesn't exist
Tatsuhiko Miyagawa [Wed, 3 Apr 2013 21:14:48 +0000]
Skip lib if it doesn't exist

11 years agoAdd a bit of documentation about the shebang extraction/injection
Robin Smidsrød [Sun, 17 Mar 2013 13:30:36 +0000]
Add a bit of documentation about the shebang extraction/injection

11 years agoImprove example to include shebang line
Robin Smidsrød [Sun, 17 Mar 2013 13:20:11 +0000]
Improve example to include shebang line

11 years agoproperly state minimum perl requirement
Karen Etheridge [Mon, 11 Feb 2013 20:56:28 +0000]
properly state minimum perl requirement

11 years agoRelease commit for 0.009013 v0.009013
Karen Etheridge [Tue, 22 Jan 2013 17:59:51 +0000]
Release commit for 0.009013

11 years agochangelog; bump version
Karen Etheridge [Tue, 22 Jan 2013 17:54:12 +0000]
changelog; bump version

11 years agofix my stupid typo to fix ancient perls
Graham Knop [Mon, 21 Jan 2013 04:54:49 +0000]
fix my stupid typo to fix ancient perls

11 years agoallow easier testing on alternate perls
Graham Knop [Mon, 21 Jan 2013 04:43:08 +0000]
allow easier testing on alternate perls

11 years agostill requires perl 5.8; 5.6 only works for the fatpacked scripts, not the fatpacking...
Karen Etheridge [Mon, 21 Jan 2013 19:02:02 +0000]
still requires perl 5.8; 5.6 only works for the fatpacked scripts, not the fatpacking itself

11 years agotighten up a few entries
Karen Etheridge [Fri, 18 Jan 2013 20:08:52 +0000]
tighten up a few entries

11 years agothis is generated by Distar; no need to commit
Karen Etheridge [Fri, 18 Jan 2013 20:07:54 +0000]
this is generated by Distar; no need to commit

11 years agoRelease commit for 0.009012 v0.009012
Karen Etheridge [Fri, 18 Jan 2013 19:59:09 +0000]
Release commit for 0.009012

11 years agonewer Distar creates more files for us
Karen Etheridge [Fri, 18 Jan 2013 19:55:40 +0000]
newer Distar creates more files for us

11 years agowe want to ship t/mod - tests need it!
Karen Etheridge [Fri, 18 Jan 2013 19:50:18 +0000]
we want to ship t/mod - tests need it!

11 years agobump version
Karen Etheridge [Fri, 18 Jan 2013 19:36:50 +0000]
bump version

11 years agonow supporting 5.6 (thanks haarg!)
Karen Etheridge [Fri, 18 Jan 2013 19:34:14 +0000]
now supporting 5.6 (thanks haarg!)

11 years agofix packed script to work on perl 5.6
Graham Knop [Tue, 8 Jan 2013 19:02:21 +0000]
fix packed script to work on perl 5.6

11 years agoRT#57811 remains open to resolve <5.8.0 issues
Karen Etheridge [Sat, 22 Dec 2012 04:18:25 +0000]
RT#57811 remains open to resolve <5.8.0 issues

12 years agoRelease commit for 0.009011 v0.009011
Karen Etheridge [Mon, 24 Sep 2012 22:00:06 +0000]
Release commit for 0.009011

12 years agoRT#79835: install bin/fatpack into $PATH
Karen Etheridge [Mon, 24 Sep 2012 21:55:38 +0000]
RT#79835: install bin/fatpack into $PATH

12 years agoRelease commit for 0.009010 v0.009010
Karen Etheridge [Thu, 20 Sep 2012 03:49:11 +0000]
Release commit for 0.009010

12 years agoChanges header
Karen Etheridge [Thu, 20 Sep 2012 03:46:25 +0000]
Changes header

12 years agobump version for next release
Karen Etheridge [Sun, 16 Sep 2012 04:08:57 +0000]
bump version for next release

12 years agoconvert to Distar
Karen Etheridge [Sun, 16 Sep 2012 04:08:45 +0000]
convert to Distar

12 years agomore gitignore entries
Karen Etheridge [Sun, 16 Sep 2012 04:02:51 +0000]
more gitignore entries

12 years agoAdd POD encoding declaration
Dagfinn Ilmari Mannsåker [Tue, 11 Sep 2012 13:22:08 +0000]
Add POD encoding declaration

12 years agoinclude git webpage; also include r/w remote spec in comments for contributors
Karen Etheridge [Sun, 9 Sep 2012 16:54:44 +0000]
include git webpage; also include r/w remote spec in comments for contributors

12 years agoenable temp file deletion in pack.t on Win32
Christian Walde [Fri, 7 Sep 2012 12:54:11 +0000]
enable temp file deletion in pack.t on Win32

The code used in sub script_command_file to slurp file contents leaves
ARGV as an open filehandle to the file last slurped. For pack.t this means
it cannot remove the temp files on windows due to the left-over filehandle.
Closing ARGV explicitly after each slurp fixes this issue.

12 years agofix creation of %fatpacked hash
Christian Walde [Fri, 7 Sep 2012 12:03:16 +0000]
fix creation of %fatpacked hash

use/require expect @INC to contain unix style paths and as such %fatpacked
needs to use unix paths as the keys for code, otherwise Fatpacker will be
unable to find code that was fatpacked on a non-unix platform.

12 years agoadded contributors
Christian Walde [Fri, 7 Sep 2012 11:59:42 +0000]
added contributors

12 years agoprep for release v0.009009 v0.9.9
Karen Etheridge [Fri, 3 Aug 2012 22:09:00 +0000]
prep for release

...and switching to dotless versions to make it clear we have a lot of room
left before we're forced over to 1.0

12 years agoRT#78724: --to-stderr was broken
Karen Etheridge [Wed, 1 Aug 2012 21:19:31 +0000]
RT#78724: --to-stderr was broken

12 years agorelease 0.9.8 v0.9.8
David Leadbeater [Mon, 16 Jul 2012 07:12:03 +0000]
release 0.9.8

12 years agoRT #78391: Avoid using $_ when requiring modules
David Leadbeater [Mon, 16 Jul 2012 07:08:08 +0000]
RT #78391: Avoid using $_ when requiring modules

12 years agoprep for release v0.9.7
Matt S Trout [Thu, 12 Jul 2012 13:48:21 +0000]
prep for release

12 years agodocument trace capturing
Matt S Trout [Thu, 12 Jul 2012 13:47:39 +0000]
document trace capturing

12 years agoclean up and simplify tracing code
Matt S Trout [Thu, 12 Jul 2012 13:29:17 +0000]
clean up and simplify tracing code

12 years agofix missing whitespace before (
Matt S Trout [Thu, 12 Jul 2012 13:28:48 +0000]
fix missing whitespace before (

12 years agokeep tempdir if FATPACKER_KEEP_TESTDIR env exists, use tempdir function for this
Sawyer X [Thu, 23 Feb 2012 18:07:27 +0000]
keep tempdir if FATPACKER_KEEP_TESTDIR env exists, use tempdir function for this

12 years agono space identation
Sawyer X [Thu, 23 Feb 2012 13:10:29 +0000]
no space identation

12 years agouse Cwd (core) to allow pruning tmp dirs in test
Sawyer X [Thu, 23 Feb 2012 13:04:07 +0000]
use Cwd (core) to allow pruning tmp dirs in test

12 years agouse Capture::Tiny to allow returning captured trace
Sawyer X [Thu, 23 Feb 2012 12:56:23 +0000]
use Capture::Tiny to allow returning captured trace

12 years agoput equal sign for module parameters in trace() method
Sawyer X [Thu, 23 Feb 2012 12:35:59 +0000]
put equal sign for module parameters in trace() method

12 years agohandle undefined values
Sawyer X [Thu, 23 Feb 2012 12:33:45 +0000]
handle undefined values

12 years agomoved additional modules into trace() method
Sawyer X [Thu, 23 Feb 2012 12:32:24 +0000]
moved additional modules into trace() method

12 years agomove trace arguments to hash to make it more flexible
Sawyer X [Thu, 23 Feb 2012 12:24:23 +0000]
move trace arguments to hash to make it more flexible

12 years agoseparate tracing to a method
Sawyer X [Thu, 23 Feb 2012 12:21:08 +0000]
separate tracing to a method

12 years agodocument ::Trace thoroughly
Sawyer X [Thu, 23 Feb 2012 12:18:43 +0000]
document ::Trace thoroughly

12 years agoput parser object in an attribute, use methods for it
Sawyer X [Thu, 23 Feb 2012 12:15:21 +0000]
put parser object in an attribute, use methods for it

12 years agoignore vim swap files
Sawyer X [Thu, 23 Feb 2012 11:31:25 +0000]
ignore vim swap files

12 years agoAdd repository metadaa
Tomas Doran [Sun, 12 Feb 2012 00:42:41 +0000]
Add repository metadaa

12 years agoAdd MYMETA files to META.yml
Tomas Doran [Sun, 12 Feb 2012 00:41:12 +0000]
Add MYMETA files to META.yml

12 years agoAdd a test for packing
David Leadbeater [Sun, 5 Feb 2012 12:30:08 +0000]
Add a test for packing

13 years agoAdd --use option to use extra modules when tracing
David Leadbeater [Tue, 18 Jan 2011 20:45:24 +0000]
Add --use option to use extra modules when tracing

13 years agoAdd a gitignore v0.9.6
David Leadbeater [Tue, 18 Jan 2011 19:57:21 +0000]
Add a gitignore

13 years agoSwitch to File::Path::{rmtree,mkpath}
David Leadbeater [Tue, 18 Jan 2011 19:49:35 +0000]
Switch to File::Path::{rmtree,mkpath}

Removes dependency on File::Path >= 2.07.

13 years ago0.9.5 v0.9.5
David Leadbeater [Wed, 12 Jan 2011 22:10:32 +0000]
0.9.5

13 years agoUse strict in test script, don't require done_testing support
David Leadbeater [Wed, 12 Jan 2011 22:07:47 +0000]
Use strict in test script, don't require done_testing support

13 years agoDon't skip t/mod/*.pm from MANIFEST v0.9.4
David Leadbeater [Wed, 12 Jan 2011 21:58:24 +0000]
Don't skip t/mod/*.pm from MANIFEST

13 years ago0.9.4
David Leadbeater [Wed, 12 Jan 2011 21:54:15 +0000]
0.9.4

13 years agoDie if open fails in @INC handler
David Leadbeater [Thu, 23 Dec 2010 00:19:14 +0000]
Die if open fails in @INC handler

You'd think this impossible, but I was just testing with a broken perl
install where PerlIO::scalar's XS module didn't load.

"Can't locate XXX.pm in @INC" was a somewhat flummoxing error.

13 years ago[rt.cpan.org #63466] Add ending newline if input lacks one
gugod [Thu, 23 Dec 2010 00:18:53 +0000]
[rt.cpan.org #63466] Add ending newline if input lacks one

13 years ago[rt.cpan.org #60622] Handle conditional loading
David Leadbeater [Mon, 20 Dec 2010 18:09:37 +0000]
[rt.cpan.org #60622] Handle conditional loading

Now uses a CHECK block to see what is actually loaded, rather than using
a @INC hook which sees what might be loaded.

Also add some basic tests for tracing module loading.

14 years agobump to 0.93
tokuhirom [Wed, 21 Jul 2010 23:30:12 +0000]
bump to 0.93

14 years agofixed dependency for File::Path
tokuhirom [Wed, 21 Jul 2010 23:28:44 +0000]
fixed dependency for File::Path

14 years agoChecking in changes prior to tagging of version 0.009002
tokuhirom [Wed, 7 Jul 2010 11:57:03 +0000]
Checking in changes prior to tagging of version 0.009002

14 years agoChanges for 0.009002
tokuhirom [Wed, 7 Jul 2010 11:56:13 +0000]
Changes for 0.009002

14 years agofixed doc bug on command usage. same as a884f0d.
tokuhirom [Wed, 7 Jul 2010 11:47:38 +0000]
fixed doc bug on command usage. same as a884f0d.

14 years agoslightly better user experience :)
Tatsuhiko Miyagawa [Thu, 25 Mar 2010 09:23:23 +0000]
slightly better user experience :)

14 years agofixed typo and doc bug on command usage
Tatsuhiko Miyagawa [Thu, 25 Mar 2010 09:18:50 +0000]
fixed typo and doc bug on  command usage

14 years agoChanges for 0.009001 (first release)
Matt S Trout [Thu, 25 Mar 2010 09:04:15 +0000]
Changes for 0.009001 (first release)