-
Notifications
You must be signed in to change notification settings - Fork 6
Invalid Codacy projects on course activation #39
Description
Background
Flaxo uses Codacy public REST API to create Codacy projects and retrieve code static analysis results.
It worked well for some time in the past. But recently Codacy team removed support for an automated projects creation through the API that Flaxo relied on. Notably the corresponding API methods still work but create invalid Codacy projects that cannot be used for automated code static analysis. The only option to create Codacy project today is using an interactive Codacy wizard which is entirely a graphical user interface which is not intended to be used from the server side. Probably, there is a way to overstep such API limitations but it most certainly will be an unreliable approach.
Unfortunately, according to the Codacy support team there is no clear vision on the future of the matter. Therefore, the current implementation will remain until any reasonable solution is found by both Codacy or Flaxo teams.
Manual project recreation
Nevertheless, Flaxo still can be integrated with Codacy. Only one thing has to be done by the tutor to repair the Codacy integration. For every activated course in Flaxo the corresponding Codacy project has to be deleted and then created again with the same name using the Codacy wizard.