HackGT / registration

Powerful and extensible registration system for hackathons and other large events
https://registration.hack.gt
MIT License
6 stars 1 forks source link

Refactor branch lookup and redirection code #206

Closed bunsenmcdubbs closed 6 years ago

bunsenmcdubbs commented 6 years ago

The current branch lookup code is ugly (and inefficient but OK). It could be made a lot better with schema changes (lowercased version of all branch names for lookup) or the new collation feature in MongoDB http://plusnconsulting.com/post/MongoDB-Dont-be-so-case-sensitive/

As is, it is also currently bug-prone because it is spaghetti-like.

petschekr commented 6 years ago

Do you have a link to the file (maybe even line number) where this is for reference @bunsenmcdubbs ?