You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for not catching this before 0.6.0 The 0.6.0-snaphot (pre chrismas) i was using worked as expected.
On this miminal project.clj, lein ancient 0.6.0 and (newer 0.6.0-snapshots) fails with (error) #<ExecutionException java.util.concurrent.ExecutionException: java.lang.NumberFormatException: For input string: "20141107165303">
No problem, that should generally be my job, I suppose. ;)
The thing is actually a bug in version-clj (and always should have been but maybe older versions of lein-ancient had more try/catch safeguards in place) which tries to parse e.g. this version:
While this is fixed now, a problem remains, namely that e.g. 1.0.1-1 is treated as a newer (release!) version than 1.0.1 since version-clj expects non-release versions to have at least one non-numeric component.
If the versions with timestamp in your repository are actually SNAPSHOTs, lein-ancient will (at least for now) not treat them correctly I'm afraid.
Edit: Release with the fixes will follow soon. Edit (2):[lein-ancient "0.6.1-SNAPSHOT"] released for now.
Sorry for not catching this before 0.6.0 The 0.6.0-snaphot (pre chrismas) i was using worked as expected.
On this miminal project.clj, lein ancient 0.6.0 and (newer 0.6.0-snapshots) fails with
(error) #<ExecutionException java.util.concurrent.ExecutionException: java.lang.NumberFormatException: For input string: "20141107165303">
lein-ancient 0.5.5 returns
The text was updated successfully, but these errors were encountered: