If -N option is not added, the following section will be appended
to the generated man pages:
SEE ALSO
The full documentation for Timeshift is maintained as a Texinfo manual. If the info and Timeshift programs are properly installed
at your site, the command
info Timeshift
should give you access to the complete manual.
This is not desired, thus add the -N option to the help2man
invocation.
Signed-off-by: Boyuan Yang <byang@debian.org>
According to the Gtk documentation, the appearance of the ruled tree
depends on the selected theme. Hence, if you need “zebra striping”,
just use the related theme.
* Move AppConsole.vala and AppGtk.vala to src directory
* Rename po files
Strip "timeshift-" prefix. This is required for the future meson
support.
* Add initial meson support
* Remove makefile
* docs/development.md: adapt the instructions to the meson build system
Bonus: break a long line.
The source code is licensed under GPL-2.0-or-later license but
LICENSE.md presents LGPL-3.0-or-later license that is more suitable
for libraries.
So replace LICENSE.md with GPL-2.0-or-later.txt file and place it
under LICENSES directory as suggested by the REUSE standard.
Also remove COPYING as it contains GPL-3.0-or-later license.
Check not only length but also whether backup_uuid or backup_parent_uuid
objects are null.
Such a situation occurs when running 'src/timeshift --list' on a system
without an initial timeshift installation i.e. just compiled from
source.
While a backup or restore task was running, the status_line property
would be updated for each file processed.
Meanwhile, the gui (BackupBox, for example) was periodically
accessing the status_line property to set a label.
Without protection, the gui was picking up garbage from status_line
instead of the filename, and was flooding output with markup warnings.
There was probably potential for a crash as well.
Changing to available_bytes instead of calculating the free bytes from (size_bytes - used_bytes) respects potential reserved space for "for root only" e.g. on ext4 file systems. It should prevent running out of space in the unfavorable cases having the timeshift archive located on the actual root file system.
Restored calculation and display, which was deleted in commit 8d77b18f.
However, the behavior has been changed slightly:
* We try to determine the sizes using `btrfs qgroup show`
* This is only successful on systems with enabled qgroups
* If so, we enable the columns
* Otherwise, we hide them
I did not restore the methods for enabling quota.
But I restored destroying qgroups on snapshot removal.
This also fixes a bug, I encountered on a system with enabled qgroups:
Since the removal of the now restored behavior, I encountered lots of 0.00B qgroups,
because they seem to have been created all along, but they have no longer been removed:
```
$ sudo btrfs qgroup show .
qgroupid rfer excl
-------- ---- ----
0/5 92.00KiB 92.00KiB
0/262 4.00GiB 4.00GiB
0/798 135.20GiB 334.31MiB
0/799 14.07GiB 254.51MiB
0/1657 0.00B 0.00B
0/1658 0.00B 0.00B
0/1665 0.00B 0.00B
0/1666 0.00B 0.00B
0/1691 0.00B 0.00B
0/1692 0.00B 0.00B
0/1721 0.00B 0.00B
0/1722 0.00B 0.00B
0/1723 0.00B 0.00B
0/1724 0.00B 0.00B
0/1727 0.00B 0.00B
…
```