gnome-autoar:wip/oholy/ci-abi

Last commit made on 2021-08-06
Get this branch:
git clone -b wip/oholy/ci-abi https://git.launchpad.net/gnome-autoar

Branch merges

Branch information

Name:
wip/oholy/ci-abi
Repository:
lp:gnome-autoar

Recent commits

2703ca8... by Ondrej Holy

ci: Add check for ABI breaks

Let's add a check for potential ABI breaks to not break ABI by mistake,
or to not forget to update the library version.

ca4219a... by Ondrej Holy

ci: Use fedora:latest instead of rawhide

There are various problems with the rawhide image currently and I don't
know how to workaround them. Let's use fedora:latest (temporarily) to fix
our pipeline.

94948f4... by Ondrej Holy

ci: Add meson to the image

The meson package is not part of the CI image as Autotools are used
currently. Let's add meson as a preparation for the upcoming meson port.

bb88301... by =?utf-8?q?Ant=C3=B3nio_Fernandes?= <email address hidden>

compressor: Fix :filter getting

The AutoarCompressor object returns the format when asked for a filter.

Fix the obvious oversight from commit 2901c81ddbcd5dbd1e123ec504f473bd9010db1f.

8bbb2d5... by Ondrej Holy

extractor: Ensure that absolute paths are relative to destination

Currently, archive entries with absolute paths lose their paths when
extracting, or even cause crashes. The code expects that the
`autoar_extractor_do_sanitize_pathname` function will always return paths
inside, or equal to the destination directory, but this is not true. The
problem is that the `g_file_get_child` resp. `g_file_resolve_relative_path`
functions expect relative paths, but are used with absolute paths also.
Let's convert absolute paths to relative ones to ensure that they will
be exctracted as relative to the destination dir. Also, update the
corresponding test case to confirm this.

Fixes: https://gitlab.gnome.org/GNOME/gnome-autoar/-/issues/32

a6de6e3... by Matthias Clasen <email address hidden>

compressor: Plug some memory leaks

Valgrind complained that the g_list_copy_deep call here leaks
memory. In fact, the set_property implementation already takes
care of copying the list and reffing the objects, so don't
do it here.

https://bugzilla.gnome.org/show_bug.cgi?id=778804

87e278e... by Ondrej Holy

release: Prepare for 0.3.3

47b643b... by Ondrej Holy

tests: Skip conflicting files by default over test-extract

By default, the conflicting files are skipped and this default behavior is
also used by Nautilus and other clients. However, the `test-extract` util
overwrites the files instead. Let's honor the default behavior here as well
to make debugging easier.

9f4edea... by Ondrej Holy

extractor: Print debug when conflict happened

The debug output doesn't contain info when conflict happens. This makes
hard to debug issues which are caused by them. Let's print one when
a conflict happens to make it obvious.

b9590ab... by Ondrej Holy

extractor: Prevent redundant path name handling for equal prefixes

Currently, redundant path name handling happens when archive files have
a common prefix and an equal destination is returned from the `decide-destination`
signal. In this case, the old prefix is removed and the new one (the equal one)
is added again. Let's detect this case and prevent the redundancy.