snap-store-desktop:snap-store-experimental-branch

Last commit made on 2023-03-17
Get this branch:
git clone -b snap-store-experimental-branch https://git.launchpad.net/snap-store-desktop

Branch merges

Branch information

Name:
snap-store-experimental-branch
Repository:
lp:snap-store-desktop

Recent commits

28d7ab7... by Sergio Costas

Move the snapctl call to the main program

e21889e... by Sergio Costas

Added pre and post-refresh hooks

These hooks are needed to remove the file that notifies that
there is an update.

03e3e6a... by Sergio Costas

Added autoclose functionality

Now this works using the gate-auto-refresh hook. When it is
received, the hook writes the file "pending-refresh" into the
SNAP_COMMON folder, where any snap-store instance can see it.

The snap-store executable checks it using GFile.Monitor(),
and if it does appear, it will show a notification in the snap
store window if this is visible, to inform the user that an
update is available and awaiting. But if the window isn't
visible, or it is closed, the application will exit, thus
allowing snapd to update it.

ffd0984... by Sergio Costas

Fresh update 41 to core22

f43d07e... by Sergio Costas

DT-779: Always show update notifications on startup (Core20)

Currently, snap-store remembers if it has shown a notification
for an specific update. This means that if the user closes the
notification, it won't be remembered that there are pending
updates.

This patch resets the timestamps during launch to ensure that,
after loging, the user will always be notified if there are
pending updates.

8a5ba7b... by Sebastien Bacher

Cherry pick 'fwupd: Annotate updates with their release urgency'

fe1e325... by Sergio Costas

DT-757: fix update notifications

Snap-Store uses the GLib notification API, which has some
requirements that, currently, aren't possible in a snap.

James proposed as a quick fix to set GNOTIFICATION_BACKEND
as "freedesktop", thus using the base interface.

This MR fixes https://bugs.launchpad.net/snap-store-desktop/+bug/1990947

234ecdf... by Sergio Costas

DT-751: Fix autostart (for Core20)

The autostart is enabled only when the "ubuntu-software" app
from the "snap-store" snap is run, but not if the "snap-store"
app is run. This was quite hidden because the icon in the dock
is for the "ubuntu-software" app.

This PR fixes this by setting the autostart for both apps.

512c0ff... by Sergio Costas

DT-581 Fix .deb search (core20)

bd822db... by Sergio Costas

DT-540: Fix segmentation fault in Snap Store

Some users reported that the Snap Store crashes with a
segmentation fault. The bug was a double-free memory bug,
which, being on a GObject (which requires reading some
data in the memory block to be free before freeing it),
resulting in an invalid memory access.

This patch fixes it by compiling LIBXMLB directly instead
of relying on the other parts to download and compile it.
It also fixes the version to 0.3.9 and applies a patch for
the double-free bug.

That patch has also been sent upstream.

Fix https://bugs.launchpad.net/snap-store-desktop/+bug/1988440