MDN/Projects/Development/Git Backend: Difference between revisions
< MDN | Projects | Development
Jump to navigation
Jump to search
LesOrchard (talk | contribs) (Created page with "== Project statement == Kuma implements a crude version control (VC) system for wiki pages atop a MySQL database. This system is cumbersome and full of reinventions of things...") |
LesOrchard (talk | contribs) |
||
Line 25: | Line 25: | ||
== Next Steps == | == Next Steps == | ||
* Experimental research into using git as a | * Experimental research into using git as a data backend in a Django site | ||
* Migration scripts to convert from documents in MySQL to a git repos | * Migration scripts to convert from documents in MySQL to a git repos |
Revision as of 17:26, 15 October 2013
Project statement
Kuma implements a crude version control (VC) system for wiki pages atop a MySQL database. This system is cumbersome and full of reinventions of things done better elsewhere.
Git is a distributed version control system that is popular, well-supported, and does most of the things Kuma tries to do in much more elegant ways - at least, with respect to VC.
So, it might be interesting to look into swapping out Kuma's use of MySQL for version control and replacing it with a Git-based backend.
Other benefits could include:
- mirroring the entire public document corpus on GitHub
- allowing the MDN document corpus to be manipulated by non-MDN tools and scripts
- accepting Pull Requests against the corpus, allowing for reviewable changes that span multiple documents
Inspirations
Using git as the data backend for a wiki is not a terribly original idea.
- gollum - GitHub's wiki
Implementation resources
TBD
Next Steps
- Experimental research into using git as a data backend in a Django site
- Migration scripts to convert from documents in MySQL to a git repos