Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

new function: build tag tables for find_tags_motus from motus-metadata-history commit hash #378

Open
jbrzusto opened this issue Mar 2, 2018 · 0 comments

Comments

@jbrzusto
Copy link
Owner

jbrzusto commented Mar 2, 2018

In order to make tag finder output reproducible and to allow comparison between different choices of tagfinder parameters, we need to be able to take the metadata-history commit hash recorded for any run of the tag finder and rebuild the tags and tagDeps tables that tagfinder run used.
Something like this:

rebuildHistoricalTagDB = function (metadataCommit, dbName) {
#' @param metadataCommit:  git commit hash from
#' the repo at https://github.com/jbrzusto/motus-metadata-history
#'
#' @param dbName: full path to sqlite database in which to rebuild 
#' the `tags` and `events` tables corresponding to the tag deployments
#' from `metadataCommit`.  The DB is created if it does not exist.
#'
#' @return logical scalar; TRUE on success, FALSE otherwise.
...
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant