<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/flatpak.git, branch tingping/tag</title>
<subtitle>github.com: flatpak/flatpak.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/flatpak.git/'/>
<entry>
<title>transaction: Print tags on install</title>
<updated>2018-08-20T23:28:10+00:00</updated>
<author>
<name>Patrick Griffis</name>
<email>tingping@tingping.se</email>
</author>
<published>2018-08-20T23:15:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/flatpak.git/commit/?id=b1ae27215bdf9011d9702fdaa574d2c581434a87'/>
<id>b1ae27215bdf9011d9702fdaa574d2c581434a87</id>
<content type='text'>
This is specifically useful for the `properietary` tag that is
used on flathub.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is specifically useful for the `properietary` tag that is
used on flathub.
</pre>
</div>
</content>
</entry>
<entry>
<title>dbus xml: Delete -- from docs</title>
<updated>2018-08-20T13:17:40+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2018-08-20T12:56:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/flatpak.git/commit/?id=7b8e9ea4a17ccaf3418c48294ae13b784d19cb63'/>
<id>7b8e9ea4a17ccaf3418c48294ae13b784d19cb63</id>
<content type='text'>
Apparently -- is not valid XML, so a nonbreakable space was added, but
that breaks gdbus-codegen, so lets just drop the dashes totally.

Closes: #1988
Approved by: alexlarsson
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Apparently -- is not valid XML, so a nonbreakable space was added, but
that breaks gdbus-codegen, so lets just drop the dashes totally.

Closes: #1988
Approved by: alexlarsson
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't use G_NUMBER_PARSER_ERROR as it requires a newer glib</title>
<updated>2018-08-20T10:42:21+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2018-08-20T10:38:10+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/flatpak.git/commit/?id=a7c88682d3e0b82f1f1a5994d052c05becbfdc59'/>
<id>a7c88682d3e0b82f1f1a5994d052c05becbfdc59</id>
<content type='text'>
Closes: #1987
Approved by: alexlarsson
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes: #1987
Approved by: alexlarsson
</pre>
</div>
</content>
</entry>
<entry>
<title>Update po/</title>
<updated>2018-08-20T09:48:57+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2018-08-20T09:48:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/flatpak.git/commit/?id=5545ac4ba66c817857fd9a421922126d74d86a3e'/>
<id>5545ac4ba66c817857fd9a421922126d74d86a3e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version to 1.0.0</title>
<updated>2018-08-20T09:23:01+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2018-08-20T08:19:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/flatpak.git/commit/?id=c95605962e21ec69def54755179a4f896fa85929'/>
<id>c95605962e21ec69def54755179a4f896fa85929</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>NEWS: Tweak release text a bit</title>
<updated>2018-08-20T09:23:01+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2018-08-20T09:14:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/flatpak.git/commit/?id=57477f50c05b2291396675ad8fe2aaf81ffb7bc0'/>
<id>57477f50c05b2291396675ad8fe2aaf81ffb7bc0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Dist tests/oci-registry-[server|client].py</title>
<updated>2018-08-20T08:50:57+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2018-08-20T08:50:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/flatpak.git/commit/?id=3f3625819b41bdb26a69cf727232089b54630d7d'/>
<id>3f3625819b41bdb26a69cf727232089b54630d7d</id>
<content type='text'>
These are needed for make distcheck to pass.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are needed for make distcheck to pass.
</pre>
</div>
</content>
</entry>
<entry>
<title>iUpdate NEWS for release</title>
<updated>2018-08-20T08:11:15+00:00</updated>
<author>
<name>Alexander Larsson</name>
<email>alexl@redhat.com</email>
</author>
<published>2018-08-20T08:11:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/flatpak.git/commit/?id=1550b0ad0e4bbbf10c04ee87d63b76e54dc1d9d7'/>
<id>1550b0ad0e4bbbf10c04ee87d63b76e54dc1d9d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dir: Quietly refuse to downgrade ostree-metadata</title>
<updated>2018-08-20T06:58:01+00:00</updated>
<author>
<name>Matthew Leeds</name>
<email>matthew.leeds@endlessm.com</email>
</author>
<published>2018-08-13T18:22:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/flatpak.git/commit/?id=37ad100cfe819459eb66bd39576a61cac19bd39f'/>
<id>37ad100cfe819459eb66bd39576a61cac19bd39f</id>
<content type='text'>
This reverts commit ed1d7eacf47534fc6aae6571b7d41bca3951d0e9 and fixes
the issue in a different way.

