Merge lp:~roadmr/capomastro/single-build into lp:capomastro
Status: | Merged |
---|---|
Approved by: | Daniel Manrique |
Approved revision: | 205 |
Merged at revision: | 199 |
Proposed branch: | lp:~roadmr/capomastro/single-build |
Merge into: | lp:capomastro |
Diff against target: |
352 lines (+219/-16) 6 files modified
docs/source/overview.rst (+49/-0) docs/source/setup.rst (+14/-0) projects/forms.py (+1/-1) projects/helpers.py (+71/-9) projects/templates/projects/projectbuild_form.html (+3/-4) projects/tests/test_helpers.py (+81/-2) |
To merge this branch: | bzr merge lp:~roadmr/capomastro/single-build |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Caio Begotti (community) | Approve | ||
Review via email: mp+262256@code.launchpad.net |
Commit message
Create archiveartifacts for non-rebuilt dependencies when building a project (LP: #1450070).
Fix some documentation and view issues.
Description of the change
Essentially this fixes the "partial dependency rebuilds" bug by ensuring that non-rebuilt dependencies have their artifacts properly linked (by creating a new archiveartifact pointing to the old artifact and build). It includes the code to fix this in projects.helpers as well as tests. Caveat: the tests only verify the scenario where a non-rebuilt dependency already had a known good build. They don't test the scenario where a dependency has never been built (which will result in an incomplete set of artifacts, but that's expected).
I also snuck in a few more changes:
Related to the partial dep debuild changes:
70a556e projects:helpers: Test for non-rebuilt dependency behavior
f92c230 projects:helpers: Document arguments for a confusing method
12c6b7b projects:helpers: Variable renaming in build_project for clarity.
bc5485a projects:helpers: non-rebuilt dependencies should have ArchiveArtifacts created from the dependency's last successful build
Two view fixes sent by Caio:
dabbdcc Added a textual description of what happens during the build process
9f6f044 Fix labels in project build form and template
Small documentation tweaks
b878458 docs: Clarify deb packages that need to be installed before running the next step
Just finished testing it all on Wendigo and it works as discussed and expected, even with the Swift storage.