[Bug 2293636] Review Request: golang-github-nvidia-nvml - Go Bindings for the NVIDIA Management Library (NVML)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2293636



--- Comment #5 from Debarshi Ray <debarshir@xxxxxxxxxx> ---
Thanks for the review!

(In reply to Mikel Olasagasti Uranga from comment #3)
> > I chose to disable the tests by default because a few of them require the presence of the proprietary NVIDIA driver.
> 
> Can add this as a comment before the bcond_with?

Sure.  Added.

> > The Git tags and versions used by upstream (eg., v0.12.4-0) are not valid RPM versions because they contain a dash.  That's why I chose to define '%tag' and left the %version as 0.
> 
> What a strange way to version the package. One option would be to use:
> 
> Version:                0.12.4.0
> %global tag             v0.12.4-0
> 
> WDYT? You'll need to generate the package with `go2rpm -q
> github.com/NVIDIA/go-nvml -t v0.12.4-0` and modify the Version entry.

Okay!  That definitely makes the RPM's version a lot saner.  Thanks for the
tip.  :)

> > The generated Provides don't have 'golang(github.com/NVIDIA/go-nvml)'.  I hope that's alright because the top-level source directory doesn't have any Go sources.  So, users of this module need to import the sub-paths.
> 
> It's correct and not an issue. If you check the example in the README file
> you'll see they're not using top-level dir, but the whole path as expected:
> https://github.com/NVIDIA/go-nvml/blob/main/README.md?plain=1#L59

Okay.

> On top of these changes, would it be possible to update to latest go2rpm
> (1.12.0) package?

For some reason, running go2rpm inside my Fedora 40 Toolbx container is
erroring out with a Python traceback that seems to be due to 'git config
user.name' finishing with exit code 1, even though I have:
$ env | grep GIT
GIT_COMMITTER_NAME=Debarshi Ray
GIT_AUTHOR_EMAIL=rishi@xxxxxxxxxxxxxxxxx
GIT_COMMITTER_EMAIL=rishi@xxxxxxxxxxxxxxxxx
GIT_AUTHOR_NAME=Debarshi Ray

I will dig into it.

Meanwhile, I have uploaded the other changes:

Spec URL: https://rishi.fedorapeople.org/golang-github-nvidia-nvml.spec
SRPM URL:
https://rishi.fedorapeople.org/golang-github-nvidia-nvml-0.12.4.0-1.fc38.src.rpm


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2293636

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202293636%23c5
--
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux