samduy / provenance-analysis

Program Provenance Analysis
1 stars 1 forks source link

[Algorithm-A] Cannot detect the repository if the directory name is not identical with repo name #31

Open samduy opened 7 years ago

samduy commented 7 years ago

[Version 0.5] Current algorithm-A is that: it matches the content (search for 3 files) and the name of local directory with the online GitHub repository. It returns the result if they are both identical (files exist and repo name matches).

However, there are many cases, such as: Local directory:

.../dnsruby-09c3890ccfae

is different from the online repo name: dnsruby.

The algorithm should be improved so that, it can also detect the corresponding GitHub repo for the above case:

https://github.com/alexdalitz/dnsruby