Commit Graph

1124 Commits

Author SHA1 Message Date
Yegor Yefremov
240225d547
src/Utility: fix deprecated Thread.create usage (#151) 2023-03-21 14:05:48 -04:00
Vlasov Yuriy
a551387f06
Added extra constraints to BTRFS mode in Supported System Configurations (#103)
Co-authored-by: Yuriy Vlasov <yv@itsvit.org>
2023-03-21 12:11:28 -04:00
Yegor Yefremov
4c4d650443 README.md: fix a typo 2023-03-20 12:27:08 -04:00
TotalCaesar659
a5676ca048 Update URLs to HTTPS 2023-03-06 09:38:54 -05:00
GHelliot
6d2599fc52 Update Device.vala
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.
2023-02-02 09:39:27 -05:00
Clement Lefebvre
d29a7ab6be 22.11.2 2023-01-07 16:04:37 +00:00
Michael Webster
02240c1898 Main.vala: Turn the initial btrfs quota error into a message if we
think we know what the error is.

The error messages aren't localized, but they may change.
2022-11-24 12:43:14 -05:00
Clement Lefebvre
3e0b785860 22.11.1 2022-11-22 10:11:02 +00:00
Michael Webster
bc2dc19994 Main.vala: Don't continue to try to get btrfs quota info if it
fails the first time.

This is mainly to reduce log spam when monitoring unattended jobs
or debugging.
2022-11-21 20:19:19 -05:00
Thomas Praxl
54cb3a3784 Restore btrfs qgroups size & unshared size columns
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
…
```
2022-11-21 15:42:22 -05:00
Tony George
af6fda5560 Remove BUILD_CONFIG
I use this config file to build packages on my machine with Docker. Not useful for other people.
2022-11-21 13:33:28 +00:00
Tony George
cb4b53b7ca Remove empty NOTES file 2022-11-21 13:33:28 +00:00
Tony George
ce558891f1 Remove config file for old GitHub pages site
This was used to generate the page at https://teejee2008.github.io/timeshift/
2022-11-21 13:33:28 +00:00
Tony George
24570e8f78 Remove mention of installer in README; Remove config file for installer
There used to be a installer file with ".run" extension that could be executed on any Linux distribution to install Timeshift. This method of installing Timeshift is no longer available or supported since many years.

Also remove the config file for generating the installer.
2022-11-21 13:33:28 +00:00
Tony George
ca62c61332 Delete the empty 'timeshift-wiki' folder 2022-11-21 13:33:28 +00:00
Michael Webster
92ad80cb0f Fix some file permissions. 2022-11-07 09:29:42 -05:00
Tony George
717060bacb Fix typo in timeshift-gtk.desktop 2022-11-07 09:08:06 -05:00
JungHee Lee
f7c82b8997 Update timeshift-gtk.desktop
Korean Japanese added.
2022-11-07 09:08:06 -05:00
Tony George
1fd2f2df0c Use -Os for compilation instead of -O3
-O3 seems to be buggy and can sometime generate incorrect code
2022-11-07 09:08:06 -05:00
Tony George
b481c2e532 Remove some unused code and functions 2022-11-07 09:08:06 -05:00
Tony George
12791a98ec Don't show message when unmounting temporary mount points 2022-11-07 09:08:06 -05:00
Tony George
22216d6acb #939, #937: Fix crash on ArchLinux and Ubuntu 22.10 Kinetic
This seems to be an issue with glib2 2.74 and strings that contain a improper unicode escape code (\uXX instead of /uXXXX). Since this function is used by all the progress windows, creating or deleting snapshots from the GUI was causing a crash.
2022-11-07 09:08:06 -05:00
Michael Webster
e8edf174dc debian/control: Restore newline. 2022-11-05 19:36:53 -04:00
Michael Webster
4fbedd5736 Clean up debian/control, appdata, build file. 2022-11-05 13:41:53 -04:00
Michael Webster
c43657e769 Add github workflow. 2022-11-05 12:58:07 -04:00
Isaac Carter
baeae70c7a
Changes man page to GROFF format (#73) 2022-10-17 10:25:28 -04:00
Matin Lotfaliei
b0f745031b
Update README.md to include build dependencies and instructions (#45)
* Update README.md to include build dependencies and instructions

* Add make to dependencies
2022-09-28 11:57:15 +01:00
Clement Lefebvre
dad9aeb520 22.06.5 2022-07-24 12:32:41 +02:00
Clement Lefebvre
68adfc6249 l10n: Update translations 2022-07-24 12:31:39 +02:00
Clement Lefebvre
6ef4c70f9c 22.06.4 2022-07-15 15:28:50 +02:00
Michael Webster
96f9f8134a Disable selection of the btrfs backend when there are no btrfs
filesystems found.

The old check was for the presence of the 'btrfs' command, whose
package was a dependency of timeshift.
2022-07-12 10:21:35 -04:00
Clement Lefebvre
829c78aa07 22.06.3 2022-06-30 15:19:07 +02:00
Clement Lefebvre
4db05931a1 l10n: Update POT 2022-06-30 15:18:26 +02:00
Michael Webster
22b0e16a26
rsync: Calculate required space before attempting to perform an (#19)
incremental snapshot.

This check will be skipped if the current target's free space is
larger than the original (full) snapshot.
2022-06-30 14:16:07 +01:00
Michael Webster
044b920a82 settings: Clear the initial snapshot size and file count when
all snapshots are deleted.
2022-06-27 17:11:54 -04:00
Clement Lefebvre
2383721c0d 22.06.2 2022-06-27 13:29:40 +02:00
Clement Lefebvre
326ca69455 l10n: Update translations 2022-06-27 11:31:04 +02:00
Clement Lefebvre
72d27d8a70 l10n: Update POT 2022-06-22 13:33:25 +02:00
Clement Lefebvre
56183b0d71 SnapshotListBox: Fix distro name LinuxMint -> Linux Mint 2022-06-22 13:32:09 +02:00
Clement Lefebvre
d7d6edbdc1 About: Update info and use a Gtk.AboutDialog 2022-06-22 13:22:42 +02:00
Clement Lefebvre
712aa213de Remove donation window 2022-06-22 13:00:22 +02:00
Vincent Vermeulen
fb7513286b
Merge pull request #12 from icarter09/UpdateGithubTemplates
Removes lines about paypal account.
2022-06-06 23:12:57 +02:00
Vincent Vermeulen
e7341d351f
Merge pull request #7 from luzpaz/typos
Fix various typos in the source
2022-06-06 23:11:59 +02:00
icarter09
051972c387 Removes lines about paypal account. 2022-06-05 22:30:23 -04:00
luz paz
59994abfcd Fix various typos in the source
Found via `codespell -q 3 -S *.po`
2022-06-04 01:59:17 -04:00
Tony George
2518b06162 22.06.1 2022-05-29 12:27:07 +01:00
Tony George
aceebc4352 Build: Create dir for /usr/share/pixmaps
Fix build error due to missing installation directory
2022-05-29 12:27:00 +01:00
Tony George
73453b41fd v22.06 2022-05-29 12:26:56 +01:00
Tony George
5703a2b943 Fix #891: Set LC_ALL=C.UTF-8 for all scripts
save_bash_script_temp() is a common function that is used by all functions that execute Rsync. Set LC_ALL=C.UTF-8 for all scripts.
2022-05-29 12:26:53 +01:00
Tony George
c45e754c7f Remove unreachable try..catch 2022-05-29 12:26:31 +01:00