an ivysettings.xml -> coursier options converte...
# general
h
an ivysettings.xml -> coursier options converter would be awesome
w
that, or have coursier directly take that xml
w
oof.
a one time converter that either can or can't convert would be preferable i think. to make a clean break from ivy and be done with it.
h
=@witty-crayon-22786
w
the format is way, way too complicated to be worth continuing to use
w
@happy-kitchen-89482 are you suggesting there are hardcoded ivysettings.xml somewhere that needs conversion?
oh given https://pantsbuild.slack.com/archives/C046T6T9U/p1515025782000069, it’s basically
-r
to specify repo in coursier cli
h
@wide-energy-11069 yes
in particular, ivysettings.xml can contain custom resolvers
for fetching from repos other than maven central and your local ivy cache
w
ok yeah, you can specify that on coursier cli
Copy code
--repository | -r  <maven|sonatype:$repo|ivy2local|bintray:$org/$repo|bintray-ivy:$org/$repo|typesafe:ivy-$repo|typesafe:$repo|sbt-plugin:$repo|ivy:$pattern>
        Repository - for multiple repositories, separate with comma and/or add this option multiple times (e.g. -r central,ivy2local -r sonatype-snapshots, or equivalently -r central,ivy2local,sonatype-snapshots)
e
Ah, but to add a new resolver, say s3, you'd have to hack on coursier code?
w
yes. there may be work on that already ( i haven’t looked in detail yet https://github.com/coursier/coursier/issues/164)