{"action":"created","issue":{"url":"https://api.github.com/repos/gridcoin/Gridcoin-Research/issues/14","labels_url":"https://api.github.com/repos/gridcoin/Gridcoin-Research/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/gridcoin/Gridcoin-Research/issues/14/comments","events_url":"https://api.github.com/repos/gridcoin/Gridcoin-Research/issues/14/events","html_url":"https://github.com/gridcoin/Gridcoin-Research/pull/14","id":53656563,"number":14,"title":"Upgrader","user":{"login":"Lederstrumpf","id":1497212,"avatar_url":"https://avatars.githubusercontent.com/u/1497212?v=3","gravatar_id":"","url":"https://api.github.com/users/Lederstrumpf","html_url":"https://github.com/Lederstrumpf","followers_url":"https://api.github.com/users/Lederstrumpf/followers","following_url":"https://api.github.com/users/Lederstrumpf/following{/other_user}","gists_url":"https://api.github.com/users/Lederstrumpf/gists{/gist_id}","starred_url":"https://api.github.com/users/Lederstrumpf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lederstrumpf/subscriptions","organizations_url":"https://api.github.com/users/Lederstrumpf/orgs","repos_url":"https://api.github.com/users/Lederstrumpf/repos","events_url":"https://api.github.com/users/Lederstrumpf/events{/privacy}","received_events_url":"https://api.github.com/users/Lederstrumpf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":58,"created_at":"2015-01-07T17:15:20Z","updated_at":"2015-02-04T22:16:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gridcoin/Gridcoin-Research/pulls/14","html_url":"https://github.com/gridcoin/Gridcoin-Research/pull/14","diff_url":"https://github.com/gridcoin/Gridcoin-Research/pull/14.diff","patch_url":"https://github.com/gridcoin/Gridcoin-Research/pull/14.patch"},"body":"Upgrader working both on Linux and Windows - OSX not been tested yet.\r\n\r\nCan upgrade qt-client, daemon and bootstrap new users with blockchain download.\r\nRestarts qt/daemon after upgrade.\r\nCreates backups of previous clients/chains in date-specific folders under datadir/backup.\r\nCan restore from backup once function to sort date-specific folders is implemented.\r\n\r\nAs of yet, upgrading functionality is a stub insofar as that the respective binaries are not available on gridcoin.us yet. \r\n\r\nNew dependencies: curl, libzip (both cross-platform)\r\nNew Config Flag: programdir (specifies qt-client/daemon directory - if not specified, will search in running directory for said targets)\r\n\r\nCurrent TODO List:\r\nImplement restore functionality\r\nAdd RPC command for upgrade (ADDED 11/01/2015)\r\nAdd upgrader upgrading command to daemon/qt-client\r\nWork on upgradedialog appearance/layout in qt-client\r\nMore extensive commenting on code functionality"},"comment":{"url":"https://api.github.com/repos/gridcoin/Gridcoin-Research/issues/comments/72951818","html_url":"https://github.com/gridcoin/Gridcoin-Research/pull/14#issuecomment-72951818","issue_url":"https://api.github.com/repos/gridcoin/Gridcoin-Research/issues/14","id":72951818,"user":{"login":"gridcoin","id":5510341,"avatar_url":"https://avatars.githubusercontent.com/u/5510341?v=3","gravatar_id":"","url":"https://api.github.com/users/gridcoin","html_url":"https://github.com/gridcoin","followers_url":"https://api.github.com/users/gridcoin/followers","following_url":"https://api.github.com/users/gridcoin/following{/other_user}","gists_url":"https://api.github.com/users/gridcoin/gists{/gist_id}","starred_url":"https://api.github.com/users/gridcoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gridcoin/subscriptions","organizations_url":"https://api.github.com/users/gridcoin/orgs","repos_url":"https://api.github.com/users/gridcoin/repos","events_url":"https://api.github.com/users/gridcoin/events{/privacy}","received_events_url":"https://api.github.com/users/gridcoin/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T22:16:37Z","updated_at":"2015-02-04T22:16:37Z","body":"Thanks for all the testing; its good to have the experts out on this on the configuration side to hit it hard.  SeP thanks for supporting the best interests - I was thinking of the dependencies last night and came to the conclusion that if any exchanges squawk about having to install the -dev versions of libzip and curl, we can just add the compiler directives to block off the upgrade feature for headless - so it wont be the end of the world if for example c-cex cant build it and stops.  Although Marix and Caraka are correct that the ubuntu box has the binary libs of these two, the actual problem is only the -dev version has the headers- so it definitely will require an apt-get to install the dev versions - which, as we know is relatively trivial, but does require us to ask for system admin configuration changes to the exchange environment.  I am sure they actually do build the coin from scratch because I sat there for 4 hours while they are asking me questions about deleting .o files, etc etc.  :).  We're good though with our back up plan to block off the feature as a last resort.\r\n\r\nUnfortunately being as pessimistic as I am, the reality most likely will be that 2 of the 3 exchanges build it and at least one complains.  So that means another few hours of work - but Im not going there til it happens.\r\n\r\nThanks again everyone.\r\n\r\nRob\r\n"}}