Skip to content

Conversation

aoutifrak
Copy link
Contributor

@aoutifrak aoutifrak commented Apr 1, 2025

  • Introduced --ignore-pattern <file_pattern> option to allow users to exclude specific files or directories.
  • Supports ignoring patterns like node_modules and env, which are unnecessary for QA checks.
  • Ensured compatibility with existing QA check functionality.

This enhancement provides flexibility in excluding non-essential files

Fixes #299

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • I have updated the documentation.

Reference to Existing Issue

Closes #.

Please open a new issue if there isn't an existing issue yet.

Description of Changes

Please describe these changes.

Screenshot

Please include any relevant screenshots.

Copy link
Member

@devkapilbansal devkapilbansal left a comment

Choose a reason for hiding this comment

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

Thanks for this @aoutifrak,
Please address the comments below. Also, comments should be added to explain why a change in done instead of what is done. Please avoid comments where they are not necessary

Copy link
Contributor Author

@aoutifrak aoutifrak left a comment

Choose a reason for hiding this comment

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

changes are made

@aoutifrak aoutifrak requested a review from devkapilbansal April 2, 2025 17:38
@aoutifrak aoutifrak force-pushed the ignore-files-qa-check-299 branch 2 times, most recently from 6424226 to 910931d Compare April 2, 2025 18:06
Copy link
Member

@codesankalp codesankalp left a comment

Choose a reason for hiding this comment

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

looks good 👍 , It will need some more modifications. please have a look at the comments below and give it a try with different scenarios.

@codesankalp
Copy link
Member

Also, please remove trailing whitespaces from your changes.

@aoutifrak aoutifrak force-pushed the ignore-files-qa-check-299 branch from e4d7b65 to 910931d Compare April 2, 2025 19:04
@aoutifrak aoutifrak requested a review from codesankalp April 2, 2025 19:05
@aoutifrak aoutifrak force-pushed the ignore-files-qa-check-299 branch from 5d53376 to 910931d Compare April 3, 2025 18:08
@aoutifrak aoutifrak requested a review from devkapilbansal April 3, 2025 18:10
@aoutifrak aoutifrak requested a review from devkapilbansal April 3, 2025 19:29
Copy link
Member

@devkapilbansal devkapilbansal left a comment

Choose a reason for hiding this comment

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

@aoutifrak Looks good, but the tests for this are missing. Kindly add relevant test cases also

…wisp#299

- Introduced --ignore-pattern <file_pattern> option to allow users to exclude specific files or directories.
- Supports ignoring patterns like node_modules and env, which are unnecessary for QA checks.
- Ensured compatibility with existing QA check functionality.

This enhancement provides flexibility in excluding non-essential files

Fixes openwisp#299
…wisp#299

- Introduced --ignore-pattern <file_pattern> option to allow users to exclude specific files or directories.

Fixes openwisp#299
…wisp#299

- Introduced --ignore-pattern <file_pattern> option to allow users to exclude specific files or directories.
- Supports ignoring patterns like node_modules and env, which are unnecessary for QA checks.
- Ensured compatibility with existing QA check functionality.

This enhancement provides flexibility in excluding non-essential files

Fixes openwisp#299
@devkapilbansal devkapilbansal force-pushed the ignore-files-qa-check-299 branch from 08b97d2 to 792dddf Compare April 11, 2025 18:37
@coveralls
Copy link

coveralls commented Apr 11, 2025

Coverage Status

coverage: 95.981%. remained the same
when pulling 813f097 on aoutifrak:ignore-files-qa-check-299
into cfbd63e on openwisp:master.

@aoutifrak aoutifrak requested a review from devkapilbansal May 12, 2025 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[change] Add an option to ignore files in openwisp-qa-check

4 participants