Open ingvagabund opened 9 years ago
How should be this comparison done? Should it be based on available API? Or is there some other approach?
First approach would be API based. One would count number of API symbols that are different divided by a number of all API symbols. Or be more informative and compare API per package. It would be basically the current output of apidiff transformed into a number.
For functions that have been changed only in number of arguments or data types, one could compute a difference in the number or types (would have to assign a number to each change). This could be an interesting mathematical problem to define a set of metrics :).
As I golang maintainer I would like to know if there is a golang projects already packages in Fedora which is exactly the same as mine (just a forked) as very close to mine (forked with custom updates).
At the same time I would like to run the check before a create a request for the new package.
CLI: gofed compare-projects URL|PKGNAME URL|PKGNAME