Re: Compression levels with --merge

Denis Corbin via Dar-support <[email protected]> Sun, 26 Oct 2025 10:18:56 +0100
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
On 25/10/2025 19:32, John Goerzen via Dar-support wrote:
> Hi Denis,

Hi John,

> 
> Thanks again for all the work on dar!  I have a bug report for you.
> Following the recipe in the FAQ, I tried to use:
> 
> dar -v -+ archive2 -A archive -zzstd:12
> 
> Which crashed with:
> 
> Aborting program. An error occurred while calling libdar: Compression_level must be between 1 and 9 included
> 
> -zzstd:12 works fine in conjunction with -c, as it should (zstd levels
> go above 9).
> 
> This is with 2.7.17 but I haven't seen anything in the 2.8.1 changelog
> to indicate it's fixed there.  Fixing it in the 2.8.x branch would be
> fine (I wouldn't see the need for a backported fix to 2.7)

this seems to correspond to a bug fixed in 2.7.19 and as 2.8.0 is more 
recent that 2.7.19, release 2.8.0 (major release) received all fixes 
from 2.7.x up to 2.7.19.

Yes, this was not obvious, I avoid copying in the Changelog for major 
releases (those with the 0 as last digit) all bug fixed in the minor 
releases of previous branch (here 2.7.1 up to 2.7.19) while the have 
well been merged in the new branch, to better see the
new features brought in it. For 2.8.1 and following ones, the Changelog 
will receive propagated bug fixes from future releases of 2.7.x branch 
and with them, the Changelog will be updated accordingly.

This is a manual operation as the 'git merge'
will merge the changes in the Changelog for 2.7.x and I have to copy it 
under the 2.8.x minor release... just try not to forget to do it during 
the period of time both 2.7.x and 2.8.x will be both maintained (~ more 
than one year, maybe 2 years). But if by mischance I forget doing it, 
you will see in the Changelog of a future 2.8.x the information on the 
latest 2.7.x and bug fixed in it, and you can assume all these have been 
integrated (git-merged) into this 2.8.x release.

> 
> Incidentally, thanks for 2.8.1 and webdar!  I have uploaded 2.8.1 to
> Debian unstable and will work on webdar shortly.  Then I will get them
> both into trixie-backports as well.

Great news!!! Thanks a lot for you work as Debian maintainer for dar, 
libdar and libthreadar :)

> 
> - John
> 

Cheers,
Denis