Commit Graph
100 Commits
Author SHA1 Message Date
Simon McVittie dd53e8d750 Import various post-release fixes from upstream 2016-11-29 01:22:24 +00:00
Simon McVittie 7a1f6f353d update symbols file for new ABI 2016-11-29 01:17:41 +00:00
Simon McVittie 4d7826f2c8 New upstream release 2016-11-29 01:16:40 +00:00
Simon McVittie 741ac33356 Merge tag 'upstream/2016.14' into debian/master
Upstream version 2016.14
2016-11-29 01:10:36 +00:00
Simon McVittie 90f43fba94 New upstream version 2016.14 2016-11-29 01:10:29 +00:00
Simon McVittie e7b52cea11 Drop the version from versioned build-dependencies where the required version was already present in oldstable 2016-11-24 10:51:30 +00:00
Simon McVittie 95e1ec7d87 Switch the build-dependency on libgpgme11-dev (which no longer exists as a real package) to libgpgme-dev 2016-11-24 10:49:17 +00:00
Simon McVittie b6db024324 2016.13-1 2016-11-20 21:58:17 +00:00
Simon McVittie 9283418205 d/copyright: drop copyright and license stanzas for files that are in upstream git but not in tarballs 2016-11-20 15:51:50 +00:00
Simon McVittie 8b98e195b4 New upstream release
- d/p/dist/Retrieve-some-missing-test-files-from-upstream-git.patch:
    remove, 2016.13 was released with a fixed "make dist"
  - d/p/Filter-bootloader-supplied-kernel-cmdline-options.patch:
    remove, merged upstream
2016-11-20 15:49:12 +00:00
Simon McVittie e1d62b681e Merge tag 'upstream/2016.13' into debian/master
Upstream version 2016.13
2016-11-20 15:41:41 +00:00
Simon McVittie d02ef65cdc New upstream version 2016.13 2016-11-20 15:41:33 +00:00
Simon McVittie 8ae03d6497 load_metadata_internal: don't leak GBytes
Found by valgrind memcheck. g_variant_new_from_bytes takes a ref to the
bytes, so we need to release the original ref.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #556
Approved by: cgwalters
2016-10-30 22:11:15 +00:00
Simon McVittie 24af123c53 Fix some leaks of floating GVariants
ostree_repo_pull_with_options() and ostree_repo_remote_change() don't
sink floating GVariant arguments, and doing so now would be an
ABI change; so don't rely on them to do so.

Leak found with valgrind memcheck.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #556
Approved by: cgwalters
2016-10-30 22:11:15 +00:00
Simon McVittie 53f1fabfbe ot_remote_builtin_show_url: autofree context
Leak found with valgrind memcheck.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #556
Approved by: cgwalters
2016-10-30 22:11:15 +00:00
Simon McVittie 1fc2a1202e ostree_repo_pull_with_options: clear dirs array
Leak found with valgrind memcheck.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #556
Approved by: cgwalters
2016-10-30 22:11:15 +00:00
Simon McVittie 4739709742 keyfile_set_from_vardict: free the string array
g_variant_get_strv is (transfer container): the caller is expected to
free the array, but not the individual strings.

Leak found with valgrind memcheck.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #556
Approved by: cgwalters
2016-10-30 22:11:15 +00:00
Simon McVittie c8a6b037ef _ostree_sysroot_write_deployments_internal: stop leaking hash table
It appears the result of assign_bootserials() is never actually used,
but I haven't changed it to return void right now.

Leak found with valgrind memcheck.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #556
Approved by: cgwalters
2016-10-30 22:11:15 +00:00
Simon McVittie ff28ac4a30 ostree_sysroot_upgrader_finalize: free new_revision
Leak found with valgrind memcheck.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #556
Approved by: cgwalters
2016-10-30 22:11:15 +00:00
Simon McVittie 4c32344b8e ostree_admin_option_context_parse: explicitly clean up when exiting early
The cleanup attribute doesn't clean up before calling a noreturn
function like exit(). Explicitly clean up the pointer variables
(but don't assume that a simple g_object_unref() would be OK either,
in case the behaviour of the cleanup attribute changes).

This isn't a real leak since we're about to exit anyway, but if we
don't fix it then valgrind memcheck will make the tests fail.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #559
Approved by: cgwalters
2016-10-30 21:37:38 +00:00
Simon McVittie 213d5013ce ostree_builtin_pull: consistently set free-function on refs_to_fetch
We are relying on the GPtrArray to free its contents, but we only
give it a free-function on one code path.

