From: Simon McVittie Date: Tue, 29 Aug 2017 17:18:49 +0000 (+0100) Subject: Import ostree_2017.10-1.debian.tar.xz X-Git-Tag: archive/raspbian/2017.12-1+rpi1~1^2^2^2~7^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5acb02fab8e60eccfb4f1445e165b4e134cfecd8;p=ostree.git Import ostree_2017.10-1.debian.tar.xz [dgit import tarball ostree 2017.10-1 ostree_2017.10-1.debian.tar.xz] --- 5acb02fab8e60eccfb4f1445e165b4e134cfecd8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..910c5bde --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +/*.debhelper +/*.substvars +/gir1.2-ostree-1.0/ +/libostree-1-1/ +/libostree-dev/ +/libostree-doc/ +/ostree-grub2/ +/ostree/ diff --git a/changelog b/changelog new file mode 100644 index 00000000..5f43c31e --- /dev/null +++ b/changelog @@ -0,0 +1,481 @@ +ostree (2017.10-1) unstable; urgency=medium + + * New upstream release + - Update symbols file + - Install new bash completions + * Use dh_missing --fail-missing instead of dh_install --fail-missing + * Only run tests when building architecture-dependent packages. + The tests aren't so interesting that we want to run them again + when splitting -arch/-indep builds. + * Add patches to make the tests pass again when /var/tmp is on tmpfs, + which does not support user xattrs + * Add patch to remove useless #! from bash completions + * Make build-time test failures fatal again, but only if they are + reproducible (at least 3 times out of 5) for now + + -- Simon McVittie Tue, 29 Aug 2017 18:18:49 +0100 + +ostree (2017.9-1) unstable; urgency=medium + + * New upstream release + - Drop backported patch + - Update symbols file + * debian/rules: Adjust a comment to avoid Lintian thinking this is a + dh_make template + + -- Simon McVittie Fri, 28 Jul 2017 14:43:30 +0100 + +ostree (2017.8-1) unstable; urgency=medium + + * New upstream release + - Update symbols file + - Remove patches that are no longer needed + - Add patch from upstream PR #1016 to fix a regression + * Add a Breaks on flatpak (<< 0.8.7-2~), which rely on libostree to + download the summary and its signature when mirroring. + libostree >= 2017.7 no longer does this. On affected flatpak versions, + this breaks installation of new apps and runtimes system-wide. + * Add Build-Depends-Indep: libglib2.0-doc so gtk-doc can set up + cross-references + + -- Simon McVittie Wed, 19 Jul 2017 22:18:20 +0100 + +ostree (2017.7-1) unstable; urgency=medium + + * New upstream release + - Update symbols file + - Add post-release patches so test-symbols.sh passes again + - debian/dist/: Add ostree-trivial-httpd.xml, which was incorrectly + excluded from the upstream release + * Standards-Version: 4.0.0 + - Use https URL for copyright-format + * Implement build profile + * Upload to unstable + + -- Simon McVittie Wed, 21 Jun 2017 13:06:54 +0100 + +ostree (2017.6-1) experimental; urgency=medium + + * New upstream release + - Update debian/copyright + - Update disabled ostree-boot packaging for new systemd generator + - Add new ABI to symbols file + * Skip build-time tests when nocheck is in DEB_BUILD_OPTIONS + (Closes: #862803). Thanks to Krzesimir Nowak + + -- Simon McVittie Thu, 25 May 2017 10:01:12 +0100 + +ostree (2017.5-1) experimental; urgency=high + + * New upstream release + - This release fixes a regression in 2017.4 that caused symlinks + in Flatpak apps and runtimes to be checked out as regular files. + Any apps or runtimes that were installed or updated with 2017.4 + will need to be removed and reinstalled. + + -- Simon McVittie Wed, 19 Apr 2017 14:18:16 +0100 + +ostree (2017.4-1) experimental; urgency=medium + + * New upstream release + - d/rules: Explicitly enable trivial-httpd: the tests still need it + - Update symbols file for new ABI + + -- Simon McVittie Mon, 17 Apr 2017 17:19:58 +0100 + +ostree (2017.3-2) experimental; urgency=medium + + * d/ostree.maintscript: Clean up obsolete conffiles from before we + started removing what will eventually become ostree-boot + (see #824650) + * libostree-dev: Add missing dependency on libostree-1-1 + (Closes: #860047) + + -- Simon McVittie Mon, 10 Apr 2017 18:52:26 +0100 + +ostree (2017.3-1) experimental; urgency=medium + + * d/watch, d/copyright: upstream project is now named libostree + * New upstream release + - d/copyright: update + - symbols file: update + - tests, ostree-tests.install: update for new location of tests + - d/control: ostree-tests now needs python-yaml + - build-depend on python, python-yaml for tests + + -- Simon McVittie Thu, 16 Mar 2017 06:58:46 +0000 + +ostree (2017.1-1) experimental; urgency=medium + + * Branch to experimental to avoid interfering with the Debian 9 freeze + * Remove an unintended line in the previous changelog + * New upstream release + - trivial-httpd is now a separate binary. Move it to ostree-tests, + so that it doesn't continue to pull in libsoup if the ostree + downloader is ported to libcurl. + - d/copyright: update + - d/patches: drop all patches, applied upstream + * Explicitly depend on autoconf, automake, libtool. This avoids + builds for experimental non-deterministically pulling in an older + version of automake, in my case automake1.11 which is far too old. + + -- Simon McVittie Fri, 27 Jan 2017 10:23:47 +0000 + +ostree (2016.15-3) unstable; urgency=medium + + * debian/control: Don't run gjs tests on sparc64. gjs doesn't seem + to work there at all (#827815) + - d/ostree-tests.lintian-overrides: silence + missing-dep-for-interpreter error on sparc64, where we install + the script but do not attempt to run it + * debian/tests/gnome-desktop-testing: Skip test-local-pull.sh.test + which suffers from a known bug (#842606) + - debian/tests/test-local-pull: Run the unreliable test separately, + repeated 3 times to assess how often it fails + * d/p/Sourced-test-snippets-remove-shebang-and-make-non-executa.patch, + d/p/Make-corrupt-repo-ref.js-executable.patch: + Fix permissions and #! lines for some tests in the upstream build + system + * d/rules: remove workarounds for script permissions. + The upstream build system now uses the intended permissions throughout. + - Retain explicit chmod for *.js, which dh_fixperms assumes should + not be executable. + * d/p/Fix-TAP-syntax-in-test-basic-user.sh-and-run-it.patch: + Run an additional test, which was previously installed but not run + + -- Simon McVittie Thu, 19 Jan 2017 13:23:32 +0000 + +ostree (2016.15-2) unstable; urgency=medium + + * Make all test failures non-fatal at build time, so that intermittent + test failures do not interfere with possible security updates during + Debian stretch-as-stable. + + -- Simon McVittie Tue, 20 Dec 2016 11:28:41 +0000 + +ostree (2016.15-1) unstable; urgency=medium + + * New upstream release + - d/patches: drop all patches, applied upstream + + -- Simon McVittie Tue, 13 Dec 2016 13:13:44 +0000 + +ostree (2016.14-2) unstable; urgency=medium + + * Make build-time test failures non-fatal, as long as at least + 3 out of 5 attempts succeed. + + There are several upstream bugs that cause intermittent test + failures, and can intermittently be reproduced in real use. + However, these are not regressions, so we should not FTBFS just + because we happen to have been unlucky during build. + + * d/p/Terminate-individual-tests-after-10-minutes.patch: + replace d/p/debian/Terminate-individual-tests-after-half-an-hour.patch + with the version that I sent upstream, which uses SIGABRT and + terminates the tests sooner + * d/p/*.patch: import more memory leak fixes from upstream + + -- Simon McVittie Thu, 01 Dec 2016 12:38:54 +0000 + +ostree (2016.14-1) unstable; urgency=medium + + * Switch the build-dependency on libgpgme11-dev (which no longer exists + as a real package) to libgpgme-dev + * Drop the version from versioned build-dependencies where the required + version was already present in oldstable + * New upstream release + - update symbols file for new ABI + * Import various post-release fixes from upstream + + -- Simon McVittie Tue, 29 Nov 2016 11:05:44 +0000 + +ostree (2016.13-1) unstable; urgency=medium + + * 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 + * d/copyright: drop copyright and license stanzas for files that are + in upstream git but not in tarballs + + -- Simon McVittie Sun, 20 Nov 2016 21:58:11 +0000 + +ostree (2016.12-2) unstable; urgency=medium + + * d/p/Filter-bootloader-supplied-kernel-cmdline-options.patch: + - Filter out kernel command line parameters set by the bootloading when + deriving the configuration from /proc/cmdline. + * Add myself to uploaders + + -- Sjoerd Simons Thu, 03 Nov 2016 15:48:01 -0600 + +ostree (2016.12-1) unstable; urgency=medium + + * Force LC_ALL=C.UTF-8 during build, so that builds in non-English + locales can pass their build-time tests + * New upstream release + * Build-depend on ca-certificates. glib-networking now generates + warnings if those are missing, causing the build-time tests to fail. + + -- Simon McVittie Wed, 26 Oct 2016 19:11:14 +0100 + +ostree (2016.11-1) unstable; urgency=medium + + * New upstream release + * Relicense debian/ from GPL-2+ to LGPL-2+, with permission from + David King + * Install GObject-Introspection typelibs to multiarch path, + and mark gir1.2-ostree-1.0 as Multi-Arch: same + * libostree-dev: stop depending on ostree. It isn't necessary to + use the library, and would break multiarch installability + * 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 + * d/p/dist/Retrieve-some-missing-test-files-from-upstream-git.patch: + fetch missing test files from upstream git + - debian/rules: make the missing scripts executable + + -- Simon McVittie Fri, 07 Oct 2016 23:39:06 +0100 + +ostree (2016.10-1) unstable; urgency=medium + + * New upstream release + * Make libostree-dev Multi-Arch: same + * Make libostree-doc Multi-Arch: foreign + + -- Simon McVittie Thu, 15 Sep 2016 08:26:51 +0100 + +ostree (2016.9-2) unstable; urgency=medium + + * debian/patches/Terminate-individual-tests-after-half-an-hour.patch: + terminate individual tests after 30 minutes, in an attempt to debug + what happened on the ppc64el buildd + + -- Simon McVittie Fri, 09 Sep 2016 08:23:44 +0100 + +ostree (2016.9-1) unstable; urgency=medium + + * 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 + - drop libgsystem build-dependency + - d/p/Makefile-tests.am-make-check-uses-the-built-binaries.patch: + drop, applied upstream + * Explicitly build-depend on xsltproc, which is directly used + + -- Simon McVittie Tue, 06 Sep 2016 09:59:00 +0100 + +ostree (2016.7-1) unstable; urgency=medium + + * New upstream version + - drop all patches, applied upstream + - build-depend on libsystemd (unconditionally, because this package is + Linux-specific already) + - update symbols file for new ABI + * d/p/Makefile-tests.am-make-check-uses-the-built-binaries.patch: + add patch from upstream to make sure we use the built binaries for + build-time testing + * d/control: mention Flatpak, not its former name xdg-app + + -- Simon McVittie Thu, 28 Jul 2016 07:40:27 +0100 + +ostree (2016.6-4) unstable; urgency=medium + + * Switch sense of check in debian/test.sh so we really ignore test + failures on mipsel, and not on !mipsel. + + -- Simon McVittie Wed, 06 Jul 2016 15:23:31 +0100 + +ostree (2016.6-3) unstable; urgency=medium + + * 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) + + -- Simon McVittie Wed, 06 Jul 2016 10:17:43 +0100 + +ostree (2016.6-2) unstable; urgency=medium + + * d/p/tests-Improve-check-for-proc-cmdline-kargs.patch: add patch from + upstream fixing FTBFS on host machines without root= in /proc/cmdline, + such as the reproducible builds armhf workers + * d/control, d/copyright: use the GitHub repository as the Homepage + and Source: the GNOME wiki page is less frequently updated + + -- Simon McVittie Tue, 28 Jun 2016 09:29:53 +0100 + +ostree (2016.6-1) unstable; urgency=medium + + [ Jeremy Bicha ] + * Fix debian/watch (Closes: #827440) + + [ Simon McVittie ] + * New upstream release + - drop all patches, included upstream + - update symbols file + - this version is more careful about thread-safety, which appears + to fix the test failures that caused FTBFS on mipsel + (Closes: #827473) + * d/watch: fetch releases from GitHub instead of GNOME + * d/gbp.conf: configure to use upstream/latest for upstream imports + * d/gbp.conf: configure to merge upstream tags into upstream/latest + (add https://github.com/ostreedev/ostree as a remote) + * d/p/libostree.sym-Fix-test-symbols.patch: apply patch from upstream + to fix a build-time test + * 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 + * d/p/tests-fail-the-build-if-symlinking-tests-ostree-fails.patch, + d/p/tests-use-our-own-generated-libtool-not-the-one-in-PATH.patch: + add patches to ensure that the build-time tests act on the copy + of ostree that we just built + * d/p/entry_pathname_test_helper-these-tests-need-extended-attr.patch: + skip more tests if /var/tmp doesn't support extended attributes + * 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). + + -- Simon McVittie Sun, 26 Jun 2016 19:51:31 +0100 + +ostree (2016.5-4) unstable; urgency=medium + + * d/p/test-sysroot.js-set-strict-mode-when-sourcing-libtest.sh.patch, + d/p/tests-Use-strict-mode-by-default-for-C-tests.patch: add patches + to make sure the tests fail as soon as something goes wrong + * Build-depend on procps, used to check for leaked processes + * debian/test.sh: factor out our dh_auto_test wrapper, and clean + up any stray processes even if the test fails + * If build-time tests fail, try 4 more times to get an idea of + whether the failure is reproducible (hoping to diagnose #826858) + * Add a patch to link libreaddir-rand to libdl, which should fix + test failures on Ubuntu (Closes: #826857) + + -- Simon McVittie Tue, 14 Jun 2016 15:35:18 -0400 + +ostree (2016.5-3) unstable; urgency=medium + + * Remove ostree-grub2 and the boot-related parts of ostree, leaving + 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). + * Upload to unstable. + + -- Simon McVittie Wed, 08 Jun 2016 11:58:01 +0100 + +ostree (2016.5-2) experimental; urgency=medium + + * 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 + + -- Simon McVittie Mon, 25 Apr 2016 12:51:33 +0100 + +ostree (2016.5-1) experimental; urgency=medium + + * New upstream release + - Remove all patches, applied upstream + - debian/libostree-1-1.symbols: update for new versioned symbols + - Build-depend on libmount-dev + - debian/copyright: update + - debian/rules, debian/ostree-tests.install: adjust for new installation + directory for installed-tests + - debian/rules: use Debian's grub2-mkconfig path + * debian/gbp.conf: use DEP-14 branch names; disable numbered patches + * Fix ITP bug number in changelog (was #813308, should have been #697477) + * debian/control: build-depend on attr, for the tests (only required if + /var/tmp supports extended attributes) + * debian/rules: clean up stale gpg-agent processes after testing + * debian/rules: warn if there are leftover daemon processes after testing + * debian/ostree-tests.lintian-overrides: override a couple of false + positives + * Run dh_auto_test with VERBOSE=1, to get logs with older debhelper + * Build-depend on elfutils, for test-abi.sh + * Work around #821235 to avoid undefined macro 'AQ' in some man pages + * 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 + * Standards-version: 3.9.8 (no changes needed) + + -- Simon McVittie Mon, 25 Apr 2016 07:46:16 +0100 + +ostree (2016.3-1) experimental; urgency=medium + + * Prepare package for Debian (Closes: #697477) + * New upstream release + * Remove -dbg package, rely on automatic dbgsym packages instead + * Extend package descriptions a bit + * debian/.gitignore: add + * debian/copyright: fill in all copyright holders and licenses + * debian/control: set Maintainer to the pkg-utopia team, with packaging + in collab-maint git, and myself and Matthias Klumpp as uploaders + * Normalize packaging via `wrap-and-sort -abst` + * debian/control: move shared library to Section: libs + * debian/control: remove redundant Section + * debian/control: change Section to admin + * Remove unnecessary uses of dh-exec + * debian/patches: remove all patches, no longer needed or applied + * Use dh_install --fail-missing to catch mistakes + * Add a symbols file + * Add missing dependency on libglib2.0-dev + * Add an ostree-tests package, and use it for autopkgtest + * Enable systemd helpers, but do not start the early-boot systemd services + on installation + * Don't override dh_auto_clean to nothing + * ostree-grub2: recommend concrete GRUB packages instead of hard-depending + on a transitional package. This is only a Recommends because you + could be using some other architecture's grub packages. + * Redirect libexecdir to /usr/lib (not /usr/lib/${multiarch}) since we don't + need multiarch for anything that's installed there, fixing a broken + symlink in ostree-grub2 + * Document the limited situations in which ostree-grub2 will work in + practice + * Only build on Linux architectures; this package is specifically + not portable + * Add patch to fix underlinking of test-archive + * Add patch to skip one build-time test if /var/tmp cannot support xattrs, + for example if it is on tmpfs + * Stop dh_makeshlibs thinking that the LD_PRELOAD module libreaddir-rand.so + (part of the tests) is meant to be a shared library + * Add a missing #!/bin/sh to one test + + -- Simon McVittie Sat, 19 Mar 2016 17:56:21 +0000 + +ostree (2016.1-alexlarsson1~wily1) wily; urgency=medium + + * New upstream release + + -- Alexander Larsson Thu, 01 Oct 2015 11:28:39 +0200 + +ostree (2015.11-alexlarsson1~vivid1) vivid; urgency=medium + + * New upstream release + + -- Alexander Larsson Thu, 01 Oct 2015 11:28:39 +0200 + +ostree (2015.9-alexlarsson1) vivid; urgency=medium + + * New upstream release + + -- Alexander Larsson Thu, 01 Oct 2015 11:28:39 +0200 + +ostree (2015.4-0amigadave2) trusty; urgency=low + + [ David King ] + * Add build dependency on libattr1-dev. + + -- David King Wed, 08 Apr 2015 13:10:39 +0100 + +ostree (2015.4-0amigadave1) trusty; urgency=low + + [ David King ] + * Initial packaging. + + -- David King Thu, 02 Apr 2015 15:40:52 +0000 diff --git a/compat b/compat new file mode 100644 index 00000000..f599e28b --- /dev/null +++ b/compat @@ -0,0 +1 @@ +10 diff --git a/control b/control new file mode 100644 index 00000000..4e5d5aa0 --- /dev/null +++ b/control @@ -0,0 +1,163 @@ +Source: ostree +Section: admin +Priority: optional +Maintainer: Utopia Maintenance Team +Uploaders: + Matthias Klumpp , + Simon McVittie , + Sjoerd Simons +Build-Depends: + attr, + autoconf, + automake, + bison, + ca-certificates, + cpio, + debhelper (>= 10~), + dh-exec, + docbook-xml , + docbook-xsl , + e2fslibs-dev, + elfutils, + fuse, + gjs [!sparc64], + gobject-introspection, + gtk-doc-tools , + libarchive-dev, + libattr1-dev, + libcap-dev, + libfuse-dev, + libgirepository1.0-dev, + libglib2.0-dev (>= 2.40.0), + libgpgme-dev, + liblzma-dev, + libmount-dev (>= 2.23), + libselinux1-dev, + libsoup2.4-dev (>= 2.39.1), + libsystemd-dev, + libtool, + procps, + python , + python-yaml , + xsltproc , + zlib1g-dev, +Build-Depends-Indep: + libglib2.0-doc, +Standards-Version: 4.0.0 +Homepage: https://github.com/ostreedev/ostree/ +Vcs-Git: https://anonscm.debian.org/git/collab-maint/ostree.git +Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/ostree.git + +Package: gir1.2-ostree-1.0 +Architecture: linux-any +Multi-Arch: same +Section: introspection +Depends: + ${gir:Depends}, + ${misc:Depends}, +Description: content-addressed filesystem for operating system binaries (introspection) + OSTree is a tool for managing bootable, immutable, versioned filesystem + trees. See the ostree package's description for more details. + . + This package contains GObject-Introspection metadata, which can be used + to generate dynamic bindings into languages such as Python and JavaScript. + +Package: libostree-1-1 +Architecture: linux-any +Section: libs +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Pre-Depends: + ${misc:Pre-Depends}, +Breaks: + flatpak (<< 0.8.7-2~), +Multi-arch: same +Description: content-addressed filesystem for operating system binaries (library) + OSTree is a tool and library for managing bootable, immutable, versioned + filesystem trees. It is like git in that it checksums individual files + and has a content-addressed object store; unlike git, it "checks out" + the files using hardlinks into an immutable directory tree. This + can be used to provide atomic upgrades with rollback, history and + parallel-installation, particularly useful on "fixed purpose" systems + such as embedded devices. It is also used by the Flatpak application + runtime system. + . + This package contains the shared library. + +Package: libostree-dev +Architecture: linux-any +Multi-Arch: same +Section: libdevel +Depends: + gir1.2-ostree-1.0 (= ${binary:Version}), + libglib2.0-dev, + libostree-1-1 (= ${binary:Version}), + pkg-config, + ${misc:Depends}, +Suggests: + libostree-doc, +Description: Development files for the ostree library + OSTree is a tool and library for managing bootable, immutable, versioned + filesystem trees. It is like git in that it checksums individual files + and has a content-addressed object store; unlike git, it "checks out" + the files using hardlinks into an immutable directory tree. This + can be used to provide atomic upgrades with rollback, history and + parallel-installation, particularly useful on "fixed purpose" systems + such as embedded devices. It is also used by the Flatpak application + runtime system. + . + This package contains development headers and the pkg-config file for ostree. + +Package: libostree-doc +Build-Profiles: +Architecture: all +Multi-Arch: foreign +Section: doc +Depends: + ${misc:Depends}, +Suggests: + devhelp, +Description: Development documentation for the ostree library + OSTree is a tool for managing bootable, immutable, versioned filesystem + trees. See the ostree package's description for more details. + . + This package contains development documentation for ostree. + +Package: ostree +Architecture: linux-any +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Description: content-addressed filesystem for operating system binaries + OSTree is a tool and library for managing bootable, immutable, versioned + filesystem trees. It is like git in that it checksums individual files + and has a content-addressed object store; unlike git, it "checks out" + the files using hardlinks into an immutable directory tree. This + can be used to provide atomic upgrades with rollback, history and + parallel-installation, particularly useful on "fixed purpose" systems + such as embedded devices. + . + This package contains the executables used to manage and create + filesystem trees. It does not affect the boot process for the system + on which it is installed. + +Package: ostree-tests +Architecture: linux-any +Depends: + attr, + ca-certificates, + cpio, + fuse, + gir1.2-ostree-1.0, + gjs [!sparc64], + ostree, + python, + python-yaml, + ${misc:Depends}, + ${shlibs:Depends}, +Description: content-addressed filesystem for operating system binaries - tests + OSTree is a tool for managing bootable, immutable, versioned filesystem + trees. See the ostree package's description for more details. + . + This package contains automated tests. diff --git a/copyright b/copyright new file mode 100644 index 00000000..03665f36 --- /dev/null +++ b/copyright @@ -0,0 +1,186 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libOSTree +Source: https://github.com/ostreedev/ostree/ + +Files: + * + debian/dist/* +Copyright: + © 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + © 1999-2000, 2002-2005 Free Software Foundation, Inc. + © 1999-2003 Ximian, Inc. + © 2008-2017 Red Hat, Inc + © 2011-2017 Colin Walters + © 2017 Georges Basile Stavracas Neto + © 2011 Avery Pennarun + © 2013 Collabora Ltd. + © 2013 Stef Walter + © 2013 Javier Martinez + © 2013 Jeremy Whiting + © 2013-2016 Sjoerd Simons + © 2014-2016 Alexander Larsson + © 2014 Owen Taylor + © 2015 Dan Nicholson + © 2015 Canonical Ltd. + © 2017 Endless Mobile, Inc. +License: LGPL-2+ + +Files: + libglnx/glnx-lockfile.* + libglnx/glnx-fdio.* + libglnx/glnx-missing-syscall.h + libglnx/glnx-missing.h +Copyright: + © 2010-2011 Lennart Poettering + © 2014-2015 Colin Walters + © 2016 Zbigniew Jędrzejewski-Szmek +License: LGPL-2.1+ + +Files: + src/libostree/ostree-varint.c +Copyright: + © 2008 Google Inc. + © 2013 Colin Walters +License: LGPL-2+ and BSD-3-clause + +Files: + buildutil/attributes.m4 +Copyright: + 2006-2008 Diego Pettenò + 2006-2008 xine project + 2012 Lucas De Marchi +License: GPL-2+ with Autoconf exception + +Files: + bsdiff/* +Copyright: + © 2003-2005 Colin Percival + © 2012 Matthew Endsley +License: BSD-2-clause + +Files: debian/* +Copyright: + © 2015 David King + © 2016 Collabora Ltd. + © 2017 Simon McVittie +License: LGPL-2+ + +License: GPL-2+ with Autoconf exception + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + . + As a special exception, the copyright owners of the + macro gives unlimited permission to copy, distribute and modify the + configure scripts that are the output of Autoconf when processing the + Macro. You need not follow the terms of the GNU General Public + License when using or distributing such scripts, even though portions + of the text of the Macro appear in them. The GNU General Public + License (GPL) does govern all other use of the material that + constitutes the Autoconf Macro. + . + This special exception to the GPL applies to versions of the + Autoconf Macro released by this project. When you make and + distribute a modified version of the Autoconf Macro, you may extend + this special exception to the GPL to apply to your modified version as + well. +Comment: + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + '/usr/share/common-licenses/GPL-2'. + +License: LGPL-2+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Library General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Library General Public License for more details. + . + You should have received a copy of the GNU Library General Public License + along with this program. If not, see . +Comment: + On Debian systems, the full text of the GNU Library General Public + License version 2 can be found in the file + '/usr/share/common-licenses/LGPL-2'. + +License: LGPL-2.1+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . +Comment: + On Debian systems, the full text of the GNU Lesser General Public + License version 2.1 can be found in the file + '/usr/share/common-licenses/LGPL-2.1'. + +License: BSD-2-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted providing that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING + IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/dist/ostree-trivial-httpd.xml b/dist/ostree-trivial-httpd.xml new file mode 100644 index 00000000..2b846858 --- /dev/null +++ b/dist/ostree-trivial-httpd.xml @@ -0,0 +1,116 @@ + + + + + + + + + ostree trivial-httpd + OSTree + + + + Developer + Colin + Walters + walters@verbum.org + + + + + + ostree trivial-httpd + 1 + + + + ostree-trivial-httpd + Simple webserver + + + + + ostree trivial-httpd OPTIONS DIR + + + + + + Description + + + This runs a simple webserver and keeps it running until killed. If DIR is not specified, it defaults to the current directory. + + + + + Options + + + + , + + + Fork into background when ready. + + + + + + + + Automatically exit when directory is deleted. + + + + + ,="PATH" + + + Write port number to PATH (- for standard output). + + + + + , + + + Use the specified TCP port to listen on. + + + + + + + + Force range requests by only serving half of files. + + + + + + + + Example + $ ostree trivial-httpd + + diff --git a/docs b/docs new file mode 100644 index 00000000..b43bf86b --- /dev/null +++ b/docs @@ -0,0 +1 @@ +README.md diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 00000000..2bda9c8b --- /dev/null +++ b/gbp.conf @@ -0,0 +1,7 @@ +[DEFAULT] +pristine-tar = True +compression = xz +debian-branch = debian/master +upstream-branch = upstream/latest +patch-numbers = False +upstream-vcs-tag = v%(version)s diff --git a/gir1.2-ostree-1.0.install b/gir1.2-ostree-1.0.install new file mode 100644 index 00000000..49d71c96 --- /dev/null +++ b/gir1.2-ostree-1.0.install @@ -0,0 +1 @@ +usr/lib/*/girepository-1.0 diff --git a/libostree-1-1.install b/libostree-1-1.install new file mode 100644 index 00000000..989a3850 --- /dev/null +++ b/libostree-1-1.install @@ -0,0 +1 @@ +usr/lib/*/libostree-1.so.* diff --git a/libostree-1-1.symbols b/libostree-1-1.symbols new file mode 100644 index 00000000..2b6ec6e0 --- /dev/null +++ b/libostree-1-1.symbols @@ -0,0 +1,341 @@ +libostree-1.so.1 libostree-1-1 #MINVER# +* Build-Depends-Package: libostree-dev + LIBOSTREE_2016.3@LIBOSTREE_2016.3 2016.4 + LIBOSTREE_2016.4@LIBOSTREE_2016.4 2016.4 + LIBOSTREE_2016.5@LIBOSTREE_2016.5 2016.5 + LIBOSTREE_2016.6@LIBOSTREE_2016.6 2016.6 + LIBOSTREE_2016.7@LIBOSTREE_2016.7 2016.7 + LIBOSTREE_2016.8@LIBOSTREE_2016.8 2016.8 + LIBOSTREE_2016.14@LIBOSTREE_2016.14 2016.14 + LIBOSTREE_2017.1@LIBOSTREE_2017.1 2017.1 + LIBOSTREE_2017.2@LIBOSTREE_2017.2 2017.2 + LIBOSTREE_2017.3@LIBOSTREE_2017.3 2017.3 + LIBOSTREE_2017.4@LIBOSTREE_2017.4 2017.4 + LIBOSTREE_2017.6@LIBOSTREE_2017.6 2017.6 + LIBOSTREE_2017.7@LIBOSTREE_2017.7 2017.7 + LIBOSTREE_2017.8@LIBOSTREE_2017.8 2017.8 + LIBOSTREE_2017.9@LIBOSTREE_2017.9 2017.9 + LIBOSTREE_2017.10@LIBOSTREE_2017.10 2017.10 + ostree_async_progress_finish@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_get@LIBOSTREE_2017.6 2017.6 + ostree_async_progress_get_status@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_get_type@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_get_uint64@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_get_uint@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_get_variant@LIBOSTREE_2017.6 2017.6 + ostree_async_progress_new@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_new_and_connect@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_set@LIBOSTREE_2017.6 2017.6 + ostree_async_progress_set_status@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_set_uint64@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_set_uint@LIBOSTREE_2016.3 2016.4 + ostree_async_progress_set_variant@LIBOSTREE_2017.6 2017.6 + ostree_bootconfig_parser_clone@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_get@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_get_type@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_new@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_parse@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_parse_at@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_set@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_write@LIBOSTREE_2016.3 2016.4 + ostree_bootconfig_parser_write_at@LIBOSTREE_2016.3 2016.4 + ostree_chain_input_stream_get_type@LIBOSTREE_2016.3 2016.4 + ostree_chain_input_stream_new@LIBOSTREE_2016.3 2016.4 + ostree_check_version@LIBOSTREE_2017.4 2017.4 + ostree_checksum_b64_from_bytes@LIBOSTREE_2016.8 2016.8 + ostree_checksum_b64_inplace_from_bytes@LIBOSTREE_2016.3 2016.4 + ostree_checksum_b64_inplace_to_bytes@LIBOSTREE_2016.3 2016.4 + ostree_checksum_b64_to_bytes@LIBOSTREE_2016.8 2016.8 + ostree_checksum_bytes_peek@LIBOSTREE_2016.3 2016.4 + ostree_checksum_bytes_peek_validate@LIBOSTREE_2016.3 2016.4 + ostree_checksum_file@LIBOSTREE_2016.3 2016.4 + ostree_checksum_file_async@LIBOSTREE_2016.3 2016.4 + ostree_checksum_file_async_finish@LIBOSTREE_2016.3 2016.4 + ostree_checksum_file_from_input@LIBOSTREE_2016.3 2016.4 + ostree_checksum_from_bytes@LIBOSTREE_2016.3 2016.4 + ostree_checksum_from_bytes_v@LIBOSTREE_2016.3 2016.4 + ostree_checksum_inplace_from_bytes@LIBOSTREE_2016.3 2016.4 + ostree_checksum_inplace_to_bytes@LIBOSTREE_2016.3 2016.4 + ostree_checksum_input_stream_get_type@LIBOSTREE_2016.3 2016.4 + ostree_checksum_input_stream_new@LIBOSTREE_2016.3 2016.4 + ostree_checksum_to_bytes@LIBOSTREE_2016.3 2016.4 + ostree_checksum_to_bytes_v@LIBOSTREE_2016.3 2016.4 + ostree_cmd__private__@LIBOSTREE_2016.3 2016.4 + ostree_cmp_checksum_bytes@LIBOSTREE_2016.3 2016.4 + ostree_commit_get_parent@LIBOSTREE_2016.3 2016.4 + ostree_commit_get_timestamp@LIBOSTREE_2016.3 2016.4 + ostree_content_file_parse@LIBOSTREE_2016.3 2016.4 + ostree_content_file_parse_at@LIBOSTREE_2016.3 2016.4 + ostree_content_stream_parse@LIBOSTREE_2016.3 2016.4 + ostree_create_directory_metadata@LIBOSTREE_2016.3 2016.4 + ostree_deployment_clone@LIBOSTREE_2016.3 2016.4 + ostree_deployment_equal@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_bootconfig@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_bootcsum@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_bootserial@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_csum@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_deployserial@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_index@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_origin@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_origin_relpath@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_osname@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_type@LIBOSTREE_2016.3 2016.4 + ostree_deployment_get_unlocked@LIBOSTREE_2016.4 2016.4 + ostree_deployment_hash@LIBOSTREE_2016.3 2016.4 + ostree_deployment_new@LIBOSTREE_2016.3 2016.4 + ostree_deployment_set_bootconfig@LIBOSTREE_2016.3 2016.4 + ostree_deployment_set_bootserial@LIBOSTREE_2016.3 2016.4 + ostree_deployment_set_index@LIBOSTREE_2016.3 2016.4 + ostree_deployment_set_origin@LIBOSTREE_2016.3 2016.4 + ostree_deployment_unlocked_state_to_string@LIBOSTREE_2016.4 2016.4 + ostree_diff_dirs@LIBOSTREE_2016.3 2016.4 + ostree_diff_dirs_with_options@LIBOSTREE_2017.4 2017.4 + ostree_diff_item_get_type@LIBOSTREE_2016.3 2016.4 + ostree_diff_item_ref@LIBOSTREE_2016.3 2016.4 + ostree_diff_item_unref@LIBOSTREE_2016.3 2016.4 + ostree_diff_print@LIBOSTREE_2016.3 2016.4 + ostree_fetcher_config_flags_get_type@LIBOSTREE_2016.3 2016.4 + ostree_gpg_error_quark@LIBOSTREE_2017.10 2017.10 + ostree_gpg_verify_result_count_all@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_count_valid@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_describe@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_describe_variant@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_get@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_get_all@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_get_type@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_lookup@LIBOSTREE_2016.3 2016.4 + ostree_gpg_verify_result_require_valid_signature@LIBOSTREE_2016.6 2016.6 + ostree_hash_object_name@LIBOSTREE_2016.3 2016.4 + ostree_metadata_variant_type@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_ensure_dir@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_ensure_parent_dirs@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_get_contents_checksum@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_get_files@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_get_metadata_checksum@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_get_subdirs@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_get_type@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_lookup@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_new@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_replace_file@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_set_contents_checksum@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_set_metadata_checksum@LIBOSTREE_2016.3 2016.4 + ostree_mutable_tree_walk@LIBOSTREE_2016.3 2016.4 + ostree_object_from_string@LIBOSTREE_2016.3 2016.4 + ostree_object_name_deserialize@LIBOSTREE_2016.3 2016.4 + ostree_object_name_serialize@LIBOSTREE_2016.3 2016.4 + ostree_object_to_string@LIBOSTREE_2016.3 2016.4 + ostree_object_type_from_string@LIBOSTREE_2016.3 2016.4 + ostree_object_type_to_string@LIBOSTREE_2016.3 2016.4 + ostree_parse_refspec@LIBOSTREE_2016.3 2016.4 + ostree_raw_file_to_archive_z2_stream@LIBOSTREE_2016.6 2016.6 + ostree_raw_file_to_archive_z2_stream_with_options@LIBOSTREE_2017.3 2017.3 + ostree_raw_file_to_content_stream@LIBOSTREE_2016.3 2016.4 + ostree_repo_abort_transaction@LIBOSTREE_2016.3 2016.4 + ostree_repo_add_gpg_signature_summary@LIBOSTREE_2016.3 2016.4 + ostree_repo_append_gpg_signature@LIBOSTREE_2016.3 2016.4 + ostree_repo_checkout_at@LIBOSTREE_2016.8 2016.8 + ostree_repo_checkout_gc@LIBOSTREE_2016.3 2016.4 + ostree_repo_checkout_tree@LIBOSTREE_2016.3 2016.4 + ostree_repo_checkout_tree_at@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_modifier_get_type@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_modifier_new@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_modifier_ref@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_modifier_set_devino_cache@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_modifier_set_sepolicy@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_modifier_set_xattr_callback@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_modifier_unref@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_transaction@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_traverse_iter_cleanup@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_traverse_iter_clear@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_traverse_iter_get_dir@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_traverse_iter_get_file@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_traverse_iter_init_commit@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_traverse_iter_init_dirtree@LIBOSTREE_2016.3 2016.4 + ostree_repo_commit_traverse_iter_next@LIBOSTREE_2016.3 2016.4 + ostree_repo_copy_config@LIBOSTREE_2016.3 2016.4 + ostree_repo_create@LIBOSTREE_2016.3 2016.4 + ostree_repo_create_at@LIBOSTREE_2017.10 2017.10 + ostree_repo_delete_object@LIBOSTREE_2016.3 2016.4 + ostree_repo_devino_cache_get_type@LIBOSTREE_2016.3 2016.4 + ostree_repo_devino_cache_new@LIBOSTREE_2016.3 2016.4 + ostree_repo_devino_cache_ref@LIBOSTREE_2016.3 2016.4 + ostree_repo_devino_cache_unref@LIBOSTREE_2016.3 2016.4 + ostree_repo_export_tree_to_archive@LIBOSTREE_2016.3 2016.3 + ostree_repo_file_ensure_resolved@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_get_checksum@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_get_repo@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_get_root@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_get_type@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_get_xattrs@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_tree_find_child@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_tree_get_contents@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_tree_get_contents_checksum@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_tree_get_metadata@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_tree_get_metadata_checksum@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_tree_query_child@LIBOSTREE_2016.3 2016.4 + ostree_repo_file_tree_set_metadata@LIBOSTREE_2016.3 2016.4 + ostree_repo_get_config@LIBOSTREE_2016.3 2016.4 + ostree_repo_get_dfd@LIBOSTREE_2016.4 2016.4 + ostree_repo_get_disable_fsync@LIBOSTREE_2016.3 2016.3 + ostree_repo_get_mode@LIBOSTREE_2016.3 2016.4 + ostree_repo_get_parent@LIBOSTREE_2016.3 2016.4 + ostree_repo_get_path@LIBOSTREE_2016.3 2016.4 + ostree_repo_get_remote_boolean_option@LIBOSTREE_2016.5 2016.5 + ostree_repo_get_remote_list_option@LIBOSTREE_2016.5 2016.5 + ostree_repo_get_remote_option@LIBOSTREE_2016.5 2016.5 + ostree_repo_get_type@LIBOSTREE_2016.3 2016.4 + ostree_repo_gpg_verify_data@LIBOSTREE_2016.6 2016.6 + ostree_repo_has_object@LIBOSTREE_2016.3 2016.4 + ostree_repo_import_archive_to_mtree@LIBOSTREE_2016.3 2016.3 + ostree_repo_import_object_from@LIBOSTREE_2016.3 2016.4 + ostree_repo_import_object_from_with_trust@LIBOSTREE_2016.5 2016.5 + ostree_repo_is_system@LIBOSTREE_2016.3 2016.4 + ostree_repo_is_writable@LIBOSTREE_2016.3 2016.4 + ostree_repo_list_commit_objects_starting_with@LIBOSTREE_2016.3 2016.4 + ostree_repo_list_objects@LIBOSTREE_2016.3 2016.4 + ostree_repo_list_refs@LIBOSTREE_2016.3 2016.4 + ostree_repo_list_refs_ext@LIBOSTREE_2016.4 2016.4 + ostree_repo_list_static_delta_names@LIBOSTREE_2016.3 2016.4 + ostree_repo_load_commit@LIBOSTREE_2016.3 2016.4 + ostree_repo_load_file@LIBOSTREE_2016.3 2016.4 + ostree_repo_load_object_stream@LIBOSTREE_2016.3 2016.4 + ostree_repo_load_variant@LIBOSTREE_2016.3 2016.4 + ostree_repo_load_variant_if_exists@LIBOSTREE_2016.3 2016.4 + ostree_repo_mode_from_string@LIBOSTREE_2016.3 2016.4 + ostree_repo_new@LIBOSTREE_2016.3 2016.4 + ostree_repo_new_default@LIBOSTREE_2016.3 2016.4 + ostree_repo_new_for_sysroot_path@LIBOSTREE_2016.3 2016.4 + ostree_repo_open@LIBOSTREE_2016.3 2016.4 + ostree_repo_open_at@LIBOSTREE_2017.10 2017.10 + ostree_repo_prepare_transaction@LIBOSTREE_2016.3 2016.4 + ostree_repo_prune@LIBOSTREE_2016.3 2016.4 + ostree_repo_prune_from_reachable@LIBOSTREE_2017.1 2017.1 + ostree_repo_prune_static_deltas@LIBOSTREE_2016.3 2016.4 + ostree_repo_pull@LIBOSTREE_2016.3 2016.4 + ostree_repo_pull_default_console_progress_changed@LIBOSTREE_2016.3 2016.4 + ostree_repo_pull_one_dir@LIBOSTREE_2016.3 2016.4 + ostree_repo_pull_with_options@LIBOSTREE_2016.3 2016.4 + ostree_repo_query_object_storage_size@LIBOSTREE_2016.3 2016.4 + ostree_repo_read_commit@LIBOSTREE_2016.3 2016.4 + ostree_repo_read_commit_detached_metadata@LIBOSTREE_2016.3 2016.4 + ostree_repo_regenerate_summary@LIBOSTREE_2016.3 2016.4 + ostree_repo_reload_config@LIBOSTREE_2017.2 2017.2 + ostree_repo_remote_add@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_change@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_delete@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_fetch_summary@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_fetch_summary_with_options@LIBOSTREE_2016.6 2016.6 + ostree_repo_remote_get_gpg_verify@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_get_gpg_verify_summary@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_get_url@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_gpg_import@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_list@LIBOSTREE_2016.3 2016.4 + ostree_repo_remote_list_refs@LIBOSTREE_2016.3 2016.4 + ostree_repo_resolve_rev@LIBOSTREE_2016.3 2016.4 + ostree_repo_resolve_rev_ext@LIBOSTREE_2016.7 2016.7 + ostree_repo_scan_hardlinks@LIBOSTREE_2016.3 2016.4 + ostree_repo_set_alias_ref_immediate@LIBOSTREE_2017.10 2017.10 + ostree_repo_set_cache_dir@LIBOSTREE_2016.5 2016.5 + ostree_repo_set_disable_fsync@LIBOSTREE_2016.3 2016.4 + ostree_repo_set_ref_immediate@LIBOSTREE_2016.3 2016.4 + ostree_repo_sign_commit@LIBOSTREE_2016.3 2016.4 + ostree_repo_sign_delta@LIBOSTREE_2016.3 2016.4 + ostree_repo_static_delta_execute_offline@LIBOSTREE_2016.3 2016.4 + ostree_repo_static_delta_generate@LIBOSTREE_2016.3 2016.4 + ostree_repo_transaction_set_ref@LIBOSTREE_2016.3 2016.4 + ostree_repo_transaction_set_refspec@LIBOSTREE_2016.3 2016.4 + ostree_repo_transaction_stats_get_type@LIBOSTREE_2016.3 2016.4 + ostree_repo_traverse_commit@LIBOSTREE_2016.3 2016.4 + ostree_repo_traverse_commit_union@LIBOSTREE_2016.3 2016.4 + ostree_repo_traverse_new_reachable@LIBOSTREE_2016.3 2016.4 + ostree_repo_verify_commit@LIBOSTREE_2016.3 2016.4 + ostree_repo_verify_commit_ext@LIBOSTREE_2016.3 2016.4 + ostree_repo_verify_commit_for_remote@LIBOSTREE_2016.14 2016.14 + ostree_repo_verify_summary@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_archive_to_mtree@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_commit@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_commit_detached_metadata@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_commit_with_time@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_config@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_content@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_content_async@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_content_finish@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_content_trusted@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_dfd_to_mtree@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_directory_to_mtree@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_metadata@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_metadata_async@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_metadata_finish@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_metadata_stream_trusted@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_metadata_trusted@LIBOSTREE_2016.3 2016.4 + ostree_repo_write_mtree@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_fscreatecon_cleanup@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_get_csum@LIBOSTREE_2016.5 2016.5 + ostree_sepolicy_get_label@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_get_name@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_get_path@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_get_type@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_new@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_new_at@LIBOSTREE_2017.4 2017.4 + ostree_sepolicy_restorecon@LIBOSTREE_2016.3 2016.4 + ostree_sepolicy_setfscreatecon@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_cleanup@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_deploy_tree@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_deployment_set_kargs@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_deployment_set_mutable@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_deployment_unlock@LIBOSTREE_2016.4 2016.4 + ostree_sysroot_ensure_initialized@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_booted_deployment@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_bootversion@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_deployment_directory@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_deployment_dirpath@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_deployment_origin_path@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_deployments@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_fd@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_merge_deployment@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_path@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_repo@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_subbootversion@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_get_type@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_init_osname@LIBOSTREE_2016.4 2016.4 + ostree_sysroot_load@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_load_if_changed@LIBOSTREE_2016.4 2016.4 + ostree_sysroot_lock@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_lock_async@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_lock_finish@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_new@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_new_default@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_origin_new_from_refspec@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_prepare_cleanup@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_query_deployments_for@LIBOSTREE_2017.7 2017.7 + ostree_sysroot_repo@LIBOSTREE_2017.7 2017.7 + ostree_sysroot_simple_write_deployment@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_try_lock@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_unload@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_unlock@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_check_timestamps@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_deploy@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_dup_origin@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_flags_get_type@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_get_origin@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_get_origin_description@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_get_type@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_new@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_new_for_os@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_new_for_os_with_flags@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_pull@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_pull_one_dir@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_upgrader_set_origin@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_write_deployments@LIBOSTREE_2016.3 2016.4 + ostree_sysroot_write_deployments_with_options@LIBOSTREE_2017.4 2017.4 + ostree_sysroot_write_origin_file@LIBOSTREE_2016.3 2016.4 + ostree_validate_checksum_string@LIBOSTREE_2016.3 2016.4 + ostree_validate_remote_name@LIBOSTREE_2017.8 2017.8 + ostree_validate_rev@LIBOSTREE_2016.3 2016.4 + ostree_validate_structureof_checksum_string@LIBOSTREE_2016.3 2016.4 + ostree_validate_structureof_commit@LIBOSTREE_2016.3 2016.4 + ostree_validate_structureof_csum_v@LIBOSTREE_2016.3 2016.4 + ostree_validate_structureof_dirmeta@LIBOSTREE_2016.3 2016.4 + ostree_validate_structureof_dirtree@LIBOSTREE_2016.3 2016.4 + ostree_validate_structureof_file_mode@LIBOSTREE_2016.3 2016.4 + ostree_validate_structureof_objtype@LIBOSTREE_2016.3 2016.4 diff --git a/libostree-dev.install b/libostree-dev.install new file mode 100644 index 00000000..3700ef29 --- /dev/null +++ b/libostree-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/*/libostree-1.so +usr/lib/*/pkgconfig +usr/share/gir-1.0/OSTree-1.0.gir diff --git a/libostree-doc.install b/libostree-doc.install new file mode 100644 index 00000000..95af827a --- /dev/null +++ b/libostree-doc.install @@ -0,0 +1 @@ +usr/share/gtk-doc diff --git a/ostree-boot.README.Debian b/ostree-boot.README.Debian new file mode 100644 index 00000000..f156b6a7 --- /dev/null +++ b/ostree-boot.README.Debian @@ -0,0 +1,10 @@ +This package contains configuration snippets for using ostree with GRUB 2. +This integration currently has some limitations: + + - the initramfs must have been made using dracut + - the root filesystem must be one that dracut can mount without a root= + command-line argument (an EFI partition with the GUID defined in + the Discoverable Partitions specification[1]) + - /boot must be a separate partition + +[1] https://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec/ diff --git a/ostree-boot.control b/ostree-boot.control new file mode 100644 index 00000000..ac76885c --- /dev/null +++ b/ostree-boot.control @@ -0,0 +1,32 @@ +Package: ostree-boot +Architecture: linux-any +Depends: + dracut, + ostree (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Recommends: + grub-efi-amd64 | grub-pc | extlinux | syslinux | u-boot, +Breaks: + ostree (<< ${binary:Version}), + ostree-grub2 (<< ${binary:Version}), +Replaces: + ostree (<< ${binary:Version}), + ostree-grub2 (<< ${binary:Version}), +Provides: + ostree-grub2 (= ${binary:Version}), +Description: ostree boot loader and initramfs integration + OSTree is a tool for managing bootable, immutable, versioned filesystem + trees. See the ostree package's description for more details. + . + This package contains configuration snippets and executables needed to + boot a Debian derivative using OSTree. This integration currently has some + limitations: + . + - the initramfs must have been made using dracut + - the root filesystem must be one that dracut can mount without a root= + command-line argument (an EFI partition with the GUID defined in + the Discoverable Partitions specification) + - /boot must be a separate partition + - the boot loader must be one that is supported by ostree, currently + GNU GRUB 2, syslinux/extlinux or Das U-Boot diff --git a/ostree-boot.install b/ostree-boot.install new file mode 100644 index 00000000..fd06f419 --- /dev/null +++ b/ostree-boot.install @@ -0,0 +1,9 @@ +etc/dracut.conf.d/ostree.conf +etc/grub.d/15_ostree +lib/systemd/system-generators/ostree-system-generator +lib/systemd/system/ostree-prepare-root.service +lib/systemd/system/ostree-remount.service +usr/lib/dracut/modules.d/98ostree +usr/lib/libostree/grub2-15_ostree +usr/lib/ostree/ostree-prepare-root +usr/lib/ostree/ostree-remount diff --git a/ostree-tests.install b/ostree-tests.install new file mode 100644 index 00000000..47ef1484 --- /dev/null +++ b/ostree-tests.install @@ -0,0 +1,3 @@ +usr/lib/installed-tests/libostree +usr/lib/libostree/ostree-trivial-httpd +usr/share/installed-tests/libostree diff --git a/ostree-tests.lintian-overrides b/ostree-tests.lintian-overrides new file mode 100644 index 00000000..2766ed7b --- /dev/null +++ b/ostree-tests.lintian-overrides @@ -0,0 +1,10 @@ +# This is deliberate: it's just some random signed file to be verified, and +# upstream happens to have used the text of the LGPL as the signed file +ostree-tests: extra-license-file usr/lib/installed-tests/libostree/gpg-verify-data/lgpl2 +ostree-tests: extra-license-file usr/lib/installed-tests/libostree/gpg-verify-data/lgpl2.sig + +# This is deliberate, working around the assumption of recursive make +ostree-tests: symlink-is-self-recursive usr/lib/installed-tests/libostree/tests . + +# We won't run this on sparc64 currently +[sparc64]: missing-dep-for-interpreter gjs => gjs (usr/lib/installed-tests/libostree/corrupt-repo-ref.js) diff --git a/ostree.install b/ostree.install new file mode 100755 index 00000000..c686947f --- /dev/null +++ b/ostree.install @@ -0,0 +1,8 @@ +#!/usr/bin/dh-exec + +etc/ostree +usr/bin/ostree +usr/bin/rofiles-fuse +usr/share/bash-completion/completions/ostree +usr/share/man +usr/share/ostree/trusted.gpg.d diff --git a/ostree.maintscript b/ostree.maintscript new file mode 100644 index 00000000..5b1850ba --- /dev/null +++ b/ostree.maintscript @@ -0,0 +1,2 @@ +rm_conffile /etc/dracut.conf.d/ostree.conf 2017.3-2~ ostree +rm_conffile /etc/grub.d/15_ostree 2017.3-2~ ostree diff --git a/patches/Remove-shebang-from-bash-completions.patch b/patches/Remove-shebang-from-bash-completions.patch new file mode 100644 index 00000000..e1c39750 --- /dev/null +++ b/patches/Remove-shebang-from-bash-completions.patch @@ -0,0 +1,22 @@ +From: Simon McVittie +Date: Tue, 29 Aug 2017 17:05:16 +0100 +Subject: Remove shebang from bash completions + +bash completions are to be sourced. It makes little sense to +execute them. + +Signed-off-by: Simon McVittie +--- + bash/ostree | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/bash/ostree b/bash/ostree +index f4305f6..da8b9af 100644 +--- a/bash/ostree ++++ b/bash/ostree +@@ -1,5 +1,3 @@ +-#!/bin/bash +-# + # bash completion file for ostree commands + # + # This script provides completion of: diff --git a/patches/basic-test-Skip-explicit-uses-of-bare-user-if-no-user-xat.patch b/patches/basic-test-Skip-explicit-uses-of-bare-user-if-no-user-xat.patch new file mode 100644 index 00000000..01a11e36 --- /dev/null +++ b/patches/basic-test-Skip-explicit-uses-of-bare-user-if-no-user-xat.patch @@ -0,0 +1,190 @@ +From: Simon McVittie +Date: Tue, 29 Aug 2017 17:02:43 +0100 +Subject: basic-test: Skip explicit uses of bare-user if no user xattrs + +Signed-off-by: Simon McVittie +--- + tests/basic-test.sh | 138 +++++++++++++++++++++++++++++----------------------- + 1 file changed, 77 insertions(+), 61 deletions(-) + +diff --git a/tests/basic-test.sh b/tests/basic-test.sh +index 9ae26f4..de4bd44 100644 +--- a/tests/basic-test.sh ++++ b/tests/basic-test.sh +@@ -106,19 +106,23 @@ echo "ok shortened checksum" + (cd repo && ${CMD_PREFIX} ostree rev-parse test2) + echo "ok repo-in-cwd" + +-rm test-repo -rf +-ostree_repo_init test-repo --mode=bare-user +-ostree_repo_init test-repo --mode=bare-user +-rm test-repo -rf +-echo "ok repo-init on existing repo" +- +-rm test-repo -rf +-ostree_repo_init test-repo --mode=bare-user +-${CMD_PREFIX} ostree --repo=test-repo refs +-rm -rf test-repo/tmp +-${CMD_PREFIX} ostree --repo=test-repo refs +-assert_has_dir test-repo/tmp +-echo "ok autocreate tmp" ++if ! skip_one_without_user_xattrs; then ++ rm test-repo -rf ++ ostree_repo_init test-repo --mode=bare-user ++ ostree_repo_init test-repo --mode=bare-user ++ rm test-repo -rf ++ echo "ok repo-init on existing repo" ++fi ++ ++if ! skip_one_without_user_xattrs; then ++ rm test-repo -rf ++ ostree_repo_init test-repo --mode=bare-user ++ ${CMD_PREFIX} ostree --repo=test-repo refs ++ rm -rf test-repo/tmp ++ ${CMD_PREFIX} ostree --repo=test-repo refs ++ assert_has_dir test-repo/tmp ++ echo "ok autocreate tmp" ++fi + + rm checkout-test2 -rf + $OSTREE checkout test2 checkout-test2 +@@ -262,27 +266,31 @@ cd ${test_tmpdir} + assert_file_has_content diff-test2-2 'M */four$' + echo "ok diff file changing type" + +-cd ${test_tmpdir} +-mkdir repo2 +-# Use a different mode to test hardlinking metadata only +-if grep -q 'mode=archive' repo/config || is_bare_user_only_repo repo; then +- opposite_mode=bare-user +-else +- opposite_mode=archive ++if ! skip_one_without_user_xattrs; then ++ cd ${test_tmpdir} ++ mkdir repo2 ++ # Use a different mode to test hardlinking metadata only ++ if grep -q 'mode=archive' repo/config || is_bare_user_only_repo repo; then ++ opposite_mode=bare-user ++ else ++ opposite_mode=archive ++ fi ++ ostree_repo_init repo2 --mode=$opposite_mode ++ ${CMD_PREFIX} ostree --repo=repo2 pull-local repo ++ test2_commitid=$(${CMD_PREFIX} ostree --repo=repo rev-parse test2) ++ test2_commit_relpath=/objects/${test2_commitid:0:2}/${test2_commitid:2}.commit ++ assert_files_hardlinked repo/${test2_commit_relpath} repo2/${test2_commit_relpath} ++ echo "ok pull-local (hardlinking metadata)" + fi +-ostree_repo_init repo2 --mode=$opposite_mode +-${CMD_PREFIX} ostree --repo=repo2 pull-local repo +-test2_commitid=$(${CMD_PREFIX} ostree --repo=repo rev-parse test2) +-test2_commit_relpath=/objects/${test2_commitid:0:2}/${test2_commitid:2}.commit +-assert_files_hardlinked repo/${test2_commit_relpath} repo2/${test2_commit_relpath} +-echo "ok pull-local (hardlinking metadata)" + +-cd ${test_tmpdir} +-rm repo2 -rf && mkdir repo2 +-ostree_repo_init repo2 --mode=$opposite_mode +-${CMD_PREFIX} ostree --repo=repo2 pull-local --bareuseronly-files repo test2 +-${CMD_PREFIX} ostree --repo=repo2 fsck -q +-echo "ok pull-local --bareuseronly-files" ++if ! skip_one_without_user_xattrs; then ++ cd ${test_tmpdir} ++ rm repo2 -rf && mkdir repo2 ++ ostree_repo_init repo2 --mode=$opposite_mode ++ ${CMD_PREFIX} ostree --repo=repo2 pull-local --bareuseronly-files repo test2 ++ ${CMD_PREFIX} ostree --repo=repo2 fsck -q ++ echo "ok pull-local --bareuseronly-files" ++fi + + # This is mostly a copy of the suid test in test-basic-user-only.sh, + # but for the `pull --bareuseronly-files` case. +@@ -303,11 +311,13 @@ fi + assert_file_has_content err.txt 'object.*\.file: invalid mode.*with bits 040.*' + echo "ok pull-local (bareuseronly files)" + +-cd ${test_tmpdir} +-${CMD_PREFIX} ostree --repo=repo2 checkout ${CHECKOUT_U_ARG} test2 test2-checkout-from-local-clone +-cd test2-checkout-from-local-clone +-assert_file_has_content yet/another/tree/green 'leaf' +-echo "ok local clone checkout" ++if ! skip_one_without_user_xattrs; then ++ cd ${test_tmpdir} ++ ${CMD_PREFIX} ostree --repo=repo2 checkout ${CHECKOUT_U_ARG} test2 test2-checkout-from-local-clone ++ cd test2-checkout-from-local-clone ++ assert_file_has_content yet/another/tree/green 'leaf' ++ echo "ok local clone checkout" ++fi + + $OSTREE checkout -U test2 checkout-user-test2 + echo "ok user checkout" +@@ -496,24 +506,28 @@ cd ${test_tmpdir} + $OSTREE checkout test2 --allow-noent --subpath /enoent 2>/dev/null + echo "ok subdir noent" + +-cd ${test_tmpdir} +-mkdir repo3 +-ostree_repo_init repo3 --mode=bare-user +-${CMD_PREFIX} ostree --repo=repo3 pull-local --remote=aremote repo test2 +-${CMD_PREFIX} ostree --repo=repo3 rev-parse aremote/test2 +-echo "ok pull-local with --remote arg" ++if ! skip_one_without_user_xattrs; then ++ cd ${test_tmpdir} ++ mkdir repo3 ++ ostree_repo_init repo3 --mode=bare-user ++ ${CMD_PREFIX} ostree --repo=repo3 pull-local --remote=aremote repo test2 ++ ${CMD_PREFIX} ostree --repo=repo3 rev-parse aremote/test2 ++ echo "ok pull-local with --remote arg" ++fi + +-cd ${test_tmpdir} +-${CMD_PREFIX} ostree --repo=repo3 prune +-find repo3/objects -name '*.commit' > objlist-before-prune +-rm repo3/refs/heads/* repo3/refs/mirrors/* repo3/refs/remotes/* -rf +-${CMD_PREFIX} ostree --repo=repo3 prune --refs-only +-find repo3/objects -name '*.commit' > objlist-after-prune +-if cmp -s objlist-before-prune objlist-after-prune; then +- fatal "Prune didn't delete anything!" ++if ! skip_one_without_user_xattrs; then ++ cd ${test_tmpdir} ++ ${CMD_PREFIX} ostree --repo=repo3 prune ++ find repo3/objects -name '*.commit' > objlist-before-prune ++ rm repo3/refs/heads/* repo3/refs/mirrors/* repo3/refs/remotes/* -rf ++ ${CMD_PREFIX} ostree --repo=repo3 prune --refs-only ++ find repo3/objects -name '*.commit' > objlist-after-prune ++ if cmp -s objlist-before-prune objlist-after-prune; then ++ fatal "Prune didn't delete anything!" ++ fi ++ rm repo3 objlist-before-prune objlist-after-prune -rf ++ echo "ok prune" + fi +-rm repo3 objlist-before-prune objlist-after-prune -rf +-echo "ok prune" + + cd ${test_tmpdir} + rm repo3 -rf +@@ -597,14 +611,16 @@ $OSTREE show --print-detached-metadata-key=SIGNATURE test2 > test2-meta + assert_file_has_content test2-meta "HANCOCK" + echo "ok metadata commit with strings" + +-cd ${test_tmpdir} +-rm repo2 -rf +-mkdir repo2 +-ostree_repo_init repo2 --mode=bare-user +-${CMD_PREFIX} ostree --repo=repo2 pull-local repo +-${CMD_PREFIX} ostree --repo=repo2 show --print-detached-metadata-key=SIGNATURE test2 > test2-meta +-assert_file_has_content test2-meta "HANCOCK" +-echo "ok pull-local after commit metadata" ++if ! skip_one_without_user_xattrs; then ++ cd ${test_tmpdir} ++ rm repo2 -rf ++ mkdir repo2 ++ ostree_repo_init repo2 --mode=bare-user ++ ${CMD_PREFIX} ostree --repo=repo2 pull-local repo ++ ${CMD_PREFIX} ostree --repo=repo2 show --print-detached-metadata-key=SIGNATURE test2 > test2-meta ++ assert_file_has_content test2-meta "HANCOCK" ++ echo "ok pull-local after commit metadata" ++fi + + cd ${test_tmpdir} + ${CMD_PREFIX} ostree --repo=repo remote --set=tls-permissive=true add aremote http://remote.example.com/repo testos/buildmaster/x86_64-runtime diff --git a/patches/libtest-Allow-skipping-single-checks-without-user-xattrs.patch b/patches/libtest-Allow-skipping-single-checks-without-user-xattrs.patch new file mode 100644 index 00000000..fa59fe63 --- /dev/null +++ b/patches/libtest-Allow-skipping-single-checks-without-user-xattrs.patch @@ -0,0 +1,31 @@ +From: Simon McVittie +Date: Tue, 29 Aug 2017 17:02:18 +0100 +Subject: libtest: Allow skipping single checks without user xattrs + +Signed-off-by: Simon McVittie +--- + tests/libtest.sh | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/tests/libtest.sh b/tests/libtest.sh +index ff09650..7f334c0 100755 +--- a/tests/libtest.sh ++++ b/tests/libtest.sh +@@ -489,6 +489,17 @@ os_repository_new_commit () + cd ${test_tmpdir} + } + ++# Usage: if ! skip_one_without_user_xattrs; then ... more tests ...; fi ++skip_one_without_user_xattrs () { ++ touch test-xattrs ++ if ! setfattr -n user.testvalue -v somevalue test-xattrs; then ++ echo "ok # SKIP - this test requires xattr support" ++ return 0 ++ else ++ return 1 ++ fi ++} ++ + skip_without_user_xattrs () { + touch test-xattrs + setfattr -n user.testvalue -v somevalue test-xattrs || \ diff --git a/patches/series b/patches/series new file mode 100644 index 00000000..7bffb174 --- /dev/null +++ b/patches/series @@ -0,0 +1,6 @@ +test-libarchive-import-Skip-if-extended-attributes-are-un.patch +test-pull-bareuser.sh-This-test-uses-bare-user-hence-need.patch +libtest-Allow-skipping-single-checks-without-user-xattrs.patch +basic-test-Skip-explicit-uses-of-bare-user-if-no-user-xat.patch +test-basic-user-only-Skip-final-step-if-no-user-xattrs.patch +Remove-shebang-from-bash-completions.patch diff --git a/patches/test-basic-user-only-Skip-final-step-if-no-user-xattrs.patch b/patches/test-basic-user-only-Skip-final-step-if-no-user-xattrs.patch new file mode 100644 index 00000000..61a94315 --- /dev/null +++ b/patches/test-basic-user-only-Skip-final-step-if-no-user-xattrs.patch @@ -0,0 +1,59 @@ +From: Simon McVittie +Date: Tue, 29 Aug 2017 17:03:37 +0100 +Subject: test-basic-user-only: Skip final step if no user xattrs + +We don't want to skip the entire test, because the whole point of +bare-user-only is that it works in the absence of xattrs; but we do +need to skip this last stage, which explicitly uses a bare-user +repository. + +Signed-off-by: Simon McVittie +--- + tests/test-basic-user-only.sh | 36 +++++++++++++++++++----------------- + 1 file changed, 19 insertions(+), 17 deletions(-) + +diff --git a/tests/test-basic-user-only.sh b/tests/test-basic-user-only.sh +index fb071fe..ce69e49 100755 +--- a/tests/test-basic-user-only.sh ++++ b/tests/test-basic-user-only.sh +@@ -72,21 +72,23 @@ $CMD_PREFIX ostree --repo=repo checkout -U -H content-with-dir-world-writable di + assert_file_has_mode dir-co/worldwritable-dir 775 + echo "ok didn't make world-writable dir" + +-cd ${test_tmpdir} +-rm repo-input -rf +-rm repo -rf +-ostree_repo_init repo init --mode=bare-user-only +-ostree_repo_init repo-input init --mode=bare-user +-rm files -rf && mkdir files +-echo afile > files/afile +-ln -s afile files/afile-link +-$CMD_PREFIX ostree --repo=repo-input commit --canonical-permissions -b testtree --tree=dir=files +-afile_relobjpath=$(ostree_file_path_to_relative_object_path repo-input testtree /afile) +-afile_link_relobjpath=$(ostree_file_path_to_relative_object_path repo-input testtree /afile-link) +-$CMD_PREFIX ostree pull-local --repo=repo repo-input +-assert_files_hardlinked repo/${afile_relobjpath} repo-input/${afile_relobjpath} +-if files_are_hardlinked repo/${afile_link_relobjpath} repo-input/${afile_link_relobjpath}; then +- assert_not_reached "symlinks hardlinked across bare-user?" ++if ! skip_one_without_user_xattrs; then ++ cd ${test_tmpdir} ++ rm repo-input -rf ++ rm repo -rf ++ ostree_repo_init repo init --mode=bare-user-only ++ ostree_repo_init repo-input init --mode=bare-user ++ rm files -rf && mkdir files ++ echo afile > files/afile ++ ln -s afile files/afile-link ++ $CMD_PREFIX ostree --repo=repo-input commit --canonical-permissions -b testtree --tree=dir=files ++ afile_relobjpath=$(ostree_file_path_to_relative_object_path repo-input testtree /afile) ++ afile_link_relobjpath=$(ostree_file_path_to_relative_object_path repo-input testtree /afile-link) ++ $CMD_PREFIX ostree pull-local --repo=repo repo-input ++ assert_files_hardlinked repo/${afile_relobjpath} repo-input/${afile_relobjpath} ++ if files_are_hardlinked repo/${afile_link_relobjpath} repo-input/${afile_link_relobjpath}; then ++ assert_not_reached "symlinks hardlinked across bare-user?" ++ fi ++ $OSTREE fsck -q ++ echo "ok hardlink pull from bare-user" + fi +-$OSTREE fsck -q +-echo "ok hardlink pull from bare-user" diff --git a/patches/test-libarchive-import-Skip-if-extended-attributes-are-un.patch b/patches/test-libarchive-import-Skip-if-extended-attributes-are-un.patch new file mode 100644 index 00000000..bb340814 --- /dev/null +++ b/patches/test-libarchive-import-Skip-if-extended-attributes-are-un.patch @@ -0,0 +1,142 @@ +From: Simon McVittie +Date: Tue, 29 Aug 2017 16:46:19 +0100 +Subject: test-libarchive-import: Skip if extended attributes are unsupported + +This is the case at build-time on some (all?) Debian autobuilders. + +Signed-off-by: Simon McVittie +--- + tests/test-libarchive-import.c | 57 +++++++++++++++++++++++++++++++++++++++++- + 1 file changed, 56 insertions(+), 1 deletion(-) + +diff --git a/tests/test-libarchive-import.c b/tests/test-libarchive-import.c +index 8f884a6..6047d35 100644 +--- a/tests/test-libarchive-import.c ++++ b/tests/test-libarchive-import.c +@@ -35,6 +35,7 @@ typedef struct { + int fd; + int fd_empty; + char *tmpd; ++ GError *skip_all; + } TestData; + + static void +@@ -136,7 +137,13 @@ test_data_init (TestData *td) + g_assert_cmpint (0, ==, mkdir ("repo", 0755)); + + ostree_repo_create (td->repo, OSTREE_REPO_MODE_BARE_USER, NULL, &error); +- g_assert_no_error (error); ++ ++ /* G_IO_ERROR_NOT_SUPPORTED probably means no extended attribute support */ ++ if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED)) ++ g_propagate_prefixed_error (&td->skip_all, g_steal_pointer (&error), ++ "Unable to set up repository: "); ++ else ++ g_assert_no_error (error); + } + } + +@@ -169,6 +176,12 @@ test_libarchive_noautocreate_empty (gconstpointer data) + OstreeRepoImportArchiveOptions opts = { 0, }; + glnx_unref_object OstreeMutableTree *mtree = ostree_mutable_tree_new (); + ++ if (td->skip_all != NULL) ++ { ++ g_test_skip (td->skip_all->message); ++ return; ++ } ++ + test_archive_setup (td->fd_empty, a); + + (void)ostree_repo_import_archive_to_mtree (td->repo, &opts, a, mtree, NULL, NULL, &error); +@@ -185,6 +198,12 @@ test_libarchive_autocreate_empty (gconstpointer data) + OstreeRepoImportArchiveOptions opts = { 0, }; + glnx_unref_object OstreeMutableTree *mtree = ostree_mutable_tree_new (); + ++ if (td->skip_all != NULL) ++ { ++ g_test_skip (td->skip_all->message); ++ return; ++ } ++ + opts.autocreate_parents = 1; + + test_archive_setup (td->fd_empty, a); +@@ -203,6 +222,12 @@ test_libarchive_error_device_file (gconstpointer data) + OstreeRepoImportArchiveOptions opts = { 0, }; + glnx_unref_object OstreeMutableTree *mtree = ostree_mutable_tree_new (); + ++ if (td->skip_all != NULL) ++ { ++ g_test_skip (td->skip_all->message); ++ return; ++ } ++ + test_archive_setup (td->fd, a); + + (void)ostree_repo_import_archive_to_mtree (td->repo, &opts, a, mtree, NULL, NULL, &error); +@@ -276,6 +301,12 @@ test_libarchive_ignore_device_file (gconstpointer data) + if (skip_if_no_xattr (td)) + goto out; + ++ if (td->skip_all != NULL) ++ { ++ g_test_skip (td->skip_all->message); ++ goto out; ++ } ++ + test_archive_setup (td->fd, a); + + opts.ignore_unsupported_content = TRUE; +@@ -338,6 +369,12 @@ test_libarchive_ostree_convention (gconstpointer data) + if (skip_if_no_xattr (td)) + goto out; + ++ if (td->skip_all != NULL) ++ { ++ g_test_skip (td->skip_all->message); ++ goto out; ++ } ++ + test_archive_setup (td->fd, a); + + opts.autocreate_parents = TRUE; +@@ -382,6 +419,12 @@ test_libarchive_xattr_callback (gconstpointer data) + if (skip_if_no_xattr (td)) + goto out; + ++ if (td->skip_all != NULL) ++ { ++ g_test_skip (td->skip_all->message); ++ goto out; ++ } ++ + modifier = ostree_repo_commit_modifier_new (0, NULL, NULL, NULL); + ostree_repo_commit_modifier_set_xattr_callback (modifier, xattr_cb, + NULL, NULL); +@@ -437,6 +480,12 @@ entry_pathname_test_helper (gconstpointer data, gboolean on) + if (skip_if_no_xattr (td)) + goto out; + ++ if (td->skip_all != NULL) ++ { ++ g_test_skip (td->skip_all->message); ++ goto out; ++ } ++ + modifier = ostree_repo_commit_modifier_new (0, NULL, NULL, NULL); + ostree_repo_commit_modifier_set_xattr_callback (modifier, path_cb, + NULL, &met_etc_file); +@@ -500,6 +549,12 @@ test_libarchive_selinux (gconstpointer data) + if (skip_if_no_xattr (td)) + goto out; + ++ if (td->skip_all != NULL) ++ { ++ g_test_skip (td->skip_all->message); ++ goto out; ++ } ++ + { + glnx_unref_object GFile *root = g_file_new_for_path ("/"); + diff --git a/patches/test-pull-bareuser.sh-This-test-uses-bare-user-hence-need.patch b/patches/test-pull-bareuser.sh-This-test-uses-bare-user-hence-need.patch new file mode 100644 index 00000000..8a19bf49 --- /dev/null +++ b/patches/test-pull-bareuser.sh-This-test-uses-bare-user-hence-need.patch @@ -0,0 +1,21 @@ +From: Simon McVittie +Date: Tue, 29 Aug 2017 17:01:41 +0100 +Subject: test-pull-bareuser.sh: This test uses bare-user, hence needs xattrs + +Signed-off-by: Simon McVittie +--- + tests/test-pull-bareuser.sh | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/test-pull-bareuser.sh b/tests/test-pull-bareuser.sh +index 0729247..2e35723 100755 +--- a/tests/test-pull-bareuser.sh ++++ b/tests/test-pull-bareuser.sh +@@ -21,6 +21,7 @@ set -euo pipefail + + . $(dirname $0)/libtest.sh + ++skip_without_user_xattrs + setup_fake_remote_repo1 "archive" + + repo_mode=bare-user diff --git a/rules b/rules new file mode 100755 index 00000000..5dfb3bd2 --- /dev/null +++ b/rules @@ -0,0 +1,93 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +# Some tests assert that we will see English strings +export LC_ALL=C.UTF-8 + +%: + dh $@ --with=gir + +override_dh_auto_clean: + rm -f man/ostree-trivial-httpd.xml + if [ -e Makefile ]; then dh_auto_clean; fi + +override_dh_autoreconf: + env NOCONFIGURE=1 dh_autoreconf ./autogen.sh + cp debian/dist/ostree-trivial-httpd.xml man/ + +configure_options = \ + --enable-installed-tests \ + --enable-trivial-httpd-cmdline \ + --libexecdir='$${prefix}/lib' \ + --with-dracut \ + --with-grub2 \ + --with-grub2-mkconfig-path=/usr/sbin/grub-mkconfig \ + --with-systemdsystemgeneratordir=/lib/systemd/system-generators \ + --with-systemdsystemunitdir=/lib/systemd/system \ + $(NULL) + +ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) +configure_options += --enable-gtk-doc +configure_options += --enable-man +else +configure_options += --disable-gtk-doc +configure_options += --disable-man +endif + +override_dh_auto_configure: + dh_auto_configure -- $(configure_options) + +override_dh_auto_test-arch: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + debian/test.sh +endif + +override_dh_auto_test-indep: + : + +override_dh_auto_install: + dh_auto_install +ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) + # docbook-xsl capitalizes the whole heading, including the macro + # used to represent a single quote... https://bugs.debian.org/821235 + sed -i -e 's,\*(AQ,*(Aq,g' \ + debian/tmp/usr/share/man/man1/ostree-remote.1 \ + debian/tmp/usr/share/man/man1/ostree-static-delta.1 \ + $(NULL) +endif + +override_dh_install: + rm -f debian/tmp/usr/lib/*/*.la + rm -f debian/tmp/usr/lib/installed-tests/libostree/*.la + : + # TODO: when someone documents how to test these (#824649) they + # should be installed in a new ostree-boot package: see + # debian/ostree-boot.* and https://bugs.debian.org/824650 + rm -f debian/tmp/etc/dracut.conf.d/ostree.conf + rm -f debian/tmp/etc/grub.d/15_ostree + rm -f debian/tmp/lib/systemd/system-generators/ostree-system-generator + rm -f debian/tmp/lib/systemd/system/ostree-prepare-root.service + rm -f debian/tmp/lib/systemd/system/ostree-remount.service + rm -fr debian/tmp/usr/lib/dracut/modules.d/98ostree/ + rm -f debian/tmp/usr/lib/libostree/grub2-15_ostree + rm -f debian/tmp/usr/lib/ostree/ostree-prepare-root + rm -f debian/tmp/usr/lib/ostree/ostree-remount + : + dh_install + +override_dh_missing: + dh_missing --fail-missing + +override_dh_makeshlibs: + # this is an LD_PRELOAD, not a real shared library + dh_makeshlibs -Xinstalled-tests/ostree/libreaddir-rand.so + +override_dh_fixperms-arch: + # dh_fixperms assumes *.js are for browsers and makes them 0644. + dh_fixperms -X'*.js' + find debian/tmp -type f -name '*.js' -print0 | \ + xargs -0r chmod -v go=rX,u+rw,a-s + +override_dh_systemd_start: + dh_systemd_start --no-start diff --git a/source/format b/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/test.sh b/test.sh new file mode 100755 index 00000000..97c54646 --- /dev/null +++ b/test.sh @@ -0,0 +1,43 @@ +#!/bin/sh + +set -e + +export VERBOSE=1 + +try_tests=5 + +failed=0 +make check || failed=1 + +if [ "$failed" -gt 0 ]; then + [ "$failed" -eq 0 ] || echo "Test failed! Checking how reproducible it is..." + for i in $(seq 1 "$(( $try_tests - 1 ))"); do + if ! make check; then + failed=$(( $failed + 1 )) + fi + done +fi + +pkill --full "gpg-agent --homedir /var/tmp/tap-test\\.[^/]+/.*" || : + +if pgrep lt-ostree || pgrep --full "gpg-agent --homedir /var/tmp/tap-test."; then \ + echo "WARNING: daemon processes were leaked" + pgrep gpg-agent | xargs --no-run-if-empty ps ww + pgrep lt-ostree | xargs --no-run-if-empty ps ww +fi + +# There are several race conditions that cause intermittent failures. +# They are not actually a regression - we've just been luckier in the +# past - so let newer versions build reliably. +if [ "$failed" -gt 2 ]; then + echo "Failed $failed out of $try_tests test runs; that seems bad" + exit 1 +elif [ "$failed" -gt 0 ]; then + echo "Failed $failed out of $try_tests test runs; continuing anyway" +else + echo "All tests passed" +fi + +exit 0 + +# vim:set et sw=4 sts=4: diff --git a/tests/build b/tests/build new file mode 100755 index 00000000..594e4f77 --- /dev/null +++ b/tests/build @@ -0,0 +1,22 @@ +#!/bin/sh + +set -e +exec 2>&1 +set -x + +cd "$ADTTMP" + +cat > trivial.c < + +int main (void) +{ + g_object_unref (ostree_repo_new_default ()); + return 0; +} +EOF + +gcc -o trivial trivial.c $(pkg-config --cflags --libs ostree-1 gobject-2.0) +test -x trivial +./trivial +echo "ok 3 run it" diff --git a/tests/control b/tests/control new file mode 100644 index 00000000..5c627361 --- /dev/null +++ b/tests/control @@ -0,0 +1,5 @@ +Tests: gnome-desktop-testing, test-local-pull +Depends: gnome-desktop-testing, ostree-tests + +Tests: build +Depends: build-essential, libostree-dev, pkg-config diff --git a/tests/gnome-desktop-testing b/tests/gnome-desktop-testing new file mode 100755 index 00000000..b5d57a76 --- /dev/null +++ b/tests/gnome-desktop-testing @@ -0,0 +1,22 @@ +#!/bin/sh + +set -e +exec 2>&1 + +e=0 + +tests="$(gnome-desktop-testing-runner -l libostree | while read t; do + t="${t%% *}" + + case "$t" in + (libostree/test-local-pull.sh.test) + # frequently times out, https://bugs.debian.org/842606 + # https://github.com/ostreedev/ostree/issues/605 + continue + ;; + esac + + echo "$t" +done)" + +gnome-desktop-testing-runner $tests diff --git a/tests/test-local-pull b/tests/test-local-pull new file mode 100755 index 00000000..ab4e5fe7 --- /dev/null +++ b/tests/test-local-pull @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e +exec 2>&1 + +N=3 +passed=0 + +for i in `seq 1 $N`; do + if gnome-desktop-testing-runner libostree/test-local-pull.sh.test; then + passed=$(( $passed + 1)) + fi +done + +echo "test-local-pull: passed $passed/$N attempts" + +if [ "$passed" -ne "$N" ]; then + exit 1 +fi diff --git a/watch b/watch new file mode 100644 index 00000000..048ca2ae --- /dev/null +++ b/watch @@ -0,0 +1,2 @@ +version=4 +https://github.com/ostreedev/ostree/releases .*/libostree-(\d\S*)\.tar\.xz