Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Upstream Release doc #9952

Merged

Conversation

marcusburghardt
Copy link
Member

@marcusburghardt marcusburghardt commented Dec 9, 2022

Description:

I had the opportunity to conduct the 0.1.65 release and along the process I reviewed and improved the Release Process documentation.

  • More details and examples were included.
  • Some sentences were rephrased and minor updates done to make them even clearer.
  • It was included an entire section about Fedora Packages.
  • Some minor style related updates were done.

Rationale:

Good and complete documentation saves time for everybody and ensures better quality standards.

Review Hints:

The section related to Fedora Packages is completely new and would be good if an experienced Fedora Packager review it. Nevertheless they are precisely showing the steps I executed during the release process.

Regarding the improvements in already existing sections, it would be good to observe any sentence prone to misinterpretation.

The step was still referring to the stabilization branch. This was the
case before the process review. Now the contributors list is updated
before the stabilization branch be created.
PRs merged in stabilization branch should also be merged in master
branch. Therefore, it is a good practice to set a prefix which makes
easier to distinguish stabilization PRs.
@marcusburghardt marcusburghardt added enhancement General enhancements to the project. Documentation Update in project documentation. labels Dec 9, 2022
@marcusburghardt marcusburghardt added this to the 0.1.66 milestone Dec 9, 2022
@github-actions
Copy link

github-actions bot commented Dec 9, 2022

Start a new ephemeral environment with changes proposed in this pull request:

Fedora Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

@yuumasato yuumasato self-assigned this Dec 12, 2022
docs/release_process.md Outdated Show resolved Hide resolved
docs/release_process.md Outdated Show resolved Hide resolved
It is a good for the community when the packages are also updated and released with the latest
stable release. In this section there is information about how to update the packages in specific
distros.
## Fedora
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure it makes sense to have a step by step for Fedora here.
Will we add and maintain a "how to" for other distros as well?

And actually, maybe the section about Fedora updates shouldn't be here in the upstream release docs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The guide for Fedora builds is very detailed and will definitely help someone with the builds.
But I feel that this makes more sense as a separate doc.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me it makes a lot of sense to have this step by step here. In case of Fedora, updating the packages when a new Upstream release is out is directly connected in the process.

Therefore, it is much better to have the relevant steps here than only pointing the users to Fedora documentation where there is indeed a rich documentation but not everything is relevant for the context of scap-security-guide package context. These steps here are handful when updating the packages.

Also, if packages in other distros are also updated based on the latest Upstream Releases, contributions including their steps here are welcome.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still, the upstream release is a separate process from Fedora, and other distros downstream builds.
My main suggestion here was to separate the Fedora Guide into a separate doc.
What do you think about moving them to a separate file and just linking them from the upstream release guide?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. This is not a huge doc. I don't see enough value decentralizing the document content now. If we receive more Downstream content from other distros or if this document becomes too big and difficult to be consumed, then I totally agree in assess how to split the content and organize it in a reasonable way. We don't know if more contributions will come from Downstream. If so, what would they look like? Since we don't know this, it is difficult to already create a new file structure which will be useful. It would create an avoidable risk of unnecessary rework in the future. For now, in the current context, if we split and decentralize the content we would only have more small files to maintain in the project without too much value. So, I suggest to keep it simpler now. When the demand appears we can of course rethink the documentation structure.

Copy link
Member

@yuumasato yuumasato Dec 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I slightly disagree, the consumers for the upstream release and the downstream build docs are different, separating the documents facilitates doc usage for both roles. (The person doing the upstream release is not tied to the Fedora package)

The structure doesn't matter much, but it could be opening up the path for other distro's build guides.
I agree that we may not see guides for other downstream builds, and that is why I also questioned the need for this in the upstream project.

Anyway, I don't feel strongly about this. The detailed guide is a good addition.

docs/release_process.md Outdated Show resolved Hide resolved
docs/release_process.md Outdated Show resolved Hide resolved
docs/release_process.md Show resolved Hide resolved
docs/release_process.md Outdated Show resolved Hide resolved
docs/release_process.md Show resolved Hide resolved
docs/release_process.md Show resolved Hide resolved
These references make it easier and faster for the person who is
conducting the process.
This makes the documentation even clearer.
There are plenty of good documentation about Fedora processes. However,
the process to update scap-security-guide package happen each two
months and should be conducted by different engineers. Therefore, if a
person is not so used to the Fedora Package process or did it long time
ago, reading the complete documentation to find the proper commands
could take some time. This documentation intends to save time and
define a standard process applicable for scap-security-guide in Fedora.
Split the builds section and add a new one about updates.
An alternative to building the package locally is to build it on Koji.
@codeclimate
Copy link

codeclimate bot commented Dec 14, 2022

Code Climate has analyzed commit 14c0343 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 48.8% (0.0% change).

View more on Code Climate.

@yuumasato yuumasato merged commit 3f54996 into ComplianceAsCode:master Dec 14, 2022
@marcusburghardt marcusburghardt deleted the upstream_release_doc branch December 15, 2022 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Update in project documentation. enhancement General enhancements to the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants