andsens / homeshick

git dotfiles synchronizer written in bash
MIT License
2.11k stars 145 forks source link

homestick link reports ignore of castle #165

Closed Blue-Dog-Archolite closed 7 years ago

Blue-Dog-Archolite commented 7 years ago

Git Location

Blue-Dog-Archolite/homestick-dot-files

Attempted process

Expected Result

I expected all .* files to be liked to home directory

Actual Result

No files are linked to $HOME.

Steps to reporduce

I am running $HOME/.homesick/repos/homeshick/test/interactive in order to double check that I wasn't doing something out of the west wing.

All files are in git and committed as shown on the link above.

While running in the test env I get the following report.

bash-4.4$ homeshick clone Blue-Dog-Archolite/homestick-dot-files
        clone https://github.com/Blue-Dog-Archolite/homestick-dot-files.git
bash-4.4$ homeshick link homestick-dot-files
      ignored homestick-dot-files
bash-4.4$ homeshick link homestick-dot-files -v
      ignored homestick-dot-files
bash-4.4$ ls -al /tmp/tmp.I7GFTnwPUq/home/.homesick/repos/homestick-dot-files 
total 532
drwxr-xr-x. 3 thief thief   1040 Aug 29 11:34 .
drwxr-xr-x. 4 thief thief     80 Aug 29 11:34 ..
-rw-r--r--. 1 thief thief    519 Aug 29 11:34 .ackrc
-rw-r--r--. 1 thief thief     79 Aug 29 11:34 .agignore
-rw-r--r--. 1 thief thief     99 Aug 29 11:34 .arcconfig
-rw-r--r--. 1 thief thief   1253 Aug 29 11:34 .arclint
-rw-r--r--. 1 thief thief    128 Aug 29 11:34 .arcrc
-rw-r--r--. 1 thief thief     98 Aug 29 11:34 .arcunit
-rw-r--r--. 1 thief thief    630 Aug 29 11:34 .bash_activations
-rw-r--r--. 1 thief thief    219 Aug 29 11:34 .bash_aliases
-rw-r--r--. 1 thief thief    153 Aug 29 11:34 .bash_env
-rw-r--r--. 1 thief thief   1538 Aug 29 11:34 .bash_functions
-rw-r--r--. 1 thief thief  18032 Aug 29 11:34 .bash_history
-rw-r--r--. 1 thief thief   1993 Aug 29 11:34 .bash_path
-rw-r--r--. 1 thief thief    138 Aug 29 11:34 .bash_profile
-rw-r--r--. 1 thief thief    665 Aug 29 11:34 .bashrc
-rw-r--r--. 1 thief thief     72 Aug 29 11:34 .ctags_ignore
-rw-r--r--. 1 thief thief     60 Aug 29 11:34 .eslintignore
-rw-r--r--. 1 thief thief    397 Aug 29 11:34 .eslintrc
-rw-r--r--. 1 thief thief    630 Aug 29 11:34 .eslintrc.yml
-rw-r--r--. 1 thief thief     56 Aug 29 11:34 .floo
-rw-r--r--. 1 thief thief     30 Aug 29 11:34 .flooignore
-rw-r--r--. 1 thief thief     85 Aug 29 11:34 .floorc
-rw-r--r--. 1 thief thief    168 Aug 29 11:34 .floorc.json
-rw-r--r--. 1 thief thief    292 Aug 29 11:34 .foodcritic
-rw-r--r--. 1 thief thief    572 Aug 29 11:34 .fzf.bash
drwxr-xr-x. 8 thief thief    260 Aug 29 11:34 .git
-rw-r--r--. 1 thief thief  58024 Aug 29 11:34 .git-completion.bash
-rw-r--r--. 1 thief thief    275 Aug 29 11:34 .gitconfig
-rw-r--r--. 1 thief thief    719 Aug 29 11:34 .gitignore_global
-rw-r--r--. 1 thief thief    328 Aug 29 11:34 .guard_history
-rw-r--r--. 1 thief thief     63 Aug 29 11:34 .guardrc
-rw-r--r--. 1 thief thief    613 Aug 29 11:34 .htmllintrc
-rw-r--r--. 1 thief thief     12 Aug 29 11:34 .info
-rw-r--r--. 1 thief thief    770 Aug 29 11:34 .irbrc
-rw-r--r--. 1 thief thief     96 Aug 29 11:34 .jamignore
-rw-r--r--. 1 thief thief    104 Aug 29 11:34 .jsbeautifyrc
-rw-r--r--. 1 thief thief   1623 Aug 29 11:34 .jscsrc
-rw-r--r--. 1 thief thief    467 Aug 29 11:34 .jscsrc.todo
-rw-r--r--. 1 thief thief   5492 Aug 29 11:34 .jsfmtrc
-rw-r--r--. 1 thief thief     15 Aug 29 11:34 .jshintignore
-rw-r--r--. 1 thief thief    363 Aug 29 11:34 .jshintrc
-rw-r--r--. 1 thief thief 230863 Aug 29 11:34 .pry_history
-rw-r--r--. 1 thief thief   1614 Aug 29 11:34 .pryrc
-rw-r--r--. 1 thief thief     30 Aug 29 11:34 .pylintrc
-rw-r--r--. 1 thief thief    174 Aug 29 11:34 .pypirc
-rw-r--r--. 1 thief thief    100 Aug 29 11:34 .python_history
-rw-r--r--. 1 thief thief     22 Aug 29 11:34 README.md
-rw-r--r--. 1 thief thief     14 Aug 29 11:34 .rspec
-rw-r--r--. 1 thief thief    156 Aug 29 11:34 .synergy.conf
-rw-r--r--. 1 thief thief  16756 Aug 29 11:34 .vimrc
-rw-r--r--. 1 thief thief  23457 Aug 29 11:34 .vimtags
bash-4.4$ 
Blue-Dog-Archolite commented 7 years ago

@andsens I might be blind, but I think that the docs are missing the fact that if you don't create a homestick compatable repo with a home folder, there are no actions performed as the scripts look for a home directory for files to link.

Blue-Dog-Archolite commented 7 years ago

@andsens https://github.com/andsens/homeshick/wiki/FAQ

andsens commented 7 years ago

You are right. It is implicitly assumed. I would probably add it in the "Bootstrapping" section, and then rename it to "Creating your first castle".

andsens commented 7 years ago

heh, a bit of overlap there. Still, one shouldn't have to check the FAQ for something this basic. I'll add it to the docs.