Closed borkdude closed 4 months ago
cc @teodorlu if you're interested in having a look
Yes please - seems there was a case I didn't catch in #228.
I'm unable to reproduce this problem on latest master per now (6333aa6).
$ cat deps.edn
{:deps {io.github.nextjournal/markdown {:git/sha "6683c48dfdb23404a23057817b6ac3acf0310bca"
:neil/pinned true}}}
$ neil-dev dep upgrade
$ cat deps.edn
{:deps {io.github.nextjournal/markdown {:git/sha "6683c48dfdb23404a23057817b6ac3acf0310bca"
:neil/pinned true}}}
Same behavior on neil 0.3.67
:
$ cat deps.edn
{:deps {io.github.nextjournal/markdown {:git/sha "6683c48dfdb23404a23057817b6ac3acf0310bca"
:neil/pinned true}}}
$ neil --version
neil 0.3.67
$ neil dep upgrade
$ cat deps.edn
{:deps {io.github.nextjournal/markdown {:git/sha "6683c48dfdb23404a23057817b6ac3acf0310bca"
:neil/pinned true}}}
I wrote a test covering the case, protecting against future regressions:
I might have misunderstood.
This deps.edn
contains :pinned true
:
{:deps {io.github.nextjournal/markdown {:git/sha "6683c48dfdb23404a23057817b6ac3acf0310bca" :neil/pinned true}}}
Is the issue that :git/url
is added when the dep is not pinned?
If that is the case, I can reproduce. Removing :neil/pinned true
and running neil dep upgrade
gives me a dep with a :git/url
:
{:deps {io.github.nextjournal/markdown {:git/sha "2a622669f52ce3119e563ec022f321d98e9d41b2"
:git/url "https://github.com/nextjournal/markdown"}}}
yes, when it's not pinned
With #233 on main
, can this issue be closed?
Thanks
When upgrading this dep:
a
git/url
is inserted, which shouldn't happen.cc @teodorlu if you're interested in having a look