Giuseppe Scrivano
5f33133054
summary: add new command line arguments to sign the summary file
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-05-07 21:58:04 +02:00
Giuseppe Scrivano
fee785a72e
ostree-repo: add new API to sign the summary file
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-05-07 21:58:04 +02:00
Giuseppe Scrivano
94360d3d1c
pull: get rid of detached metadata for deltas
...
Once the summary file will be signed, we can validate the superblock
from there.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-05-07 21:58:04 +02:00
Giuseppe Scrivano
8c3d4eb7b2
pull: check that the superblock checksum is the same as in the summary
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-05-07 21:58:04 +02:00
Giuseppe Scrivano
222696996f
core: store information about delta files checksums
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-05-07 21:58:04 +02:00
Giuseppe Scrivano
ae672c3c9f
core: new function _ostree_parse_delta_name
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-05-07 21:58:04 +02:00
Giuseppe Scrivano
e0da4db77c
summary: list the available static deltas
...
Write the information in the additional_metadata element for backward
compatibility.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-05-07 21:58:04 +02:00
Giuseppe Scrivano
0f8f668cd3
trivial-httpd: add option to specify the port
...
I use the trivial httpd server locally. Each time I restart the
server, I end up modifying manually the config file for other repos so
to point to the correct port. In this way I can just re-use the same
port.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-05-07 16:16:27 +02:00
Giuseppe Scrivano
26bb93ac24
trivial-httpd: fix indentation
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-05-07 16:16:23 +02:00
Giuseppe Scrivano
a68242c6c9
doc: remove unknown parameter from inline documentation
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-05-05 16:29:20 +02:00
Giuseppe Scrivano
9fa10e69f9
libglnx: fix reference to commit
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-05-05 16:23:51 +02:00
Giuseppe Scrivano
857a852540
pull: the commit size in the summary is not for the detached metadata
...
Use the size specified in the summary file only for the not detached
metadata.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-05-03 21:44:09 +02:00
Giuseppe Scrivano
cd93780d97
show: add option --gpg-homedir
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-04-27 15:22:41 +02:00
Giuseppe Scrivano
f37cbe1fc9
gpg: do not use secring.gpg
...
It contains the secret keyring
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-04-27 15:22:41 +02:00
Giuseppe Scrivano
cf30f8717a
g_output_stream_splice: check correctly the error code
...
While at it, change the style of other two occurrences.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-04-24 18:26:22 +02:00
Giuseppe Scrivano
8ab2e60edc
test-auto-summary.sh properly quote arguments to assert_streq
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-04-24 15:46:28 +02:00
Giuseppe Scrivano
42edb6f91b
README.md: fix typo
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-04-21 23:05:23 +02:00
Giuseppe Scrivano
9e6ac6d822
config: add new parameter "commit-update-summary" to core section
...
When set to true, the summary file is automatically updated after
a commit.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-04-14 17:46:53 +02:00
Giuseppe Scrivano
362771aa98
summary: write the contents to a temporary file
...
do not write directly to the summary file but use a temporary file
first. It avoids to create an empty file if "ot_util_variant_save"
fails.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-04-14 17:42:25 +02:00
Giuseppe Scrivano
69184e70e9
_ostree_repo_file_replace_contents: make buf const
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-04-14 17:42:24 +02:00
Giuseppe Scrivano
c648fada30
ostree_repo_checkout_tree_at: remove @subpath documentation
...
It is not an argument of the function.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-04-13 11:55:25 +02:00
Giuseppe Scrivano
d3545b0661
tests: skip test-commit-sign.sh when not root
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-04-03 09:57:20 +02:00
Giuseppe Scrivano
d0278b6407
build: exclude .sig files from syntax-check
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-04-03 09:57:20 +02:00
Giuseppe Scrivano
1de4035d49
src/ostree/ot-main.c: drop empty newline at end of file
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-04-03 09:57:20 +02:00
Giuseppe Scrivano
12bc9a336a
tests/basic-test.sh: enable repo-noperm test only for non-root user
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-04-03 09:57:20 +02:00
Giuseppe Scrivano
a1a4d15119
build: Drop libattr from the spec file
...
commit 534c4c20c3 already drops its
usage in the code.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-04-02 11:19:51 +02:00
Giuseppe Scrivano
3ffc277bed
bsdiff: change submodule location
...
The cleanup code was merged in the https://github.com/mendsley/bsdiff
repository, so just use it.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-26 23:33:07 +01:00
Giuseppe Scrivano
ccbb10d107
ostree-repo.c: fix typo
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-16 11:34:48 +01:00
Giuseppe Scrivano
3f3096a65c
tests: Add tests for test-ot-tool-util
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-06 18:45:38 +01:00
Giuseppe Scrivano
ab39f59249
src: Drop unused argument "value" from ot_parse_boolean
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-06 18:45:38 +01:00
Giuseppe Scrivano
c70abfd43c
src: Move ot-tool-util from ostree/ to libotutil/
...
These utilities are not actually specific to the ostree commandline.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-06 18:45:38 +01:00
Giuseppe Scrivano
479b5ab4fc
libotutil: remove ot-waitable-queue.
...
The module is not not used anymore. It can be restored from git if
needed again.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-06 18:45:38 +01:00
Giuseppe Scrivano
c1c34c601a
tests: add test for test-ot-opt-utils.
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-06 18:45:38 +01:00
Giuseppe Scrivano
50c69c3392
keyfile-utils: add tests
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-06 18:45:37 +01:00
Giuseppe Scrivano
021c55f430
ot_keyfile_copy_group: return FALSE on invalid inputs
...
The function returns a gboolean, replace g_return_if_fail with
g_return_val_if_fail.
Add similar checks to the other functions.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-06 18:45:37 +01:00
Giuseppe Scrivano
bfd92653c3
ostree-repo-refs: Drop unused function "parse_rev_file".
...
If it will be needed in future, it can be retrieved from the git
history.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-06 18:45:37 +01:00
Giuseppe Scrivano
150048f9b8
src: drop some dead assignments
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-06 18:45:37 +01:00
Giuseppe Scrivano
d414ee5852
tests: add tests for mutable tree.
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-04 17:52:17 -05:00
Giuseppe Scrivano
aeafdfff05
tests: Remove some duplications from Makefile-tests.am
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-03 18:32:24 -05:00
Giuseppe Scrivano
aea173b3f8
tests: enforce ${CMD_PREFIX} on all ostree processes
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-03 18:32:24 -05:00
Giuseppe Scrivano
948327fb67
ostree_repo_static_delta_generate: add new param "verbose"
...
it will be used by the next patch that adds "--generate-static-delta"
to the commit command.
As part of the patch, update the list of supported "params" in the
documentation.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-03 12:16:17 -05:00
Giuseppe Scrivano
9843c4c245
Makefile.dist-packaging: fix make rpm with submodules
...
Makefile.dist-packaging seems to assume to be run under packaging/ as
"make -C packaging -f Makefile.dist-packaging rpm" so ensure the
srcdir is set correctly to point to the parent directory.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-03 12:16:17 -05:00
Giuseppe Scrivano
494d3535e4
Fix "make syntax-check" failures.
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-03 12:16:17 -05:00
Giuseppe Scrivano
9e3a018d85
autogen.sh: replace all $(libbsdiff_srcpath) and $(libglnx_srcpath)
...
The variable could be specified more times on the same line, having
something like:
EXTRA_DIST += ./libglnx/README $(libglnx_srcpath)/COPYING
Now the change ensures that it looks like:
EXTRA_DIST += ./libglnx/README ./libglnx/COPYING
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-03 12:16:17 -05:00
Giuseppe Scrivano
6029f4d820
tests: add test for bsdiff
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-03 12:16:17 -05:00
Giuseppe Scrivano
439e1c1b97
static-delta: increase threshold for rollsum to 50%
...
It favours bsdiff usage for files that are not very rollsum friendly.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-03 12:16:17 -05:00
Giuseppe Scrivano
3f3bb8e37d
Add bsdiff support to deltas
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-03 12:16:17 -05:00
Giuseppe Scrivano
a705d9cf29
Add bsdiff submodule
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-03-03 12:16:17 -05:00
Giuseppe Scrivano
0a7a70ed67
build: build libbupsplit separately
...
It avoids gobject-introspection warnings:
src/libostree/bupsplit.h:42: Warning: OSTree: symbol='bupsplit_find_ofs': Unknown namespace for symbol 'bupsplit_find_ofs'
src/libostree/bupsplit.h:43: Warning: OSTree: symbol='bupsplit_selftest': Unknown namespace for symbol 'bupsplit_selftest'
src/libostree/bupsplit.h:33: Warning: OSTree: symbol='BUP_BLOBBITS': Unknown namespace for symbol 'BUP_BLOBBITS'
src/libostree/bupsplit.h:34: Warning: OSTree: symbol='BUP_BLOBSIZE': Unknown namespace for symbol 'BUP_BLOBSIZE'
src/libostree/bupsplit.h:35: Warning: OSTree: symbol='BUP_WINDOWBITS': Unknown namespace for symbol 'BUP_WINDOWBITS'
src/libostree/bupsplit.h:36: Warning: OSTree: symbol='BUP_WINDOWSIZE': Unknown namespace for symbol 'BUP_WINDOWSIZE'
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-02-23 17:07:13 -05:00
Giuseppe Scrivano
22af1d9633
ostree-repo-static-delta-processing: initialize "modev"
...
Can be gs_unref_variant'ed on an early error.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-02-23 16:41:42 -05:00
Giuseppe Scrivano
52822efd32
Fix GObject introspection annotation
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-02-23 16:41:42 -05:00
Giuseppe Scrivano
50cd3e971a
ostree-repo-traverse.c: Fix documentation parameter name
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-02-23 16:41:42 -05:00
Giuseppe Scrivano
ef53e0100b
tests: do not run tests/test-rollsum as part of make check
...
it is not really a unit test.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
Conflicts:
Makefile-tests.am
2015-02-21 17:19:20 -05:00
Giuseppe Scrivano
cfc344fbb0
tests: Add tests for ot-unix-utils
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-02-02 17:42:41 +01:00
Giuseppe Scrivano
a7b362998d
configure.ac: Enable option subdir-objects for automake
...
It silences an automake warning and keep the rootdir cleaner.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-02-02 17:15:35 +01:00
Giuseppe Scrivano
53122dd2f9
tests: Move test-varint and test-rollsum under "make check"
...
"make check" tests are always enabled and they do not require to be
installed.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-02-02 17:14:52 +01:00
Giuseppe Scrivano
6a3959c895
syntax-check: Remove empty lines at the end of file
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-02-02 15:07:56 +01:00
Giuseppe Scrivano
27a45e2edb
pull: use a single per-transaction syncfs instead of fsync
...
Do not write directly to objects/ but maintain pulled files under tmp/
with a "tmpobject-$CHECKSUM.$OBJTYPE" name until they are syncfs'ed to
disk.
Move them under objects/ at ostree_repo_commit_transaction cleanup
time.
Before (test done on a local network):
$ LANG=C sudo time ./ostree --repo=repo pull origin master
0 metadata, 3 content objects fetched; 83820 KiB; 4 delta parts
fetched, transferred in 417 seconds
16.42user 6.73system 6:57.19elapsed 5%CPU (0avgtext+0avgdata
248428maxresident)k
24inputs+794472outputs (0major+233968minor)pagefaults 0swaps
After:
$ LANG=C sudo time ./ostree --repo=repo pull origin master
0 metadata, 3 content objects fetched; 83820 KiB; 4 delta parts
fetched, transferred in 9 seconds
14.70user 2.87system 0:09.99elapsed 175%CPU (0avgtext+0avgdata
256168maxresident)k
0inputs+794472outputs (0major+164333minor)pagefaults 0swaps
https://bugzilla.gnome.org/show_bug.cgi?id=728065
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-01-30 14:03:42 -05:00
Giuseppe Scrivano
10642cd732
Replace "==" with "=" in shell script test
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-01-30 15:27:36 +01:00
Giuseppe Scrivano
505ce19972
Do not interleave spaces and tabs
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-01-30 15:27:36 +01:00
Giuseppe Scrivano
e8cbd4b8c5
Remove magic argument numbers to exit(2)
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-01-30 15:27:36 +01:00
Giuseppe Scrivano
ea4683ba06
Remove unused <dirent.h>
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-01-30 15:27:36 +01:00
Giuseppe Scrivano
7154193ae0
Remove unused include <assert.h>
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-01-30 15:27:36 +01:00
Giuseppe Scrivano
e36d3bb25e
syntax-check: quote the first argument to AC_DEFINE
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-01-30 15:27:36 +01:00
Giuseppe Scrivano
b726796f41
Remove trailing dot from error message
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-01-30 15:27:36 +01:00
Giuseppe Scrivano
42e8cd2691
Add infrastructure for "make syntax-check"
...
New files copied from the gnulib project.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-01-30 15:27:36 +01:00
Giuseppe Scrivano
bb5d7bcf3a
Fix repeated words.
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-01-30 15:27:36 +01:00
Giuseppe Scrivano
7ebf7676cb
Fix make distcheck
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-01-30 15:27:36 +01:00
Giuseppe Scrivano
4991e9ab6a
static-delta: limit the number of writes in process to 1
...
This will avoid too many open files at the same time that could cause
an EMFILE error.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
(cherry picked from commit bc092b06f0e34e93f7d6102957bf55fd7ffd1b9e)
2015-01-20 09:51:02 -05:00
Giuseppe Scrivano
ce957f8649
editor: honor arguments environment variable
...
My EDITOR looks like "EDITOR=emacs -nw", ensure that it is honored.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-01-16 09:21:30 -05:00
Giuseppe Scrivano
f2ae405f9f
static-delta: do not accept both --from=REV and --empty for generate
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2015-01-15 22:54:56 -05:00
Giuseppe Scrivano
6e60c05d2f
Remove unused variable warning
2014-12-18 12:48:47 +01:00
Giuseppe Scrivano
ed2b56a430
fix --help for static-delta
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-12-18 12:48:47 +01:00
Giuseppe Scrivano
a23b3b332e
Revert "ostree-repo-pull: Remove currently #if 0 static delta code"
...
This reverts commit 1c2e20af25 .
2014-12-18 12:48:47 +01:00
Giuseppe Scrivano
f699153f67
ostree-fetcher: move more logic into ostree_fetcher_request_uri_internal
...
Make _ostree_fetcher_request_uri_with_partial_async and
ostree_fetcher_stream_uri_async simple wrapper around the same
function, all the requests are created in the same place now.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-11-12 21:20:28 -05:00
Giuseppe Scrivano
a5491f98cb
ostree-fetcher: make _ostree_fetcher_stream_uri_sync private
...
Rename _ostree_fetcher_contents_membuf_sync to
ostree_fetcher_request_uri_to_membuf and drop unused argument
user_data.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-11-12 21:20:28 -05:00
Giuseppe Scrivano
c2bc99bc16
ostree-fetcher: Remove _ostree_fetcher_request_uri_to_stream function
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-11-12 21:20:28 -05:00
Giuseppe Scrivano
5546c4d2fc
ostree-metalink: use _ostree_fetcher_contents_membuf_sync
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-11-12 21:20:28 -05:00
Giuseppe Scrivano
d48aca5645
ostree-fetcher: add max_size argument to change _ostree_metalink_request_sync
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-11-12 21:20:28 -05:00
Giuseppe Scrivano
a4a4921d3f
ostree-fetcher: remove two unused functions
...
_ostree_fetcher_query_state_text() and_ostree_fetcher_get_n_requests()
have no callers, so remove them.
If they will be needed, they can be easily copied back from the git
history.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-11-12 21:20:28 -05:00
Giuseppe Scrivano
c832e9b751
metalink: have a single entry to the metalink module
...
Replace _ostree_metalink_request_async with a synchronous version.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-11-12 21:20:28 -05:00
Giuseppe Scrivano
d5d73debd8
ostree_fetcher: new function _ostree_fetcher_contents_membuf_sync
...
Move code from ostree-repo-pull.c
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-11-12 21:20:28 -05:00
Giuseppe Scrivano
bbd3fd7a22
tests: fix intermittent failure for test-sysroot
...
libtestExec doesn't run twice the same process now.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-11-10 19:48:45 +01:00
Giuseppe Scrivano
1c2e20af25
ostree-repo-pull: Remove currently #if 0 static delta code
...
We can readd this in the static deltas work.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-11-06 18:48:29 -05:00
Giuseppe Scrivano
0a7c1851d9
diff: Use gs_unref_object not gs_free on a GFile
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-10-30 12:17:32 -04:00
Giuseppe Scrivano
cb053ae0f6
pull: Fix a used before initialization warning
...
src/libostree/ostree-repo-pull.c:1676:22: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-10-30 12:16:59 -04:00
Giuseppe Scrivano
65c0594011
ostree-repo-pull: Fix inverted assert condition for maxdepth
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-10-30 11:46:02 -04:00
Giuseppe Scrivano
7973a58607
checkout: permit checkout of a single file
...
fixes a coredump when using a command like:
$ ostree --repo=repo checkout -U --subpath=/usr/lib/passwd \
fedora-atomic/rawhide/x86_64/docker-host usrlib-new
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-10-24 11:18:45 -04:00
Giuseppe Scrivano
49de180191
corrupt-repo-ref.js: more aggressive file corruption
...
changing only a byte may not generate a corrupted file, so play very
safe and change 10 bytes.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-10-22 20:02:06 +02:00
Giuseppe Scrivano
0785c398b0
fsck: report the correct error when a present file cannot be loaded
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-10-22 18:06:29 +02:00
Giuseppe Scrivano
c4b7717076
tests: test-admin-deploy-switch doesn't use deprecated "current" symlink
...
commit dfeb27eca5 removed it, so change
the test to not use it.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-10-21 16:18:30 -04:00
Giuseppe Scrivano
22a82341b1
tests: fix --help test
...
Check for "Usage" only in the root command, builtins may not output
it.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-10-21 16:18:30 -04:00
Giuseppe Scrivano
26bdfae5bc
make ostree_cmd__private__ ret value const
2014-10-21 16:18:30 -04:00
Giuseppe Scrivano
92c5a9f992
http: set the HTTP status on directory listing
...
Fix a HTTP response header like the following:
HTTP/1.1 0 (null)
Server: ostree-httpd libsoup/2.48.0
Date: Tue, 07 Oct 2014 11:19:22 GMT
Content-Type: text/html
Content-Length: 12533
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-10-07 13:19:36 +02:00
Giuseppe Scrivano
7b0e70b72f
tests: do not leave running httpd after tests exit
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-10-07 12:05:59 +02:00
Giuseppe Scrivano
68b37dc001
libostree: fix a gobject-introspection warning
...
src/libostree/ostree-repo.c:1759: Warning: OSTree:
ostree_repo_import_object_from: unknown parameter 'checksum' in
documentation comment, should be 'sha256'
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-10-06 19:03:34 +02:00