Improvement #1089
Migrate to contexts dependencies/relations from weights
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
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