lp://qastaging/~mvo/snapcraft/run-run-as-list
- Get this branch:
- bzr branch lp://qastaging/~mvo/snapcraft/run-run-as-list
Branch merges
- Snappy Developers: Pending requested
-
Diff: 40 lines (+10/-9)1 file modifiedsnapcraft/common.py (+10/-9)
Branch information
Recent revisions
- 79. By Michael Vogt
-
make run() uses subprocess.call() instead of writing a temp file (but in a terrible hacky way right now)
- 76. By Leo Arias
-
Refactored all methods to be lowercase, following pep8. by elopio approved by mterry
- 73. By Michael Terry
-
Add collision detection before staging, fix ordering of parts to be more reliable, and only export the environment of dependent parts when building each part. by mterry approved by rsalveti
- 72. By Michael Terry
-
Clean up part lifecycle logic a bit.
- Drop stage() and snap() calls from plugins. The core code now handles those. Plugins do get a new snapFiles() call that allows them to specify whitelist and blacklist globs. (To be expanded in the future by letting the user blacklist more files from yaml.)
- Add new parts/XXX/install directory. This is a sort of staging area for the staging area. It's useful in three ways: (1) We can detect two parts trying to install the same file into staging (though this isn't implemented yet); (2) We can restrict the whitelist globs from a part to only match the filenames that are in install/ (since otherwise it could match files from other parts in the combined staging area); (3) And we can build other parts against only the parts that they specify (using after/requires) rather than any part that happened to get installed into staging. These changes leave staging as just a play area for the user (to either edit or build their own code against).
- Unify existing plugin code a bit to use the same directories. All source code in src/, all binary code in build/ (even downloaded binary code), and all installed code in install/.
And I did some minor unrelated cleanup is also in this branch for convenience:
- When running locally, prepend (rather than append) our local snapcraft python module, so that any installed version doesn't get picked up instead.
- Allow skipping the plainbox tests via environment variable in runtests.sh by mterry approved by rsalveti,mvo
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/~snappy-dev/snapcraft/core