With the introduction of peer (LAN/USB) sources of refs comes a problem:
they may have outdated repository metadata (which is stored as
contentless commits on the branch "ostree-metadata"). Currently Flatpak
allows the older metadata to be pulled into the local repo, but this is
undesirable for a few reasons: it hurts the security properties of the
system because for example the GPG keys might have been rotated and you
don't want to go back to using the old ones, and it's undesirable
because the old metadata might have missing or wrong information about
the apps installed on the system.

So this commit makes Flatpak ignore the downgrade and use the newer
metadata for the offline operation. This is not a perfect solution,
because the newer metadata might have information (such as the download
size or needed runtime) that's not accurate for the old versions of the
refs that are available offline. This issue is significantly mitigated
by the fact that FlatpakTransaction operations use commit metadata to
make decisions, rather than depending on the xa.cache.

Another possible solution would be to read the outdated metadata into
the FlatpakRemoteState object without pulling it into the local repo or
using it to update the remote config, but that's not perfect either
because there's no guarantee you'll pull the metadata from the same
source as the refs (perhaps one comes from a USB drive and the other
from a LAN peer). Longer term, we should figure out how to rely less on
the xa.cache (which is stored in ostree-metadata) or otherwise make
architectural changes to solve those issues. For now, I think this fix
will be enough to make USB updates usable and secure.

Fixes https://github.com/flatpak/flatpak/issues/1473

Closes: #1965
Approved by: alexlarsson
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit ed1d7eacf47534fc6aae6571b7d41bca3951d0e9 and fixes
the issue in a different way.

With the introduction of peer (LAN/USB) sources of refs comes a problem:
they may have outdated repository metadata (which is stored as
contentless commits on the branch "ostree-metadata"). Currently Flatpak
allows the older metadata to be pulled into the local repo, but this is
undesirable for a few reasons: it hurts the security properties of the
system because for example the GPG keys might have been rotated and you
don't want to go back to using the old ones, and it's undesirable
because the old metadata might have missing or wrong information about
the apps installed on the system.

So this commit makes Flatpak ignore the downgrade and use the newer
metadata for the offline operation. This is not a perfect solution,
because the newer metadata might have information (such as the download
size or needed runtime) that's not accurate for the old versions of the
refs that are available offline. This issue is significantly mitigated
by the fact that FlatpakTransaction operations use commit metadata to
make decisions, rather than depending on the xa.cache.

Another possible solution would be to read the outdated metadata into
the FlatpakRemoteState object without pulling it into the local repo or
using it to update the remote config, but that's not perfect either
because there's no guarantee you'll pull the metadata from the same
source as the refs (perhaps one comes from a USB drive and the other
from a LAN peer). Longer term, we should figure out how to rely less on
the xa.cache (which is stored in ostree-metadata) or otherwise make
architectural changes to solve those issues. For now, I think this fix
will be enough to make USB updates usable and secure.

Fixes https://github.com/flatpak/flatpak/issues/1473

Closes: #1965
Approved by: alexlarsson
</pre>
</div>
</content>
</entry>
<entry>
<title>common: Add and use FLATPAK_ERROR_DOWNGRADE</title>
<updated>2018-08-20T06:58:01+00:00</updated>
<author>
<name>Matthew Leeds</name>
<email>matthew.leeds@endlessm.com</email>
</author>
<published>2018-08-13T04:12:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/flatpak.git/commit/?id=fb989a62a1d3371a22a9458d7d2d3aa98f86d74c'/>
<id>fb989a62a1d3371a22a9458d7d2d3aa98f86d74c</id>
<content type='text'>
This will be useful in distinguishing downgrade errors from other
errors, which I'll need in the next commit.

Closes: #1965
Approved by: alexlarsson
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will be useful in distinguishing downgrade errors from other
errors, which I'll need in the next commit.

Closes: #1965
Approved by: alexlarsson
</pre>
</div>
</content>
</entry>
</feed>
