I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Improvement #1089

Migrate to contexts dependencies/relations from weights

Added by Andriy Lesyuk about 14 years ago. Updated almost 14 years ago.

Status:
Open
Priority:
Minor
Assignee:
Category:
Core
Target version:
Start date:
03 Nov 2010
Due date:
% Done:

0%


Description

When the project started I decided to use “weight” for contexts sorting in queue because it was easier... Now I needed to change all weight to “normalize” them. Besides if users begin write their own contexts there will be conflicts in weights. So now it seems better to use dependencies.

This means that “weight” member is to be removed and replaced with two or more members, e.g.:

...
after => [ 'Number', 'YesNo' ],
before => 'Task',
requires => [ 'Number', 'YesNo' ]
...


Related issues

Related to Orangutan - Enhancement #1601: Configuring contexts weights Incomplete 02 Feb 2011 02 Feb 2011

History

#1 Updated by Andriy Lesyuk almost 14 years ago

  • Target version set to 2.00

#2 Updated by Andriy Lesyuk almost 14 years ago

In addition to above conflicts should be added (maybe refer to Debian packages structure which has similar relations).

#3 Updated by Andriy Lesyuk almost 14 years ago

  • Subject changed from Replace weight sorting with dependency based sorting to Migrate to contexts dependencies/relations from weights

Also available in: Atom PDF

Terms of use | Privacy policy