Commit Graph

5626 Commits

Author SHA1 Message Date
Simon McVittie 21615c2179 Update changelog 2021-07-25 16:53:41 +01:00
Simon McVittie ad048c8b0a Re-enable gjs tests on architectures where it is available 2021-06-22 10:47:45 +01:00
Simon McVittie a07fcd86d5 Release to experimental 2021-04-26 10:15:12 +01:00
Simon McVittie d1bebfaa24 Add patch from upstream to fix intermittent FTBFS on some filesystems 2021-04-26 10:14:13 +01:00
Simon McVittie 52d75cde13 Mark patch as applied upstream 2021-04-26 10:13:34 +01:00
Simon McVittie a15a213ee8 Release to experimental 2021-04-18 12:21:15 +01:00
Simon McVittie 602ba64d5e Add proposed patch to make test failures easier to debug 2021-04-18 12:20:43 +01:00
Simon McVittie eeb52cb9f6 d/test.sh: Line-buffer stdout
Otherwise, lines from stdout appear with an arbitrary delay, making it
hard to tell what the order of events was.
2021-04-18 11:12:55 +01:00
Simon McVittie 72367d6302 d/copyright: Update 2021-04-18 11:07:54 +01:00
Simon McVittie 4a71ed28f6 Update symbols file 2021-04-18 11:04:36 +01:00
Simon McVittie 52a6be5f27 New upstream release 2021-04-18 11:02:49 +01:00
Simon McVittie 96bdf667cf Update upstream source from tag 'upstream/2021.2'
Update to upstream version '2021.2'
with Debian dir ddb244226e
2021-04-17 00:55:33 +01:00
Simon McVittie 3b95643e80 New upstream version 2021.2 2021-04-17 00:55:26 +01:00
Colin Walters 6a72674ec6 Release 2021.2 2021-04-15 13:02:48 -04:00
Simon McVittie 017e85f081 Release to experimental 2021-04-14 13:54:05 +01:00
Simon McVittie 504581d1ce Standards-Version: 4.5.1 (no changes required) 2021-04-14 13:53:48 +01:00
Simon McVittie 53b7eb556f Drop a patch that was applied upstream 2021-04-14 13:53:48 +01:00
Simon McVittie c69326077a d/rules: Declare that we have grub >= 2.02
Debian's grub packaging runs grub-install in postinst, so we should be
able to rely on grub actually getting updated.
2021-04-14 13:53:48 +01:00
Simon McVittie 3c22574816 Update symbols file 2021-04-14 13:53:48 +01:00
Simon McVittie c045d53d9a Update upstream source from tag 'upstream/2021.1'
Update to upstream version '2021.1'
with Debian dir 7c5b2152ac
2021-04-14 12:52:50 +01:00
Simon McVittie 1c67002e63 New upstream version 2021.1 2021-04-14 12:52:43 +01:00
Simon McVittie 2371d0437b d/gbp.conf: Branch for experimental 2021-04-14 12:52:29 +01:00
Luca Bruno 36693f064c
Merge pull request #2336 from bgilbert/edit
docs: fix "Edit this page on GitHub" links
2021-04-13 12:14:52 +00:00
Jonathan Lebon 3991009c93
Merge pull request #2335 from cgwalters/write-regfile-api 2021-04-12 16:48:27 -04:00
Benjamin Gilbert 388764f1ed docs: fix "Edit this page on GitHub" links 2021-04-09 23:00:33 -04:00
Colin Walters 9b4bffc454 repo: Ensure we set the size for regfile inline
Need to clean up the internal APIs for this.
2021-04-09 22:29:55 +00:00
Colin Walters 2cc11b7808 tests: More tests for inline writing
I'm hitting a bug, add more tests.
2021-04-09 21:54:44 +00:00
Colin Walters 6f84aff0ae repo: Add ostree_repo_write_regfile
This API is push rather than pull, which makes it much more
suitable to use cases like parsing a tar file from external
code.

Now, we have a large mess in this area internally because
the original file writing code was pull based, but static
deltas hit the same problem of wanting a push API, so I added
this special `OstreeRepoBareContent` just for writing regular
files from a push API.

Eventually...I'd like to deprecate the pull based API,
and rework things so that for regular files the push API
is the default, and then `write_content_object()` would
be split up into archive/bare cases.

In this world the `ostree_repo_write_content()` API would
then need to hackily bridge pull to push and it'd be
less efficient.

