ubccpsc / classy

Course management and automation.
MIT License
14 stars 23 forks source link

Should be able to issue PRs on repos #429

Closed rtholmes closed 8 months ago

rtholmes commented 2 years ago

It should be able to PR existing repos. While the repoPatchTool used to exist, it has been lost to the sands of time. A ruby workaround exists, but this should just be in Classy as it is so analogous to provisioning.

Ultimately, it will probably look like this:

The following endpoints exist, but they aren't currently functional:

server.get("/portal/admin/listPatches", AdminRoutes.isAdmin, AdminRoutes.listPatches);
server.post("/portal/admin/patchRepo/:repo/:patch/:root", AdminRoutes.isAdmin, AdminRoutes.patchRepo);
server.get("/portal/admin/patchSource", AdminRoutes.isAdmin, AdminRoutes.patchSource);
server.post("/portal/admin/updatePatches", AdminRoutes.isAdmin, AdminRoutes.updatePatches);
rtholmes commented 8 months ago

Closing. 210 and 310 are using "Autobot's Sister" now rather than something that needs to be built into classy.