Skip to content

Commit

Permalink
bin: Cleanup the Giggity scripts
Browse files Browse the repository at this point in the history
We used the XML export from Pretalx for 2023. These scripts threw
warning/error messages and I never got around to look into it. Using a
Pretalx link for Giggity should be better anyway as it updates
automatically and it seems to have worked fine for 2023. We might want
to alter the XML file a bit in the future but then it's probably best to
rewrite json2giggity.py from scratch (only using this version as a
reference for how the result should look like).
  • Loading branch information
primeos committed Jul 8, 2023
1 parent e846316 commit f8cd39f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 88 deletions.
10 changes: 0 additions & 10 deletions bin/ampersand.sh

This file was deleted.

2 changes: 2 additions & 0 deletions bin/check-urlids.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# Checks all URL IDs (urlid field) in talks.json for special characters
# Whitelist: a-z A-Z and "-" (but not "--")
# TODO: Remove this script and figure out a proper URL ID solution for automatic
# imports from Pretalx.

echo "Potentially problematic URL IDs:"
grep urlid talks.json | sed -E 's/ +"urlid": "(.*)",/\1/' | \
Expand Down
77 changes: 0 additions & 77 deletions bin/json2giggity.py

This file was deleted.

1 change: 0 additions & 1 deletion bin/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ if [[ ! -d ../bin ]]; then
fi

../bin/json2md.py
../bin/json2giggity.py

../bin/check-urlids.sh

0 comments on commit f8cd39f

Please sign in to comment.