HPCC-35979 feat(eclccserver) Add github app support to eclccserver#21189
HPCC-35979 feat(eclccserver) Add github app support to eclccserver#21189ghalliday wants to merge 1 commit intohpcc-systems:candidate-10.0.xfrom
Conversation
🔄 Upmerge Test ResultsStatus: ✅ All branches merged successfully ✅ Successful Branches (2)
|
dcamper
left a comment
There was a problem hiding this comment.
A couple of minor comments.
| #ifdef verify | ||
| #define JWT_HAS_VERIFY_MACRO | ||
| #define OLD_VERIFY verify | ||
| #undef verify |
There was a problem hiding this comment.
Should you reinstate the old verify? The code at system/security/plugins/jwtSecurity/jwtSecurity.cpp does, near the end:
// Reinstate the old macro value
#ifdef JWT_HAS_VERIFY_MACRO
#define verify OLD_VERIFY
#undef OLD_VERIFY
#undef JWT_HAS_VERIFY_MACRO
#endif
I think it is only strictly necessary if any code within this file needs the original value of verify, but I wonder if it should be reinstated after all JWT calls simply in order to avoid invisible tech debt.
There was a problem hiding this comment.
I think copilot cloned this - I will update
| IEclRepository * createRepository(IEclSourceCollection * source, const char * rootScopeFullName, bool includeInArchive); | ||
|
|
||
| unsigned runGitCommand(StringBuffer * output, const char *args, const char * cwd, bool needCredentials); | ||
| unsigned runGitCommand(StringBuffer *output, const char *args, const char *cwd, bool needCredentials); |
There was a problem hiding this comment.
Whitespace-only change that needs reverting to match the style in the rest of the file.
dcamper
left a comment
There was a problem hiding this comment.
One comment/opinion, but looks good.
|
|
||
| #ifdef JWT_HAS_VERIFY_MACRO | ||
| //Force an error if verify macro is used in any of the following code | ||
| #undef verify |
There was a problem hiding this comment.
This may be just a matter of opinion, but disabling the macro like this is a little odd. I don't think verify is used much at all in the platform, but I also don't think it is outright undefined anywhere else so this becomes potentially new behavior during compilation.
Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
🔄 Upmerge Test ResultsStatus: ✅ All branches merged successfully ✅ Successful Branches (2)
|
🔄 Upmerge Test ResultsStatus: ✅ All branches merged successfully ✅ Successful Branches (2)
|
Type of change:
Checklist:
Smoketest:
Testing: