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
Alexander Larsson
91734a8a18
Support pathnames for --subpath=...
...
This allows you to pull a single file, rather than just a directory.
Closes : #244
Approved by: cgwalters
2016-04-07 15:15:39 +00:00
Colin Walters
984bf91826
Use git.mk
...
It's a lot nicer than manually maintaining .gitignore in general.
Closes : #235
Approved by: giuseppe
2016-04-07 12:49:40 +00:00
Giuseppe Scrivano
e81aabba8c
docs: Prefer the form "cannot" to "can not"
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes : #242
Approved by: cgwalters
2016-04-07 12:25:24 +00:00
Giuseppe Scrivano
3152516ab3
Remove empty new lines at the EOF
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes : #242
Approved by: cgwalters
2016-04-07 12:25:24 +00:00
Giuseppe Scrivano
6a091c96ba
contrib: indent golang code using only tabs instead of both tabs and spaces
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes : #242
Approved by: cgwalters
2016-04-07 12:25:24 +00:00
Giuseppe Scrivano
7763c452dd
tests: add missing ${CMD_PREFIX} before ostree
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes : #242
Approved by: cgwalters
2016-04-07 12:25:24 +00:00
Giuseppe Scrivano
039d3f1dbd
tests: add libostreetest.h to EXTRA_DIST
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes : #242
Approved by: cgwalters
2016-04-07 12:25:24 +00:00
Colin Walters
4b1ac83aa6
build: Make tests/libreaddir-rand.so rule use AM_V_GEN
...
So non-verbose builds don't have a verbose rule smack in the middle.
Closes : #241
Approved by: giuseppe
2016-04-07 07:34:12 +00:00
Colin Walters
e9640ca4d9
build: Find grub2-mkconfig a bit more automagically
...
If one happens to not have grub2 installed, the previous commit
would cause us to fall back to `grub-mkconfig` with bad results.
We should likely just do dynamic detection and avoid pain, but
there's no harm in also allowing this to be statically determined.
The automagic here is that if `/etc/os-release` says `ID_LIKE=fedora`,
we know to use `grub2-mkconfig`. But distro scripts should set this
in the build configurations using `--with-grub2-mkconfig=`.
Closes : #240
Approved by: jlebon
2016-04-06 21:16:11 +00:00