tests/repo_builder: needs the ability to create mulltiple commits with graph information
Bug #1745197 reported by
Nish Aravamudan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
Fix Released
|
Undecided
|
Robie Basak |
Bug Description
As mentioned in HO today, we have tests that will need to specify a larger graph than a single commit, and the parenting relationship between commits.
Related branches
~racb/git-ubuntu:source-builder-changelog-versions
- Nish Aravamudan: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 55 lines (+18/-1)2 files modifiedgitubuntu/source_builder.py (+11/-1)
gitubuntu/source_builder_test.py (+7/-0)
~racb/git-ubuntu:source-tree
- Nish Aravamudan: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 90 lines (+47/-0)1 file modifiedgitubuntu/repo_builder.py (+47/-0)
~racb/git-ubuntu:commit-graph-builder
- Nish Aravamudan: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 222 lines (+118/-32)1 file modifiedgitubuntu/repo_builder.py (+118/-32)
Changed in usd-importer: | |
assignee: | nobody → Robie Basak (racb) |
status: | New → In Progress |
Changed in usd-importer: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
I'd like something like this to work:
# A -> B Source( SourceSpec( version= '1'))), Source( SourceSpec( changelog_ versions= ['1', '2']))), Source( SourceSpec( changelog_ versions= ['1', '1.1']))),
# A -> C - > D
# A =- merge-base; B = new/debian; C = old/debian; D = old/ubuntu
broken_graph = [
Commit(
SourceTree(
name='A',
),
Commit(
SourceTree(
name='B',
parents=['A'],
),
Commit(
SourceTree(
name='C',
parents=['A'],
),
]
This needs me to write three features:
SourceSpec/ SourceFiles changelog_versions feature.
The SourceTree class feature.
Commit parenting via Placeholder feature.