Found by valgrind memcheck.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #559
Approved by: cgwalters
2016-10-30 21:37:38 +00:00
Simon McVittie 22ed96d23c ot_admin_builtin_set_origin: don't leak options GVariant
Found by valgrind memcheck.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #559
Approved by: cgwalters
2016-10-30 21:37:38 +00:00
Simon McVittie e757f736e7 _ostree_kernel_args_replace_take: don't leak when replacing
If !existed, then we add arg to kargs->order, where it will be freed
by that array's free-function. However, if the kernel argument did
already exist, we have to either free arg ourselves (and make sure
the old key is what appears in the hash table), or do a linear search
on kargs->order to replace the old key with the new.

Leak found by valgrind memcheck.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #559
Approved by: cgwalters
2016-10-30 21:37:37 +00:00
Simon McVittie a0e7d411c1 Distribute valgrind suppressions in tarballs
Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #557
Approved by: cgwalters
2016-10-29 18:41:56 +00:00
Simon McVittie 4eb55a687d Distribute test scripts even if we wouldn't run them
This fixes a "make dist" tarball produced on a minimal system and run on a
non-minimal system. Automake knows that files that are only conditionally
included in dist_whatever_WHATEVER are to be distributed, but it does not
do the same for files that are only conditionally included in EXTRA_DIST,
which is how glib-tap.mk's various variables like dist_test_scripts work.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #557
Approved by: cgwalters
2016-10-29 18:41:56 +00:00
Simon McVittie 7091d288f7 Force C.UTF-8 or C locale for tests
Otherwise several tests fail, for example in this build done in a French
locale by Debian's reproducible builds initiative, to check whether
the resulting binaries are identical to what was produced in an
English locale:

<https://tests.reproducible-builds.org/debian/logs/unstable/amd64/ostree_2016.11-1.build2.log.gz>

(test-basic)
# error: Cannot write to repository: Permission non accordée
...
File 'error-message' doesn't match regexp 'Permission denied'

(test-help)
# Utilisation :
#   ostree [OPTION...] COMMAND
...
File 'out' doesn't match regexp '[Uu]sage'

(test-pull-metalink)
# error: Erreur à la ligne 1, caractère 1 : Le document doit commencer avec un élément (par ex. <book>)
...
File 'err.txt' doesn't match regexp 'Document must begin with an element'

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #558
Approved by: cgwalters
2016-10-29 18:12:42 +00:00
Simon McVittie b9dd03b680 2016.12-1 2016-10-26 19:11:27 +01:00
Simon McVittie 17e240ebb8 Build-depend on ca-certificates. glib-networking now generates warnings if those are missing, causing the build-time tests to fail. 2016-10-26 00:31:10 +01:00
Simon McVittie 52186325bc New upstream release 2016-10-26 00:07:14 +01:00
Simon McVittie bc870baa58 Merge tag 'upstream/2016.12' into debian/master
Upstream version 2016.12
2016-10-25 22:29:03 +01:00
Simon McVittie e011f1a1a1 New upstream version 2016.12 2016-10-25 22:28:55 +01:00
Simon McVittie 15be1f569a Force LC_ALL=C.UTF-8 during build
So that builds in non-English locales can pass their build-time tests.
2016-10-08 15:38:11 +01:00
Simon McVittie 3a097b18fc 2016.11-1 2016-10-07 23:39:12 +01:00
Simon McVittie e80d02f1f5 Fetch missing test files from upstream git
- debian/rules: make the missing scripts executable
2016-10-07 23:39:03 +01:00
Simon McVittie c8048cce30 Move to debhelper compat level 10
- stop using dh --parallel, it's the default now
  - don't use autoreconf and systemd addons explicitly, they are
    the default now
