Re: Remove "no outstanding operations" warning?
Adam Spiers <[email protected]> Wed, 11 Jan 2012 14:05:06 +0000
| Newsgroups | gmane.comp.gnu.stow.bugs |
|---|---|
| Message-ID | <CAOkDyE-Wv6stwO1cC-W3EjPjX=-gTYtkj9bVHKRnVHdxXi9Ngw@mail.gmail.com> |
Hi Adam, On Wed, Jan 11, 2012 at 1:30 PM, Adam Sampson <[email protected]> wrote: > I upgraded from stow 1 to stow 2 last month for the GARStow packaging > system; it's working happily, but I now get a "There are no outstanding > operations to perform" warning nearly every time I use it. > > This is because I'm normally doing stow -R: I install software into > /target/packages/hello-1.2, symlink that to /target/packages/hello, then > "stow -R hello" to update the symlinks in the target directory. (I > picked this scheme up from the University of Kent's sysadmins; I don't > know whether they invented it themselves or got it from somewhere > else...) > > The same problem would presumably apply if I was just installing new > versions of software directly into /target/packages/hello; if a minor > upgrade doesn't add or remove any files in the target directory, then > restowing it will result in a warning. > > Would it make sense to just remove the warning? stow will still give an > error if an operation fails, and in the case of a restow doing nothing > is the ideal outcome. > > Thanks very much, This sounds like a good suggestion. I've made a new 'quiet' branch in the git repo with a patch for this: http://git.savannah.gnu.org/cgit/stow.git/commit/?h=quiet Please can you test it? Then I can make another release.