2001-12-24 09:57:46 -05:00
|
|
|
News file for Stow.
|
|
|
|
|
2019-06-29 08:40:45 -04:00
|
|
|
* Changes in version 2.3.1
|
|
|
|
|
2016-11-20 16:45:17 -05:00
|
|
|
* Changes in version 2.3.0
|
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** New features / changes in behaviour
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** New --dotfiles option
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Enable special handling for "dotfiles" (files or folders whose name
|
|
|
|
begins with a period) in the package directory. If this option is
|
|
|
|
enabled, Stow will add a preprocessing step for each file or folder
|
|
|
|
whose name begins with "dot-", and replace the "dot-" prefix in the
|
|
|
|
name by a period ("."). This is useful when Stow is used to manage
|
|
|
|
collections of dotfiles, to avoid having a package directory full
|
|
|
|
of hidden files.
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
For example, suppose we have a package containing two files,
|
|
|
|
stow/dot-bashrc and stow/dot-emacs.d/init.el. With this option,
|
|
|
|
Stow will create symlinks from .bashrc to stow/dot-bashrc and from
|
|
|
|
.emacs.d/init.el to stow/dot-emacs.d/init.el. Any other files,
|
|
|
|
whose name does not begin with "dot-", will be processed as usual.
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Thanks to Joris Vankerschaver for this feature!
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Shell-like expansion in .stowrc files
|
2016-07-14 15:48:40 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
For options within .stowrc files which describe file paths, "~" can
|
|
|
|
be included to expand to the current value of $HOME, and
|
|
|
|
environment variables can be referenced e.g. via "$FOO" or
|
|
|
|
"${FOO}". To prevent expansion, escape with a backslash.
|
2016-07-14 15:48:40 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Thanks a lot to Charles LeDoux for his diligent work on this
|
|
|
|
feature!
|
2016-07-14 15:48:40 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** chkstow now honours the $STOW_DIR environment variable
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
The stow script already honoured the $STOW_DIR environment
|
|
|
|
variable. Now chkstow does too, for consistency.
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Stow now has a non-zero exit code if option parsing failed
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Thanks to Brice Waegeneire for reporting this.
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:30:36 -04:00
|
|
|
*** License upgraded from GPL version 2 to version 3
|
|
|
|
|
|
|
|
Copyright and license notices were also added to the headers of
|
|
|
|
various files in accordance with GNU guidelines.
|
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Documentation fixes and enhancements
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Remove dependency on unmaintained texi2html
|
2019-06-26 08:37:07 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
The dependency on the ancient and unmaintained texi2html for
|
|
|
|
building the single-page HTML version of the manual has been
|
|
|
|
removed, since it was difficult to get running on most distros
|
|
|
|
other than openSUSE.
|
2019-06-26 08:37:07 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Instead use the more modern "makeinfo --html --no-split" approach.
|
|
|
|
Rules have been kept for posterity in the Makefile for the old
|
|
|
|
approach and also an "in-between" approach based on texi2any;
|
|
|
|
however these are not triggered by default. Run
|
2019-06-26 08:37:07 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
make manual-single-html-all
|
2019-06-26 08:37:07 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
to compare the three versions.
|
2019-06-26 08:37:07 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Fixed naming of man page
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
The title of the generated man page was previously ending up as
|
|
|
|
something like:
|
2019-06-25 12:21:53 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
IO::FILE=IO(0XA719C0)(1)
|
2019-06-25 12:21:53 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Thanks to @Corin-EU on GitHub highlighting this and proposing a
|
|
|
|
fix.
|
2019-06-25 12:21:53 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Convert README and INSTALL to Markdown
|
2019-06-25 12:21:53 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
They are now named README.md and INSTALL.md, and render nicely
|
|
|
|
when viewed via git hosting services which support Markdown.
|
2019-06-25 12:21:53 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Update documentation to reflect more modern use cases
|
2019-06-25 12:21:53 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
The README.md, stow(8) man page, and info manual have been updated
|
|
|
|
to de-emphasise the package management use, since these days almost
|
|
|
|
everyone prefers to use modern package managers such as rpm / dpkg
|
|
|
|
/ Nix for (system-wide) package management.
|
2019-06-25 12:21:53 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
To compensate, more popular modern use cases for Stow have been
|
|
|
|
added, such as management of dotfiles and software compiled in the
|
|
|
|
user's $HOME directory.
|
2019-06-25 12:21:53 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Miscellaneous documentation fixes
|
2019-06-25 12:21:53 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
- Various typos were fixed.
|
2019-06-25 12:21:53 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
- The documentation for --verbose was updated to indicate that
|
|
|
|
verbosity levels now go up to 5.
|
2019-06-25 12:21:53 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
- Erroneous glob examples in the --ignore documentation were fixed.
|
2019-06-25 12:21:53 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
- The abbreviation "regex" was removed from the info manual for
|
|
|
|
consistency.
|
2019-06-25 12:21:53 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
- INSTALL.md now also documents how to build directly from git.
|
|
|
|
*** Fixes for bugs, tests, and other technical debt
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Add Docker files for convenient testing across multiple Perl versions
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
This is the first release which has been tested across 5 different
|
|
|
|
versions of Perl prior to release! The versions are:
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
perl-5.22.2
|
|
|
|
perl-5.20.3
|
|
|
|
perl-5.18.4
|
|
|
|
perl-5.16.3
|
|
|
|
perl-5.14.4
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Thanks to Charles LeDoux for this!
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Set up continuous testing via Travis CI
|
2019-06-28 04:56:46 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
This means that the test suite will be automatically run on any
|
|
|
|
pull requests submitted to GitHub, as well as "make distcheck"
|
|
|
|
and "./Build distcheck".
|
2019-06-28 04:56:46 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Add Coveralls integration with GitHub
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
This means that test coverage analysis will be automatically be run
|
|
|
|
on any pull requests submitted to GitHub.
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Miscellaneous improvements to the test suite
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
These include proper testing of the distinct impact of ~/.stowrc
|
|
|
|
and .stowrc in the directory from which Stow is invoked.
|
2019-06-28 04:56:46 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Fix for test suite on Cygwin
|
2019-06-28 04:56:46 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Thanks to Lucas Theisen for this fix!
|
2019-06-28 04:56:46 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** aclocal.m4 was updated using aclocal 1.15.1.
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Miscellaneous fixes to the build and distribution process
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Improve handling of directories with unusual names
|
2019-06-25 14:36:49 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Various fixes for corner cases where directories are named "0"
|
|
|
|
or begin with a space character, or where STOW_DIR is empty.
|
2019-06-25 14:36:49 -04:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Thanks to Cuong Manh Le for highlighting some of the issues and
|
|
|
|
proposing fixes!
|
2016-11-20 16:45:17 -05:00
|
|
|
|
2015-11-09 06:36:11 -05:00
|
|
|
* Changes in version 2.2.2
|
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** @VERSION@ substitution was set up for the Stow::Util module.
|
2015-11-09 06:36:11 -05:00
|
|
|
|
2015-11-09 04:16:32 -05:00
|
|
|
* Changes in version 2.2.1
|
|
|
|
|
2015-11-09 06:48:55 -05:00
|
|
|
Version 2.2.1 was not released since it was rejected by pause.perl.org
|
|
|
|
due to Stow::Util missing $VERSION.
|
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Small improvements to documentation
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** The README has been revamped.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Some index points have been added to the manual.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Some typos were fixed.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** @VERSION@ substitution was fixed in the stow(8) man page.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Fix Perl warnings
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Stow no longer emits "v-string in use/require non-portable" and
|
|
|
|
"Possible precedence issue with control flow operator" warnings
|
|
|
|
with newer Perl versions. See https://savannah.gnu.org/bugs/?36478
|
|
|
|
and http://lists.gnu.org/archive/html/bug-stow/2014-06/msg00000.html
|
|
|
|
for full details.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Fix "Undefined subroutine &main::error" error
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
See https://rt.cpan.org/Public/Bug/Display.html?id=75349 for details.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Failed system calls now include error description
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
This should make errors easier to understand.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Default ignore list now ignores top-level README.*, LICENSE.*, and COPYING
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
These files are by definition specific to a given package, so if
|
|
|
|
they exist in the top-level directory, they should not be stowed.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Correctly handle the stow/target directories as non-canonical paths
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Fix the case discovered by Hiroyuki Iwatsuki where stowing fails if
|
|
|
|
the stow / target directories are non-canonical paths. For
|
|
|
|
example, on FreeBSD /home is a symlink pointing to 'usr/home', so
|
|
|
|
running with the stow directory as /home/user/local/stow and the
|
|
|
|
target directory as /home/user/local previously resulted in the
|
|
|
|
stow directory path being calculated as
|
|
|
|
../../../usr/home/user/local/stow relative to the target.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
See http://article.gmane.org/gmane.comp.gnu.stow.bugs/8820 for details.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Fix stowing of relative links when --no-folding is used.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
With a tree like this:
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
.
|
|
|
|
|-- stow
|
|
|
|
| `-- pkg
|
|
|
|
| `-- lib
|
|
|
|
| |-- itk-current -> itk4.0.0
|
|
|
|
| `-- itk4.0.0
|
|
|
|
| `-- libitk4.0.0.so
|
|
|
|
`-- target
|
|
|
|
`-- lib
|
|
|
|
|-- itk4.0.0 -> ../../stow/pkg/lib/itk4.0.0
|
|
|
|
`-- libfoo-1.2.3.so
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
stowing pkg with the --no-folding option resulted in itk-current
|
|
|
|
being "unpacked":
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
.
|
|
|
|
`-- target
|
|
|
|
`-- lib
|
|
|
|
|-- itk-current
|
|
|
|
| `-- libitk4.0.0.so -> ../../../stow/pkg/lib/itk-current/libitk4.0.0.so
|
|
|
|
|-- itk4.0.0
|
|
|
|
| `-- libitk4.0.0.so -> ../../../stow/pkg/lib/itk4.0.0/libitk4.0.0.so
|
|
|
|
`-- libfoo-1.2.3.so
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
This commit fixes it so that it gets stowed as a symlink:
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
.
|
|
|
|
`-- target
|
|
|
|
`-- lib
|
|
|
|
...
|
|
|
|
|-- itk-current -> ../../stow/pkg/lib/itk-current
|
|
|
|
...
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Thanks to Gabriele Balducci for reporting this problem:
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
http://thread.gmane.org/gmane.comp.gnu.stow.general/6676
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Internal code cleanups
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** aclocal was updated.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** automake files were removed.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Trailing whitespace was removed.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Comments were added.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Debug messages were improved.
|
2015-11-09 04:16:32 -05:00
|
|
|
|
2012-02-18 12:08:19 -05:00
|
|
|
* Changes in version 2.2.0
|
2012-01-11 09:01:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** New --no-folding option
|
2012-02-18 15:13:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Disables folding of newly stowed directories when stowing, and
|
|
|
|
refolding of newly foldable directories when unstowing.
|
2012-02-18 15:13:32 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Remove -a option (--adopt still available)
|
2012-02-18 09:20:07 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
As --adopt is the only option which allows stow to modify files, it
|
|
|
|
is considered potentially dangerous (especially for stow package
|
|
|
|
directories which are not managed by a version control system).
|
|
|
|
Therefore it seems prudent to require a bit more effort from the
|
|
|
|
user to enable this option, minimising the change of enabling it
|
|
|
|
via a typo.
|
2012-02-18 09:20:07 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Improve error message when stow package is not found.
|
2012-02-18 15:12:14 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
The error message displayed a path to the missing stow package
|
|
|
|
which was relative to the target directory rather than the cwd,
|
|
|
|
which was confusing for the user.
|
2012-02-18 15:12:14 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Test suite improvements
|
2012-02-18 15:19:05 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
The test suite has been tightened up slightly.
|
2012-02-18 15:19:05 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Documentation improvements
|
2012-02-18 10:47:36 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Various fixes and cosmetic improvements have been made in the manual.
|
2012-02-18 10:47:36 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Remove "There are no outstanding operations to perform" warning.
|
2012-01-11 09:01:40 -05:00
|
|
|
|
2011-12-13 11:12:29 -05:00
|
|
|
* Changes in version 2.1.3
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** New --adopt / -a option
|
2012-01-09 16:25:35 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
This allows plain files in the target to be "adopted" into the
|
|
|
|
package being stowed. See the manual has more details.
|
2012-01-09 16:25:35 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** ./configure now checks for Perl modules required by the test suite.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2012-01-10 07:17:58 -05:00
|
|
|
* Changes in version 2.1.2
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2011-12-07 15:28:28 -05:00
|
|
|
Many thanks to Stefano Lattarini for help with numerous autoconf and
|
|
|
|
automake issues which are addressed in this release.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Significantly improve the handling of --with-pmdir.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Calculation of the default value for --with-pmdir is now done safely in Perl.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Previously non-POSIX-compliant shells could cause issues.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** The output of ./configure and make are now much more helpful.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** The Makefile will now check whether pmdir is in Perl's built-in @INC.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
If not, it will insert a
|
2011-12-07 15:28:28 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
use lib "...";
|
2011-12-07 15:28:28 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
line into the generated stow script to ensure that it can always
|
|
|
|
locate the Perl modules without needing to manually set PERL5LIB.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
***** Updated INSTALL and HOWTO-RELEASE accordingly.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** ./configure now aborts if Perl isn't found.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Ensured the ChangeLog is up-to-date when making a new distribution.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Fixed bug with `make clean' removing files which the user may not be able to rebuild.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2011-12-06 05:33:34 -05:00
|
|
|
* Changes in version 2.1.1
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Fixed bug where ./configure --with-pmdir=X was ineffectual.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Calculated the correct default value for pmdir based on the local Perl installation.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Fixed some automake issues (thanks to Stefano Lattarini for spotting these!)
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Improved various bits of documentation.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2011-11-23 20:27:41 -05:00
|
|
|
* Changes in version 2.1.0
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Major refactoring of code into separate Stow and Stow::Util Perl modules.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Added support for ignore list files.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Added support for CPAN-style installation and distribution via Module::Build.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Introduced `make test' target and significantly tightened up test suite.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Very large number of code and documentation fixes (over 80 commits since version 2.0.1).
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** The '--conflicts' option has been removed.
|
2011-11-23 20:27:41 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Stow will always show conflicts if they are found during the scanning
|
|
|
|
phase.
|
2011-11-23 20:27:41 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Improved debugging output.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Converted man page to POD format.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Include PDF, and both split- and single-page HTML versions of manual in the distribution.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Fixed code style consistency issues.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Running configure from outside the source tree now works.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** `make distcheck' now works.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2011-11-16 10:40:46 -05:00
|
|
|
* Changes in version 2.0.1
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Defer operations until all potential conflicts have been assessed.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
We do this by traversing the installation image(s) and recording the
|
|
|
|
actions that need to be performed. Redundant actions are factored out,
|
|
|
|
e.g., we don't want to create a link that we will later remove in order to
|
|
|
|
create a directory. Benefits of this approach:
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
1. Get to see _all_ the conflicts that are blocking an installation:
|
|
|
|
you don't have to deal with them one at a time.
|
|
|
|
2. No operations are be performed if _any_ conflicts are detected:
|
|
|
|
a failed stow will not leave you with a partially installed
|
|
|
|
package.
|
|
|
|
3. Minimises the set of operations that need to be performed.
|
|
|
|
4. Operations are executed as a batch which is much faster
|
|
|
|
This can be an advantage when upgrading packages on a live system
|
|
|
|
where you want to minimise the amount of time when the package is
|
|
|
|
unavailable.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** The above fixes the false conflict problem mentioned in the info file.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** It also fixes the two bugs mentioned in the man page.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Multiple stow directories will now cooperate in folding/unfolding.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Conflict messages are more uniform and informative.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Verbosity and tracing is more extensive and uniform.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Implemented option parsing via Getopt::Long.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Default command line arguments set via '.stowrc' and '~/.stowrc' files.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Contents of these files are parsed as though they occurred first on
|
|
|
|
the command line.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Support multiple actions per invocation.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
In order for this to work, we had to add a new (optional) command line arg
|
|
|
|
(-S) to specify packages to stow. For example, to update an installation
|
|
|
|
of emacs you can now do
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
stow -D emacs-21.3 -S emacs-21.4a
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
which will replace emacs-21.3 with emacs-21.4a.
|
|
|
|
You can mix and match any number of actions, e.g.,
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
stow -S p1 p2 -D p3 p4 -S p5 -R p6
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
will unstow p3, p4 and p6, then stow p1, p2, p5 and p6.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** New (repeatable) command line arg: --ignore='<regex>'
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
This suppresses operating on a file matching the regex (suffix),
|
|
|
|
e.g.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
--ignore='~' --ignore='\.#.*'
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
will ignore emacs and CVS backup files (suitable for ~/.stowrc file).
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
(I opted for Perl regular expressions because they are more
|
|
|
|
powerful and easier to implement).
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** New (repeatable) command line arg: --defer='<regex>'
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
This defers stowing a file matching the regex (prefix) if that file
|
|
|
|
is already stowed to a different package, e.g.,
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
--defer='man' --defer='info'
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
will cause stow to skip over pre-existing man and info pages.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Equivalently, you could use --defer='man|info' since the argument
|
|
|
|
is just a Perl regex.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** New (repeatable) command line arg: --override='<regex>'
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
This forces a file matching the regex (prefix) to be stowed even if
|
|
|
|
the file is already stowed to a different package, e.g.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
--override='man' --override='info'
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
will unstow any pre-existing man and info pages that would conflict
|
|
|
|
with the file we are trying to stow.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
Equivalently, you could use --override='man|info' since the
|
|
|
|
argument is just a Perl regex.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** The above gives the ability to manage packages with common content.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
For example, man pages that are shared by a number of CPAN
|
|
|
|
packages. Using multiple stow directories and .stowrc files can
|
|
|
|
also simplify things. In our setup we use the standard
|
|
|
|
/usr/local/stow directory for packages to be installed in
|
|
|
|
/usr/local. Since we install a large number of extra Perl packages
|
|
|
|
(currently about 300) we use an additional stow directory:
|
|
|
|
/usr/local/stow/perl-5.8.8-extras. Both stow directories contain a
|
|
|
|
'.stow' file so that they collaborate appropriately. I then use
|
|
|
|
the following .stowrc file in /usr/local/stow/perl-5.8.8-extras
|
2015-11-09 04:15:51 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
--dir=/usr/local/stow/perl-5.8.8-extras
|
|
|
|
--target=/usr/local
|
|
|
|
--override=bin
|
|
|
|
--override=man
|
|
|
|
--ignore='perllocal\.pod'
|
|
|
|
--ignore='\.packlist'
|
|
|
|
--ignore='\.bs'
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
When I stow packages from there, they automatically override any
|
|
|
|
man pages and binaries that may already have been stowed by another
|
|
|
|
package or by the core perl-5.8.8 installation. For example, if
|
|
|
|
you want to upgrade the Test-Simple package, you need to override
|
|
|
|
all the man pages that would have been installed by the core
|
|
|
|
package. If you are upgrading CPAN, you will also have to override
|
|
|
|
the pre-existing cpan executable.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** By default, search less aggressively for invalid symlinks when unstowing.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
That is, we only search for bad symlinks in the directories
|
|
|
|
explicitly mentioned in the installation image, and do not dig down
|
|
|
|
into other subdirs. Digging down into other directories can be
|
|
|
|
very time consuming if you have a really big tree (like with a
|
|
|
|
couple of Oracle installations lying around). In general the old
|
|
|
|
behaviour is only necessary when you have really stuffed up your
|
|
|
|
installation by deleting a directory that has already been stowed.
|
|
|
|
Doing that on a live system is somewhat crazy and hopefully rare.
|
|
|
|
We provide an option '-p|--compat' to enable the old behaviour for
|
|
|
|
those needing to patch up mistakes.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** New chkstow utility for checking the integrity of the target directory.
|
2011-11-25 10:03:46 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Implement a test suite and support code.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
This was built before implementing any of the extra features so I
|
|
|
|
could more easily check for equivalent functionality. The initial
|
|
|
|
code base had to be refactored substantially to allow for testing.
|
|
|
|
The test suite is not exhaustive, but it should provide enough to
|
|
|
|
check for regressions.
|
2011-11-16 09:04:03 -05:00
|
|
|
|
2011-11-16 10:40:46 -05:00
|
|
|
* Changes in version 1.3.3
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Now requires Perl 5.005 or later
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Initially empty directories are not removed anymore
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Removed buggy fastcwd (we use POSIX::getcwd instead)
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Fixed bug when the common Parent of Target dir and Stow dir was "/"
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Fixed bug when handling directories named "0"
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Stow now only warns the user if a directory is unreadable during unstowing.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2011-11-16 10:40:46 -05:00
|
|
|
* Changes in version 1.3:
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Added --restow option.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Fixed handling of slashes in package names.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Expanded configure-time search for Perl binary.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2011-11-16 10:40:46 -05:00
|
|
|
* Changes in version 1.2:
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Dependency on `pwd' removed.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Perl 4 compatibility fixes.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Manual expanded even more.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2011-11-16 10:40:46 -05:00
|
|
|
* Changes in version 1.1:
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Long and short options now accepted.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** Manual expanded.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2019-06-28 20:12:36 -04:00
|
|
|
*** `make clean' removes stow (which is generated from stow.in).
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2011-11-16 10:40:46 -05:00
|
|
|
* Initial public release (v1.0) of Stow.
|
2012-01-09 11:42:40 -05:00
|
|
|
|
2011-11-16 10:38:47 -05:00
|
|
|
* emacs local variables
|
|
|
|
Local Variables:
|
|
|
|
mode: org
|
2019-06-28 20:12:36 -04:00
|
|
|
org-export-with-toc: t
|
|
|
|
org-toc-odd-levels-only: t
|
2011-11-16 10:38:47 -05:00
|
|
|
End:
|