Package: ostree / 2016.15-5

Metadata

Package Version Patches format
ostree 2016.15-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Fix TAP syntax in test basic user.sh and run it.patch | (download)

Makefile-tests.am | 2 1 + 1 - 0 !
tests/test-basic-user.sh | 3 0 + 3 - 0 !
2 files changed, 1 insertion(+), 4 deletions(-)

 fix tap syntax in test-basic-user.sh, and run it

In its initial commit, Alexander Larsson wrote

    This works standalone, but unfortunately it breaks in
    gnome-desktop-testing-runner as /tmp doesn't support
    xattrs, so it is not installed atm.

but we now (a) use /var/tmp, and (b) explicitly skip the test if
xattr support is unavailable. So it should be OK to run now.

Sourced test snippets remove shebang and make non executa.patch | (download)

tests/admin-test.sh | 3 2 + 1 - 0 !
tests/archive-test.sh | 4 2 + 2 - 0 !
tests/basic-test.sh | 4 2 + 2 - 0 !
tests/pull-test.sh | 4 2 + 2 - 0 !
4 files changed, 8 insertions(+), 7 deletions(-)

 sourced test snippets: remove shebang and make non-executable

They are installed non-executable, which makes Debian's Lintian
packaging consistency check complain that #! is only useful
in executable scripts. But in fact they are not useful to execute
directly (they rely on setup being done in the script that sources
them), so just chmod them -x.

Make corrupt repo ref.js executable.patch | (download)

Makefile-tests.am | 8 5 + 3 - 0 !
1 file changed, 5 insertions(+), 3 deletions(-)

 make corrupt-repo-ref.js executable

Debian's Lintian packaging consistency check complains that it isn't
executable but has a #! line. In fact it's reasonable to run this
script directly, so make it executable, and put it in a _scripts
variable so it will be installed executable.

pull Rework delta superblock fetches to be async.patch | (download)

src/libostree/ostree-fetcher.c | 124 98 + 26 - 0 !
src/libostree/ostree-fetcher.h | 15 15 + 0 - 0 !
src/libostree/ostree-repo-pull.c | 218 120 + 98 - 0 !
3 files changed, 233 insertions(+), 124 deletions(-)

 pull: rework delta superblock fetches to be async

For the pending libcurl port, the backend is a bit more
sensitive to the main context setup.  The delta superblock
fetch here is a synchronous request in the section that's
supposed to be async.

Now, libsoup definitely supports mixing sync and async requests, but it wasn't
hard to help the libcurl port here by making this one async. Now fetchers are
either sync or async.

Closes: #636
Approved by: jlebon

(cherry picked from commit d9f43cd2fbbd48b34c06552205eaf27eed1e1ae0)

[smcv: backport onto 2016.15 by also backporting parts of commits
af56004 "fetcher: Hoist core "mirrored request" API to public",
21aca3f "fetcher: Split lowlevel API into file/membuf variants"]