2016-10-07 22:16:17 +01:00
Simon McVittie e2cd2759a0 New upstream release 2016-10-07 22:12:18 +01:00
Simon McVittie a72b28bd32 Merge tag 'upstream/2016.11' into debian/master
Upstream version 2016.11
2016-10-07 21:52:26 +01:00
Simon McVittie f04805f646 New upstream version 2016.11 2016-10-07 21:52:21 +01:00
Simon McVittie 2eae12220e Fix spelling of "repository"
Detected by Debian's Lintian tool.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #519
Approved by: cgwalters
2016-10-01 18:50:41 +00:00
Simon McVittie b4aa279db3 debian/copyright: remove now-unused GPL-2+ license 2016-10-01 16:06:18 +01:00
Simon McVittie c800f12250 libostree-dev: stop depending on ostree
It isn't necessary to use the library, and would break multiarch
installability.
2016-09-30 22:42:02 +01:00
Simon McVittie a413cd0c28 Install GObject-Introspection typelibs to multiarch path, and mark gir1.2-ostree-1.0 as Multi-Arch: same 2016-09-30 22:38:41 +01:00
Simon McVittie 0229850943 Relicense debian/ from GPL-2+ to LGPL-2+, with permission from David King 2016-09-21 21:58:57 +01:00
Simon McVittie d7132eda03 2016.10-1 2016-09-15 08:27:07 +01:00
Simon McVittie 9b8038c28c Make libostree-doc Multi-Arch: foreign 2016-09-14 23:32:59 +01:00
Simon McVittie 3cbb901ce4 Make libostree-dev Multi-Arch: same 2016-09-14 23:32:27 +01:00
Simon McVittie c3e29fcf3b New upstream release 2016-09-09 16:57:59 +01:00
Simon McVittie b9c0804186 Merge tag 'upstream/2016.10' into debian/master
Upstream version 2016.10
2016-09-09 16:56:47 +01:00
Simon McVittie 9732c6c712 New upstream version 2016.10 2016-09-09 16:56:45 +01:00
Simon McVittie b83b3d05ee Terminate individual tests after 30 minutes
This is an attempt to debug what happened on the ppc64el buildd.
2016-09-09 08:25:07 +01:00
Simon McVittie 05a9a7e9d4 2016.9-1 2016-09-06 09:59:08 +01:00
Simon McVittie 54cca3dbd3 Add some more new ABI 2016-09-06 09:52:19 +01:00
Simon McVittie a840448250 d/p/Makefile-tests.am-make-check-uses-the-built-binaries.patch: drop, applied upstream 2016-09-06 09:34:37 +01:00
Simon McVittie 746f509b53 drop libgsystem build-dependency 2016-09-06 09:33:26 +01:00
Simon McVittie a5d90759a7 New upstream version
- update symbols file for new ABI
  - update copyright file
  - update ostree-boot packaging: the utilities in /usr/sbin moved to
    /usr/lib/ostree
2016-09-06 09:32:41 +01:00
Simon McVittie 0922be3ba5 Merge tag 'upstream/2016.9' into debian/master
Upstream version 2016.9
2016-09-06 09:14:31 +01:00
Simon McVittie 9caebfc847 New upstream version 2016.9 2016-09-06 09:14:29 +01:00
Simon McVittie 37c36fe4f7 Merge tag 'upstream/2016.8' into debian/master
Upstream version 2016.8
2016-09-06 09:02:00 +01:00
Simon McVittie ba02f3eb2f New upstream version 2016.8 2016-09-06 09:01:54 +01:00
Simon McVittie b76381eed1 Explicitly build-depend on xsltproc, which is directly used 2016-08-12 10:30:20 +01:00
Simon McVittie 46e118ee84 travis: run the test suite on various distributions
.travis.yml is obviously still Travis-specific, but tests/ci-* are
designed to be shareable with other CI environments if there is interest
in doing so.

At the moment I'm only testing on Debian and Ubuntu. In principle we
could try a non-Debian-derived Docker container such as Fedora or CentOS
inside travis-ci's Ubuntu environment, similar to what I'm doing
for Debian, but I don't know the correct setup commands to use there.

