Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-04-09 | sbuild: Move chroot-loopback to namespace chroot | Roger Leigh | 1 | -8/+8 | |
2013-04-07 | sbuild: Move chroot-file to namespace chroot | Roger Leigh | 1 | -13/+13 | |
2013-04-07 | sbuild: Move chroot-block-device and chroot-lvm-snapshot to namespace chroot | Roger Leigh | 2 | -12/+12 | |
2013-04-07 | sbuild: Move chroot-directory and chroot-plain to namespace chroot | Roger Leigh | 3 | -12/+12 | |
2013-04-07 | sbuild: Move chroot-config to namespace chroot | Roger Leigh | 1 | -14/+14 | |
2013-04-07 | sbuild: Move chroot to namespace chroot | Roger Leigh | 12 | -102/+102 | |
2013-04-03 | lib: Rename schroot-base to bin-common (2) | Roger Leigh | 3 | -12/+12 | |
2013-04-03 | lib: Rename schroot-base to bin-common | Roger Leigh | 1 | -0/+0 | |
2013-04-02 | lib: Move libtest to lib | Roger Leigh | 2 | -74/+22 | |
2013-04-02 | test: Merge helpers.h into sbuild/chroot.h | Roger Leigh | 12 | -78/+31 | |
2013-04-02 | lib: Move libschroot-base to lib | Roger Leigh | 1 | -1/+1 | |
2013-04-02 | lib: Move libsbuild to lib | Roger Leigh | 1 | -1/+1 | |
2013-04-02 | test: Reorganise tests by component (3) | Roger Leigh | 12 | -41/+41 | |
2013-04-02 | test: Reorganise tests by component (2) | Roger Leigh | 11 | -75/+75 | |
2013-04-02 | test: Reorganise tests by component | Roger Leigh | 23 | -0/+0 | |
2013-04-02 | schroot-base: Remove schroot-base- prefix (3) | Roger Leigh | 1 | -2/+2 | |
2013-04-02 | sbuild: Remove sbuild- prefix | Roger Leigh | 24 | -68/+68 | |
2013-04-01 | build: Correct test dependencies | Roger Leigh | 1 | -2/+2 | |
2013-04-01 | Remove device locking | Roger Leigh | 1 | -150/+0 | |
- All use of liblockdev has been removed. - sbuild::device_lock has been removed; it may be restored using flock(2) at a later date, but the flock semantics are different to liblockdev persistent LCK.. lockfiles. - sbuild::chroot_block_device and sbuild::chroot_lvm_snapshot no longer use sbuild::device_lock; in reality, the use of device_lock here was ineffectual at best, so should not result in unsafe use of block devices, since we rely on lvcreate/ lvremove to do appropriate locking for us. For plain block devices and source chroots, these are not session-capable and so locking is pointless here anyway. - setupd.5/05lvm no longer releases locks with schroot-releaselock. - schroot-releaselock has been removed. | |||||
2013-03-31 | Update copyrights of all files | Roger Leigh | 26 | -29/+27 | |
2013-03-31 | build: Use non-recursive make | Roger Leigh | 3 | -177/+177 | |
Don't recurse into subdirectories (with the exception of po). Include Makefile.am fragments from subdirectories into the top-level Makefile, adjusted to use paths relative to the root. | |||||
2013-03-12 | sbuild::keyfile: Refactor reading and writing | Roger Leigh | 10 | -14/+35 | |
Reading and writing of keyfile data split into keyfile_reader and keyfile_writer. keyfile is now for storage only, and serialisation is separate, to allow decoupling of file format and storage. | |||||
2013-02-03 | Use C++11 range-based for loops | Roger Leigh | 2 | -48/+30 | |
2013-01-05 | Replace tabs with spaces in all source code | Roger Leigh | 18 | -378/+378 | |
2012-11-03 | sbuild::chroot_facet_userdata: Add additional unsharing options | Roger Leigh | 1 | -2/+8 | |
2012-11-03 | sbuild: Add unsharing of network devices | Roger Leigh | 1 | -0/+9 | |
Add support for unshare(CLONE_NEWNET): - add chroot_facet_unshare - use "unshare.newnet" key - restore use of exec scripts, but just as an addition argument to existing setup scripts - add 60unshare setup script | |||||
2012-11-03 | sbuild::chroot_facet_userdata: treat unused keys as userdata | Roger Leigh | 1 | -0/+4 | |
2012-11-03 | sbuild::chroot: Add get_used_keys method | Roger Leigh | 1 | -3/+6 | |
This splits out the used_keys functionality from set_keyfile. This is so that the keys used may be queried separately from keyfile loading. | |||||
2012-10-27 | sbuild: Test source session cloning | Roger Leigh | 10 | -51/+283 | |
2012-10-27 | sbuild: Correct alias handling | Roger Leigh | 1 | -4/+13 | |
Alias names were being lost before being stored in the session metadata. This has been corrected by using an alias->chroot mapping for the chroots selected by the user; plus keeping a list of alias names (to preserve the ordering). This has required some refactoring to accommodate the changes. The information display functionality previously in sbuild::chroot_config has been moved into the client code. The chroot validation is now also done in a single step, which makes the validation simpler and more robust. | |||||
2012-06-25 | test: Fix pathrelease/schroot-1.6.0debian/schroot-1.6.0-1 | Roger Leigh | 1 | -1/+1 | |
2012-06-25 | sbuild::chroot: Add CHROOT_PROFILE_DIR | Roger Leigh | 2 | -1/+3 | |
CHROOT_PROFILE does not include a path. The _DIR variant includes the absolute path. | |||||
2012-06-25 | test: Update testsuite for profile and script-config behaviour | Roger Leigh | 2 | -2/+54 | |
2012-05-29 | test: Fix path for CHROOT_PROFILE environment variablerelease/schroot-1.5.3debian/schroot-1.5.3-1 | Roger Leigh | 1 | -1/+1 | |
2012-05-23 | schroot: Add shell fallbacks and chroot and user overrides | Roger Leigh | 1 | -0/+2 | |
Fallback list: $SHELL (if preserving environment) passwd pw_shell /bin/bash /bin/sh Overridable using the shell= key, which is in turn overridable using the --shell option. SHELL is set in the user environment. | |||||
2012-05-15 | .gitignore: Updaterelease/schroot-1.5.2debian/schroot-1.5.2-1 | Roger Leigh | 1 | -0/+1 | |
2012-05-14 | bin: Don't use boost validation_error exception | Roger Leigh | 1 | -7/+5 | |
Create custom schroot_base::options::error wrapper around std::runtime error. This results in much nicer exception formatting. | |||||
2012-05-09 | sbuild: Add custom chroot type | Roger Leigh | 2 | -0/+225 | |
2012-05-08 | test: Ensure that userdata reserved namespaces checks fail correctly | Roger Leigh | 2 | -4/+22 | |
Also tighten check for setup.data.dir. | |||||
2012-04-03 | sbuild: Add sbuild::chroot_facet_userdata and --option option | Roger Leigh | 4 | -0/+185 | |
2012-03-25 | sbuild::regex: Use C++11 regex in addition to boost::regex | Roger Leigh | 1 | -2/+12 | |
Optionally support C++11 regex as a base for sbuild::regex. Use encapsulation rather than inheritance to keep the interface sane. Note that the current GCC std::regex implementation appears broken; this is explicitly tested for by configure. In this situation boost::regex will continue to be used. | |||||
2012-03-25 | sbuild: Replace TR1 types with C++11 types | Roger Leigh | 8 | -31/+31 | |
Use std namespace in place of std::tr1. For compilers lacking C++11 support, or which have C++11 support disabled, import the TR1 types into the std namespace for compatibility. Additionally, import the corresponding Boost types into the std namespace for compilers lacking TR1 support. Use C++11 types throughout in place of TR1 types. | |||||
2011-11-27 | sbuild::chroot_facet_session: Store alias used as selected_name | Roger Leigh | 8 | -0/+23 | |
Set in environment as CHROOT_ALIAS. | |||||
2011-07-09 | schroot: Preserve original chroot name after session cloning | Roger Leigh | 7 | -12/+12 | |
- In setup scripts, store in CHROOT_NAME - In user shell, store in SCHROOT_CHROOT_NAME - In info output, display as Original Chroot Name - In session state file, store as original-name (deserialisation is optional to cater for older sessions not having the information). | |||||
2010-07-11 | sbuild::chroot: Obsolete priority | Roger Leigh | 2 | -9/+0 | |
2010-07-11 | sbuild::chroot_config: validate canonicalises namespace | Roger Leigh | 2 | -2/+2 | |
This means all chroot names in use have a valid namespace. schroot can use the session namespace for searching when running sessions etc. | |||||
2010-07-11 | test::sbuild_chroot_config: Drop old comment | Roger Leigh | 1 | -1/+1 | |
2010-07-11 | test: Use new chroot_config interface | Roger Leigh | 9 | -42/+53 | |
2010-07-05 | build: Remove maintainer mode and add additional defines | Roger Leigh | 1 | -1/+1 | |
Remove maintainer mode. Add SCHROOT_DATA_DIR, SCHROOT_SETUP_DATA_DIR and replace PACKAGE_SYSCONF_DIR with SCHROOT_SYSCONF_DIR. Export into the setup script environment as SYSCONF_DIR, DATA_DIR and SETUP_DATA_DIR. | |||||
2010-07-05 | sbuild::chroot_file: Add location configuration key | Roger Leigh | 1 | -1/+26 | |
Allows use of chroots packed with the system in a subdirectory. |