-
Notifications
You must be signed in to change notification settings - Fork 9
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
Skeletonize #46
Skeletonize #46
Conversation
Change repo for the prettier pre-commit hook
⚠️ CONFLICT! Lineage pull request for: skeleton
These changes are based on the "complete workflow" from https://github.com/docker/build-push-action Additionally it adds support for the new "workflow_dispatch" event type.
Needed to check tests written in Python.
Co-authored-by: Shane Frasier <[email protected]>
This additional clause must remain at the _end_ of the CODEOWNERS file so that it cannot be overridden by a later clause. We want to make it so that all the .github files including CODEOWNERS are protected so only code owners (the dev team) can approve modifications to them. This will prevent configuration changes from breaking Actions and other management-type functions that the files in this directory control. By setting the .github files/folder to require code owner approval for changes, workflow and management changes will require dev team review and checking. Resolves #56.
Add some additional comments in case anyone is confused about the nature of the solidus and its place within our tagging system. Co-authored-by: Shane Frasier <[email protected]>
Modernize Docker workflow
There is no need to run python code to determine the python version. Resolves #58. See here for details: https://github.com/actions/setup-python/blob/main/action.yml#L14-L16
Group related pre-commit hooks together. Make sure that hooks are alphabetically sorted within those groups.
Organize and Sort pre-commit Hooks
…gihub-dir Ensure that the cisagov devs are the owners of the .github directory
…re-simply Use the python version output by actions/setup-python
Add Python Version Missing from actions/cache Key
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approval intensifies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another slew of Python 3 changes for the most part: Using f-strings and removing object
from class descriptions. I did have a question about a repeated line of code and a request about the docopt definition for the generate_https_scan_report.py
file. Thanks again for putting up with all of my nitpicky requests.
Co-authored-by: Nick <[email protected]>
Co-authored-by: Nick <[email protected]>
This avoids pollution of scope. Co-authored-by: Nick <[email protected]>
Co-authored-by: Nick <[email protected]>
Co-authored-by: Nick <[email protected]>
Co-authored-by: Nick <[email protected]>
Also prefer f-strings to string.format(). Co-authored-by: Nick <[email protected]>
This commit fixes a few paths that are still referring to the old /home/reporter path. Such references should instead be referring to /home/cisa.
Cursor.count() has been deprecated for some time, and is now disallowed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work! 💪
I have confirmed via a full BOD 18-01 reporting run that this code - with the reversion described here - functions as expected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some last little suggestions. Really strong work getting this into a more modern state!
Co-authored-by: Nick <[email protected]>
Co-authored-by: Nick <[email protected]>
Co-authored-by: Nick <[email protected]>
🗣 Description
This pull request skeletonizes this repository and brings it into line with the analogous changes that were made to cisagov/trustymail_reporter.
💭 Motivation and context
This repository deserves to get Lineage updates too!
This pull request also resolves #8.
🧪 Testing
I built a new Docker image with these changes and successfully used it to perform a full run of the BOD 18-01 scanning.
✅ Pre-approval checklist
✅ Post-merge checklist