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

feat: updates create_new_with_filter with more filter types and management operations #88

Merged
merged 3 commits into from
Dec 6, 2023

Conversation

jpower432
Copy link
Member

@jpower432 jpower432 commented Dec 1, 2023

Description

The create_new_with_filter does not support all of the filter types trestle does. This adds the additional supported types. It also adds optional markdown creation for continued editing.

Type of change

  • New feature (non-breaking change which adds functionality)

No user-facing breaking changes. Though this changes the API

How has this been tested?

  • Unit tests updated/expanded

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@jpower432 jpower432 added the enhancement New feature or request label Dec 4, 2023
@jpower432 jpower432 marked this pull request as ready for review December 5, 2023 21:14
@@ -246,28 +246,56 @@ def test_create_new_with_filter(tmp_trestle_dir: str) -> None:
_ = testutils.setup_for_profile(trestle_root, test_prof_filter, test_prof_filter)

ssp_name = "new_ssp"
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider using os.path.join a comment explaining new directory to be created with ssp name

Copy link
Contributor

@beatrizmcouto beatrizmcouto left a comment

Choose a reason for hiding this comment

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

Left a couple of minor comments during paired code review Dec 6

jpower432 and others added 3 commits December 6, 2023 14:07
…ement operations

The create_new_with_filter does not support all of the filter types trestle
does. This adds the additional supported types. It also adds optional
markdown creation for continued editing.

Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
Co-authored-by: beatrizmcouto <140717802+beatrizmcouto@users.noreply.github.com>
Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
@jpower432 jpower432 merged commit fa4d953 into RedHatProductSecurity:main Dec 6, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants