OpenTreeOfLife / reference-taxonomy

Open Tree Reference Taxonomy (OTT) tools
BSD 2-Clause "Simplified" License
11 stars 12 forks source link

write the git SHA for the last amendment considered some where in the OTT release #320

Open mtholder opened 7 years ago

mtholder commented 7 years ago

At this point, I think that it is pretty easy to determine the last amendment that made it in to the taxonomy (by looking at the OTT ID of the addition). But I'm not sure if that will always be the case. At any rate, the amendment repo up to that git SHA is a source for the taxonomy, so it seems like that info should go somewhere in the tar ball. I see the info I need for OTT 3.0 in the Sources part of https://tree.opentreeoflife.org/about/taxonomy-version/ott3.0 so I don't need this done soon. But it would be nice if we could figure out where this info will go in the OTT tar balls, so that I can write that taxonomy server.

jar398 commented 7 years ago

The information is kept in feed/amendments/refspec, in the github repo, but it's the commit SHA for the amendments-1 repo, not the SHA of any particular file. As the code is already written to maintain this SHA, and as it reflects edits to old amendments and not just to the last amendment, would it be OK to simply copy this into the tarball, instead of the last amendment SHA?

mtholder commented 7 years ago

Yeah. I think that commit SHA is fine.