Bug 1784420 - Review Request: rust-coreos-installer - Installer for Fedora CoreOS and RHEL CoreOS
Summary: Review Request: rust-coreos-installer - Installer for Fedora CoreOS and RHEL ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-17 11:56 UTC by Robert Fairley
Modified: 2019-12-21 10:21 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-12-21 10:21:09 UTC
Type: ---
Embargoed:
eclipseo: fedora-review+


Attachments (Terms of Use)

Description Robert Fairley 2019-12-17 11:56:56 UTC
Spec URL: https://rfairley.fedorapeople.org/package-review/rust-coreos-installer.spec
SRPM URL: https://rfairley.fedorapeople.org/package-review/rust-coreos-installer-0.1.0-1.fc32.src.rpm
Description: Installer for Fedora CoreOS and RHEL CoreOS.
Fedora Account System Username: rfairley

This renames the current `coreos-installer` package [1], accordingly with the recent rewrite in Rust [2]. The `coreos-installer` package will be superseded by `rust-coreos-installer` - and will be deprecated once `rust-coreos-installer` is created.

Note that the SRPM linked above was built with the crates `rust-progress-streams` and `rust-cpio` installed in a local buildroot - `rust-coreos-installer` will not build in Koji until those crates are present (pending reviews [3] and [4]).

[1] https://src.fedoraproject.org/rpms/coreos-installer
[2] https://github.com/coreos/coreos-installer/pull/65
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1784413
[4] https://bugzilla.redhat.com/show_bug.cgi?id=1784412

Comment 1 Robert Fairley 2019-12-17 12:25:48 UTC
Updated the description in the specfile to:

```
coreos-installer installs Fedora CoreOS or RHEL CoreOS to bare-metal
machines (or, occasionally, to virtual machines).
```

- updated the specfile, SRPM accordingly at the above links.

Comment 2 Robert-André Mauchin 🐧 2019-12-17 21:18:56 UTC
 - You need to add a comment above the patch explaining the changes you've done.

 - I don't think that is necessary:

Obsoletes:      coreos-installer < 0.0.1

 - You probably need a Provides along the coreos-installer-dracut Obsoletes

Provides:      coreos-installer-dracut = %{version}-%{release}


 - License ok
 - Latest version packaged
 - Builds in mock
 - Conforms to Packaging Guidelines

Comment 3 Dusty Mabe 2019-12-18 16:02:14 UTC
(In reply to Robert-André Mauchin from comment #2)
>  - I don't think that is necessary:
> 
> Obsoletes:      coreos-installer < 0.0.1

Why is this not necessary?

Comment 4 Dusty Mabe 2019-12-18 18:31:50 UTC
(In reply to Dusty Mabe from comment #3)
> (In reply to Robert-André Mauchin from comment #2)
> >  - I don't think that is necessary:
> > 
> > Obsoletes:      coreos-installer < 0.0.1
> 
> Why is this not necessary?

I think I see. It's not necessary because this `rust-coreos-installer` source package creates a `coreos-installer` subpackage and that will have a higher version so the old one will get obsoleted anyway.

Comment 5 Robert-André Mauchin 🐧 2019-12-18 18:32:55 UTC
(In reply to Dusty Mabe from comment #3)
> (In reply to Robert-André Mauchin from comment #2)
> >  - I don't think that is necessary:
> > 
> > Obsoletes:      coreos-installer < 0.0.1
> 
> Why is this not necessary?

This is the same package name with a newer Version-Release, it will automatically supersede coreos-installer < 0.0.1

Comment 6 Robert Fairley 2019-12-20 20:14:06 UTC
(In reply to Robert-André Mauchin from comment #2)
>  - You need to add a comment above the patch explaining the changes you've
> done.
> 

Added a comment in the specfile, and also uploaded a diff (sorry, did not upload the diff before): https://rfairley.fedorapeople.org/package-review/rust-coreos-installer-2/coreos-installer-fix-metadata.diff

>  - I don't think that is necessary:
> 
> Obsoletes:      coreos-installer < 0.0.1
> 

Removed this - makes sense. Added a comment noting why this is removed.

>  - You probably need a Provides along the coreos-installer-dracut Obsoletes
> 
> Provides:      coreos-installer-dracut = %{version}-%{release}
> 

Since the dracut modules will not be included in this package, and will soon be
replaced by https://github.com/coreos/coreos-installer/pull/100, I've left the
`Provides` out. The `Obsoletes` should be sufficient here.

I also updated the specfile for the 0.1.1 version - released recently.

Updated specfile and SRPM:

Spec URL: https://rfairley.fedorapeople.org/package-review/rust-coreos-installer-2/rust-coreos-installer.spec
SRPM URL: https://rfairley.fedorapeople.org/package-review/rust-coreos-installer-2/rust-coreos-installer-0.1.1-1.fc32.src.rpm

Comment 7 Robert-André Mauchin 🐧 2019-12-20 20:26:52 UTC
LGTM, package approved.

Comment 8 Gwyn Ciesla 2019-12-20 21:17:54 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-coreos-installer

Comment 9 Robert Fairley 2019-12-20 21:24:11 UTC
Thank you for reviewing!


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