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

[Bug Report] Symlink is not recognized again #51

Open
4513ECHO opened this issue Jun 12, 2022 · 1 comment · May be fixed by #62
Open

[Bug Report] Symlink is not recognized again #51

4513ECHO opened this issue Jun 12, 2022 · 1 comment · May be fixed by #62

Comments

@4513ECHO
Copy link

4513ECHO commented Jun 12, 2022

WHAT

(Write what you need)

afx does not read symlink again.

The cause of the bug exists in between v0.1.21 and v0.1.22. (see v0.1.21...v0.1.22)

My current afx.yaml is here.

Directory Structure

$ exa -al ~/.config
lrwxrwxrwx  32 hibiki  7 Jun 14:09 afx -> /home/hibiki/dotfiles/config/afx
$ exa -al ~/.config/afx
.rw-r--r-- 1.8k hibiki 12 Jun 11:31 afx.yaml

Debug Log

  • v0.1.21
$ AFX_LOG_LEVEL=debug afx install
2022/06/12 12:01:43 [INFO] afx version: 0.1.21
2022/06/12 12:01:43 [INFO] Go runtime version: go1.16.1
2022/06/12 12:01:43 [INFO] Build tag/SHA: v0.1.21/054f74c
2022/06/12 12:01:43 [INFO] CLI args: []string{"/home/hibiki/.local/share/aquaproj-aqua/pkgs/github_release/github.com/b4b4r07/afx/v0.1.21/afx_linux_arm64.tar.gz/afx", "install"}
2022/06/12 12:01:43 [DEBUG] (goroutine): checking new updates...
2022/06/12 12:01:43 [INFO] Reading config /home/hibiki/dotfiles/config/afx/afx.yaml...
[ERROR]: failed to initialize afx: /home/hibiki/dotfiles/config/afx/afx.yaml: failed to read config: [23:9] unknown field "directory"
  20 |       - koron/cmigemo
  21 |     command:
  22 |       build:
> 23 |         directory: nkf-2.1.5
               ^
  24 |         steps:
  25 |           - make
  26 |           - make install prefix=~/.local
  27 |
  • v0.1.22
$ AFX_LOG_LEVEL=debug afx install
2022/06/12 12:02:53 [INFO] afx version: 0.1.22
2022/06/12 12:02:53 [INFO] Go runtime version: go1.16.1
2022/06/12 12:02:53 [INFO] Build tag/SHA: v0.1.22/4b34e4c
2022/06/12 12:02:53 [INFO] CLI args: []string{"/home/hibiki/.local/share/aquaproj-aqua/pkgs/github_release/github.com/b4b4r07/afx/v0.1.22/afx_linux_arm64.tar.gz/afx", "install"}
2022/06/12 12:02:53 [WARN] /home/hibiki/.config/afx: found but cannot be loaded. yaml is only allowed
2022/06/12 12:02:53 [DEBUG] (goroutine): checking new updates...
2022/06/12 12:02:53 [DEBUG] mkdir /home/hibiki/.afx
2022/06/12 12:02:53 [DEBUG] mkdir /home/hibiki/bin
2022/06/12 12:02:53 [INFO] state additions: (0) []string(nil)
2022/06/12 12:02:53 [INFO] state deletions: (0) []string(nil)
2022/06/12 12:02:53 [INFO] state changes: (0) []string(nil)
2022/06/12 12:02:53 [INFO] state unchanges: (0) []string{...skip...}
No packages to install
2022/06/12 12:02:53 [DEBUG] checking updates on afx repo...
2022/06/12 12:02:53 [INFO] root command execution finished

WHY

(Write the background of this issue)

@4513ECHO
Copy link
Author

@b4b4r07 Is there any update on this?

@elecdeer elecdeer linked a pull request Aug 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant