Initial Commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
Name: Name
|
||||||
|
Description: Description
|
||||||
|
AssignedTo:
|
||||||
|
- Assignee
|
||||||
|
Questions:
|
||||||
|
- Question:
|
||||||
|
Text: Text
|
||||||
|
Flag: Flag
|
||||||
|
SolvedBy:
|
||||||
|
VerifiedBy:
|
||||||
|
Submitted: false
|
||||||
|
Notes: Notes
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
REPORT.md
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
COMPETITION = competition.yml
|
||||||
|
CATEGORIES != yq '.Categories | keys.[]' $(COMPETITION)
|
||||||
|
PEOPLE != yq '.People.[]' $(COMPETITION)
|
||||||
|
FIND_CAT_CHALLS = $(let CAT,$1,$(shell yq ".Categories.$(CAT).[]" $(COMPETITION)))
|
||||||
|
|
||||||
|
CHALLS=$(foreach CAT,\
|
||||||
|
$(CATEGORIES),\
|
||||||
|
$(foreach CHALL,\
|
||||||
|
$(patsubst "%",%,$(call FIND_CAT_CHALLS,$(CAT))),\
|
||||||
|
$(patsubst "%",%,$(CAT))/$(CHALL)\
|
||||||
|
)\
|
||||||
|
)
|
||||||
|
|
||||||
|
printVerifiedFlags: $(CHALLS)
|
||||||
|
find . -name 'Questions.yml' \
|
||||||
|
| xargs -n1 yq -c '.Questions.[].Question | select((.VerifiedBy != null) and (.Submitted == false)) | (.Text, .Flag)'
|
||||||
|
|
||||||
|
|
||||||
|
$(CHALLS):
|
||||||
|
mkdir -p $(foreach PERSON,$(patsubst "%",%,$(PEOPLE)),$(@)/$(PERSON))
|
||||||
|
mkdir -p $(@)/files
|
||||||
|
find $(@) -type d -mindepth 1 -exec touch {}/.gitkeep \;
|
||||||
|
cp ./.Questions.yml $(@)/Questions.yml
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
Super Tryhard Awesome Spreadsheet For Even More Success (STARFEMS)
|
||||||
|
---
|
||||||
|
|
||||||
|
A yaml-driven competition progress tracking repository
|
||||||
|
designed to minimize merge conflicts while still encouraging
|
||||||
|
rapid, collaborative development.
|
||||||
|
|
||||||
|
|
||||||
|
## Structure
|
||||||
|
|
||||||
|
- `/competition.yml`
|
||||||
|
- Described competitors, categories, and challenges
|
||||||
|
- `/Makefile`
|
||||||
|
- Generates directory structure based on `competition.yml`
|
||||||
|
- Contains additional rules for e.g. printing verified but unsubmitted flags
|
||||||
|
- `/CATEGORY/CHALL_DIFF/Questions.yml`
|
||||||
|
- Based off `/.Questions.yml`
|
||||||
|
- Tracks challenge's questions, flags, and status
|
||||||
|
- `/CATEGORY/CHALL_DIFF/files/`
|
||||||
|
- Contains ALL challenge files
|
||||||
|
- `/CATEGORY/CHALL_DIFF/PERSON/`
|
||||||
|
- Working directory for PERSON, prevents work from being lost
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
People:
|
||||||
|
- Alice
|
||||||
|
- Bob
|
||||||
|
Categories:
|
||||||
|
ReverseEngineering:
|
||||||
|
- Foo_Easy
|
||||||
|
- Bar_Medium
|
||||||
|
Forensics:
|
||||||
|
- Baz_Hard
|
||||||
Reference in New Issue
Block a user