yacy/yacy_search_server

Version not shown in git build

okybaca opened this issue · 4 comments

When building yacy out of source code from github a later runing it, the version in /Network.html?page=1&maxCount=1000 is shown as "dev/0000".

The number of version is not included. According to the source code it used to be SVN revision number. Now, after switching to github, it's just zeroes. And since a lot of peers uses github version (official release didn't happen for a long time), version information is useless now.

joestr commented

I'm not entirely sure, but I suspect that the Regex Matching is a bit off.

joestr commented

It seems that some version strings are formatted like 1.92410069 which could be parsed via the provided RegEx as 1.924/10069. Some releases use the ReleaseStub like yacy_v1.926_202302051002_3230df6e2 which cannot be parsed and results in dev/0000.

joestr commented

Early snapshot
image

Seems perfect! Great work, @joestr!