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: Adds an option to ignore old branches #47

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

alexbrozych
Copy link
Contributor

  • feat: Adds a command line option to ignore all branches whose last commit date is below a certain threshold to enable speeding up the time taken to scan repositories.

@SimonGurney
Copy link
Contributor

#47

@SimonGurney SimonGurney linked an issue Jan 10, 2023 that may be closed by this pull request
@alexbrozych alexbrozych changed the title feat: Adds an option to ignore old brancges feat: Adds an option to ignore old branches Jan 10, 2023
@SimonGurney
Copy link
Contributor

This needs a little work as the new feature doesnt apply to single branch mode, which is another common optimisation and likely to be coupled

@alexbrozych alexbrozych force-pushed the feature/dont-scan-old-branches branch 2 times, most recently from 170646e to 5fd931c Compare January 11, 2023 09:21
* feat: Adds a command line option to ignore all branches whose last commit date is below a certain threshold to enable speeding up the time taken to scan repositories.
tasks.py Outdated Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Jan 11, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@alexbrozych alexbrozych merged commit 4dd5334 into main Jan 11, 2023
@alexbrozych alexbrozych deleted the feature/dont-scan-old-branches branch January 11, 2023 09:25
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.

Feature request: scan the repo only if there has been a commit to it after a given date
2 participants