Bug 2243351 - Review Request: composefs - Tools to handle creating and mounting composefs images
Summary: Review Request: composefs - Tools to handle creating and mounting composefs i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/containers/composefs
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-11 20:54 UTC by Stephen John Smoogen
Modified: 2023-11-03 13:27 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-11-03 00:33:47 UTC
Type: ---
Embargoed:
walters: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 6524067 to 6532624 (1.13 KB, patch)
2023-10-16 22:05 UTC, Fedora Review Service
no flags Details | Diff

Description Stephen John Smoogen 2023-10-11 20:54:42 UTC
Spec URL: https://smooge.fedorapeople.org/composefs/composefs.spec
SRPM URL: https://smooge.fedorapeople.org/composefs/composefs-1.0.0-1.fc40.src.rpm

Description: 
Tools to handle creating and mounting composefs images. The composefs
project combines several underlying Linux features to provide a very
flexible mechanism to support read-only mountable filesystem trees,
stacking on top of an underlying "lower" Linux filesystem.

Fedora Account System Username: smooge

Comment 2 Stephen John Smoogen 2023-10-13 17:54:58 UTC
Updated to 1.0.1 
Spec URL: https://smooge.fedorapeople.org/composefs/composefs.spec
SRPM URL: https://smooge.fedorapeople.org/composefs/composefs-1.0.1/composefs-1.0.1-1.fc40.src.rpm
RPM(s) URL: https://smooge.fedorapeople.org/composefs/composefs-1.0.1/

COPR is having problems currently so no updated builds there.

Comment 3 Fedora Review Service 2023-10-13 18:03:43 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6524067
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2243351-composefs/fedora-rawhide-x86_64/06524067-composefs/fedora-review/review.txt

Please take a look if any issues were found.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 4 Artur Frenszek-Iwicki 2023-10-16 12:11:57 UTC
The base package Requires -libs, and -devel requires the base package, while -libs can be installed separately.
However, in the %files section, the license text is included only in the base package - hence,
it is possible to install -libs without getting the license text installed.

License text should be either included in both the base package and -libs, or moved to -libs.
(Since the base package requires -libs, and -devel requires the base package, putting the license text
only in -libs still ensures that the license text will always be installed.)
https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#subpackage-licensing

> %files
> %{_mandir}/man*/*.gz
Do not assume man pages will be gzipped.
Use a wildcard that can match any compression format.
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_manpages

Comment 5 Colin Walters 2023-10-16 17:17:43 UTC
Might as well use autorelease and autochangelog btw?

Comment 6 Stephen John Smoogen 2023-10-16 17:53:01 UTC
@colin I can do so after the package is accepted into Fedora. I have not had much luck using them on packages outside of a 'forge', but that may be my not knowing the tooling well.

Comment 7 Stephen John Smoogen 2023-10-16 17:54:50 UTC
(In reply to Artur Frenszek-Iwicki from comment #4)
> The base package Requires -libs, and -devel requires the base package, while
> -libs can be installed separately.
> However, in the %files section, the license text is included only in the
> base package - hence,
> it is possible to install -libs without getting the license text installed.
> 
> License text should be either included in both the base package and -libs,
> or moved to -libs.
> (Since the base package requires -libs, and -devel requires the base
> package, putting the license text
> only in -libs still ensures that the license text will always be installed.)
> https://docs.fedoraproject.org/en-US/packaging-guidelines/
> LicensingGuidelines/#subpackage-licensing
> 

Thanks. I thought I misread the ordering of packages. Will fix this


> > %files
> > %{_mandir}/man*/*.gz
> Do not assume man pages will be gzipped.
> Use a wildcard that can match any compression format.
> https://docs.fedoraproject.org/en-US/packaging-guidelines/#_manpages

thanks again

Comment 8 Stephen John Smoogen 2023-10-16 18:58:58 UTC
Fixed the items Artur Frenszek-Iwicki pointed out and uploaded new items to fedorapeople.org

