varun2784 / weed-fs

Automatically exported from code.google.com/p/weed-fs
0 stars 0 forks source link

api to get current weed's version #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
as the weed rocks for some time,i think a api to get the current running weed's 
version is needed,
such as:
curl -HEAD localhost:8080
curl -HEAD localhost:9333

how do you think,chris.:)

Original issue reported on code.google.com by medcl2...@gmail.com on 26 Sep 2012 at 8:01

GoogleCodeExporter commented 8 years ago
I was planning to display the version when the server starts. But seems you are 
asking to read from a URL. So displaying it on the console is not enough?

Original comment by chris...@gmail.com on 26 Sep 2012 at 9:49

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
yes,since the server is online,a api to get the version will be nice.

Original comment by medcl2...@gmail.com on 28 Sep 2012 at 3:43

GoogleCodeExporter commented 8 years ago
I added the "Version" information for these Urls (version 0.22 or later)

curl "http://localhost:9333/dir/status?pretty=y"

curl "http://localhost:8080/status?pretty=y"

Original comment by chris...@gmail.com on 30 Sep 2012 at 9:32

GoogleCodeExporter commented 8 years ago
great!

Original comment by medcl2...@gmail.com on 2 Oct 2012 at 1:11