Skip to content

Conversation

@PrimozGodec
Copy link
Contributor

@PrimozGodec PrimozGodec commented Apr 20, 2018

Issue

Add-ons are in unpredictable order #3007

Description of changes

Sorting add-ons in the alphabetical order

Includes
  • Code changes
  • Tests
  • Documentation

@codecov-io
Copy link

codecov-io commented Apr 20, 2018

Codecov Report

Merging #3013 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3013   +/-   ##
=======================================
  Coverage   82.12%   82.12%           
=======================================
  Files         334      334           
  Lines       57663    57663           
=======================================
  Hits        47354    47354           
  Misses      10309    10309


model.appendRow([item1, item2, item3, item4])

model.sort(1) # sorting list of add-ons in the alphabetical order
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not work correctly. Have you tested if then the correct add-ons are also installed? If I added "pip" to the list and tried to upgrade it, it upgraded the wrong package.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PrimozGodec Try self.__proxy.sort(1)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @markotoplak and @ales-erjavec. I think that now it works.

@lanzagar lanzagar dismissed markotoplak’s stale review May 11, 2018 14:39

the problem was fixed

@lanzagar lanzagar merged commit 32fda0a into biolab:master May 11, 2018
@PrimozGodec PrimozGodec deleted the sort-addons branch May 25, 2018 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants