AhmedZerouali / TechLag

GNU General Public License v3.0
0 stars 2 forks source link

[techlag] Support extensibility #1

Closed valeriocos closed 6 years ago

valeriocos commented 6 years ago

This PR provides a mechanism to easily extend TechLag to different package managers (beyond Npm, the already supported one). In a nutshell, every backend can be initialized with a combination of the following parameters: package, version or url, and needs to implement the analyze method (which is in charge of calculating the technical lag.

To show the feasibility of the approach, a backend to assess the technical lag of Npm packages is proposed (it is derived from the previous implementation of TechLag).