-
Notifications
You must be signed in to change notification settings - Fork 30
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
Validate reporter configuration #1026
Conversation
|
||
### Removed | ||
|
||
- No longer define default configuration for `Reporter` module |
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.
I believe this was a breaking change: if the reuser relied on the default configuration and did not define theirs, the behaviour would be significantly altered as they would not have any issues updates anymore.
"reporter": { | ||
"githubIssues": { | ||
"repositories": { | ||
"declarations": "OpenTermsArchive/sandbox-declarations", | ||
"versions": "OpenTermsArchive/sandbox-versions", | ||
"snapshots": "OpenTermsArchive/sandbox-snapshots" | ||
} | ||
} | ||
}, |
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.
Shouldn't this be moved to config/test.json
?
${this.repositories.versions ? `- ${latestVersionLink}` : ''} | ||
${this.repositories.snapshots ? `- ${latestSnapshotsLink}` : ''} |
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.
I am not sure I understand: what would it mean that only declarations are defined, but not snapshots nor versions? Do we want to support such behaviour? 🤔
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.
If MongoDB is used both for versions
and snapshots
, then we can't provide links.
No description provided.