CATMAID server version string

11 views
Skip to first unread message

Gregory Jefferis

unread,
Aug 8, 2018, 10:45:36 AM8/8/18
to Tom Kazimiers, Court Robert, <catmaid@googlegroups.com>
Hi Tom,


returns {"SERVER_VERSION": "1bf6740"}

how should it be setup to return  the result of git describe 1bf674006 i.e.

2016.09.01-2751-g1bf674006

Is it just a very old version of CATMAID and a new one would return a version string based on a date format tag?

Many thanks,

Greg.



--
Gregory Jefferis, PhD
Division of Neurobiology
MRC Laboratory of Molecular Biology
Francis Crick Avenue
Cambridge Biomedical Campus
Cambridge, CB2 OQH, UK




Andrew Champion

unread,
Aug 8, 2018, 11:24:34 AM8/8/18
to cat...@googlegroups.com
Hi Greg,

This happens if the git repo on VFB doesn't have tags pulled. You can reproduce this by initializing a bare git repo, adding the catmaid github as a remote repo, then fetching with the `--no-tags` option.

What's also interesting is that your `git describe` example does not match mine (I get `2018.04.15-288-g1bf6740`).

Running `git fetch --tags` should fix the acute problem, but there's probably some issue with either the `fetch` or `tagopt` git config for the github remote on the VFB server. 

Best,

Andrew

--
You received this message because you are subscribed to the Google Groups "CATMAID" group.
To unsubscribe from this group and stop receiving emails from it, send an email to catmaid+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gregory Jefferis

unread,
Aug 8, 2018, 11:30:28 AM8/8/18
to Andrew Champion, <catmaid@googlegroups.com>, Court Robert
Thanks, Andrew. I forgot to fetch new tags for my repo – that was silly.

So now I get:

2018.04.15-288-g1bf674006

like you say.

So I think the point is the repo config for VFB checkout. Now Rob is using the catmaid docker IIUC, so that probably should be changed to include tags.

Best,

Greg.

To unsubscribe from this group and stop receiving emails from it, send an email to catmaid+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages