Bug 1871765

Summary: Container Review Request: thoth-toolbox - This is a toolbox container image for Thoth tools
Product: [Fedora] Fedora Container Images Reporter: Christoph Görn <cgoern>
Component: Container ReviewAssignee: Qiyu Yan <yanqiyu01>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: athoscribeiro, container-review, eclipseo, package-review, yanqiyu01
Target Milestone: ---Flags: yanqiyu01: fedora-review?
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:    
Bug Blocks: 177841    

Description Christoph Görn 2020-08-24 08:38:03 UTC
Container Build Info URL: https://github.com/thoth-station/thoth-toolbox
Description: This is a toolbox container image aggregating some of Thoth tools, including micropipenv and thamos
Fedora Account System Username: goern

Comment 1 Robert-André Mauchin 🐧 2020-08-27 16:10:33 UTC
I don't understand, what are you expecting from this bug in Review Request, if we don't have anything to review?

Comment 2 Qiyu Yan 2020-08-29 10:08:15 UTC
Container review request shouldn't be here. See: https://fedoraproject.org/wiki/Container:Review_Process

Comment 3 Qiyu Yan 2020-08-29 10:48:37 UTC
Changed format, this should make fedpkg happy.

Most thing are just in same structure as what [toolbox] it self do, expect the name part, which I think is of no importance.(which I will confirm later)

[toolbox]: https://src.fedoraproject.org/container/fedora-toolbox/blob/master/f/Dockerfile

Comment 4 Qiyu Yan 2020-08-29 11:09:35 UTC
While I think using pip is not a good idea,since you are using something that haven't packaged into package collection yet, this is not compliance with guideline: https://docs.fedoraproject.org/en-US/containers/guidelines/contents/#_allowed_content

What you need to do then 
- check if those pip packages have already been packaged, if so, use dnf to install instead of pip
- if not so, package them (you can look for help from devel list)
- ping me if those are done :)

Comment 5 Athos Ribeiro 2020-08-29 11:23:35 UTC
- The .osbs-repo-config file is not needed: Fedora's OSBS has no autorebuilds enabled.

- pip content is not allowed, as per the guidelines as Qiyu pointed out.

- The version should be set to 0 according to the guidelines. Alternatively, you should install specific versions of the package so a rebuild won't turn your version into a bogus one.

- You could move the README.md to a help.md file and it should be converted to a man page in the image's root.

Comment 6 Christoph Görn 2020-09-08 08:40:47 UTC
Hey all thanks for the review. I will work on the findings. I think I followed https://docs.fedoraproject.org/en-US/containers/guidelines/contents/#_allowed_content and interpreted "SHOULD NOT container" as... should not, rather than MUST NOT.