lp://qastaging/~mterry/snapcraft/run-as-list

Created by Michael Terry and last modified
Get this branch:
bzr branch lp://qastaging/~mterry/snapcraft/run-as-list
Only Michael Terry can upload to this branch. If you are Michael Terry please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Michael Terry
Project:
Snapcraft
Status:
Merged

Recent revisions

78. By Michael Terry

Move comment closer to code it is commenting on

77. By Michael Terry

Be consistent about use of list instead of strings for the run command

76. By Leo Arias

Refactored all methods to be lowercase, following pep8. by elopio approved by mterry

75. By Michael Terry

Add support for local plugins in parts/plugins. by mterry approved by rsalveti

74. By Michael Terry

Add simple CMake support. by mterry approved by mvo

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

71. By Michael Terry

Switch to arch:all, whoops

70. By Michael Terry

Merge debian packaging branch in

69. By Michael Terry

Add tarmac file

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
This branch contains Public information 
Everyone can see this information.

Subscribers