Replies: 2 comments 11 replies
-
@ggbecker I have added @abergmann who is also part of our team so that we are on the same page. Thank you very much for this and for your patience and support on getting these in. We had a steep learning curve on this. I am sorry about the duplicates in the last set of reviews. Our local development branch was about 2 months a head of what we had managed to get pushed upstream and we wanted to get upstream fully in sync with what we had locally and what we had locally in sync with upstream master. The initial try was #6629 which was really huge and represented about 30 internal PRs. I could not break it up on a change by change basis because underlying code had changed as we tracked changes in upstream. So, while not ideal, the method I used to break up 6229 was to quash merge the changes in it into another branch and then restore files that I did not want to include in the PR. Which meant storing rough 75% of the files changed by the squash. The process presented a huge opportunity for error and is not something I want to or plan to do again and is really just the result of much we needed to get done in a short period of time. The process for SL15, will be much more orderly: 1: Final SLE-12 cleanup #6665 Thank you for that review. 2: Initial SL15 support structure, #6666 3: PR to add SLE-15 into existing rules that reference SLE-12, but no new content, just adding SLE-15 STIGS, CCE ID's, updating prodtype, and in few places updating checks like {{% if product == "sle12" %}} to {% if product in ['sle12', 'sle15'] %}}. 4: SLE-15 specific content will be done as separate PR's. So normally one rule to a PR. The only exception would be if a STIG spawned multiple rules, which I hope won't be the case. I still need to digest everything in the testing document, but we will provide tests for all new SLE-15 content and once the SLE-15 is complete go back and add tests in for the new content we created for SLE-12. I will stop the forced pushes. We do that internally just to keep the review history manageable and make make sure that the SHA1 for changed was complete and not missing some change that was done later. Again, thank you for all of your time and guidance on this. |
Beta Was this translation helpful? Give feedback.
-
@ggbecker Thanks for information! We really appreciate the guidance. Regarding SSG Test Suite, will we be required to expose a SUSE-based VM or container upstream? If so, how does upstream handle product licensing and activation? So far we have been running our tests locally using a SLES12 vagrant box. And license activation is part of provisioning, with an internal developer license code which unfortunately cannot be shared outside of the organization. While reading through the documentation, I came across this disclaimer. "SSG Test Suite currently does not provide automated provisioning of VMs or containers." Does this mean running the tests will be on-demand by the platform-specific developers? And license activation will be done out-of-band? If so, how does upstream verify the test code? Or is that process also expected to be out-of-band as well? |
Beta Was this translation helpful? Give feedback.
-
@brett060102 @guangyee
Hello, I would like to start a discussion topic to talk about contributions that recently happened to
sle12
product.First of all, the contributions were great. They are really valuable for the project and I'm sure it will benefit the community a lot. New content is always appreciated. So far, most of the content is enabled only to Suse12 but they will eventually be enabled for other products as well.
But there were some obstacles that made the pull request review more difficult. For example: lack of tests, pull request granularity, the duplicity of changes among pull requests, etc and I would like to continue discussing how we can improve in the future to avoid them so new contributions can go through more easily.
I'll try to summarize the problems and their solutions or at least what the project's community sees as best practice:
If you have any questions or doubts, please do not hesitate and ask them. I'll be more than happy to help.
Beta Was this translation helpful? Give feedback.
All reactions