BitShares Forum
Other => Graveyard => DevShares => Topic started by: wackou on January 20, 2015, 01:16:20 pm
-
and upgrade should be done in less than 7 hours now!...
@Vikram: did you forget to post it in the announcement thread or is it a trick to check who's reading the forum daily? :P
-
Incidentally, you can also watch for the updates via api
DVS via https://api.github.com/repos/BitShares/bitshares/git/refs/tags/dvs
BTS via https://api.github.com/repos/BitShares/bitshares/git/refs/tags/bts
PHP:
<?php
function getLatestBTS() {
$latest = @json_decode(@file_get_contents("https://api.github.com/repos/BitShares/bitshares/git/refs/tags/bts", false,
stream_context_create(['http' => ['header' => "User-Agent: Vestibulum\r\n"]])
));
return sprintf("Latest BTS Version: %s", $latest ? end($latest)->ref : $default);
}
function getLatestDVS() {
$latest = @json_decode(@file_get_contents("https://api.github.com/repos/BitShares/bitshares/git/refs/tags/dvs", false,
stream_context_create(['http' => ['header' => "User-Agent: Vestibulum\r\n"]])
));
return sprintf("Latest DVS Version: %s", $latest ? end($latest)->ref : $default);
}
echo getLatestBTS();
echo "<br />";
echo getLatestDVS();
?>
edit: updated to fixed api detail (https://github.com/BitShares/bitshares/issues/1281#issuecomment-70685090). Thanks emfrias
-
@Vikram: did you forget to post it in the announcement thread or is it a trick to check who's reading the forum daily? :P
Sorry, I forgot! I got very distracted last night with tracking down a bug we found in BTS block production. As DVS grows, we will be handling it more and more seriously and similar to BTS with more time between release, announcement, and hardfork.