Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with bootstrap-in-dir and installing fisher #489

Open
1 of 8 tasks
adamk33n3r opened this issue Jun 26, 2024 · 5 comments
Open
1 of 8 tasks

Issue with bootstrap-in-dir and installing fisher #489

adamk33n3r opened this issue Jun 26, 2024 · 5 comments

Comments

@adamk33n3r
Copy link

This question is about

  • Installation
  • Initializing / Cloning
  • Alternate files
  • Jinja templates
  • Encryption
  • Bootstrap
  • Hooks
  • Other

Describe your question

Hello, first time setting up yadm and I'm trying to use the bootstrap-in-dir script. I'm running into a weird issue that when running

fish -c "curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher" 

in my .config/yadm/bootstrap.d/fish it causes the main bootstrap files for some reason pass the remaining bootstrap scripts into the fisher install command I think? The output is the following:

Installing fisher
fisher install version 4.4.4
Fetching https://api.github.com/repos/jorgebucaran/fisher/tarball/HEAD
fish: No matches for wildcard '/home/adam/.config/yadm/bootstrap.d/submodules/*'. See `help expand`.
                        command cp -Rf /home/adam/.config/yadm/bootstrap.d/submodules/* /tmp/tmp.2sB7PiZAev
                                       ^
fish: No matches for wildcard '/home/adam/.config/yadm/bootstrap.d/tmux/*'. See `help expand`.
                        command cp -Rf /home/adam/.config/yadm/bootstrap.d/tmux/* /tmp/tmp.jPoFnoiclv
                                       ^
fish: No matches for wildcard '/home/adam/.config/yadm/bootstrap.d/vim/*'. See `help expand`.
                        command cp -Rf /home/adam/.config/yadm/bootstrap.d/vim/* /tmp/tmp.9RPwzFP4Md
                                       ^
Installing jorgebucaran/fisher
           /home/adam/.config/fish/functions/fisher.fish
           /home/adam/.config/fish/completions/fisher.fish
Installing /home/adam/.config/yadm/bootstrap.d/submodules
Installing /home/adam/.config/yadm/bootstrap.d/tmux
Installing /home/adam/.config/yadm/bootstrap.d/vim

and then the bootstrap ends. If I comment out the fish -c line, then the rest of the bootstrap runs fine. I'm guessing this is probably something to do with how the bootstrap script is reading the scripts (because it's not trying to install the fish boostrap script) and perhaps fisher is swallowing them up first? But I'm not well versed in shell scripting to know what's going on. Any advice?

Copy link

This issue has been labeled as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Aug 26, 2024
Copy link

github-actions bot commented Sep 2, 2024

This issue was closed because it has been labeled as stale for 7 days with no activity.

@github-actions github-actions bot closed this as completed Sep 2, 2024
@adamk33n3r
Copy link
Author

Oh, I somehow missed the issue last week. Not sure why that mechanism is in place though, I shouldn't have to keep updating it until it's looked at....

@adamk33n3r
Copy link
Author

How do I open it again?

@erijo
Copy link
Collaborator

erijo commented Dec 15, 2024

bootstrap-in-dir was changed in ec10041. Could you please test with latest master and see if the problem is still there or not?

@erijo erijo reopened this Dec 15, 2024
@erijo erijo added 1 and removed stale labels Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants