summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 2012.9v2012.9Colin Walters2012-08-261-1/+1
|
* build: Add --enable-triggers-onlyColin Walters2012-08-268-5/+32
| | | | | For bootstrapping gnome-ostree, we need to install the triggers early on, before we actually build the real ostree binary.
* prune: Don't fail if an object isn't foundColin Walters2012-08-253-4/+26
| | | | We expect most people to have partial repositories.
* repo: Also traverse remote refs when enumerating objectsColin Walters2012-08-251-10/+52
| | | | Otherwise ostree --repo=repo prune will delete everything =/
* Improve the pango triggerMatthias Clasen2012-08-251-2/+6
| | | | | | | | | Use the new update-cache mode of pango-querymodules, which automatically finds the correct cache file location. Updated to look in both places by Colin Walters <walters@verbum.org> https://bugzilla.gnome.org/show_bug.cgi?id=682411
* libostree: Quiet compiler warning with --disable-libarchiveColin Walters2012-08-241-14/+14
| | | | This function is only used if compiling with it.
* ostree: Remove duplicate command in help outputMatthias Clasen2012-08-231-5/+4
| | | | | | The 'remote' command was listed twice. Also, the list was almost-but-not-quite alphabetically sorted. Fix that too.
* build: Make /etc/kernel scripts default to automaticColin Walters2012-08-231-1/+5
| | | | | When not cross compiling, we can test for /etc/kernel. This fixes the build automatically on RHEL6 for example.
* packages: Add files that should have been in previous commitColin Walters2012-08-232-0/+77
| | | | These were intended to be with the embedded-dependencies commit.
* pull: Only fetch pack files if we want more than 66% of their objectsColin Walters2012-08-221-3/+36
| | | | | This avoids some pathologically bad cases where we would fetch a 25MiB pack file only to extract one 5KiB object from it.
* pull: Exit mainloop immediately if we encounter an errorColin Walters2012-08-221-0/+1
| | | | Otherwise we'll just hang.
* pack: Support --content-onlyColin Walters2012-08-221-43/+43
| | | | | | | This should be useful for implementing more sophisticated packing strategies. Also clean up the pack size default handling.
* pull: Set an error when we get an unsuccessful HTTP responseColin Walters2012-08-221-0/+11
| | | | | Otherwise we'll e.g. try to parse 404 HTML as an object which will fail.
* Add infrastructure for automatic kernel updatesGiovanni Campagna2012-08-206-66/+295
| | | | | | If the distribution supports running arbitrary scripts at kernel updates, we can hook into it and update the ostree side of things automatically.
* ostadmin: add update-kernel command to regenerate initramfs and boot configGiovanni Campagna2012-08-205-260/+360
| | | | | | | This command regenerates kernel-dependent files. It is meant to be run after kernel upgrades in the host distribution, to keep the ostree installation running, and attempts to figure out the right version automatically (and without changing the ostree checkout)
* Don't fail for EPERM when hardlinkingGiovanni Campagna2012-08-201-2/+2
| | | | | | | | | | | | | As the manual page doesn't say, but the in-code kernel documentation shows, hardlinking for normal users can fail for a variety of reasons (including very common situations such as non regular file or non writable file), if the owner of the file does not match the user linking (e.g. when checking out a shadow repo with a root- owned master). If that happens, fail back silently to copying instead of aborting the whole operation. https://bugzilla.gnome.org/show_bug.cgi?id=682298
* ostree-run-triggers: fix typo in filename comparison functionGiovanni Campagna2012-08-201-1/+1
| | | | | | | The comparison function was comparing the first file to itself, and this resulted in triggers being run in random order. https://bugzilla.gnome.org/show_bug.cgi?id=682297
* embedded-dependencies: Fix ACLOCAL_FLAGS, update for libgsystemColin Walters2012-08-193-9/+30
| | | | | | * Handle the libgsystem submodule * ACLOCAL_FLAGS was broken * Add srpm-embedded
* Include pull and other external commands in usage outputStef Walter2012-08-194-28/+31
|
* ostadmin: fix command line handling in the builtinsGiovanni Campagna2012-08-182-13/+14
| | | | | | Common code was duplicating the command name and not shifting arguments properly, which thus required the builtins to be aware of it, instead of being treated like subcommands.
* configure: Fix libsoup detectionColin Walters2012-08-142-25/+25
| | | | | | * The configure arg was named incorrectly; we don't rely on libsoup-gnome, just libsoup. * We need to use AS_IF
* autogen: Fetch submodules before running automakeColin Walters2012-08-141-2/+1
| | | | Otherwise automake can't find src/libgsystem.
* Support non-builtin commandsStef Walter2012-08-103-18/+92
| | | | | * Support executing commands in the path * This makes 'ostree-pull' work as 'ostree pull'
* triggers: Print execution time for each triggerColin Walters2012-08-051-1/+7
|
* ostadmin: Use g_spawn_check_exit_status()Colin Walters2012-08-051-15/+2
| | | | Just code cleanup.
* ostadmin: Change command line for qemu deploy helperColin Walters2012-08-053-38/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | The qemu helper really wants to copy kernel modules, but not update the system bootloader. Allow it to reuse ostadmin for this. Note that our previous path of shelling out to "cp -al" broke because it refused to make cross-device links. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch master # Your branch is ahead of 'origin/master' by 1 commit. # # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # modified: src/libotutil/ot-gio-utils.c # modified: src/libotutil/ot-gio-utils.h # modified: src/ostadmin/ot-admin-builtin-deploy.c # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # embedded-dependencies/glib/ # embedded-dependencies/libsoup/
* ostadmin: Add --ostree-dir directoryColin Walters2012-08-051-10/+25
| | | | This will be used by the qemu deployment script.
* Automatically populate the git submodules in autogen.shStef Walter2012-07-311-0/+9
|
* TODO: updateColin Walters2012-07-311-16/+2
|
* ostadmin: Print an error message if run as non-rootColin Walters2012-07-301-0/+7
| | | | See https://bugzilla.gnome.org/show_bug.cgi?id=680823
* ostadmin: [incompat syntax change] Allow deploying any revisionColin Walters2012-07-261-30/+58
| | | | | | | | | | | | | | | | | | | | | The old command line syntax assumed you wanted the latest from a given revision, but to bisect, you really want the ability to deploy any given one. Old: $ ostadmin deploy gnomeos-3.6-i686-{runtime,devel} New: $ ostadmin deploy trees/gnomeos-3.6-i686-runtime $ ostadmin deploy trees/gnomeos-3.6-i686-devel And note that the deploy directory now changes to: /ostree/trees/gnomeos-3.6-i686-devel And now it's possible to: $ ostadmin deploy trees/gnomeos-3.6-i686-devel trees/gnomeos-3.6-i686-devel^^^
* pull: When --depth is specified, ensure we have all requested objectsColin Walters2012-07-261-1/+5
| | | | | | We were previously optimizing by skipping object traversal if the refs were unchanged, but if the user specifies a deeper depth than they did before.
* core: Add context when we fail to chmod()/chown()Colin Walters2012-07-191-0/+2
| | | | | | This helps make things less confusing when we try to create a file not owned by our uid, such as running ostree-pull as non-root on a repository owned by root.
* core: Drop ot_clear_hashtable for g_clear_pointer()Colin Walters2012-07-173-8/+2
|
* core: Drop ot_clear_ptrarray in favor of g_clear_pointerColin Walters2012-07-173-15/+9
|
* core: Drop ot_clear_gvariant() in favor of g_clear_pointerColin Walters2012-07-177-30/+24
|
* core: Remove ot_clear_checksum() in favor of g_clear_pointer()Colin Walters2012-07-174-11/+3
|
* core: Use g_spawn_check_exit_status()Colin Walters2012-07-171-22/+2
|
* pull: Only take up one terminal line for status outputColin Walters2012-07-163-6/+43
| | | | And print total bytes transferred at the end.
* Fix libgsystem submoduleColin Walters2012-07-151-0/+0
|
* Hard require GLib 2.34Colin Walters2012-07-157-237/+10
| | | | | Anyone wanting to build against an earlier version can use the embedded-dependencies system.
* Add libgsystem as git externalColin Walters2012-07-1510-91/+20
| | | | Don't replace ot_lfree and stuff yet though...to much code churn.
* pull: Correctly display concurrent libsoup requestsColin Walters2012-07-121-29/+45
| | | | | | The "status text" code was assuming that libsoup was only doing one thing at a time, but that's never been the case. Change the code to display the status of all active requests.
* core: drop dead/unused codeColin Walters2012-06-303-261/+0
| | | | | The daemon is a nice idea but needs a lot more thought. Let's just delete the unused code for now and come back to it later.
* core: Drop ot_gfile_new_for_pathColin Walters2012-06-3012-34/+25
| | | | | Not necessary anymore since we switched to GIO_USE_VFS=local in the binaries.
* pull: Fix a memory leakColin Walters2012-06-281-0/+1
|
* pull: Fix use-after-free in async fetcherColin Walters2012-06-281-6/+12
| | | | Refcount the pending data structure.
* Release 2012.8Colin Walters2012-06-271-1/+1
|
* build: Use LDADD libraries to link with, not LDFLAGSColin Walters2012-06-271-1/+1
| | | | This should fix the build with embedded glib.
* Make more compiler warnings into errorsColin Walters2012-06-271-1/+6
| | | | In particular, I want -Werror=format=2 to catch format string bugs.