The "Commit" functionality is barely functional for practical purposes and adds very little value to Observatory from an administrative perspective. We should remove the following files:
Remove server/api/commit/*
Remove server/workers/github.py (remove workers directory as well)
Remove app.use('/api/commits', require('./api/commit')); from server/routes.js
Remove require('../server/api/commit/commit.spec'); from test/index.js
Remove commits method from server/api/user/user.controller.js
Remove commits route from server/api/user/index.js
Remove stats method from server/api/user/user.controller.js
Remove the following from /server/api/attendance/attendance.spec.js:
Track each removal in a separate commit (that way you get lots of commits :+1:) and run npm test after each change to ensure things are passing spec (ignore failing user tests for first_name and last_name, that was my bad)
The "Commit" functionality is barely functional for practical purposes and adds very little value to Observatory from an administrative perspective. We should remove the following files:
Remove
server/api/commit/*
Remove
server/workers/github.py
(removeworkers
directory as well)Remove
app.use('/api/commits', require('./api/commit'));
fromserver/routes.js
Remove
require('../server/api/commit/commit.spec');
fromtest/index.js
Remove
commits
method fromserver/api/user/user.controller.js
Remove
commits
route fromserver/api/user/index.js
Remove
stats
method fromserver/api/user/user.controller.js
Remove the following from
/server/api/attendance/attendance.spec.js
:Track each removal in a separate commit (that way you get lots of commits :+1:) and run
npm test
after each change to ensure things are passing spec (ignore failing user tests forfirst_name
andlast_name
, that was my bad)