IDLabResearch / Git2PROV

Unleash the potential of Git in the new W3C standard for provenance.
32 stars 12 forks source link

git2prov a local repo directory? #9

Closed timrdf closed 10 years ago

timrdf commented 10 years ago

Can git2prov analyze a local clone that already exists, instead of the git_url that's mentioned in the README?

So I'd:

git clone https://github.com/timrdf/prizms.git
git2prov prizms PROV-O
(or)
git2prov file:///prizms PROV-O

Thanks! Tim

RubenVerborgh commented 10 years ago

The code performs a regular git clone, so this should be possible. However, I don't know by heart how to specify local repository URLs (i.e., not sure if file:// works, could need to be git://).

timrdf commented 10 years ago

Thanks. This makes sense, it just didn't work with what I tried. I'll have another go at it.