{"action":"created","issue":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/3343","labels_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/3343/labels{/name}","comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/3343/comments","events_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/3343/events","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/3343","id":54338098,"number":3343,"title":"os version in upgrade check","user":{"login":"aleksandra-tarkowska","id":1065155,"avatar_url":"https://avatars.githubusercontent.com/u/1065155?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandra-tarkowska","html_url":"https://github.com/aleksandra-tarkowska","followers_url":"https://api.github.com/users/aleksandra-tarkowska/followers","following_url":"https://api.github.com/users/aleksandra-tarkowska/following{/other_user}","gists_url":"https://api.github.com/users/aleksandra-tarkowska/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandra-tarkowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandra-tarkowska/subscriptions","organizations_url":"https://api.github.com/users/aleksandra-tarkowska/orgs","repos_url":"https://api.github.com/users/aleksandra-tarkowska/repos","events_url":"https://api.github.com/users/aleksandra-tarkowska/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandra-tarkowska/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/labels/develop","name":"develop","color":"02e10c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-14T15:54:16Z","updated_at":"2015-02-06T11:34:36Z","closed_at":"2015-01-20T20:37:19Z","pull_request":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/3343","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/3343","diff_url":"https://github.com/openmicroscopy/openmicroscopy/pull/3343.diff","patch_url":"https://github.com/openmicroscopy/openmicroscopy/pull/3343.patch"},"body":"@rleigh-dundee asked to provide more information about OS in UpgradeCheck. This is because original implementation uses only ```platform.version()```. This change should give more details to registry.\r\n\r\nMac OS X:\r\n```\r\n>>> \"%s-%s\" % (platform.platform(),platform.mac_ver()[0])\r\n'Darwin-12.5.0-x86_64-i386-64bit-10.8.5'\r\n```\r\n\r\nLinux:\r\n```\r\n>>> platform.platform()\r\n'Linux-2.6.32-431.29.2.el6.x86_64-x86_64-with-centos-6.5-Final'\r\n```\r\n\r\nWindows:\r\n```\r\n>>> platform.platform()\r\n'Windows-2008Server-6.0.6002-SP2'\r\n```\r\n\r\nTest library locally logging to web calling python directly:\r\n\r\n```\r\nfrom omero.util.upgrade_check import UpgradeCheck\r\ncheck = UpgradeCheck(\"OMERO.test\")\r\ncheck.run()\r\n```\r\n\r\n```\r\n2015-01-14 16:26:10,994 DEBUG [                 omero.util.UpgradeCheck] (proc.31949) run:136 Attempting to connect to http://upgrade.openmicroscopy.org.uk/?os.version=Darwin-12.5.0-x86_64-i386-64bit-10.8.5&os.arch=x86_64&version=5.1.0-m4-ice34-SNAPSHOT&python.compiler=GCC+4.2.1+Compatible+Apple+Clang+4.0+%28tags%2FApple%2Fclang-418.0.60%29&python.build=%28%27default%27%2C+%27Oct+11+2012+20%3A14%3A37%27%29&os.name=Darwin&python.version=2.7.2\r\n```"},"comment":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/comments/73224021","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/3343#issuecomment-73224021","issue_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/3343","id":73224021,"user":{"login":"rleigh-dundee","id":1528953,"avatar_url":"https://avatars.githubusercontent.com/u/1528953?v=3","gravatar_id":"","url":"https://api.github.com/users/rleigh-dundee","html_url":"https://github.com/rleigh-dundee","followers_url":"https://api.github.com/users/rleigh-dundee/followers","following_url":"https://api.github.com/users/rleigh-dundee/following{/other_user}","gists_url":"https://api.github.com/users/rleigh-dundee/gists{/gist_id}","starred_url":"https://api.github.com/users/rleigh-dundee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rleigh-dundee/subscriptions","organizations_url":"https://api.github.com/users/rleigh-dundee/orgs","repos_url":"https://api.github.com/users/rleigh-dundee/repos","events_url":"https://api.github.com/users/rleigh-dundee/events{/privacy}","received_events_url":"https://api.github.com/users/rleigh-dundee/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T11:34:36Z","updated_at":"2015-02-06T11:34:36Z","body":"@aleksandra-tarkowska It would certainly be nice if the Python and Java code submitted the same information, so it's meaningful to query it."}}