Commit Graph

2552 Commits

Author SHA1 Message Date
Jeremy Bicha 5fc1ce096f fix debian/watch 2016-06-16 08:17:57 -04:00
Simon McVittie 84d8a067b0 Apply patches from upstream to make ostree buildable on Debian jessie 2016-06-15 14:20:04 -04:00
Simon McVittie d9f69cfbb3 2016.5-4 2016-06-14 15:35:49 -04:00
Simon McVittie afd211f17e Add another bug reference 2016-06-14 15:32:19 -04:00
Simon McVittie 756a435af8 Add a patch to link libreaddir-rand to libdl
This should fix test failures on Ubuntu (Closes: #826857)
2016-06-14 15:29:23 -04:00
Simon McVittie f4fd8ee1e8 Mark some patches as merged upstream 2016-06-14 15:26:49 -04:00
Simon McVittie 4b9792d860 If build-time tests fail, try 4 more times
To get an idea of whether the failure is reproducible.
2016-06-12 13:15:34 -04:00
Simon McVittie 3691da8fbf debian/test.sh: factor out our dh_auto_test wrapper
Clean up any stray processes even if the test fails.

Signed-off-by: Simon McVittie <smcv@debian.org>
2016-06-12 09:49:25 -04:00
Simon McVittie 97502c57f0 Build-depend on procps, used to check for leaked processes 2016-06-12 09:45:52 -04:00
Simon McVittie b75cc5f54a Add patches to make sure the tests fail as soon as something goes wrong 2016-06-11 19:54:30 +01:00
Simon McVittie 01fe808189 Upload to unstable. 2016-06-08 21:05:03 +01:00
Simon McVittie 5e30fe4bb9 Remove ostree-grub2 and the boot-related parts of ostree
This leaves behind the library and the command-line tool, which are
also used by Flatpak. When we have documentation for how to use and test
OSTree deployments with a Debian derivative (see #824649), they should
be reinstated in an ostree-boot package (see #824650).
2016-06-08 21:04:59 +01:00
Simon McVittie ee90e82492 Rename ostree-grub2 to ostree-boot. Move all initramfs and bootloader integration there. (Closes: #824650) 2016-06-08 11:58:46 +01:00
Simon McVittie 2c1dc4dac4 Add a patch to skip the test-parent test if /var/tmp doesn't support user xattrs, hopefully fixing FTBFS on x86-csail-02 buildd 2016-04-25 12:51:45 +01:00
Simon McVittie a1bdb2d2b2 2016.5-1 2016-04-25 07:46:24 +01:00
Simon McVittie 9bb7e4f6d0 Standards-version: 3.9.8 (no changes needed) 2016-04-25 07:46:12 +01:00
Simon McVittie 8a3cd692ad Mark patch as applied upstream 2016-04-25 07:33:46 +01:00
Simon McVittie 099acab9d7 Add a patch to put more information in the log if tests fail, in an attempt to debug a failure in test/pull-resume.sh which I can no longer reproduce 2016-04-17 09:59:23 +01:00
Simon McVittie 6aaf72e743 Work around #821235 to avoid undefined macro 'AQ' in some man pages 2016-04-17 09:40:21 +01:00
Simon McVittie 7d3139cd7a Widen regex for killing stray gpg-agent processes 2016-04-16 23:07:31 +01:00
Simon McVittie f4ceaed578 Update symbols file for 2016.5 2016-04-16 23:04:37 +01:00
Simon McVittie 952b9bb285 Build-depend on elfutils, for test-abi.sh 2016-04-16 22:37:01 +01:00
Simon McVittie e9f6069e84 Drop patches from 2016.4, applied upstream 2016-04-16 22:30:33 +01:00
Simon McVittie 8500761c13 debian/rules: use Debian's grub2-mkconfig path 2016-04-16 22:25:30 +01:00
Simon McVittie 33bad6d00b debian/copyright: update for 2016.5 2016-04-16 22:25:02 +01:00
Simon McVittie b72c8f4b4a New(er) upstream release 2016-04-16 22:24:26 +01:00
Simon McVittie fa16aa8401 Merge tag 'upstream/2016.5' into debian/master
Upstream version 2016.5
2016-04-16 22:22:20 +01:00
Simon McVittie a7b5654e44 Imported Upstream version 2016.5 2016-04-16 22:22:18 +01:00
Colin Walters bfa23bdc1f Release 2016.5
Closes: #261
Approved by: cgwalters
2016-04-15 15:09:31 +00:00
Alexander Larsson b4b26907c8 static-delta: Initialize read_source_fd to -1
If not, we'll get ESPIPE when seeking on fd 0.

Closes: #260
Approved by: cgwalters
2016-04-15 11:56:06 +00:00
Alexander Larsson a08b7765b7 static-delta: Put temp files in /var/tmp
We may not have write permissions in the current directory.

Closes: #259
Approved by: cgwalters
2016-04-14 20:49:32 +00:00
Colin Walters f3796a4458 refs: Add g_prefix_error around opendir for easier debugging
Addresses:
  https://github.com/projectatomic/rpm-ostree/issues/264

We should consider moving this down into `glnx_opendirat`, but for now
a quick fix.

Closes: #255
Approved by: jlebon
2016-04-14 18:25:10 +00:00
Alexander Larsson 7ac8b0442c Look for $remotename.trustedkeys.gpg in remotes.d dir
This is a nice way to add gpg keys for system configured remotes
without making them globally trusted.

Closes: #247
Approved by: cgwalters
2016-04-14 16:21:01 +00:00
Alexander Larsson c86e4f0c90 Add remotes-config-dir to OstreeRepo
This allows you to replace the default
$sysroot/$sysconfdir/ostree/repos.d string value, and to use a similar
feature for repos that are not the system repo.

In particular, this allows us to support /etc/xdg-app/remotes.d for
xdg-app.

Closes: #247
Approved by: cgwalters
2016-04-14 16:21:01 +00:00
Colin Walters d9a334950b man: Elaborate on per-remote GPG
Closes: #258
Approved by: alexlarsson
2016-04-14 16:05:52 +00:00
Alexander Larsson 9e7e594907 Add OstreeRepo option for an out-of-band cache dir
This allows you to have a writable cache dir even for a system-owned
repository.

Closes: #250
Approved by: cgwalters
2016-04-14 15:55:08 +00:00
Alexander Larsson b787fce612 Add cache_dir_fd to OstreeRepo
This will allow us later to easily swap out the cache dir.

Closes: #250
Approved by: cgwalters
2016-04-14 15:55:08 +00:00
Alexander Larsson 77ea287cd2 commit: Fix crash if dfd_iter is NULL
in write_directory_content_to_mtree_internal dfd_iter can be NULL,
for instance if commiting from --tree=ref=FOO. Don't blindly de-ref
it to avoid crashing.

Closes: #256
Approved by: cgwalters
2016-04-13 19:37:06 +00:00
Alexander Larsson 6a57d0a2f0 fetcher: Initialize output_stream_set_lock mutex
ostree pull-local crashed for me in thread_closure_unref () doing:
    g_mutex_clear (&thread_closure->output_stream_set_lock);

Seems like we never initialize this mutex.

Closes: #254
Approved by: cgwalters
2016-04-13 14:11:46 +00:00
Gatis Paeglis 80c68ba7f0 Fix AS_HELP_STRING for builtin grub2 mkconfig
Closes: #253
Approved by: giuseppe
2016-04-12 11:22:50 +00:00
Colin Walters 581a643e17 build: Move grub2-15_ostree back to pkglibexecdir
It's not quite namespaced enough to have
`/usr/libexec/grub2-15_ostree`, and the Fedora spec file expects
things in `/usr/libexec/ostree`.  Changing the spec file would be
annoying as we'd need conditionals.

Closes: #249
Approved by: gatispaeglis
2016-04-11 14:30:22 +00:00
Colin Walters 594162f16a pull: More consistently use remote_repo_local for local repos
I think it's cleaner if we use `remote_repo_local` to know
that we have a local repo.  In reality, it might be nicest
if we didn't even create an `OstreeFetcher` for this case,
but untangling the code is tricky.

Closes: #239
Approved by: alexlarsson
2016-04-11 13:51:50 +00:00
Jonathan Lebon b69fd11487 ostree-repo-pull: always initialize flags_i
Otherwise we get undefined behaviour if the client didn't explicitly set
any flags.

Also, add documentation for all the other options supported by
ostree_repo_pull_with_options().

Closes: #252
Approved by: cgwalters
2016-04-11 13:31:20 +00:00
Alexander Larsson e62beae695 Fix the symbol versions for ostree_repo_get_remote_*option
These were accidentally added to 2016.4 instead of 2016.5

Closes: #251
Approved by: cgwalters
2016-04-11 13:07:07 +00:00
Jonathan Lebon 41661e47e1 small cleanups
- Revert 'cannot' --> 'can not' (it's the exception!)
- Remove duplicate function
- Squelch compiler warnings

Closes: #248
Approved by: cgwalters
2016-04-08 18:43:18 +00:00
Alexander Larsson ddda8e5b8b Add support for ostree static-delta delete
Closes: #245
Approved by: giuseppe
2016-04-08 13:42:43 +00:00
Giuseppe Scrivano 8ff9a48ce3 cfg.mk: ignore syntax-check for git.mk
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

Closes: #246
Approved by: cgwalters
2016-04-08 13:32:41 +00:00
Alexander Larsson 6aa447a917 Add test case for inheriting remote options
Closes: #236
Approved by: cgwalters
2016-04-07 20:02:46 +00:00
Alexander Larsson d7181f22a6 Inherit remotes and remote options from parent repo
Closes: #236
Approved by: cgwalters
2016-04-07 20:02:46 +00:00
Alexander Larsson 37382590dc Export ostree_repo_get_remote_option* functions
These are useful for ostree users (like xdg-app) that have custom
options for remotes. In particular they are useful when we later make them
all respect self->parent_repo.

Closes: #236
Approved by: cgwalters
2016-04-07 20:02:46 +00:00