bazel-deps icon indicating copy to clipboard operation
bazel-deps copied to clipboard

Remove Aether, go all in on coursier

Open johnynek opened this issue 4 years ago • 2 comments

I think we can reconceptualize this tool as a fixed lock file resolver for coursier. So we resolve all the dependencies then emit the hashes and the dependency relationships between them to a file and that file (not the jars) can be check in.

One output format would be the current output format, but we could also emit lock files for use with other build tools (e.g. sbt we could make a plugin that uses the lock file and only fetches the files).

What do you think @ianoc

johnynek avatar Jan 04 '20 19:01 johnynek

actually, the pro move would be to solve this:

https://github.com/coursier/coursier/issues/1487

Then make bazel-deps a thin layer that converts such a lock file into bazel consumable data.

johnynek avatar Jan 05 '20 00:01 johnynek

Oh that would be pretty neat, having Bazel dips just possibly be the input yaml format -> outputs needed for bazel and moving the main logic upstream would I think be 💯 . The Aether resolver is buggy enough I can't imagine anyone could be recommended to use it, so seems like little win to keep it around and not simplify/stream line around just courier

ianoc avatar Jan 05 '20 02:01 ianoc