Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Initial commits #1

Merged
merged 108 commits into from
Dec 30, 2021
Merged

Initial commits #1

merged 108 commits into from
Dec 30, 2021

Conversation

jsf9k
Copy link
Member

@jsf9k jsf9k commented Dec 28, 2021

πŸ—£ Description

This pull request includes the initial functionality for this repository.

πŸ’­ Motivation and context

A repo must do something in order to be useful!

Resolves #2.

πŸ§ͺ Testing

The testing here is admittedly not great, but the code has been used to:

  • Manually generate YML from the Markdown in cisagov/log4j-affected-db.
  • Manually generate Markdown from the YML generated in the previous item.

βœ… Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All future TODOs are captured in issues, which are referenced in code comments.
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All relevant repo and/or project documentation has been updated to reflect the changes in this PR.
  • Tests have been added and/or modified to cover the changes in this PR.
  • All new and existing tests pass.

βœ… Pre-merge checklist

  • Bump to version 1.0.0.

βœ… Post-merge checklist

  • Create a release.

felddy and others added 30 commits December 16, 2021 15:56
- rename a bunch of example identifiers
- remove uneeded files
Also remove types-setuptools, since it isn't being used.
Also duplicate that logic in a few other places where it is useful.
pytablewriter was creating very wide tables.
there was not an easy way to make more condensed tables
I did not read the "note" that told me not to
do the thang that I did.
Thanks to @jsf9k for spotting this over my virtual shoulder.
Co-authored-by: @jsf9k
The new format can support information for multiple log4j-related
CVEs.
Copy link
Member

@mcdonnnj mcdonnnj left a comment

Choose a reason for hiding this comment

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

First pass review with some suggestions and questions.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
bump_version.sh Outdated Show resolved Hide resolved
src/ymlmd/yml2md.py Outdated Show resolved Hide resolved
src/ymlmd/yml2md.py Outdated Show resolved Hide resolved
src/ymlmd/yml2md.py Show resolved Hide resolved
src/mdyml/convert_cisagov.py Outdated Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
dav3r and others added 9 commits December 29, 2021 16:27
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Change return value from Int to None

Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
@dav3r dav3r requested a review from mcdonnnj December 29, 2021 21:56
@lgtm-com
Copy link

lgtm-com bot commented Dec 29, 2021

This pull request introduces 1 alert and fixes 1 when merging 4e15437 into 9697906 - view on LGTM.com

new alerts:

  • 1 for Syntax error

fixed alerts:

  • 1 for Clear-text logging of sensitive information

@lgtm-com
Copy link

lgtm-com bot commented Dec 29, 2021

This pull request introduces 1 alert and fixes 1 when merging e48e22d into 9697906 - view on LGTM.com

new alerts:

  • 1 for Syntax error

fixed alerts:

  • 1 for Clear-text logging of sensitive information

Since we want to use the same version for all packages in this project
it makes sense to define this at the root level instead of pulling in
the version from one of the library's packages.
@lgtm-com
Copy link

lgtm-com bot commented Dec 29, 2021

This pull request introduces 1 alert and fixes 1 when merging 5e53e83 into 9697906 - view on LGTM.com

new alerts:

  • 1 for Syntax error

fixed alerts:

  • 1 for Clear-text logging of sensitive information

Copy link
Member

@mcdonnnj mcdonnnj left a comment

Choose a reason for hiding this comment

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

I think this second pass catches any last little bits I had in mind.

README.md Outdated Show resolved Hide resolved
src/mdyml/__init__.py Outdated Show resolved Hide resolved
src/mdyml/convert_cisagov.py Outdated Show resolved Hide resolved
src/mdyml/convert_cisagov.py Outdated Show resolved Hide resolved
src/mdyml/convert_cisagov.py Outdated Show resolved Hide resolved
dav3r and others added 7 commits December 30, 2021 10:59
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
Only calling len(in_row_list) once is better than calling it twice.

Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
@lgtm-com
Copy link

lgtm-com bot commented Dec 30, 2021

This pull request introduces 1 alert and fixes 1 when merging c118e7e into 9697906 - view on LGTM.com

new alerts:

  • 1 for Syntax error

fixed alerts:

  • 1 for Clear-text logging of sensitive information

@dav3r dav3r merged commit 13c6014 into develop Dec 30, 2021
@dav3r dav3r deleted the first-commits branch December 30, 2021 16:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation This issue or pull request improves or adds to documentation improvement This issue or pull request will add new or improve existing functionality version bump This issue or pull request increments the version number
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revert to using the official isort repo
4 participants