https://bugzilla.redhat.com/show_bug.cgi?id=1529824
Bug ID: 1529824 Summary: Review Request: awx - AWX, Ansible Management GUI Product: Fedora Version: rawhide Component: Package Review Severity: medium Priority: medium Assignee: nobody@fedoraproject.org Reporter: mj@casalogic.dk QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org
Spec URL: https://copr-be.cloud.fedoraproject.org/results/mrmeee/awx/epel-7-x86_64/006... SRPM URL: https://copr-be.cloud.fedoraproject.org/results/mrmeee/awx/epel-7-x86_64/006... Description: AWX, Ansible Management GUI Fedora Account System Username: mrmeee
https://bugzilla.redhat.com/show_bug.cgi?id=1529824
Martin Juhl mj@casalogic.dk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mj@casalogic.dk Component|Package Review |Package Review Version|rawhide |epel7 Product|Fedora |Fedora EPEL
https://bugzilla.redhat.com/show_bug.cgi?id=1529824
--- Comment #1 from Martin Juhl mj@casalogic.dk --- Install instructions are available here:
https://github.com/MrMEEE/awx-build/blob/master/installguide
https://bugzilla.redhat.com/show_bug.cgi?id=1529824
Neal Gompa ngompa13@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ngompa13@gmail.com Component|Package Review |Package Review Version|epel7 |rawhide Product|Fedora EPEL |Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=1529824
--- Comment #2 from Martin Juhl mj@casalogic.dk --- INFO: Currently, AWX does not build on Fedora, so it's not possible to push this into Rawhide for testing...
https://bugzilla.redhat.com/show_bug.cgi?id=1529824
--- Comment #3 from Neal Gompa ngompa13@gmail.com --- This package spec is terribly broken, and doesn't follow *any* of the packaging guidelines at all.
Please review the guidelines and rework the spec accordingly: https://fedoraproject.org/wiki/Packaging:Guidelines
https://bugzilla.redhat.com/show_bug.cgi?id=1529824
--- Comment #4 from Martin Juhl mj@casalogic.dk --- Hi
Could you give me some hints? I don't see what is broken? is it because the package includes a virtual environment?
Also, as mentioned earlier, the package doesn't build on Fedora, so I want to push it directly to EPEL-test...
https://bugzilla.redhat.com/show_bug.cgi?id=1529824
--- Comment #5 from Neal Gompa ngompa13@gmail.com --- This covers the major issues:
* Amazon Linux doesn't use Upstart anymore. They just released Amazon Linux 2, which uses systemd and they're no longer supporting Amazon Linux AMI v1 (which used upstart). Aside from that, packages for Fedora and EPEL cannot have Amazon Linux specific conditionals.
c.f.: https://fedoraproject.org/wiki/Packaging:Guidelines#Spec_Legibility
* Your Source0 is invalid. It needs to point to valid URL or have a comment of some kind describing where it came from.
c.f.: https://fedoraproject.org/wiki/Packaging:SourceURL
* License is wrong. It's "ASL 2.0", not GPLv3: https://github.com/ansible/awx/blob/devel/LICENSE.md
* Vendor, Prefix, and BuildRoot tags MUST NOT be used. * Group is not mandatory, but when used, should match one of the following groups: https://fedoraproject.org/wiki/RPMGroups
c.f.: https://fedoraproject.org/wiki/Packaging:Guidelines#Tags_and_Sections c.f.: https://fedoraproject.org/wiki/Packaging:Guidelines#Relocatable_packages
* Packaging virtualenvs is not permitted in Fedora. Moreover, there is no internet access in the build environment, so packaging virtualenvs is functionally impossible.
c.f.: https://fedoraproject.org/wiki/Packaging:Guidelines#Build_time_network_acces...
* Web app files should be installed into `/usr/share/%{name}` rather than in a weird virtualenv location.
c.f.: https://fedoraproject.org/wiki/Packaging:Guidelines#Web_Applications
Packages like AWX can absolutely work in Fedora and EPEL, you just need to leverage the system packages for its dependent components.
https://bugzilla.redhat.com/show_bug.cgi?id=1529824
--- Comment #6 from Martin Juhl mj@casalogic.dk --- Ok.. thanks...
I'll rework the spec, if I can get the depends to check out..
Thanks again...
https://bugzilla.redhat.com/show_bug.cgi?id=1529824
Raphael Groner projects.rg@smart.ms changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |projects.rg@smart.ms
--- Comment #7 from Raphael Groner projects.rg@smart.ms ---
Source0: /dist/awx-1.0.2.0.tar.gz
Where do you get the sources from? Please add some comments or URL. https://fedoraproject.org/wiki/Licensing:Main https://fedoraproject.org/wiki/Packaging:Guidelines#Code_Vs_Content
aws is already choosen as a package name. We would have to use another name, maybe try aws-management? https://src.fedoraproject.org/rpms/aws https://fedoraproject.org/wiki/Packaging:Guidelines#Spec_File_Naming
Propably we need some help from legal team.
https://bugzilla.redhat.com/show_bug.cgi?id=1529824
--- Comment #8 from Raphael Groner projects.rg@smart.ms --- Somehow confusing. Maybe we talk about that Ansible AWX: https://www.ansible.com/blog/5-things-you-can-do-with-awx
Can you use the package name ansible-awx? https://fedoraproject.org/wiki/Packaging:Naming?rd=Packaging:NamingGuideline...
https://bugzilla.redhat.com/show_bug.cgi?id=1529824
--- Comment #9 from Martin Juhl mj@casalogic.dk --- @Raphael: the package is right now named awx, not aws.. should it still be named ansible-awx?
Thanks for the suggestions.. right now i'm trying to sort out the dependency hell, that is need for AWX to run (pip packages for most).. and how many of them are already in EPEL/RHEL/CentOS and in which versions..
https://bugzilla.redhat.com/show_bug.cgi?id=1529824
--- Comment #10 from Raphael Groner projects.rg@smart.ms --- (In reply to Martin Juhl from comment #9)
@Raphael: the package is right now named awx, not aws.. should it still be named ansible-awx?
IMHO ansible-awx is a more readable name to let everyone know what it is. And please notice the guideline about package name for an addon, here to ansible. https://fedoraproject.org/wiki/Packaging:Naming?rd=Packaging:NamingGuideline...
package-review@lists.fedoraproject.org