Skip to content

snapm: bump release to 0.4.1#183

Merged
bmr-cymru merged 3 commits intosnapm-0.4.0-rebasefrom
bmr-0.4.1-release-prep
Apr 3, 2025
Merged

snapm: bump release to 0.4.1#183
bmr-cymru merged 3 commits intosnapm-0.4.0-rebasefrom
bmr-0.4.1-release-prep

Conversation

@bmr-cymru
Copy link
Copy Markdown
Contributor

No description provided.

@bmr-cymru bmr-cymru self-assigned this Apr 2, 2025
@packit-as-a-service
Copy link
Copy Markdown

Congratulations! One of the builds has completed. 🍾

You can install the built RPMs by following these steps:

  • sudo yum install -y dnf-plugins-core on RHEL 8
  • sudo dnf install -y dnf-plugins-core on Fedora
  • dnf copr enable packit/snapshotmanager-snapm-183
  • And now you can install the packages.

Please note that the RPMs should be used only in a testing environment.

@bmr-cymru bmr-cymru force-pushed the bmr-0.4.1-release-prep branch 4 times, most recently from 0662570 to f4a3bb1 Compare April 3, 2025 14:45
The python dependencies are automatically generated so setting the
dependency manually in the spec file is redundant.
@bmr-cymru bmr-cymru force-pushed the bmr-0.4.1-release-prep branch from f4a3bb1 to a1e20ca Compare April 3, 2025 15:22
@bmr-cymru
Copy link
Copy Markdown
Contributor Author

/packit build

@bmr-cymru bmr-cymru merged commit a1e20ca into snapm-0.4.0-rebase Apr 3, 2025
8 checks passed
@bmr-cymru
Copy link
Copy Markdown
Contributor Author

Successfully tested create, delete, split, prune, revert on Fedora rawhide:

root@localhost:~# snapm snapset create upgrade -br / /var
SnapsetName:      upgrade
Sources:          /, /var
NrSnapshots:      2
Time:             2025-04-03 17:05:19
UUID:             1f8690a1-02c0-544d-bd2f-9e765ba1075d
Status:           Active
Autoactivate:     yes
Bootable:         yes
BootEntries:
  SnapshotEntry:  505fb67
  RevertEntry:    970ff30
root@localhost:~# boom list -o+title
BootID  Version                                            Name                     RootDevice                                    Title
cf40698 6.13.8-100.fc40.x86_64                             Fedora Linux             /dev/mapper/fedora-root                       Fedora Linux (6.13.8-100.fc40.x86_64) 40 (Server Edition)
d859b51 6.15.0-0.rc0.20250331git4e82c87058f4.6.fc43.x86_64 Fedora Linux             /dev/mapper/fedora-root                       Fedora Linux (6.15.0-0.rc0.20250331git4e82c87058f4.6.fc43.x86_64) 43 (Server Edition Prerelease)
505fb67 6.15.0-0.rc0.20250331git4e82c87058f4.6.fc43.x86_64 Fedora Linux             /dev/fedora/root-snapset_upgrade_1743696319_- Snapshot upgrade 2025-04-03 17:05:19 (6.15.0-0.rc0.20250331git4e82c87058f4.6.fc43.x86_64)
970ff30 6.15.0-0.rc0.20250331git4e82c87058f4.6.fc43.x86_64 Fedora Linux             /dev/fedora/root                              Revert upgrade 2025-04-03 17:05:19 (6.15.0-0.rc0.20250331git4e82c87058f4.6.fc43.x86_64)
root@localhost:~# dnf update
...
root@localhost:~# snapm snapset list
SnapsetName  Time                 NrSnapshots Status  Sources
upgrade      2025-04-03 17:05:19            2 Active  /, /var
root@localhost:~# snapm snapset revert upgrade
  Delaying merge since snapshot is open.
  Merging of snapshot fedora/root-snapset_upgrade_1743696319_- will occur on next activation of fedora/root.
  Delaying merge since snapshot is open.
  Merging of snapshot fedora/var-snapset_upgrade_1743696319_-var will occur on next activation of fedora/var.
WARNING - Snaphot set upgrade is in use: reboot required to complete revert
WARNING - Boot into 'Revert upgrade 2025-04-03 17:05:19 (6.15.0-0.rc0.20250331git4e82c87058f4.6.fc43.x86_64)' to continue
root@localhost:~# reboot
root@localhost:~# Connection to 192.168.122.89 closed by remote host.
...
root@localhost:~# uname -r
6.15.0-0.rc0.20250331git4e82c87058f4.6.fc43.x86_64
root@localhost:~# snapm snapset list
SnapsetName  Time                 NrSnapshots Status    Sources
upgrade      2025-04-03 17:05:19            1 Reverting /
...
root@localhost:~# snapm snapset create bad@name /
ERROR - Command failed: Snapshot set name cannot include '@'
root@localhost:~# snapm snapset create bad:name /
ERROR - Command failed: Snapshot set name cannot include ':'
root@localhost:~# snapm snapset create bad\|name /
ERROR - Command failed: Snapshot set name cannot include '|'
root@localhost:~# snapm snapset create -br upgrade / /var /home
SnapsetName:      upgrade
Sources:          /, /var, /home
NrSnapshots:      3
Time:             2025-04-03 17:14:04
UUID:             48ce4504-1593-5336-bbcd-bbf07896b93e
Status:           Active
Autoactivate:     yes
Bootable:         yes
BootEntries:
  SnapshotEntry:  95f1692
  RevertEntry:    23b4c08
root@localhost:~# snapm snapset split upgrade noupgrade /home
SnapsetName:      noupgrade
Sources:          /home
NrSnapshots:      1
Time:             2025-04-03 17:14:04
UUID:             21eed971-e458-5803-b695-b3cdade2348e
Status:           Active
Autoactivate:     yes
Bootable:         no
root@localhost:~# snapm snapset prune upgrade /var
SnapsetName:      upgrade
Sources:          /
NrSnapshots:      1
Time:             2025-04-03 17:14:04
UUID:             48ce4504-1593-5336-bbcd-bbf07896b93e
Status:           Active
Autoactivate:     yes
Bootable:         no
root@localhost:~# snapm snapset list
SnapsetName  Time                 NrSnapshots Status  Sources
noupgrade    2025-04-03 17:14:04            1 Active  /home
upgrade      2025-04-03 17:14:04            1 Active  /

@bmr-cymru bmr-cymru deleted the bmr-0.4.1-release-prep branch May 30, 2025 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant