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

Add bulk challenge pull and push, and auto pull after push #149

Merged
merged 1 commit into from
Apr 17, 2024
Merged

Add bulk challenge pull and push, and auto pull after push #149

merged 1 commit into from
Apr 17, 2024

Conversation

MilyMilo
Copy link
Contributor

@MilyMilo MilyMilo commented Apr 16, 2024

Adjusted ctf challenge {push, pull} to default to push / pull all challenges instead of the challenge in the current working directory. Individual challenges can still be pulled by providing a path (so . also works).

In addition, there's a pull that's issued after each push. I'm not really sure why, but not pulling a just pushed challenge seems to lead to conflicts. Auto pull can be also disabled with --no-auto-pull.

Finally with this new behavior, ctfcli also checks if a challenge has any changes to be pushed, and doesn't fail if there are none but just moves on.

@ColdHeat ColdHeat merged commit 891852e into CTFd:master Apr 17, 2024
8 checks passed
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.

2 participants