Anyways for now due to this bifurcation, this API only
works on non-archive repositories, but that's fine for
now because that's what I want for the `ostree-ext-container`
bits.
2021-04-09 21:54:44 +00:00
Jonathan Lebon 020f6cb652
Merge pull request #2334 from cgwalters/write-symlink
repo: Add ostree_repo_write_symlink
2021-04-09 13:35:06 -04:00
Colin Walters fce69cdf70 repo: Add ostree_repo_write_symlink
Continuation of the addition of `ostree_repo_write_regfile_inline()`.
This will be helpful for ostree-rs-ext and importing from tar, it's
quite inefficient and awkward for small files to end up creating
a whole `GInputStream` and `GFileInfo` and etc. for small files.
2021-04-08 21:10:00 +00:00
Colin Walters 9332955b5f
Merge pull request #2327 from cgwalters/writing-apis
repo: Add ostree_repo_write_regfile_inline
2021-04-08 17:09:11 -04:00
Colin Walters 84a7ae506b
Merge pull request #2333 from dbnicholson/travis-32bit
Add back a travis 32 bit build
2021-04-08 14:23:22 -04:00
Dan Nicholson ed16443c82 travis: Add back a 32 bit i386 build
Although people are likely not deploying on 32 bit x86 anymore,
deploying on 32 bit armv7 is still often used. Add back an i386 build on
debian to try to catch 32 bit bugs in CI.
2021-04-08 11:49:19 -06:00
Dan Nicholson d4147b7e35 travis: Correct ci_suite settings for buster
The install script no longer uses this anymore and maybe it should just
be removed, but in the meantime it should at least be correct.
2021-04-08 11:45:13 -06:00
Colin Walters 22b2adbb2f
Merge pull request #2332 from dbnicholson/ubuntu-ci
travis: Don't ask any debconf questions when installing packages
2021-04-08 12:58:01 -04:00
Dan Nicholson 2fc0e237d8 travis: Drop i386 Ubuntu target
Ubuntu dropped i386[1], so there's no sense in attempting the build
there. In 2021 I don't think it's worth the trouble to keep doing that,
but if desired Debian still supports it.

1. https://wiki.ubuntu.com/FocalFossa/ReleaseNotes#Upgrades_on_i386
2021-04-08 10:33:12 -06:00
Dan Nicholson 764116ef56 travis: Don't ask any debconf questions when installing packages
Currently the Ubuntu builds are stuck waiting for an answer on what
timezone to use. That could be fixed, but generally the way to do these
types of installs is to set the DEBIAN_FRONTEND environment variable to
`noninteractive` so that debconf just chooses a default. This is what
debootstrap does, for instance. I tested installing tzdata on a local
focal container this way and it just chooses `Etc/UTC` as the timezone.
2021-04-08 10:25:46 -06:00
Dan Nicholson 4d5f333efc
Merge pull request #2331 from cgwalters/update-travis-ubuntu
travis: Bump Ubuntu versions
2021-04-08 09:44:12 -06:00
Colin Walters aff1d269bc travis: Bump Ubuntu versions
xenial is EOL soon, let's bump to the latest LTS and the latest.
2021-04-08 15:36:08 +00:00
Colin Walters 4e2a14eb0c repo: Add ostree_repo_write_regfile_inline
When working on ostree-ext and importing from tar, it's
quite inefficient and awkward for small files to end up creating
a whole `GInputStream` and `GFileInfo` and etc. for small files.

Plus the gtk-rs binding API to map from `impl Read` to Gio
https://docs.rs/gio/0.9.1/gio/struct.ReadInputStream.html
requires that the input stream is `Send` but the Rust `tar` API
isn't.

This is only 1/3 of the problem; we also need similar APIs
to directly create a symlink, and to stream large objects via
a push-based API.
2021-04-08 14:57:33 +00:00
Luca Bruno 6dca0e0e29
Merge pull request #2330 from cgwalters/silence-libarchive-warning
tests: Silence a gcc warning
2021-04-08 14:54:42 +00:00
Colin Walters 5d68a99a2f tests: Silence a gcc warning
We can't mix `goto` and `__attribute__((cleanup))`.
2021-04-08 14:45:28 +00:00
Luca Bruno 078f022cfe
Merge pull request #2326 from cgwalters/writing-api-prep
core: Drop unused error handling from object stream helper
2021-04-08 08:12:59 +00:00
Luca Bruno 9154f41fd4
Merge pull request #2324 from cgwalters/test-use-ex
Various patches for tests/inst
2021-04-08 08:10:05 +00:00
Dan Nicholson ff47c57790
Merge pull request #2323 from cgwalters/remove-experimental
build-sys: Remove --enable-experimental-api
2021-04-07 15:31:40 -06:00
Colin Walters dfaf314c42 core: Drop unused error handling from object stream helper
I was going to add some new API and I noticed that this function
never returns an error; presumably at one point it did, but
not anymore.  It simplifies the code flow noticeably
to remove that.
2021-04-07 20:01:07 +00:00
Colin Walters 1d0b704ba1
Merge pull request #2325 from dbnicholson/apidoc-gitignore
API doc gitignore cleanup
2021-04-07 15:50:30 -04:00
Dan Nicholson d05e7ba2e2 Ensure consistent apidoc .gitignore
If you don't configure with --enable-gtk-doc, these won't be included in
the generated .gitignore. If you later configure with --enable-gtk-doc
in the same checkout, they'll show up as untracked files. Include them
in GITIGNOREFILES to ensure they're always added regardless of configure
options.
2021-04-07 13:37:53 -06:00
Dan Nicholson 36da85ecbe Remove apidoc .gitignore from version control
Like the top level .gitignore, there's no reason to track this if it's
being generated automatically. It only produces spurious diff changes
that you almost certainly don't want.
2021-04-07 13:36:01 -06:00
Colin Walters a90d59cf2d build-sys: Remove --enable-experimental-api
It was added for the collections bits, but we made that stable.
It's now just cruft and we're very unlikely to reuse the infrastructure
again.

Motivated by a unit test failure when running from a tarball:
https://github.com/ostreedev/ostree/issues/2313
2021-04-07 19:19:05 +00:00