Skip to content

Add logic to run Quest as a cron job#133

Merged
BillWagner merged 2 commits into
dotnet:mainfrom
BillWagner:CronQuest
Mar 3, 2023
Merged

Add logic to run Quest as a cron job#133
BillWagner merged 2 commits into
dotnet:mainfrom
BillWagner:CronQuest

Conversation

@BillWagner

@BillWagner BillWagner commented Mar 3, 2023

Copy link
Copy Markdown
Member

Add a command line argument to run the app on all issues changed in the last N days.

This also changed the issue query to order issues by date updated, filter on the import labels, and return the last updated time.

Finally, if quest is running in bulk mode, use the cache for all OSPO IDs rather than requesting on each issue.

Fixes #131

Add a command line argument to run the app on all issues changed in the last N days.

This also changed the issue query to order issues by date updated, filter on the import labels, and return the last updated time.
@BillWagner BillWagner requested a review from IEvangelist March 3, 2023 18:17

@IEvangelist IEvangelist left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks good to me, just a few minor nits.

Comment thread actions/sequester/ImportIssues/Program.cs Outdated
Comment thread actions/sequester/Quest2GitHub/Models/GithubIssue.cs
Comment thread actions/sequester/Quest2GitHub/Models/GithubIssue.cs Outdated
Comment thread actions/sequester/Quest2GitHub/QuestGitHubService.cs Outdated
Co-authored-by: David Pine <david.pine@microsoft.com>
@BillWagner BillWagner merged commit 209a149 into dotnet:main Mar 3, 2023
@BillWagner BillWagner deleted the CronQuest branch March 3, 2023 18:29
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.

[Quest] Run nightly as a cron job

2 participants