ostree.git
8 years agolib/repo-commit: Import detached metadata even if hardlink exists
Philip Withnall [Tue, 3 Oct 2017 14:45:34 +0000 (15:45 +0100)]
lib/repo-commit: Import detached metadata even if hardlink exists

Spotted while reading through the code, it looks like the
copy_detached_metadata() call is accidentally omitted if a hardlink
already exists for the .commit object.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1242
Approved by: cgwalters
Origin: upstream, 2017.13, commit:86e072bdbe48a4f16efb05c00eb79114e5fdbf61

Gbp-Pq: Topic 2017.13
Gbp-Pq: Name lib-repo-commit-Import-detached-metadata-even-if-hardlink.patch

8 years agolib/pull: Fix regression with pull-local for nonexistent refs
Colin Walters [Mon, 2 Oct 2017 15:24:05 +0000 (11:24 -0400)]
lib/pull: Fix regression with pull-local for nonexistent refs

I was reading the pull code for the last release, and spotted
a bug in commit f923c2e1eaebe0c781f07d34ae1a03f94357bccd - in
the case where the ref doesn't exist, we don't set an error,
tripping an assertion in the main code.

The previous code wanted the ref to always exist, so just flip back the boolean
for "ignore noent". I moved the `g_strchomp()` just into the HTTP path - if a
local repo is corrupted in this way it's something to fix in that repo.

Closes: #1238
Approved by: pwithnall
Origin: upstream, 2017.13, commit:b8c15ae859de7a353b99c98c6266ee626cd94e7e

Gbp-Pq: Topic 2017.13
Gbp-Pq: Name lib-pull-Fix-regression-with-pull-local-for-nonexistent-r.patch

8 years agoostree (2017.12-1) unstable; urgency=medium
Simon McVittie [Tue, 3 Oct 2017 21:47:48 +0000 (22:47 +0100)]
ostree (2017.12-1) unstable; urgency=medium

  * New upstream release
    - Drop all current patches, applied upstream
    - Update symbols file
  * Add some post-release bug fix patches
  * Simplify autopkgtest now that test-local-pull seems to be stable
  * Unexport HTTP proxy variables in autopkgtest to work around lack of
    support for no_proxy, which breaks the tests on Ubuntu autopkgtest.
    We don't actually need Internet access, so this is OK.
  * debian/test.sh: Unexport HTTP proxy variables for build-time tests
    too
  * Make build-time test failures fatal if they fail at least twice
    out of 5 tries (previously they had to fail at least 3 times)
  * Add patch to reinstate test-libglnx-shutil.c, which was missed out
    of the upstream tarball

[dgit import unpatched ostree 2017.12-1]

8 years agoImport ostree_2017.12.orig.tar.xz
Simon McVittie [Tue, 3 Oct 2017 21:47:48 +0000 (22:47 +0100)]
Import ostree_2017.12.orig.tar.xz

[dgit import orig ostree_2017.12.orig.tar.xz]

8 years agoImport ostree_2017.12-1.debian.tar.xz
Simon McVittie [Tue, 3 Oct 2017 21:47:48 +0000 (22:47 +0100)]
Import ostree_2017.12-1.debian.tar.xz

[dgit import tarball ostree 2017.12-1 ostree_2017.12-1.debian.tar.xz]