-
Notifications
You must be signed in to change notification settings - Fork 7
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
Delta.json and deltaLog.json metadata files to support 3rd party integrations #13
Conversation
Develop->main
Delta.json and deltaLog.json metadata files to support 3rd party integrations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some high-level comments/questions. LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding PR comments, some are for HK to review and update, some I will commit changes for myself.
Looks like a workable result to continue. I really like the idea of having the log as well, as my implementation is based on Docker. So, it would be nice to have a small history to prepopulate the list. The only preference I would have would be a relative path to the Json, to handle the lookups locally instead of pulling them from GitHub again. But that might just be a personal preference and not useful for everyone. Anyhow I like the changes and thanks for the great work. |
make CodeQL run on all branches
@chickpoint, that's an interesting point. I wanted to make the delta file available to apps (e.g., browser web apps) that don't have a local repository, but you can make use of the |
…ich runs codeQL.yml on all branches when pushed
- genericcommands.tests-> made tests more deterministic. - isodates -> define leap year behavior and added tests. - cverecord -> modify variable name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Planned future changes were linked in their respective issues. LGTM
const yesterdate = parse(yesterday, 'yyyy-MM-dd', new Date()); | ||
expect(differenceInCalendarDays(now, yesterdate)).toBe(1); | ||
}); | ||
// it(`getYesterday() should output yesterday's date as a string`, async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default Yesterday to ISO #16
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
// all tests above this line do not modify git status | ||
// all tests below this line MUST undo modifications to git status so each test can assume a common starting point | ||
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For #16, can we move this batch into a new describe block and use beforeEach/afterEach?
@@ -0,0 +1,2 @@ | |||
@echo off | |||
node ./dist/index.js "%1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the old
recent_activities.json
file, which was used for debugging, to 2 more useful "delta" files:delta.json
specifies the changes to the repository in the current commitdeltaLog.json
specifies the changes to the repository with a history that goes back 30 days (changeable in github-actions/update.yml).Example delta.json:
Example of deltaLog.json: