Commit graph

356 commits

Author SHA1 Message Date
Adam Spiers
3d414dc071 Improve conflict reporting 2011-11-26 16:34:57 +00:00
Adam Spiers
81da7be357 Sync up .gitignore and MANIFEST* with recent changes. 2011-11-26 16:34:57 +00:00
Adam Spiers
55d3f05cf2 Ditch obsolete --conflicts option and update misleading documentation. 2011-11-26 16:34:57 +00:00
Adam Spiers
00d4e68445 Auto-generate ChangeLog from git 2011-11-26 16:34:57 +00:00
Adam Spiers
685d449963 Sort .gitignore alphabetically 2011-11-26 16:34:57 +00:00
Adam Spiers
62c513d7bc Add some missing stuff to .gitignore 2011-11-26 16:34:57 +00:00
Adam Spiers
c019af00a0 Distribute .tar.gz and .tar.bz2 but not .shar.gz 2011-11-26 16:34:57 +00:00
Adam Spiers
10ea9c6f4b Numerous fixes so that `make distcheck' succeeds.
Moves temporary test trees into a separate directory.
2011-11-26 16:34:57 +00:00
Adam Spiers
0db112441f Strip superfluous quotes from $hash{'lookups'} 2011-11-26 16:34:54 +00:00
Adam Spiers
6534b21d29 Tidy up the copyright attributions in the manual. 2011-11-26 16:34:50 +00:00
Adam Spiers
b87ca607ba Fix some minor issues in the manual. 2011-11-26 16:34:50 +00:00
Adam Spiers
ad77ca6db7 Add HTML and PDF versions of manual to distribution. 2011-11-26 16:34:50 +00:00
Adam Spiers
ea82ef5b8b Add support for ignore lists. 2011-11-26 16:34:48 +00:00
Adam Spiers
7777e181a8 Rename $old_* to $existing_* 2011-11-26 15:10:29 +00:00
Adam Spiers
b20228721e Rename protected_dir() to marked_stow_dir(). 2011-11-26 15:10:29 +00:00
Adam Spiers
d8a4cda11b Rename should_skip_stow_dir_target() to should_skip_target_which_is_stow_dir() 2011-11-26 15:10:28 +00:00
Adam Spiers
7c0bb53bff Be clearer when we're not actually (un)stowing, just planning. 2011-11-26 15:10:28 +00:00
Adam Spiers
8960a4f1fb Add another test to join_paths.t 2011-11-26 15:10:28 +00:00
Adam Spiers
7bef0fb700 Clean up coding style in tests 2011-11-26 15:10:28 +00:00
Adam Spiers
a7262a98bc Avoid use of map in void context 2011-11-26 15:10:28 +00:00
Adam Spiers
1873e4b4ef Add a comment about a relative weakness of compat mode. 2011-11-26 15:10:28 +00:00
Adam Spiers
2244539b6b Test stow/unstow with stow dir / target dir as absolute paths. 2011-11-26 15:10:28 +00:00
Adam Spiers
4d45d3e0c7 Fix more inconsistencies in coding style. 2011-11-26 15:10:27 +00:00
Adam Spiers
b8942c9f79 Fix typos 2011-11-26 15:10:27 +00:00
Adam Spiers
1f9c5bed1a Fix/remove some outdated TODOs 2011-11-26 15:10:27 +00:00
Adam Spiers
59fa7ae4a6 Add build-time dependencies on Test::More and Test::Output. 2011-11-26 15:10:27 +00:00
Adam Spiers
f93796dce3 Add MYMETA.* to .gitignore 2011-11-26 15:10:27 +00:00
Adam Spiers
0cd971d3a1 Add .dirstamp and stamp-vti to .gitignore 2011-11-26 15:10:27 +00:00
Adam Spiers
a84ba4c16d Convert man page to POD format which is easier to maintain within stow.in. 2011-11-26 15:10:27 +00:00
Adam Spiers
58625800ee Reorganise more files into subdirectories and add CPAN support via Module::Build 2011-11-26 15:10:26 +00:00
Adam Spiers
382ad5c58d Add myself (Adam) to AUTHORS and THANKS ;-) 2011-11-24 18:08:15 +00:00
Adam Spiers
dc61da22d4 Major refactoring of code into separate Stow and Stow::Util Perl modules 2011-11-24 16:56:11 +00:00
Adam Spiers
1365c4c4f1 Fix indentation in Makefile.am 2011-11-24 16:55:55 +00:00
Adam Spiers
fbe547c132 Test unstowing when target contains a real file generates a conflict. 2011-11-24 16:55:55 +00:00
Adam Spiers
6e7ed071c1 Test unstowing stuff which doesn't exist in the target tree. 2011-11-24 16:55:55 +00:00
Adam Spiers
eda2b83355 Add a missing conflict if we tried to unstow a file in compat mode. 2011-11-24 16:55:55 +00:00
Adam Spiers
a1246072dd Remove setting of verbosity from tests 2011-11-24 16:55:55 +00:00
Adam Spiers
3418cadb8e Make 'verbose' option default to 0 in testmode. 2011-11-24 16:55:55 +00:00
Adam Spiers
80826b96e2 Add protection against stowing into stow dirs 2011-11-24 16:55:55 +00:00
Adam Spiers
89b7de8c04 Debug stow dir in stow/unstow contents routines 2011-11-24 16:55:55 +00:00
Adam Spiers
c26e62de43 Trace individual cases separately when skipping stow dirs during unstow. 2011-11-24 16:55:55 +00:00
Adam Spiers
5db0c0bbf7 Allow TEST_VERBOSE to control level of verbosity.
Defaults to 3.  'verbose' option now has precedence if set.
2011-11-24 16:55:55 +00:00
Adam Spiers
fdca9bd57a Debug when skipping over stow directories 2011-11-24 16:55:55 +00:00
Adam Spiers
b5c49db524 Add debug when target to be unstowed doesn't exist 2011-11-24 16:55:55 +00:00
Adam Spiers
0592daf3ef Add comments justifying is_a_node($target) check in unstow_contents(). 2011-11-24 16:55:54 +00:00
Adam Spiers
9012dd8aa8 Test unstowing an already unstowed package 2011-11-24 16:55:54 +00:00
Adam Spiers
bcddf67d73 Fix incorrect comments. 2011-11-24 16:55:54 +00:00
Adam Spiers
28dbad2933 Sync t/unstow_contents{,_orig}.t 2011-11-24 16:55:54 +00:00
Adam Spiers
c26236d93c Debug with maximum verbosity to STDOUT when running tests. 2011-11-24 16:55:54 +00:00
Adam Spiers
497f272c12 Refactored reset_state() into t/util.pm 2011-11-24 16:55:54 +00:00