Bug 1862054

Summary: Container Review Request: trojan - An unidentifiable mechanism that helps you avoid censorship
Product: [Fedora] Fedora Container Images Reporter: Qiyu Yan <yanqiyu01>
Component: Container ReviewAssignee: Athos Ribeiro <athoscribeiro>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: athoscribeiro, container-review
Target Milestone: ---Flags: athoscribeiro: fedora-review+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-21 23:51:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Qiyu Yan 2020-07-30 10:12:46 UTC
Container Build Info URL: https://github.com/karuboniru/review-temp/blob/master/Dockerfile
Description: An unidentifiable mechanism that helps you avoid censorship.
Fedora Account System Username: yanqiyu

Comment 1 Qiyu Yan 2020-08-02 09:26:06 UTC
I noticed that fedorapeople.org hides my README.md on website, so I put things on github instead (and updated the link in #1)

Comment 2 Athos Ribeiro 2020-08-02 10:06:41 UTC
Hi,

I will be taking this one.

- Are all the labels not listed in https://docs.fedoraproject.org/en-US/containers/guidelines/creation/ really desired here?

- The help label says 'help="cat /README.md"', In this case, I believe the README.md file should also be provided for the review, and should be placed in /README.md. IMHO, you could just create a help.md file to be shipped in the dist-git root and (see coments below) and drop this label.

- All volumes must be documented in a help.md file, as per https://docs.fedoraproject.org/en-US/containers/guidelines/creation/#_volumes

- It would also be nice to document the exposed ports in the help.md file, as per https://docs.fedoraproject.org/en-US/containers/guidelines/help_file/

For the help.md file, you could also check the changes I am proposing in https://github.com/containers/docs/pull/5

Comment 3 Qiyu Yan 2020-08-02 11:01:19 UTC
(In reply to Athos Ribeiro from comment #2)
> Hi,
> 
> I will be taking this one.
> 
> - Are all the labels not listed in
> https://docs.fedoraproject.org/en-US/containers/guidelines/creation/ really
> desired here?
About the extra labels I am trying to copy things as in other review requires
- https://bugzilla.redhat.com/show_bug.cgi?id=1439532
- https://bugzilla.redhat.com/show_bug.cgi?id=1438406
Should I delete them?
> 
> - The help label says 'help="cat /README.md"', In this case, I believe the
> README.md file should also be provided for the review, and should be placed
> in /README.md. IMHO, you could just create a help.md file to be shipped in
> the dist-git root and (see coments below) and drop this label.
The fedorapeople.org hides them, I changed to github instead
> 
> - All volumes must be documented in a help.md file, as per
> https://docs.fedoraproject.org/en-US/containers/guidelines/creation/#_volumes
> 
> - It would also be nice to document the exposed ports in the help.md file,
> as per https://docs.fedoraproject.org/en-US/containers/guidelines/help_file/
- They are in README.md, should I place a help.md symlink?
> 
> For the help.md file, you could also check the changes I am proposing in
> https://github.com/containers/docs/pull/5

Comment 4 Qiyu Yan 2020-08-02 11:09:35 UTC
Okay, changed
 - rename from readme.md to help.md, no longer copy them to container root
 - drop extra labels

Comment 5 Athos Ribeiro 2020-08-07 22:50:48 UTC
Hi Qiyu,

Sorry for the delay here, I realized I had not assigned this to me.

This looks great. Two final details:

- you do not need to copy the help.md file into the image, OSBS will do the magic for you. Just remove the copy line.

- In the help.md file, you need to document which port you are exposing (that does not depend on the config fil, right?)

Comment 6 Qiyu Yan 2020-08-09 10:59:00 UTC
(In reply to Athos Ribeiro from comment #5)
> Hi Qiyu,
> 
> Sorry for the delay here, I realized I had not assigned this to me.
> 
> This looks great. Two final details:
> 
> - you do not need to copy the help.md file into the image, OSBS will do the
> magic for you. Just remove the copy line.
Done.
> 
> - In the help.md file, you need to document which port you are exposing
> (that does not depend on the config fil, right?)
Actually, it depends on the port specified in the configuration file, I am suggesting to specify port 1080 in this case.

Comment 7 Athos Ribeiro 2020-08-09 11:43:57 UTC
This looks good to me.

I'd rather have that expose section improved, i.e., what are you exposing, and how to use it. The run label example is not referencing the exposed port at all.

I think it is OK to ask users to set their config files to use a specific port so they won't need to change the "run" example or rebuild the image locally to expose a different port.

I will trust you will improve docs as it fits for trojan users, given you definitely know the package better than I do.

Approved.

Comment 8 Gwyn Ciesla 2020-08-13 13:19:05 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/container/trojan

Comment 9 Athos Ribeiro 2020-08-21 19:47:09 UTC
Hi Qiyu!

Can we close this now?