Bug 2521666 - Review Request: grub2-snapper-plugin - Snapper integration for grub2
Summary: Review Request: grub2-snapper-plugin - Snapper integration for grub2
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-23 19:48 UTC by Shawn W Dunn
Modified: 2026-09-06 22:20 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
ngompa13: fedora-review?


Attachments (Terms of Use)

Comment 1 Neal Gompa 2026-08-23 19:52:05 UTC
Taking this review.

Comment 2 Neal Gompa 2026-08-26 13:46:21 UTC
Initial spec review:

> Version:        0.1.339f590

This version doesn't make sense. It doesn't follow any real version or Fedora's snapshot versioning scheme.

Cf. https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_complex_versioning

> Source0:        %{name}-%{version}.tar.zst

This needs to be a SourceURL.

> %autosetup -p1

Unless you plan to support EPEL 9 or older, this can be "%autosetup -C -p1", so that you don't have to deal with the name-version inconsistency once you fix Version.

> %config(noreplace) %{_sysconfdir}/grub.d/80_suse_btrfs_snapshot

I'm pretty sure this is a script and not configuration, so this shouldn't be declared as a config file.

(Yes, I know it's in the wrong place for that... GRUB needs to fix that someday...)

Comment 4 Luan Vitor Simião Oliveira 2026-09-06 22:20:40 UTC
Please note that i am not a fedora packager and this is a practice review

do you have any specific reason to not use %autorelease and %autochangelog?

https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_release_tag
https://docs.fedoraproject.org/en-US/packaging-guidelines/#changelogs


Note You need to log in before you can comment on or make changes to this bug.