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

how to update antq itself #146

Closed
vinurs opened this issue Jan 29, 2022 · 9 comments
Closed

how to update antq itself #146

vinurs opened this issue Jan 29, 2022 · 9 comments

Comments

@vinurs
Copy link

vinurs commented Jan 29, 2022

hello, i install antq as clojure tool

clojure -Ttools install com.github.liquidz/antq '{:git/tag "1.3.2"}' :as antq

and it generate a file called antq.edn in ~/.clojure/tools, then how can i use antq to check its own version and update to the latest

@liquidz
Copy link
Owner

liquidz commented Jan 30, 2022

@vinurs Sorry for late reply.
Currently, there is no way to update antq which is installed as clojure tool.
But it is very interesting and useful if we can do it :)

@vinurs
Copy link
Author

vinurs commented Feb 5, 2022

yeah, i think this would be a uesful feature

liquidz added a commit that referenced this issue Feb 28, 2022
liquidz added a commit that referenced this issue Feb 28, 2022
liquidz added a commit that referenced this issue Feb 28, 2022
liquidz added a commit that referenced this issue Feb 28, 2022
liquidz added a commit that referenced this issue Feb 28, 2022
liquidz added a commit that referenced this issue Feb 28, 2022
@liquidz
Copy link
Owner

liquidz commented Feb 28, 2022

@vinurs
I've added --check-clojure-tools option in checking-clojure-tools branch.
This option allows you to detect all tools intalled in ~/.clojure/tools as dependencies, and you can upgrade them with --upgrade option.

Could you try this branch?

@vinurs
Copy link
Author

vinurs commented Mar 1, 2022

@liquidz thanks very much, i've checked the options, it works well

@liquidz
Copy link
Owner

liquidz commented Mar 1, 2022

@vinurs Thanks for your confirmation!

Currently, I'm thinking of enabling this feature by default without any options.
And --skip option can be used to disable like other features.

How do you think? May it be noisy?

@vinurs
Copy link
Author

vinurs commented Mar 2, 2022

hello,in my opinion when i change dir in a project directory, i just want to check and update the project deps, but when i in a dir not belong to any project, then i want to check the global deps, eg (clojure tools, .lein/profiles.clj and so on)

@liquidz
Copy link
Owner

liquidz commented Mar 2, 2022

@vinurs Thanks!

Personally, I want this feature to be eather ON of OFF by default, because changing the behavior depending on the current directory may cause confusion.

As you said, it is resonable to check and update only project deps in our project directory, since installed Clojure CLI Tools are not related to our project.

So it may be good to disable by default.

@vinurs
Copy link
Author

vinurs commented Mar 2, 2022

@liquidz well, agree with you

liquidz added a commit that referenced this issue Mar 2, 2022
liquidz added a commit that referenced this issue Mar 2, 2022
@liquidz
Copy link
Owner

liquidz commented Mar 4, 2022

@vinurs Just released v1.6.0!

@liquidz liquidz closed this as completed Mar 4, 2022
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