{"action":"created","issue":{"url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/1051","labels_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/1051/labels{/name}","comments_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/1051/comments","events_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/1051/events","html_url":"https://github.com/ZoneMinder/ZoneMinder/issues/1051","id":105098256,"number":1051,"title":"zmupdate.pl sort on sql files incorrect","user":{"login":"SteveGilvarry","id":7613276,"avatar_url":"https://avatars.githubusercontent.com/u/7613276?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveGilvarry","html_url":"https://github.com/SteveGilvarry","followers_url":"https://api.github.com/users/SteveGilvarry/followers","following_url":"https://api.github.com/users/SteveGilvarry/following{/other_user}","gists_url":"https://api.github.com/users/SteveGilvarry/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveGilvarry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveGilvarry/subscriptions","organizations_url":"https://api.github.com/users/SteveGilvarry/orgs","repos_url":"https://api.github.com/users/SteveGilvarry/repos","events_url":"https://api.github.com/users/SteveGilvarry/events{/privacy}","received_events_url":"https://api.github.com/users/SteveGilvarry/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-06T14:46:04Z","updated_at":"2015-09-06T19:02:07Z","closed_at":null,"body":"https://github.com/ZoneMinder/ZoneMinder/blob/master/scripts/zmupdate.pl.in#L1029\r\nThe sort here does not appear to get the order correct and runs 1.28.10x scripts before 1.28.99.\r\nSee here issue #935  https://github.com/ZoneMinder/ZoneMinder/issues/935#issuecomment-133233786\r\nand #905  https://github.com/ZoneMinder/ZoneMinder/issues/905#issuecomment-138037678\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26485692-zmupdate-pl-sort-on-sql-files-incorrect?utm_campaign=plugin&utm_content=tracker%2F188329&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F188329&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/comments/138114700","html_url":"https://github.com/ZoneMinder/ZoneMinder/issues/1051#issuecomment-138114700","issue_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/1051","id":138114700,"user":{"login":"Linwood-F","id":13143855,"avatar_url":"https://avatars.githubusercontent.com/u/13143855?v=3","gravatar_id":"","url":"https://api.github.com/users/Linwood-F","html_url":"https://github.com/Linwood-F","followers_url":"https://api.github.com/users/Linwood-F/followers","following_url":"https://api.github.com/users/Linwood-F/following{/other_user}","gists_url":"https://api.github.com/users/Linwood-F/gists{/gist_id}","starred_url":"https://api.github.com/users/Linwood-F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Linwood-F/subscriptions","organizations_url":"https://api.github.com/users/Linwood-F/orgs","repos_url":"https://api.github.com/users/Linwood-F/repos","events_url":"https://api.github.com/users/Linwood-F/events{/privacy}","received_events_url":"https://api.github.com/users/Linwood-F/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T19:02:07Z","updated_at":"2015-09-06T19:02:07Z","body":"When I get some time I'll take a look.  I went off on a tangent to a zabbix alternative (opennms).  My biggest issue in testing this is figuring out github enough to be able to pull down a specific version and then a later version so it has to run the update (i.e. a real, honest test instead of faked).  I think the key though has been answered -- while there is a possible failure mode, it's being managed, so it isn't going to happen for THIS wrap around."}}