Closed samduy closed 7 years ago
This problem is solved by using another method to identify package directories: based on the default files of GitHub open-source projects:
Of course, this method has a limitation that not every open source project is from GitHub and not all of them have some of the above default files. But, most of them do, so current result is considerably acceptable. (See the latest result)
Current algorithm for package directory detection is not really good. It misses the packages that installed in the system:
Because, current algorithm is based on the
Modification date
only.e.g.
If both
package-B
andpackage-C
were installed in the same day, it will mis-recognizesdirectory-A
as a package (which is not actually) instead of B or C.