Dep: status: incorrect projectConstraint sorting order

Created on 25 Dec 2017  路  1Comment  路  Source: golang/dep

projectConstraint sort byProject was added in commit https://github.com/golang/dep/commit/73ca5d96c8914e76dc847cdb5c17c2f7f35a0d8e and sorts in reverse order. It should sort in ascending order.

Fixing this would also require reordering the test data in the same commit, for the tests to pass.

Incorrect order (right now):

github.com/foo/deptest-project-3
github.com/foo/deptest-project-2
github.com/foo/deptest-project-1

Correct order:

github.com/foo/deptest-project-1
github.com/foo/deptest-project-2
github.com/foo/deptest-project-3
help wanted good first issue status

Most helpful comment

I can work on this one.

>All comments

I can work on this one.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alecthomas picture alecthomas  路  3Comments

angryrobot picture angryrobot  路  3Comments

cemremengu picture cemremengu  路  3Comments

sdboyer picture sdboyer  路  3Comments

alethenorio picture alethenorio  路  3Comments