COPR toplevel: https://copr.fedorainfracloud.org/coprs/smooge/composefs/
SRPM: https://smooge.fedorapeople.org/composefs/composefs-1.0.1-2/composefs-1.0.1-2.fc40.src.rpm
SPEC: https://smooge.fedorapeople.org/composefs/composefs-1.0.1-2/composefs.spec

Comment 9 Colin Walters 2023-10-16 20:56:39 UTC
I'm uncertain whether we should --with-fuse now.  It's more of a demo/debugging tool IMO.  Arguably if we do ship it it could be a subpackage.

I could definitely see us wanting to ship small images without FUSE.

For now my vote would be to drop it.

Comment 10 Fedora Review Service 2023-10-16 22:05:10 UTC
Created attachment 1994222 [details]
The .spec file difference from Copr build 6524067 to 6532624

Comment 11 Fedora Review Service 2023-10-16 22:05:12 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6532624
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2243351-composefs/fedora-rawhide-x86_64/06532624-composefs/fedora-review/review.txt

Please take a look if any issues were found.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 12 Alexander Larsson 2023-10-17 07:56:12 UTC
--with-fuse just builds the fuse binary for the tests, it is not installed, so is not in the resulting rpm. Same with --with-yajl, it implies composefs-from-json which is also only used for the tests.

Since we don't seem to be running make check that seems unnecessary, or maybe we should add a make check run into it?

Comment 13 Colin Walters 2023-10-21 15:11:48 UTC
This looks fine to me for now. 

> maybe we should add a make check run into it?

That's likely to break I believe because `make check` uses e.g. FUSE etc. and I wouldn't be surprised if Koji filters that out.

Really we need to do install tests for composefs to do real testing.

Comment 14 Artur Frenszek-Iwicki 2023-10-21 15:47:37 UTC
> Requires: %{name}-libs = %{version}-%{release}
The main package's dependency on the -libs subpackage should be archful: %{name}-libs%{?_isa} = %{version}-%{release}

Comment 15 Colin Walters 2023-10-23 13:43:50 UTC
Thanks.  Fixed locally.

(I'm trying to take over this one because it's important for ostree/bootc work)

https://pagure.io/releng/fedora-scm-requests/issue/57467

Comment 16 Colin Walters 2023-10-23 13:45:45 UTC
Ah, I guess I can't and smooge needs to.

Comment 17 Stephen John Smoogen 2023-10-25 16:33:06 UTC
@walters now that it is assigned to you, can you set the review flag to ?, save, then set the review flag to +. I can't seem to trigger the request because I am the owner of the ticket (the previous failure was because you had set it to + before owning the ticket so it didn't know who to set the from on the ticket.]

Comment 18 Colin Walters 2023-10-25 17:15:19 UTC
(To be clear I was more trying to assist/push things forward here and ideally maintenance is collaborative; I think this package is exactly one that should be owned by a joint "image based updates" team)

Comment 19 Fedora Admin user for bugzilla script actions 2023-10-25 18:59:11 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/composefs

Comment 20 Fedora Update System 2023-10-25 19:42:29 UTC
FEDORA-EPEL-2023-9ca8524f72 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-9ca8524f72

Comment 21 Fedora Update System 2023-10-26 02:55:11 UTC
FEDORA-EPEL-2023-9ca8524f72 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-9ca8524f72

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 22 Colin Walters 2023-10-29 19:14:48 UTC
Stephen can you please make me, alex and giuseppe admins on this package?

xref https://pagure.io/releng/fedora-scm-requests/issue/57676

Comment 23 Fedora Update System 2023-11-03 00:33:47 UTC
FEDORA-EPEL-2023-9ca8524f72 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 24 Stephen John Smoogen 2023-11-03 13:27:52 UTC
I have added walters and alexl to package. giuseppe does not seem to be a packager and I don't know the process to make them one these days.


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