banzai icon indicating copy to clipboard operation
banzai copied to clipboard

logfile -- version number?

Open invertdna opened this issue 8 years ago • 5 comments

Hey - I think it would be a good idea to list version number/github fork/something in the banzai logfile, especially given the number of different forks and putative users at this point... is that doable?

invertdna avatar Jul 03 '17 20:07 invertdna

It's doable, but... I kept away from it early on because changes were so frequent and I was less comfortable committing to a version numbering system. Even still, I wonder if versioning the scripts (demultiplexer, metadata reader, etc) is more important than versioning the whole pipeline.

jimmyodonnell avatar Jul 03 '17 21:07 jimmyodonnell

Fair enough. But maybe instead of versioning, somehow just capture the date on which the user cloned banzai from which repository?

On Jul 3, 2017, at 2:44 PM, jimmyodonnell [email protected] wrote:

It's doable, but... I kept away from it early on because changes were so frequent and I was less comfortable committing to a version numbering system. Even still, I wonder if versioning the scripts (demultiplexer, metadata reader, etc) is more important than versioning the whole pipeline.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jimmyodonnell/banzai/issues/12#issuecomment-312738784, or mute the thread https://github.com/notifications/unsubscribe-auth/AOHDgL-jNNxlRKYhHIl_52ucgWnonBkHks5sKWDUgaJpZM4OMpK0.

invertdna avatar Jul 03 '17 21:07 invertdna

Yeah, I'd wanted to do that from the get-go, but there is no method I'm aware of to embed the date that it was downloaded from github. When you say repository here, are you referring to e.g. master, dev?

jimmyodonnell avatar Jul 03 '17 22:07 jimmyodonnell

Gotcha.

Re: repository, I was thinking which github user’s fork, but sure — master/dev/etc, would also be useful.

On Jul 3, 2017, at 3:06 PM, jimmyodonnell [email protected] wrote:

Yeah, I'd wanted to do that from the get-go, but there is no method I'm aware of to embed the date that it was downloaded from github. When you say repository here, are you referring to e.g. master, dev?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jimmyodonnell/banzai/issues/12#issuecomment-312741399, or mute the thread https://github.com/notifications/unsubscribe-auth/AOHDgD6g6FckWJZ9rQcSPZJ634LgtwuDks5sKWX7gaJpZM4OMpK0.

invertdna avatar Jul 03 '17 22:07 invertdna

This might be useful at some point, though only if the repository was cloned, not downloaded as a .zip file: https://stackoverflow.com/questions/4089430/how-can-i-determine-the-url-that-a-local-git-repository-was-originally-cloned-fr?rq=1

jimmyodonnell avatar Jul 12 '17 19:07 jimmyodonnell