Closes: #438
Approved by: cgwalters
2016-08-05 23:58:19 +00:00
Simon McVittie 0de51bfc45 Skip tests that use whiteouts under Docker/aufs
ostree's naming convention for whiteouts is similar to what is
done in aufs, which means we can't compose the trees to test this
feature under Docker with the aufs storage driver, as used on
travis-ci.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #437
Approved by: cgwalters
2016-08-05 20:32:57 +00:00
Simon McVittie 64e4525793 Update libglnx: Add missing files to libglnx distribution
This fixes distcheck.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #436
Approved by: cgwalters
2016-08-05 19:41:09 +00:00
Simon McVittie 109b2fe020 2016.7-1 2016-07-28 07:41:02 +01:00
Simon McVittie 7de140248e d/control: mention Flatpak, not its former name xdg-app 2016-07-17 09:33:43 +01:00
Simon McVittie 27ad263594 update symbols file for new ABI 2016-07-17 08:56:32 +01:00
Simon McVittie e2b411e934 build-depend on libsystemd (unconditionally, because this package is Linux-specific already) 2016-07-17 08:47:41 +01:00
Simon McVittie 134b42ee46 Add patch from upstream to make sure we use the built binaries for build-time testing 2016-07-16 21:16:11 +01:00
Simon McVittie 14a4beba63 New upstream version
- drop all patches, applied upstream
2016-07-16 21:08:02 +01:00
Simon McVittie 902c4c7b0f Merge tag 'upstream/2016.7' into debian/master
Upstream version 2016.7
2016-07-16 21:06:36 +01:00
Simon McVittie 8d0c193392 Imported Upstream version 2016.7 2016-07-16 21:06:34 +01:00
Simon McVittie e8a3585d78 Switch sense of check in debian/test.sh so we really ignore test failures on mipsel, and not on !mipsel. 2016-07-06 15:23:38 +01:00
Simon McVittie eb427ca1a3 2016.6-3 2016-07-06 10:17:56 +01:00
Simon McVittie 85d4d5e1cc Ignore build-time test failures on mipsel
"ostree pull" intermittently fails with a bus error on at least some
mipsel CPUs, and applying gdb to the resulting core dump does not produce
any useful information. Debugging help would be appreciated. (Mitigates:
#827473)
2016-07-04 10:06:55 +01:00
Simon McVittie 0187b51281 2016.6-2 2016-06-28 09:30:01 +01:00
Simon McVittie 7627fd4398 Use the GitHub repository as the Homepage and Source
The GNOME wiki page is less frequently updated.
2016-06-28 09:29:50 +01:00
Simon McVittie 65fccc367c Add patch from upstream fixing FTBFS on host machines without root= in /proc/cmdline
The reproducible builds armhf workers are one example.
2016-06-28 09:27:09 +01:00
Simon McVittie 0ed9f520da tests: fail the build if symlinking tests/ostree fails
Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #367
Approved by: cgwalters
2016-06-26 21:31:35 +00:00
Simon McVittie ca899ccfd3 tests: use our own generated libtool, not the one in $PATH
libtoolize creates a version of libtool for the right architecture
in $(top_builddir), which is guaranteed to be present, and is
guaranteed to match what we are compiling (even during
cross-compilation).

Packaging systems sometimes separate /usr/bin/libtool, which is
specific to one architecture, from the libtool development files
such as libtoolize and ltmain.sh, which are architecture-independent.
For example, in Debian, libtool_*_all.deb contains the files necessary
to libtoolize a package and is depended on by the dh-autoreconf package,
but libtool-bin_*_amd64.deb (or whatever architecture) contains
/usr/bin/libtool and is not normally necessary to depend on.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #367
Approved by: cgwalters
2016-06-26 21:31:35 +00:00
Simon McVittie f38c33fec8 entry_pathname_test_helper: these tests need extended attributes
Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #366
Approved by: cgwalters
2016-06-26 21:15:36 +00:00
Simon McVittie 3f50f36891 2016.6-1 2016-06-26 20:01:24 +01:00
Simon McVittie bd5bc56b19 d/control: ostree no longer needs its Suggests on dracut
A stronger dependency on dracut will be needed in the ostree-boot package
when the boot integration is reinstated (see #824650).
2016-06-26 19:51:04 +01:00
Simon McVittie 7c91261b3f Close #827473 in changelog 2016-06-26 19:37:55 +01:00
Simon McVittie fbc2340342 Skip more tests if /var/tmp doesn't support extended attributes 2016-06-26 14:29:31 +01:00
Simon McVittie b77f68a4c2 Build-depend on cpio, for the libarchive test 2016-06-26 14:21:34 +01:00
Simon McVittie 577e83f797 add patches to ensure that the build-time tests act on the copy of ostree that we just built 2016-06-26 13:58:19 +01:00
Simon McVittie 035bad982b update symbols file 2016-06-26 13:07:42 +01:00
Simon McVittie 61de6d0c2d d/p/pull-Correctly-handle-repo-parent_repo-when-applying-stat.patch: apply patch from upstream to fix a bug that flatpak currently works around 2016-06-26 12:32:22 +01:00
Simon McVittie 893a021a42 d/p/libostree.sym-Fix-test-symbols.patch: apply patch from upstream to fix a build-time test 2016-06-26 12:27:19 +01:00
Simon McVittie 60433eb024 New upstream release
- drop all patches, included upstream
2016-06-26 12:20:39 +01:00
Simon McVittie 43a793709c d/gbp.conf: configure to merge upstream tags into upstream/latest (add https://github.com/ostreedev/ostree as a remote) 2016-06-26 12:16:58 +01:00
Simon McVittie 20ad748b6d d/gbp.conf: configure to use upstream/latest for upstream imports 2016-06-26 12:16:05 +01:00
Simon McVittie f3738d69e9 Merge branch 'upstream/latest' into debian/master 2016-06-26 12:15:11 +01:00
Simon McVittie 591e32381a Merge tag 'v2016.6' into upstream/latest
Release 2016.6
2016-06-26 12:13:49 +01:00
Simon McVittie 051e7acbe2 Merge tag 'upstream/2016.6' into debian/master
Upstream version 2016.6
2016-06-26 12:12:28 +01:00
Simon McVittie 24762929e2 Imported Upstream version 2016.6 2016-06-26 12:12:26 +01:00
Simon McVittie dcf46b2b5e d/watch: fetch releases from GitHub instead of GNOME 2016-06-26 12:12:09 +01:00
Simon McVittie e3f9319dd0 Changelog for previous commit 2016-06-16 08:19:01 -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