BitShares Forum

Other => Graveyard => DevShares => Topic started by: wackou on January 20, 2015, 01:16:20 pm

Title: PSA: DevShares 0.6.0 has been released
Post 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
Title: Re: PSA: DevShares 0.6.0 has been released
Post by: davidpbrown on January 20, 2015, 02:59:07 pm
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:
Code: [Select]
<?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
Title: Re: PSA: DevShares 0.6.0 has been released
Post by: vikram on January 20, 2015, 07:20:10 pm
@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.