Bug 2091291 - Review Request: nebula - A scalable overlay networking tool with a focus on performance, simplicity and security
Summary: Review Request: nebula - A scalable overlay networking tool with a focus on p...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mikel Olasagasti Uranga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2091289 2091290
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-28 15:23 UTC by Fabio Alessandro Locati
Modified: 2022-06-14 01:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-03 19:06:36 UTC
Type: ---
Embargoed:
mikel: fedora-review+


Attachments (Terms of Use)

Description Fabio Alessandro Locati 2022-05-28 15:23:42 UTC
Spec URL: https://fale.fedorapeople.org/nebula/nebula.spec
SRPM URL: https://fale.fedorapeople.org/nebula/nebula-1.5.2-1.fc36.src.rpm
COPR Build (with review): https://copr.fedorainfracloud.org/coprs/fale/nebula/build/4456036/
Description: A scalable overlay networking tool with a focus on performance, simplicity and security
Fedora Account System Username: fale

Comment 1 Mikel Olasagasti Uranga 2022-05-28 16:21:11 UTC
- You're installing a systemd service but spec is missing systemd scriplets. Check https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd

- RPM build warnings:
    File listed twice: /usr/share/doc/nebula/README.md
    File listed twice: /usr/share/doc/golang-github-slackhq-nebula-devel/README.md

I think that removing `cert/README.md` from %doc would do the trick

- The service file will check for /etc/nebula/config.yml config file, but it's missing. You can use the example file nebula-1.5.2/examples/config.yml for example. 

You can check jdoss' spec file, lines 88 and 114: https://copr-dist-git.fedorainfracloud.org/cgit/jdoss/nebula/nebula.git/tree/nebula.spec 

- Maybe you want to add a `Fedora` string to the Build version, something like %{version}-Fedora. Check line jdoss' line 77 or doctl's spec to see how to export LDFLAGS.

Comment 3 Mikel Olasagasti Uranga 2022-05-29 08:12:08 UTC
Much better now!

I'll approve the package review, but there is one extra thing you may want to check and another issue(?) you'll need to solve:

- All the content from examples is being installed, not sure if the Vagrant and init files make sense to be installed. If you think that's required, I'll suggest to create a doc subpackage, otherwise a rm of those folders or not including `examples` at all are other options.

- A package called nebula existed in the past for Fedora, not sure how to deal with it.

fedora-review is correct:

- The specfile is sane
- License is correct
- Builds successfully in mock
- No rpmlint errors
- %check section passes
- The latest version is packaged
- The package complies with the Packaging Guidelines

Package approved! On import, don't forget to do the following:

- Add package to release-monitoring.org
- Add package to Koschei.
- Give go-sig privileges on package
- Close the review bug by referencing it in the rpm changelog and/or the Bodhi ticket. (rhbz#BUG_ID)

Thanks!

Comment 4 Fabio Alessandro Locati 2022-05-29 11:20:05 UTC
Thanks Mikel :-).

1. I'll drop the example folder before checking it in.

2. I've spoken with xvitaly and tomhughes in #fedora-devel and they confirmed that is ok with the only caveat of adding a "Conflicts: nebula < 1.0" so that there is no update and conflict risk with it.

Thanks,
Fale

Comment 5 Mikel Olasagasti Uranga 2022-05-29 11:38:11 UTC
Awesome Fabio, thanks for checking! If it is not document it could be good to note it somewhere.

Comment 6 Fedora Update System 2022-06-03 19:03:33 UTC
FEDORA-2022-562852f1f7 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-562852f1f7

Comment 7 Fedora Update System 2022-06-03 19:06:36 UTC
FEDORA-2022-562852f1f7 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2022-06-04 07:24:55 UTC
FEDORA-2022-b7d68aee70 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-b7d68aee70

Comment 9 Fedora Update System 2022-06-06 01:10:22 UTC
FEDORA-2022-b7d68aee70 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2022-b7d68aee70 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-b7d68aee70

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

Comment 10 Fedora Update System 2022-06-14 01:38:29 UTC
FEDORA-2022-b7d68aee70 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


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