1
0
mirror of https://github.com/openSUSE/snapper.git synced 2026-02-05 15:46:00 +01:00

3000 Commits

Author SHA1 Message Date
Temuri Doghonadze
630c92d8d4 Translated using Weblate (Georgian)
Currently translated at 15.6% (64 of 409 strings)
2026-02-01 04:04:15 +00:00
Ferdinand Galko
dfcf13144e Translated using Weblate (Slovak)
Currently translated at 100.0% (409 of 409 strings)
2026-01-31 20:04:15 +00:00
Arif Budiman
98c6d29354 Translated using Weblate (Indonesian)
Currently translated at 100.0% (409 of 409 strings)
2026-01-31 05:04:16 +00:00
David Medina
5d4bb5459a Translated using Weblate (Catalan)
Currently translated at 100.0% (409 of 409 strings)
2026-01-30 13:04:16 +00:00
Freek de Kruijf
d08c0b5475 Translated using Weblate (Dutch)
Currently translated at 100.0% (409 of 409 strings)
2026-01-29 14:04:16 +00:00
Arvin Schnell
21b1d7ee98 Merge pull request #1099 from aschnell/master
- removed unneeded includes
2026-01-29 13:45:55 +00:00
Arvin Schnell
54bfb7f62c - removed unneeded includes 2026-01-29 14:28:38 +01:00
Yasuhiko Kamata
143cba10f0 Translated using Weblate (Japanese)
Currently translated at 100.0% (409 of 409 strings)
2026-01-29 06:04:17 +00:00
Ettore Atalan
96c0e4ab1f Translated using Weblate (German)
Currently translated at 97.3% (398 of 409 strings)
2026-01-29 00:04:17 +00:00
Ferdinand Galko
8a467cf1ca Translated using Weblate (Slovak)
Currently translated at 97.5% (399 of 409 strings)
2026-01-28 19:04:16 +00:00
Jure Repinc
63f7914466 Translated using Weblate (Slovenian)
Currently translated at 93.6% (383 of 409 strings)
2026-01-28 19:04:15 +00:00
Arvin Schnell
0e0975f421 Merge pull request #1098 from aschnell/master
- updated pot and po files
2026-01-28 13:52:26 +00:00
Arvin Schnell
a7e5200410 - updated pot and po files 2026-01-28 14:41:41 +01:00
Arvin Schnell
e398255cd1 Merge pull request #1097 from aschnell/master
- coding style
2026-01-28 13:40:19 +00:00
Arvin Schnell
f6bfe1614d - coding style 2026-01-28 14:27:06 +01:00
Arvin Schnell
8ae4f8d6d9 Merge pull request #1095 from aschnell/master
use some std instead of boost classes
2026-01-27 15:00:07 +00:00
Arvin Schnell
521b7e2f15 - coding style 2026-01-27 15:52:02 +01:00
Arvin Schnell
9a793fff71 - use std::any instead of boost::any 2026-01-27 15:40:17 +01:00
Arvin Schnell
33345a489f - use std::optional instead of boost::optional 2026-01-27 15:33:02 +01:00
Arvin Schnell
8deccde428 - switch to c++17 2026-01-27 15:27:09 +01:00
Arvin Schnell
9b77915d18 Merge pull request #1093 from joca-bt/master
Remove extra leading and trailing vertical whitespace in some of the systemd timers
2026-01-26 06:04:58 +00:00
João Guerra
43e670e0c0 Remove extra leading and trailing vertical whitespace in some of the systemd timers 2026-01-25 12:33:05 +01:00
Arvin Schnell
3f8062cb00 Merge pull request #1092 from aschnell/master
- added const
2026-01-23 18:20:53 +00:00
Arvin Schnell
a8c4fc7c68 - added const 2026-01-23 19:11:14 +01:00
Arvin Schnell
9601c76664 Merge pull request #1091 from jamesljlster/unify_snbk_snapshot_operation
Unify snbk snapshot operation command implementations
2026-01-23 13:24:25 +00:00
Cheng-Ling Lai
a43a67f3ab Unify snbk snapshot operation command implementation 2026-01-23 10:00:57 +08:00
Cheng-Ling Lai
53e93a4cae Remove inappropriate const qualifiers 2026-01-23 10:00:37 +08:00
Arvin Schnell
fcf22626f8 Merge pull request #1090 from aschnell/master
- removed old include statement
2026-01-22 15:47:49 +00:00
Arvin Schnell
be4aeab266 - removed old include statement 2026-01-22 16:00:27 +01:00
James Lai
574d72fe09 Unify snbk snapshot transfer and restore (#1086)
* Unify TheBigThing::transfer and TheBigThing::restore

* Use pair for copy specification

* Use const and reference for copy specification

* Use const for pair elements

* Make snapshot copy-related declarations private
2026-01-22 08:09:57 +00:00
James Lai
4b56ae55a0 Add snbk visualize command to produce tree diagrams of snapshots (#1085)
* Add snbk visualize command

* Add bash completion for snbk visualize

* Add documentation for snbk visualize command

* Remove access by reference for Rankdir enumeration

* Prevent graph text from being translated
2026-01-16 14:21:31 +00:00
James Lai
74a47053e3 Unify Btrfs send parent finding algorithm for snbk (#1080)
* Added a TreeView module for finding Btrfs send parent

* Added default constructor for TreeView

* Unified Btrfs send parent finding algorithm

* Added copyright header for client/snbk/TreeView.cc

* Moved ProxyNode derivatives to anonymous namespace

* Adopted boost::none to return empty search result

* Fixed indentation for access modifier

* Remove redundant usage of 'this' pointer

* Make VirtualNode::uuid const

* Remove unused headers in TreeView.cc

* Make BaseNode::it const

* Implement ProxyNode::is_virtual() for node virtualization

* Refine the implementation for constructing new search candidates

* Return const string reference for UUID getters

* Reorganize member access permissions for TreeView

* Fix variable shadowing

* Use boost to join strings

* Prevent stream flushing when printing graph

* Reimplement tree graph printing in Graphviz format.

* Fix locale for printing virtual nodes

* Refactor TreeView data structure to remove circular references

* Remove redundant TreeView:: scope qualifier

* Refactor SearchResult to use raw pointers

* Rename TreeView::lookup to TreeView::pool
2026-01-14 08:55:39 +00:00
Arvin Schnell
6780c86c6a Merge pull request #1083 from aschnell/master
- coding style
2026-01-05 08:45:44 +00:00
Arvin Schnell
401043e9dc - coding style 2026-01-05 09:29:47 +01:00
Arvin Schnell
2205701a9c Merge pull request #1076 from epg/create-command-error
Report failure of 'create --command' command
2026-01-05 08:14:06 +00:00
Arvin Schnell
e9ffb32a82 Merge pull request #1082 from aschnell/master
- improved documentation
2026-01-02 09:42:22 +00:00
Arvin Schnell
d045595236 - improved documentation 2026-01-02 10:30:13 +01:00
Luiz Fernando Ranghetti
0cafef00b7 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (381 of 381 strings)
2025-12-30 15:04:12 +00:00
Eric Gillespie
d0929c2030 tidy 'create --command' failure handling
Throw Exception in the case the child was STOPped or CONTinued.
Document that system(3) should handle those cases.
2025-12-23 11:15:21 -06:00
Arvin Schnell
6f96b76afb Merge pull request #1079 from epg/fix-builddir
fix out-of-tree build (builddir != srcdir)
2025-12-22 16:01:32 +00:00
Arvin Schnell
a1ac5c0d69 Merge pull request #1078 from epg/doc-more-deps
note libboost_thread-devel libjson-c-devel dependencies
2025-12-22 16:01:12 +00:00
Eric Gillespie
d821eb8333 fix out-of-tree build (builddir != srcdir)
autoconf and automake mostly give us this for free, but we do have to
take some care.

This enables out-of-tree builds configured such as:

	(cd /obj/snapper && ~/work/snapper/configure ...)
	make -C /obj/snapper ...
2025-12-22 09:25:29 -06:00
Eric Gillespie
b39a1912df note libboost_thread-devel libjson-c-devel dependencies 2025-12-22 09:24:44 -06:00
Eric Gillespie
6ae86b1375 fix 'create --command' failure message
Correct "open failed" to "fork failed".
2025-12-22 09:11:21 -06:00
Eric Gillespie
ea5f9f1532 Reuse exit code of 'create --command' command
When the child exits with non-zero status, use it as snapper's own exit
code, as it may be meaningful.

We pass the exit code up the stack with a new CommandException type.
2025-12-20 17:23:20 -06:00
Eric Gillespie
1f7972c889 Report failure of 'create --command' command
When we can't even run a child process at all (system(3) returns -1),
throw runtime_error_with_errno without taking the post snapshot.

When the child is killed or exits with non-zero status, report that to
stderr and exit(EXIT_FAILURE) .
2025-12-20 17:23:20 -06:00
Arvin Schnell
db4747f74b Merge pull request #1075 from aschnell/master
- reuse code
2025-12-19 08:51:33 +00:00
Arvin Schnell
922894b6bd - reuse code 2025-12-19 09:41:49 +01:00
Arvin Schnell
7a8d857d1a Merge pull request #1074 from aschnell/master
- updated documentation
2025-12-18 09:57:36 +00:00
Arvin Schnell
c9dce708c6 - coding style 2025-12-18 10:43:47 +01:00