Commit Graph

6207 Commits

Author SHA1 Message Date
Colin Walters 5098f1895c ostree_switch_root: New executable for use in initrd
Since Debian's initrd uses busybox which is super limited, let's
fork util-linux's switch_root and add more there.
2011-10-19 12:22:42 -04:00
Colin Walters 8d4b3f87e3 mountall.sh: Import from Debian initscripts 2.88dsf-13.11 2011-10-18 15:38:16 -04:00
Colin Walters b27df6fd72 "Hacktree" is now known as "OSTree"
It just sounds better.
2011-10-18 14:44:48 -04:00
Javier Jardón 6114bc3b06 autogen.sh: Improve the script a bit
Fix builddir != sourcedir issues ans also run ./configure if
Its needed
2011-10-18 17:35:55 +01:00
Javier Jardón e6f4fc6cbe Makefile.am: honor aclocal flags 2011-10-18 17:31:28 +01:00
Colin Walters 6475a51664 chroot_break: New utility
Inside the OS, some utilities and functions are going to need to
"break out" and be run from the real root.  This is a convenience
utility to do so.
2011-10-18 12:23:16 -04:00
Colin Walters a5a1039c08 parallel-debian: A bit more 2011-10-17 16:17:37 -04:00
Colin Walters a06f724b72 src: Only use local VFS - this avoids hitting up the session bus
We are designed to run in the "unix model" of being forked a lot, so
startup time matters a lot, and hitting the session bus adds
unnecessary DBus traffic, shows up in strace etc.

It's a microoptimization I admit.
2011-10-17 15:55:06 -04:00
Colin Walters aaae116f8e README: Some notes on BTRFS 2011-10-17 11:08:25 -04:00
Colin Walters 8020f444cf Add documentation for parallel-debian 2011-10-17 09:40:12 -04:00
Colin Walters d32dd476f7 README: Elaborate and clarify some more 2011-10-17 09:39:27 -04:00
Colin Walters ec2b249c76 Some discussion about my experimentation with actually doing multiple roots 2011-10-16 15:51:36 -04:00
Colin Walters c776c8730b TODO: Update 2011-10-16 14:41:03 -04:00
Colin Walters 25f06eb52c README.md: Some more notes about upgrading 2011-10-16 14:24:56 -04:00
Colin Walters 130e277c5d README.md: Some more thoughts 2011-10-16 14:18:20 -04:00
Colin Walters d37d5b0c25 README.md: Some tweaks 2011-10-16 11:17:59 -04:00
Colin Walters 4c58d2f0cb Have an introductory README.md that makes sense
Skip the "how do we build" for now.
2011-10-15 16:46:33 -04:00
Colin Walters 97003b48da Add log builtin
The "less" spawning is buggy for some reason =(
2011-10-15 15:43:43 -04:00
Colin Walters 717945814c Save root directory permissions in commit 2011-10-15 14:20:22 -04:00
Colin Walters c768c2a746 Support for committing files from stdin or a file list file 2011-10-15 13:07:26 -04:00
Colin Walters 36ba6e5426 Ensure we don't get duplicate '.' which leads to corruption
In path_split(), we squash '.' entirely, since it's redundant and if
we don't, we return an extra component which callers would then have
to handle.

In repo, ensure we're never explicitly parsing '.' either (yet).
2011-10-15 13:04:50 -04:00
Colin Walters 2bd973f645 Make file deletion work, add test 2011-10-15 09:56:31 -04:00
Colin Walters 05c35f2cf7 Actually checksum xattr values, not just names
We need to call lgetxattr() and not just llistxattr().
2011-10-15 03:03:51 -04:00
Colin Walters 88c9851795 repo: Fix nested tree code 2011-10-15 03:02:51 -04:00
Colin Walters 7cffd09f6d repo: Fix format string bug 2011-10-15 02:39:47 -04:00
Colin Walters 3eb77d4ce8 Importing and checking out nested trees works! 2011-10-15 01:23:01 -04:00
Colin Walters 6f1b880377 repo: Allow empty commit bodies 2011-10-15 00:57:13 -04:00
Colin Walters 401ab27c11 checkout: New command 2011-10-15 00:45:07 -04:00
Colin Walters 3f12aa7bbd repo: Use 'self' in headers too 2011-10-14 23:24:51 -04:00
Colin Walters f16aad3710 We can commit multiple times now 2011-10-14 23:17:50 -04:00
Colin Walters ce6d9ca569 repo: Add some GError guards 2011-10-14 23:13:23 -04:00
Colin Walters 72c7385295 repo: Update HEAD after a commit 2011-10-14 22:56:40 -04:00
Colin Walters 9cac933c7f show: New builtin 2011-10-14 22:49:44 -04:00
Colin Walters 9e0e481835 repo: Fix some bugs loading variants 2011-10-14 22:49:28 -04:00
Colin Walters 0b851a743e Store objects with an extension so we know whether they're files or metadata 2011-10-14 22:30:18 -04:00
Colin Walters 3a9e2b36b0 fsck: Not an error to have 1-linked objects, also print HEAD 2011-10-14 22:10:06 -04:00
Colin Walters b3c556a349 repo: Add API to load variants, and get HEAD 2011-10-14 22:10:06 -04:00
Colin Walters 55b3c7ca69 repo: Ignore importing existing variants
It's not an error to duplicate a tree.
2011-10-14 22:07:58 -04:00
Colin Walters 98a043c671 Add probably working commits 2011-10-14 21:09:11 -04:00
Colin Walters 5e0d58dd72 tests: Support saving temporary directory 2011-10-14 21:09:11 -04:00
Colin Walters 42a3a68d17 Add test for --repo 2011-10-14 21:09:10 -04:00
Colin Walters 71a59c2fc9 TODO: We have a test! 2011-10-12 17:01:25 -04:00
Colin Walters f90994320b Add a COPYING, and put GPL headers in more places 2011-10-12 16:50:55 -04:00
Colin Walters 03425c0dcd Initial test suite 2011-10-12 16:46:23 -04:00
Colin Walters ae653a619b TODO 2011-10-12 16:44:38 -04:00
Colin Walters 0808b94600 fsck: Add quiet option 2011-10-12 16:43:52 -04:00
Colin Walters ea96d5bf89 Fix option processing, add some options to link-file 2011-10-12 13:45:19 -04:00
Colin Walters cd3a56dd68 Don't include any timestamps in hash, add fsck command 2011-10-12 11:38:41 -04:00
Colin Walters 4dd6800389 Make link-file work 2011-10-11 22:05:16 -04:00
Colin Walters 7c1c61beb1 Write some code for importing 2011-10-11 20:58:50 -04:00