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
fetch: fetching from /home/sean/code/ponylang/changelog-tool
fetch: fetching dep: github.com/ponylang/peg @ 0.1.0
No dep bundle for: github.com/ponylang/peg
Which is horribly misleading given that the locator doesn't exist at all.
I propose this is addressed in two parts. Fix the bug of it not indicating the error on fetch.
Enhance to validate a locator on addition.
So the issue is that as the code currently is written, it figures out the VCS to use based on the suffix.
Without a suffix, it resorts to using the NoneVCS which is what you would want for using local dependencies that aren't VCS controlled but otherwise is problematic.
I'm giving serious consideration to saying you have to be explicit about the VCS if on adding, it can't be deduced from the locator. This would also allow for the possibility of validating additions (see #118).
@Theodus as you opened this issue, any thoughts adding another field to a dep for explicitly setting the VCS? It would usually be set automatically when adding.
That would mean that you could edit corral.json by hand and change it to "hg" from "git" without changing the locator which would probably be bad. but, once someone starts editing the file by hand, I think everything is out the window.
corral.json:
The repo is never fetched, despite the message being identical to the warning printed on success, see #99.
The text was updated successfully, but these errors were encountered: