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

linux file being linked on darwin #478

Open
1 of 4 tasks
xenoterracide opened this issue Dec 30, 2023 · 2 comments
Open
1 of 4 tasks

linux file being linked on darwin #478

xenoterracide opened this issue Dec 30, 2023 · 2 comments

Comments

@xenoterracide
Copy link

xenoterracide commented Dec 30, 2023

This issue is about

  • Man pages or command-line usage
  • Website documentation
  • Packaging
  • Other

Describe the issue

specifically this line

Creating /Users/ccushing/.profile from template /Users/ccushing/.config/yadm/alt/.profile##template,os.Linux,e.sh

in the following output

Creating /Users/ccushing/.config/yadm/bootstrap from template /Users/ccushing/.config/yadm/alt/.config/yadm/bootstrap##template,e.sh
Linking /Users/ccushing/.config/yadm/alt/.config/yadm/bootstrap.d/00-package-manager.sh##os.Darwin,e.sh to /Users/ccushing/.config/yadm/bootstrap.d/00-package-manager.sh
Creating /Users/ccushing/.gitconfig from template /Users/ccushing/.config/yadm/alt/.gitconfig##template,e.ini
Linking /Users/ccushing/.config/yadm/alt/.pg_service.conf##os.Darwin to /Users/ccushing/.pg_service.conf
Creating /Users/ccushing/.profile from template /Users/ccushing/.config/yadm/alt/.profile##template,os.Linux,e.sh
Creating /Users/ccushing/.zshenv from template /Users/ccushing/.config/yadm/alt/.zshenv##template,os.Linux,os.Darwin,e.zsh
Creating /Users/ccushing/.zshrc from template /Users/ccushing/.config/yadm/alt/.zshrc##template,e.zsh
+ command -v gh
+ gh auth setup-git
❯ ls -la
total 20
drwxr-xr-x  9 ccushing staff  288 Dec 30 14:38 .
drwxr-xr-x 10 ccushing staff  320 Dec 30 14:42 ..
drwxr-xr-x  3 ccushing staff   96 Nov  7 12:00 .config
-rw-r--r--  1 ccushing staff  826 Dec 22 09:00 .gitconfig##template,e.ini
-rw-r--r--  1 ccushing staff    0 Nov  7 12:00 .pg_service.conf##os.Darwin
-rw-r--r--  1 ccushing staff  249 Dec 30 14:40 .profile##template,os.Darwin,e.zsh
-rw-r--r--  1 ccushing staff  474 Dec 30 14:40 .profile##template,os.Linux,e.sh
-rw-r--r--  1 ccushing staff  362 Nov  7 12:00 .zshenv##template,os.Linux,os.Darwin,e.zsh
-rw-r--r--  1 ccushing staff 1168 Dec 22 15:53 .zshrc##template,e.zsh
❯ uname -a
Darwin OF060M2Q74FVGQP 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 21:27:24 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6000 arm64 arm Darwin

here's a deeplink to the actual full source, I should really write a readme but off the top of my head you either need to be using manjaro linux or have brew plus xcode on mac

https://github.com/xenoterracide/dotfiles/tree/d1dd0cadc725bff5e06c5261f7678f1abeebe842/.config/yadm/alt

future commits don't have this problem, especially after I moved that from a template to a link

❯ yadm --version
bash version 3.2.57(1)-release
 git version 2.39.3 (Apple Git-145)
yadm version 3.2.2
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 Feb 29, 2024
Copy link

github-actions bot commented Mar 8, 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 Mar 8, 2024
@erijo erijo reopened this Nov 28, 2024
@erijo erijo added 1 and removed stale labels Nov 28, 2024
erijo added a commit that referenced this issue Nov 28, 2024
* Simplify score_file() by using case in instead of nested ifs with regexps.
* Merge record_score() and record_template().
* Alt condition processing no longer stops when a template condition is seen
  but continues processing to verify that all conditions are valid (as the
  documentation says it should). Fixes #478.
* Support alt dirs with deeply nested tracked files (fixes #495).
* Use git ls-files to filter out which tracked files to consider for alt
  processing. Should speed up auto-alt (#505).
erijo added a commit that referenced this issue Nov 29, 2024
* Simplify score_file() by using case in instead of nested ifs with regexps.
* Merge record_score() and record_template().
* Alt condition processing no longer stops when a template condition is seen
  but continues processing to verify that all conditions are valid (as the
  documentation says it should). Fixes #478.
* Support alt dirs with deeply nested tracked files (fixes #490).
* Use git ls-files to filter out which tracked files to consider for alt
  processing. Should speed up auto-alt (#505).
* Use nocasematch when comparing distro and distro_family. Fixed #455.
erijo added a commit that referenced this issue Dec 5, 2024
* Simplify score_file() by using case in instead of nested ifs with regexps.
* Merge record_score() and record_template().
* Alt condition processing no longer stops when a template condition is seen
  but continues processing to verify that all conditions are valid (as the
  documentation says it should). Fixes #478.
* Support alt dirs with deeply nested tracked files (fixes #490).
* Use git ls-files to filter out which tracked files to consider for alt
  processing. Should speed up auto-alt (#505).
* Use nocasematch when comparing distro and distro_family. Fixed #455.
erijo added a commit that referenced this issue Dec 6, 2024
* Simplify score_file() by using case in instead of nested ifs with regexps.
* Merge record_score() and record_template().
* Alt condition processing no longer stops when a template condition is seen
  but continues processing to verify that all conditions are valid (as the
  documentation says it should). Fixes #478.
* Support alt dirs with deeply nested tracked files (fixes #490).
* Use git ls-files to filter out which tracked files to consider for alt
  processing. Should speed up auto-alt (#505).
* Use nocasematch when comparing distro and distro_family. Fixed #455.
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