Bump version to 2.4.1 for development of next release
[gnu-stow.git] / README.md
blobd91c9a4a6180e6f64d2068eba7cc0ef0f25a5c0b
1 [![Build Status](https://travis-ci.org/aspiers/stow.svg)](https://travis-ci.org/aspiers/stow)
2 [![Coverage Status](https://coveralls.io/repos/aspiers/stow/badge.svg?branch=master&service=github)](https://coveralls.io/github/aspiers/stow?branch=master)
4 README for GNU Stow
5 ===================
7 This README describes GNU Stow.  This is not the definitive
8 documentation for Stow; for that, see the [info
9 manual](https://www.gnu.org/software/stow/manual/).
11 Stow is a symlink farm manager program which takes distinct sets
12 of software and/or data located in separate directories on the
13 filesystem, and makes them all appear to be installed in a single
14 directory tree.
16 Originally Stow was born to address the need to administer, upgrade,
17 install, and remove files in independent software packages without
18 confusing them with other files sharing the same file system space.
19 For instance, many years ago it used to be common to compile programs
20 such as Perl and Emacs from source and install them in `/usr/local`.
21 By using Stow, `/usr/local/bin` could contain symlinks to files within
22 `/usr/local/stow/emacs/bin`, `/usr/local/stow/perl/bin` etc., and
23 likewise recursively for any other subdirectories such as `.../share`,
24 `.../man`, and so on.
26 While this is useful for keeping track of system-wide and per-user
27 installations of software built from source, in more recent times
28 software packages are often managed by more sophisticated package
29 management software such as
30 [`rpm`](https://en.wikipedia.org/wiki/Rpm_(software)),
31 [`dpkg`](https://en.wikipedia.org/wiki/Dpkg), and
32 [Nix](https://en.wikipedia.org/wiki/Nix_package_manager) / [GNU
33 Guix](https://en.wikipedia.org/wiki/GNU_Guix), or language-native
34 package managers such as Ruby's
35 [`gem`](https://en.wikipedia.org/wiki/RubyGems), Python's
36 [`pip`](https://en.wikipedia.org/wiki/Pip_(package_manager)),
37 Javascript's [`npm`](https://en.wikipedia.org/wiki/Npm_(software)),
38 and so on.
40 However Stow is still used not only for software package management,
41 but also for other purposes, such as facilitating [a more controlled
42 approach to management of configuration files in the user's home
43 directory](http://brandon.invergo.net/news/2012-05-26-using-gnu-stow-to-manage-your-dotfiles.html),
44 especially when [coupled with version control
45 systems](http://lists.gnu.org/archive/html/info-stow/2011-12/msg00000.html).
47 Stow was inspired by Carnegie Mellon's Depot program, but is
48 substantially simpler and safer.  Whereas Depot required database files
49 to keep things in sync, Stow stores no extra state between runs, so
50 there's no danger (as there was in Depot) of mangling directories when
51 file hierarchies don't match the database.  Also unlike Depot, Stow will
52 never delete any files, directories, or links that appear in a Stow
53 directory (e.g., `/usr/local/stow/emacs`), so it's always possible
54 to rebuild the target tree (e.g., `/usr/local`).
56 Stow is implemented as a combination of a Perl script providing a CLI
57 interface, and a backend Perl module which does most of the work.
59 You can get the latest information about Stow from the home page:
61     http://www.gnu.org/software/stow/
63 Installation
64 ------------
66 See [`INSTALL.md`](INSTALL.md) for installation instructions.
68 Documentation
69 -------------
71 Documentation for Stow is available
72 [online](https://www.gnu.org/software/stow/manual/), as is
73 [documentation for most GNU
74 software](https://www.gnu.org/software/manual/).  Once you have Stow
75 installed, you may also find more information about Stow by running
76 `info stow` or `man stow`, or by looking at `/usr/share/doc/stow/`,
77 `/usr/local/doc/stow/`, or similar directories on your system.  A
78 brief summary is available by running `stow --help`.
80 Mailing lists
81 -------------
83 Stow has the following mailing lists:
85 -   [help-stow](https://lists.gnu.org/mailman/listinfo/help-stow) is for
86     general user help and discussion.
87 -   [stow-devel](https://lists.gnu.org/mailman/listinfo/stow-devel) is
88     used to discuss most aspects of Stow, including development and
89     enhancement requests.
90 -   [bug-stow](https://lists.gnu.org/mailman/listinfo/bug-stow) is for
91     bug reports.
93 Announcements about Stow are posted to
94 [info-stow](http://lists.gnu.org/mailman/listinfo/info-stow) and also,
95 as with most other GNU software, to
96 [info-gnu](http://lists.gnu.org/mailman/listinfo/info-gnu)
97 ([archive](http://lists.gnu.org/archive/html/info-gnu/)).
99 Security reports that should not be made immediately public can be
100 sent directly to the maintainer.  If there is no response to an urgent
101 issue, you can escalate to the general
102 [security](http://lists.gnu.org/mailman/listinfo/security) mailing
103 list for advice.
105 The Savannah project also has a [mailing
106 lists](https://savannah.gnu.org/mail/?group=stow) page.
108 Getting involved
109 ----------------
111 Please see the [`CONTRIBUTING.md` file](CONTRIBUTING.md).
113 License
114 -------
116 Stow is free software, licensed under the GNU General Public License,
117 which can be found in the file [`COPYING`](COPYING).
119 Copying and distribution of this file, with or without modification,
120 are permitted in any medium without royalty provided the copyright
121 notice and this notice are preserved.  This file is offered as-is,
122 without any warranty.
124 Brief history and authorship
125 ----------------------------
127 Stow was inspired by Carnegie Mellon's "Depot" program, but is
128 substantially simpler.  Whereas Depot requires database files to keep
129 things in sync, Stow stores no extra state between runs, so there's no
130 danger (as there is in Depot) of mangling directories when file
131 hierarchies don't match the database.  Also unlike Depot, Stow will
132 never delete any files, directories, or links that appear in a Stow
133 directory (e.g., `/usr/local/stow/emacs`), so it's always possible to
134 rebuild the target tree (e.g., `/usr/local`).
136 For a high-level overview of the contributions of the main developers
137 over the years, see [the `AUTHORS` file](AUTHORS).
139 For a more detailed history, please see the `ChangeLog` file.