sassoftware / pymaven

pymaven is a library for working with maven repositories via python. pymaven is not intended as a complete replacement of the maven build system, but instead as a way for python programs to fetch artifacts and artifact dependencies from maven2 repositories.
Apache License 2.0
14 stars 11 forks source link

Ensure the original order of dependencies is kept #11

Open pombredanne opened 7 years ago

pombredanne commented 7 years ago

This is not super important but helps: deps are tracked in mappings of scope->set of deps. It would be useful to keep these in a list (eventually ensuring items are unique in the list) to keep as much as possible the original order. This help when comparing results from a parse with the original POM.

wfscheper commented 7 years ago

I'd accept a PR that used an OrderedDict instead of the builtin.

pombredanne commented 7 years ago

@wfscheper I will, as clean commit off the https://github.com/sassoftware/pymaven/tree/clientless-pom branch