-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat(ctf): store solves walkthrough #167
base: dev
Are you sure you want to change the base?
feat(ctf): store solves walkthrough #167
Conversation
fa032c4
to
f475d33
Compare
…m/eioake01/ovisbot into feat/ctf/store-solves-walkthrough
@eioake01 Thanks for your valuable contributions!! Just a minor suggestion, can you please rename methods/vars to snake case such that they conform to PEP-8? Finally, make sure that you run the code through the black formatter before pushing to keep a consistent style within the codebase. |
Hello @apogiatzis , regarding black formatter, I just used the default formatting style, with the command |
With the latest commit (468cee5), I made some changes as for the GitHub Requests when uploading the files to not stall. To do that, I used the There is a slight improvment between using For 2 test cases, 15 requests each (5 markdown (270 bytes each), 5 images (107KB each), 5 py files (12 bytes each )) |
Feature build upon the !ctf archive functionality.
When issuing the command !ctf archive, all pins from challenges will be uploaded to the GitHub repository defined through the config values.
More specifically, all pinned text messages will be written, in chronological order (oldest to newest), in a Markdown file and in case a pinned message contains has any files attached (or is just a file), the exact file will be uploaded separately and a reference to it will be added in the Markdown file. All files will be stored in the repo following this file structure: {ctf-name}/{challenge-name}/