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

[Feature Request] Lint mode? #351

Closed
ari-becker opened this issue Jan 25, 2024 · 5 comments
Closed

[Feature Request] Lint mode? #351

ari-becker opened this issue Jan 25, 2024 · 5 comments

Comments

@ari-becker
Copy link

I'm thinking of writing a cron script to run xdg-ninja on a regular basis and notify me if it finds any violations. In this way, I don't have to remember to run xdg-ninja on a regular basis, and new violations are found closer/earlier to when a program violates them.

At the moment, however, the output of xdg-ninja can't be configured: it will always include files like $HOME/.bashrc that can't be moved (at least for now), and the exit code is always 0.

Could xdg-ninja support some kind of linting mode?

@flexagoon
Copy link
Contributor

Xdg-ninja has a --skip-unsupported flag

@ari-becker
Copy link
Author

@flexagoon I have it installed via homebrew.
Maybe this is really a request to update the homebrew release then?

image

@flexagoon
Copy link
Contributor

@ari-becker the Homebrew package is built from tagged versions of xdg-ninja, the last of which is from 2022:

https://github.com/b3nj5m1n/xdg-ninja/releases

You should install the git version of xdg-ninja using brew install xdg-ninja --HEAD to get the latest version

@ari-becker
Copy link
Author

@ari-becker the Homebrew package is built from tagged versions of xdg-ninja, the last of which is from 2022:

https://github.com/b3nj5m1n/xdg-ninja/releases

You should install the git version of xdg-ninja using brew install xdg-ninja --HEAD to get the latest version

Nice, the latest version is what I wanted.

@flexagoon @b3nj5m1n could you tag a new release for Homebrew users? Or change the docs to recommend using --HEAD instead?

I'll close since my usecase is fit by the latest version (well, nearly, since ~/.trash isn't excluded as unsupported on macOS, but this is already open in #287 ).

@flexagoon
Copy link
Contributor

could you tag a new release for Homebrew users? Or change the docs to recommend using --HEAD instead?

I'm not the developer of this project, so I can't do that. There is an issue about this at #204, you should probably comment there

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

No branches or pull requests

2 participants