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

59 Commits

Author SHA1 Message Date
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
Cheng-Ling Lai
aee4d5065e Added snbk restore to bash completion 2025-12-12 21:23:55 +08:00
Arvin Schnell
e5fd6527d8 - support sending compressed data in snbk 2025-10-07 14:58:20 +02:00
Arvin Schnell
9886769448 - added simple bash completion for snbk 2025-07-04 09:33:00 +02:00
Arvin Schnell
76cf7b4e1c - added Python program for rollback of any subvolume 2025-05-16 10:09:30 +02:00
Arvin Schnell
cfe3a2c011 - added example wrapper script for btrfs command to be used by snbk 2025-04-11 14:42:48 +02:00
Arvin Schnell
1b02707734 - run cleanup service every hour 2024-04-17 15:22:52 +02:00
Ximin Luo
f0b0fc315a Add support for quarterly snapshots 2024-03-11 15:07:50 +00:00
Yaroslav Halchenko
4237c4e832 [DATALAD RUNCMD] ist $HOMEHOME a typo
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "git-sedi 'ist $HOMEHOME a' 'is $HOMEHOME a'",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
2023-12-21 19:16:39 -05:00
Arvin Schnell
9b97a8be23 - add option --no-create-home to useradd to avoid warning 2023-09-19 10:23:29 +02:00
Arvin Schnell
4e71aae00f - use snapper to change config instead of sed 2023-09-19 10:16:47 +02:00
Daniel
dabec2a0d7 Update user addition script to prevent warnings and enhance compatibility
Not sure if this script is still recommended to use as it's not been modified in nearly a decade.

1. Modified the `useradd` command by removing the `-m` option to prevent unnecessary warnings about the home directory already existing. The creation of the home directory is managed separately in this script using Btrfs subvolumes.
   
2. Added a command to copy the standard skeleton files from `/etc/skel` to the new user's home directory, ensuring that new users receive the necessary setup files despite the custom home directory creation process with the `create-config` command.

3. Corrected the `chown` command syntax to use the more modern `:` separator between the user and group names, getting rid of another warning.

I kept the (old school) style as is. Thanks for snapper!
2023-09-16 18:42:23 +01:00
Arvin Schnell
715e5f2f4d - allow to show read-only state in list output and allow to
change read-only state (gh#openSUSE/snapper#804)
- support read-only options for LVM
- allow to set a snapshot as default (gh#openSUSE/snapper#803)
2023-04-19 09:28:00 +02:00
Wu Zhenyu
ea5ee925ad Fix zsh-completion.zsh
Fix some missing items
Use $number_without_current due to snapper delete cannot delete current
Add snapper remove/rm
2023-02-08 22:45:27 +08:00
Wu Zhenyu
8d562639c5 Add zsh completion
Fix #623, similar with #680
2023-02-08 17:17:06 +08:00
Arvin Schnell
cc13d763f8 extended generic plugin support for rollback 2022-06-07 11:14:49 +02:00
Arvin Schnell
1c2e1c8a5b - do not mark bash completion as executable 2021-11-24 15:40:30 +01:00
ianjazz246
c57e0af153 Add Bash completion 2021-11-23 23:28:20 -08:00
Martin Vidner
3b1ebafa6b Remove the Python zypp plugin (JSC#SLE-10500) 2019-12-12 13:44:46 +01:00
Arvin Schnell
96058a4dc2 - use python3 instead of python2 (bsc#1070324) 2018-01-10 14:34:50 +01:00
Arvin Schnell
c4283495f6 - allow to disable zypp plugin via environment variable (see fate#319316) 2015-08-26 12:23:50 +02:00
Arvin Schnell
68269bd041 - install systemd unit files and helper (see gh#openSUSE/snapper#154) 2015-03-02 17:32:21 +01:00
Arvin Schnell
c3630bad8c - fixed pam_snapper_pamconfig.sh script (bnc#885604) 2014-07-03 10:50:38 +02:00
Arvin Schnell
0933ef0e92 - handle DBus exceptions 2014-04-03 12:25:38 +02:00
Arvin Schnell
5f7f34ef43 - removed obsolete script 2014-04-03 10:33:13 +02:00
Arvin Schnell
3e83cdc2f7 - removed grub-snapper-plugin subpackage (fate#316232) 2014-01-24 10:34:27 +01:00
Nicolas Dandrimont
4e8687be24 Fix the CHMOD command for pam_snapper scripts 2013-12-07 10:30:30 +01:00
Arvin Schnell
8033124e7e - handle type and stage of transaction list 2013-11-27 16:40:47 +01:00
Arvin Schnell
dd517314f8 - allow patterns to be regexs 2013-11-25 15:37:51 +01:00
Arvin Schnell
479c4625b8 - added copyright header 2013-11-25 14:30:43 +01:00
Arvin Schnell
e592be252c - removed unused variable 2013-11-25 12:19:50 +01:00
Arvin Schnell
3d761a096b - allow to configure snapshotting from zypp-plugin depending on package list (fate#316203) 2013-11-25 11:49:26 +01:00
Arvin Schnell
18db9cf8dd - removed unused import 2013-11-22 18:41:49 +01:00
Arvin Schnell
1b26faf74f - added grub-snapper-plugin subpackage for write extra snapshot metadata for grub2 (fate#316232) 2013-10-15 16:30:44 +02:00
Arvin Schnell
fab25bddaf - userdata must be class variable 2013-10-08 13:23:18 +02:00
Arvin Schnell
c93f496166 - set userdata also for post snapshot (like 'snapper --command') 2013-10-08 12:52:51 +02:00
Arvin Schnell
4145ab75e1 - make pam module optional
- set better cflags
- avoid some compiler warnings
2013-05-03 09:51:20 +02:00
Arvin Schnell
02ad552c9c - added PAM module from mge 2013-05-02 15:26:21 +02:00
Arvin Schnell
86b9d881d4 - removed obsolete calls to renice and ionice in cron scripts 2013-02-21 14:25:50 +01:00
Arvin Schnell
65b495aa0f - zypp-plugin required dbus-1-python 2013-02-07 18:14:00 +01:00
Arvin Schnell
971480a5d6 - handle userdata in zypp plugin (fate #312521) 2012-11-21 11:57:21 +01:00
Richard Hughes
97518cc005 Make the zypp plugin optional, but enabled by default 2012-11-14 17:50:01 +01:00
Arvin Schnell
88ae558d0c - work on dbus interface 2012-07-24 10:19:52 +02:00
Arvin Schnell
2dd99b4f3e - work on dbus interface 2012-04-27 14:42:38 +02:00
Arvin Schnell
2a3349fd91 - work on dbus interface 2012-04-27 12:08:18 +02:00
Arvin Schnell
5178de7ff7 - better comment 2012-04-11 12:02:47 +02:00
Arvin Schnell
401c3313dc - add executable name to description 2011-06-29 12:27:08 +02:00
Arvin Schnell
0f67a7fb07 - set cleanup-algorithm 2011-06-29 11:58:51 +02:00
Arvin Schnell
af8f7a06c3 - set cleanup-algorithm 2011-06-29 11:33:30 +02:00
Arvin Schnell
ef8377e859 - removed unneeded exit call 2011-06-28 18:07:17 +02:00