Bug 1615641
Summary: | Review Request: compliance-masonry - Security Documentation Builder | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | redhatrises |
Component: | Package Review | Assignee: | Nobody's working on this, feel free to take it <nobody> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | eclipseo, extras-qa, hiwkby, nobody, package-review |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1609038 | Environment: | |
Last Closed: | 2021-06-07 00:45:18 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1614929, 1615976, 1615979, 1615981, 1616106 | ||
Bug Blocks: | 201449 |
Description
redhatrises
2018-08-13 23:52:55 UTC
*** Bug 1609038 has been marked as a duplicate of this bug. *** Here is an updated rpm with the latest release with the new go macros etc. Updated Spec URL: https://copr-be.cloud.fedoraproject.org/results/rga/compliance-masonry/fedora-28-x86_64/00788804-compliance-masonry/compliance-masonry.spec Updated SRPM URL: https://copr-be.cloud.fedoraproject.org/results/rga/compliance-masonry/fedora-28-x86_64/00788804-compliance-masonry/compliance-masonry-1.1.5-1.fc28.src.rpm This package is ready for review. All dependencies are now in Rawhide. Hi, this is an unofficial review. Please read it for your reference. Summary: - No rpmlint errors and warnings - Koji build success - 2 suggestions on packaging 1. Rpmlint found no 0 errors, 0 warnings! $ curl -O https://copr-be.cloud.fedoraproject.org/results/rga/compliance-masonry/fedora-28-x86_64/00788804-compliance-masonry/compliance-masonry.s\ pec $ md5sum compliance-masonry.spec 1f6aca8dcd935fc0cdef6f55940c3a02 compliance-masonry.spec $ rpmlint -i compliance-masonry.spec 0 packages and 1 specfiles checked; 0 errors, 0 warnings. 2. Scratch Build by Koji is success. https://koji.fedoraproject.org/koji/taskinfo?taskID=31363528 3. Others 3.1. vendor folder I found the vendor folder in koji build log but is it required? https://kojipkgs.fedoraproject.org//work/tasks/3529/31363529/build.log I found a same golang rpm package that contains BuildRequires directive as your package and it successfully built without vendor folder. I think it means you could remove the vendor folder too if you have no special reasons. https://bugzilla.redhat.com/show_bug.cgi?id=1655785 https://kojipkgs.fedoraproject.org//packages/golang-github-ovh/0/0.2.20181207gitba5adb4.fc30/data/logs/x86_64/build.log Reference: The packaging guideline says ``` Software which downloads code bundles from the internet in order to be functional or useful is not acceptable for inclusion in Fedora (regardless of whether the downloaded code would be acceptable to be packaged in Fedora as a proper dependency). ``` https://docs.fedoraproject.org/en-US/packaging-guidelines/what-can-be-packaged/#_packages_which_are_not_useful_without_external_code 3.2. Naming compliance-masonry should be golang-github-compliance-masonry. I think you need not to define %goname in your spec file because the %gometa macro defines it. https://fedoraproject.org/wiki/More_Go_packaging#Spec_preamble:_.25.7Bgoipath.7D.2C_.25.7Bforgeurl.7D_and_.25gometa Reference: The golang naming guidlines which is still in WIP provides the package naming guideline. https://fedoraproject.org/wiki/PackagingDrafts/Go#Package_Names gofed is another solution that helps you to generate your spec file. https://github.com/gofed/gofed#spec-file-generator Thanks in advance, Hirotaka Wakabayashi Ignore my comment about Naming because the following guideline says a binary package do not need a "golang" prefix and I think your package is a binary package. https://fedoraproject.org/wiki/PackagingDrafts/Go#Packaging_Binaries Thanks, Hirotaka Wakabayashi This is an automatic check from review-stats script. This review request ticket hasn't been updated for some time. We're sorry it is taking so long. If you're still interested in packaging this software into Fedora repositories, please respond to this comment clearing the NEEDINFO flag. You may want to update the specfile and the src.rpm to the latest version available and to propose a review swap on Fedora devel mailing list to increase chances to have your package reviewed. If this is your first package and you need a sponsor, you may want to post some informal reviews. Read more at https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group. Without any reply, this request will shortly be considered abandoned and will be closed. Thank you for your patience. This is an automatic action taken by review-stats script. The ticket submitter failed to clear the NEEDINFO flag in a month. As per https://fedoraproject.org/wiki/Policy_for_stalled_package_reviews we consider this ticket as DEADREVIEW and proceed to close it. |