Feature #318
Request: sub-distributions that can be included in distributions
Status: | Resolved | Start date: | 2014-10-31 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | - | Spent time: | - | |
Target version: | - |
Description
Is there a way to define a "sub-distribution" that can be included in your distribution?
E.g. the flobi simulation needs a set of ~8 projects. Everytime we define a distribution that uses
that flobi sim we have to copy and paste these 8 projects.
When we add a dependency we have to do that on all packages...
It would be really nice to have such a feature.
Related issues
History
#1 Updated by Jan Moringen about 10 years ago
- File screenshot.png added
- Status changed from New to Rejected
One the next generator versions will support this. The current syntax proposal is like this (assuming the filename is toolkit.distribution
):
{
"include": {
"distributions": [
[ "rosetta", "${rosetta-version}" ],
[ "rsx", "${rsx-version}" ]
],
"projects": [
[ "cbf", "0.2" ],
[ "kdl", "master" ],
]
},
"versions": [
{
"name": "master",
"variables": {
"rsx-version": "nightly",
"rosetta-version": "nightly"
}
},
{
"name": "0.2",
"variables": {
"rsx-version": "0.10",
"rosetta-version": "nightly"
},
"include": {
"projects": [
[ "cbf", "0.2" ],
[ "kdl", "master" ]
]
}
},
{
"name": "0.1",
"variables": {
"rsx-version": "0.9",
"rosetta-version": "nightly"
},
"include": {
"projects": [
[ "cbf", "0.1" ],
[ "kdl", "master" ]
]
}
}
]
}
The effect is illustrated in the attached screenshot.
#2 Updated by Jan Moringen almost 6 years ago
- Status changed from Rejected to Resolved
- % Done changed from 0 to 100
Now available in the build-generator master branch.