Commits on Source (2)
-
Qinusty authored
This allows the user to opt in generating a build manifest containing all of the elements and sources used for their build alongside a buildstream version and build date/time. _manifest.py: New module to provide functionality for producing a manifest from a collection of elements. source.py: Add _get_element_index() to allow access to Source.__element_index.
-
Qinusty authored
Tests ensure that a build manifest is created when it should be, and isn't when it shouldn't be.
Showing
- buildstream/_frontend/cli.py 24 additions, 1 deletionbuildstream/_frontend/cli.py
- buildstream/_manifest.py 124 additions, 0 deletionsbuildstream/_manifest.py
- buildstream/source.py 3 additions, 0 deletionsbuildstream/source.py
- tests/manifest/manifest.py 61 additions, 0 deletionstests/manifest/manifest.py
- tests/manifest/project/elements/base.bst 6 additions, 0 deletionstests/manifest/project/elements/base.bst
- tests/manifest/project/files/hello/file.txt 0 additions, 0 deletionstests/manifest/project/files/hello/file.txt
- tests/manifest/project/project.conf 4 additions, 0 deletionstests/manifest/project/project.conf
buildstream/_manifest.py
0 → 100644
tests/manifest/manifest.py
0 → 100644
tests/manifest/project/elements/base.bst
0 → 100644
tests/manifest/project/files/hello/file.txt
0 → 100644
tests/manifest/project/project.conf
0 → 100644