tempelis: Add --validate flag for offline config validation#72
Conversation
|
Welcome @TineoC! |
|
Hi @TineoC. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
BenTheElder
left a comment
There was a problem hiding this comment.
thanks!
do you think we should do validation beyond config parsing? this seems like a good start anyhow, next we can look at making sure one of the blocking CI presubmits runs this over the project's config
cc @kubernetes-sigs/sig-contributor-experience-leads we should get in touch with the slack admins about this?
Signed-off-by: Prajyot-Parab <[email protected]>
tempelis: Add --validate-only mode for offline config validation
|
Hi @BenTheElder, thanks for the feedback I've updated the PR to include a Regarding validation beyond parsing: the current parser already enforces schema correctness, detects duplicate channels/users/groups, validates Slack ID formats (9 or 11 characters), and ensures that file-level restrictions are respected. Did you have any other specific offline checks in mind? |
790bdf2 to
994a129
Compare
TBH It's been forever since I've looked at any of this. Forwarding to the slack-admins + contributor experience ... /ok-to-test |
|
/cc @Priyankasaggu11929 can you ptal |
|
@Prajyot-Parab: GitHub didn't allow me to request PR reviews from the following users: you, ptal, can. Note that only kubernetes-sigs members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/lgtm PR changes looks good to me, for the purpose of adding a blocking presubmit job. |
|
@jberkus, could you add your approval here as well. Thanks! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cpanato, Priyankasaggu11929, TineoC The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This PR adds a --validate flag to tempelis for offline config validation. Fixes #65