Repository navigation
feat(platform): mctf platform configure — event start/end + ctf_description - #64
Merged
Merged
Conversation
… and config model Extend event configuration in schema/mctf-config.schema.json with optional description, start_at (RFC3339), and end_at (RFC3339) properties. Synchronize embedded schemas via make schemas, add corresponding fields to config.Event, and add unit tests validating loading and schema rejection of invalid date-time strings.
…configure command Add EventConfig DTO and Configure method to the CTFd client to patch ctf_name, ctf_description, start, and end configs sequentially. Update mctf platform configure to display all planned fields in dry-run, validate that start_at is strictly before end_at when both are provided, and dispatch Configure to sync the platform state.
…atform configure Document ctf_description, start, and end synchronisation in docs/commands.md. Showcase description, start_at, and end_at in examples/sample-event/mctf.config.yml. Mark platform configure extensions as shipped in docs/BACKLOG.md and document the feature in docs/spec/CHANGELOG.md.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extends event configuration and mctf platform configure to synchronize competition start/end timestamps and description to CTFd global configurations, resolving #49.
Changes
Verification
Closes #49