3 * Changes in version 2.1.1
4 ** Fixed bug where ./configure --with-pmdir=X was ineffectual.
5 ** Calculated the correct default value for pmdir based on the local Perl installation.
6 ** Fixed some automake issues (thanks to Stefano Lattarini for spotting these!)
7 ** Improved various bits of documentation.
8 * Changes in version 2.1.0
9 ** Major refactoring of code into separate Stow and Stow::Util Perl modules.
10 ** Added support for ignore list files.
11 ** Added support for CPAN-style installation and distribution via Module::Build.
12 ** Introduced `make test' target and significantly tightened up test suite.
13 ** Very large number of code and documentation fixes (over 80 commits since version 2.0.1).
14 ** The '--conflicts' option has been removed.
16 Stow will always show conflicts if they are found during the scanning
19 ** Improved debugging output.
20 ** Converted man page to POD format.
21 ** Include PDF, and both split- and single-page HTML versions of manual in the distribution.
22 ** Fixed code style consistency issues.
23 ** Running configure from outside the source tree now works.
24 ** `make distcheck' now works.
25 * Changes in version 2.0.1
26 ** Defer operations until all potential conflicts have been assessed.
28 We do this by traversing the installation image(s) and recording the
29 actions that need to be performed. Redundant actions are factored out,
30 e.g., we don't want to create a link that we will later remove in order to
31 create a directory. Benefits of this approach
33 1. Get to see _all_ the conflicts that are blocking an installation:
34 you don't have to deal with them one at a time.
35 2. No operations are be performed if _any_ conflicts are detected:
36 a failed stow will not leave you with a partially installed
38 3. Minimises the set of operations that need to be performed.
39 4. Operations are executed as a batch which is much faster
40 This can be an advantage when upgrading packages on a live system
41 where you want to minimise the amount of time when the package is
44 ** The above fixes the false conflict problem mentioned in the info file.
46 ** It also fixes the two bugs mentioned in the man page.
48 ** Multiple stow directories will now cooperate in folding/unfolding.
50 ** Conflict messages are more uniform and informative.
52 ** Verbosity and tracing is more extensive and uniform.
54 ** Implemented option parsing via Getopt::Long.
56 ** Default command line arguments set via '.stowrc' and '~/.stowrc' files.
58 Contents of these files are parsed as though they occurred first on the
61 ** Support multiple actions per invocation.
63 In order for this to work, we had to add a new (optional) command line arg
64 (-S) to specify packages to stow. For example, to update an installation
65 of emacs you can now do
67 stow -D emacs-21.3 -S emacs-21.4a
69 which will replace emacs-21.3 with emacs-21.4a.
70 You can mix and match any number of actions, e.g.,
72 stow -S p1 p2 -D p3 p4 -S p5 -R p6
74 will unstow p3, p4 and p6, then stow p1, p2, p5 and p6.
76 ** New (repeatable) command line arg: --ignore='<regex>'
78 This suppresses operating on a file matching the regex (suffix), e.g.,
80 --ignore='~' --ignore='\.#.*'
82 will ignore emacs and CVS backup files (suitable for ~/.stowrc file).
84 (I opted for Perl regular expressions because they are more powerful and
87 ** New (repeatable) command line arg: --defer='<regex>'
89 This defers stowing a file matching the regex (prefix) if that file is
90 already stowed to a different package, e.g.,
92 --defer='man' --defer='info'
94 will cause stow to skip over pre-existing man and info pages.
96 Equivalently, you could use --defer='man|info' since the argument is just
99 ** New (repeatable) command line arg: --override='<regex>'
101 This forces a file matching the regex (prefix) to be stowed even if the
102 file is already stowed to a different package, e.g.,
104 --override='man' --override='info'
106 will unstow any pre-existing man and info pages that would conflict with
107 the file we are trying to stow.
109 Equivalently, you could use --override='man|info' since the argument is
112 ** The above gives the ability to manage packages with common content.
114 For example, man pages that are shared by a number of CPAN packages.
115 Using multiple stow directories and .stowrc files can also simplify
116 things. In our setup we use the standard /usr/local/stow directory for
117 packages to be installed in /usr/local. Since we install a large number
118 of extra Perl packages (currently about 300) we use an additional stow
119 directory: /usr/local/stow/perl-5.8.8-extras. Both stow directories
120 contain a '.stow' file so that they collaborate appropriately. I then use
121 the following .stowrc file in /usr/local/stow/perl-5.8.8-extras
123 --dir=/usr/local/stow/perl-5.8.8-extras
127 --ignore='perllocal\.pod'
128 --ignore='\.packlist'
131 When I stow packages from there, they automatically override any man pages
132 and binaries that may already have been stowed by another package or by
133 the core perl-5.8.8 installation. For example, if you want to upgrade the
134 Test-Simple package, you need to override all the man pages that would
135 have been installed by the core package. If you are upgrading CPAN, you
136 will also have to override the pre-existing cpan executable.
138 ** By default, search less aggressively for invalid symlinks when unstowing.
140 That is, we only search for bad symlinks in the directories explicitly
141 mentioned in the installation image, and do not dig down into other
142 subdirs. Digging down into other directories can be very time consuming
143 if you have a really big tree (like with a couple of Oracle installations
144 lying around). In general the old behaviour is only necessary when you
145 have really stuffed up your installation by deleting a directory that has
146 already been stowed. Doing that on a live system is somewhat crazy and
147 hopefully rare. We provide an option '-p|--compat' to enable the old
148 behaviour for those needing to patch up mistakes.
150 ** New chkstow utility for checking the integrity of the target directory.
152 ** Implement a test suite and support code.
154 This was built before implementing any of the extra features so I could
155 more easily check for equivalent functionality. The initial code base had
156 to be refactored substantially to allow for testing. The test suite is
157 not exhaustive, but it should provide enough to check for regressions.
159 * Changes in version 1.3.3
160 ** Now requires Perl 5.005 or later
161 ** Initially empty directories are not removed anymore
162 ** Removed buggy fastcwd (we use POSIX::getcwd instead)
163 ** Fixed bug when the common Parent of Target dir and Stow dir was "/"
164 ** Fixed bug when handling directories named "0"
165 ** Stow now only warns the user if a directory is unreadable during unstowing.
166 * Changes in version 1.3:
167 ** Added --restow option.
168 ** Fixed handling of slashes in package names.
169 ** Expanded configure-time search for Perl binary.
170 * Changes in version 1.2:
171 ** Dependency on `pwd' removed.
172 ** Perl 4 compatibility fixes.
173 ** Manual expanded even more.
174 * Changes in version 1.1:
175 ** Long and short options now accepted.
177 ** `make clean' removes stow (which is generated from stow.in).
178 * Initial public release (v1.0) of Stow.
179 * emacs local variables