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

Validate reporter configuration #1026

Merged
merged 5 commits into from
Oct 18, 2023
Merged

Validate reporter configuration #1026

merged 5 commits into from
Oct 18, 2023

Conversation

Ndpnt
Copy link
Member

@Ndpnt Ndpnt commented Oct 18, 2023

No description provided.

@Ndpnt Ndpnt requested a review from clementbiron October 18, 2023 13:40
@Ndpnt Ndpnt merged commit 10f1e0f into main Oct 18, 2023
@Ndpnt Ndpnt deleted the validate-reporter-configuration branch October 18, 2023 13:41

### Removed

- No longer define default configuration for `Reporter` module
Copy link
Member

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.

Comment on lines -57 to -65
"reporter": {
"githubIssues": {
"repositories": {
"declarations": "OpenTermsArchive/sandbox-declarations",
"versions": "OpenTermsArchive/sandbox-versions",
"snapshots": "OpenTermsArchive/sandbox-snapshots"
}
}
},
Copy link
Member

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?

Comment on lines +135 to +136
${this.repositories.versions ? `- ${latestVersionLink}` : ''}
${this.repositories.snapshots ? `- ${latestSnapshotsLink}` : ''}
Copy link
Member

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? 🤔

Copy link
Member Author

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.

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.

3 participants