aspiers/stow

Support package trees containing absolute symlinks

Open

#51 geöffnet am 28. Juni 2019

Auf GitHub ansehen
 (9 Kommentare) (18 Reaktionen) (0 zugewiesene Personen)Perl (51 Forks)batch import
absolute pathsenhancementhelp wanted

Repository-Metriken

Stars
 (1.013 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

[This feature request was originally confused with #11 and reported there; moving here to stop the confusion.]

Example use case given by @dmarcoux is a Stow package containing dotfiles for $HOME, in which .mysql_history, .bash_history, and .less_history are symlinks to /dev/null.

Currently Stow refuses to stow these absolute symlinks:

WARNING! stowing home would cause conflicts:
  * source is an absolute symlink dotfiles/home/.bash_history => /dev/null
  * source is an absolute symlink dotfiles/home/.lesshst => /dev/null
  * source is an absolute symlink dotfiles/home/.mysql_history => /dev/null
All operations aborted.

To clarify:

  • This issue is about package trees containing absolute symlinks.
  • #11 is about the Stow directory being a symlink.
  • #3 is about the symlinks which Stow manages in the target directory being absolute symlinks.

They're all separate issues despite appearing similar on the surface.

Contributor Guide