liquidz / antq

Point out your outdated dependencies.
Other
394 stars 22 forks source link

feature: access a private Maven repo with gpg in a Leiningen project #237

Closed blue0513 closed 9 months ago

blue0513 commented 9 months ago

Thank you for the amazing library πŸŽ‰ I have a suggestion bellow.

What

Why

Reploduction steps

  1. Create the following Clojure code and save it as /path/to/my-project/project.clj:
(defproject dep-test "0.0.1-SNAPSHOT"
  :dependencies [[my/private-lib "0.0.1"]]) ;; latest is `0.0.2`
  1. Create the following Clojure code and save it as ~/.lein/profiles.clj:

    ;; Using GPG. ref: https://cljdoc.org/d/leiningen/leiningen/2.9.3/doc/using-gpg
    {:user {:repositories [["internal-snapshots" {:url "https://my/private/repository"
                                              :creds :gpg}]]}}
  2. Execute the following command:

    $ clojure -M:outdated --directory="/path/to/my-project"

The output should be as follows:

| :file                           | :name              | :current | :latest         |
|---------------------------------+--------------------+----------+-----------------|
| /path/to/my-project/project.clj | my/private-lib     | 0.0.1    | Failed to fetch |
liquidz commented 9 months ago

@blue0513 Sorry for late reply πŸ™‡ I'll have a look later.

blue0513 commented 9 months ago

Thank you, I will check your review over the weekend !! βœ‹

blue0513 commented 9 months ago

@liquidz Thx for your review. I've responded to your review ! 0f02594 (#237)

blue0513 commented 9 months ago

@liquidz Big thx! I treated your review by this commit: 25bb320 (#237)

liquidz commented 9 months ago

@blue0513 Just released v2.7.1133 :)

blue0513 commented 9 months ago

@liquidz Thank you for your kind review & Great library !!!