{"action":"created","issue":{"url":"https://api.github.com/repos/cylc/cylc/issues/2522","repository_url":"https://api.github.com/repos/cylc/cylc","labels_url":"https://api.github.com/repos/cylc/cylc/issues/2522/labels{/name}","comments_url":"https://api.github.com/repos/cylc/cylc/issues/2522/comments","events_url":"https://api.github.com/repos/cylc/cylc/issues/2522/events","html_url":"https://github.com/cylc/cylc/pull/2522","id":283949837,"number":2522,"title":"check-software: improve with redesign in Python","user":{"login":"sadielbartholomew","id":30274190,"avatar_url":"https://avatars2.githubusercontent.com/u/30274190?v=4","gravatar_id":"","url":"https://api.github.com/users/sadielbartholomew","html_url":"https://github.com/sadielbartholomew","followers_url":"https://api.github.com/users/sadielbartholomew/followers","following_url":"https://api.github.com/users/sadielbartholomew/following{/other_user}","gists_url":"https://api.github.com/users/sadielbartholomew/gists{/gist_id}","starred_url":"https://api.github.com/users/sadielbartholomew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadielbartholomew/subscriptions","organizations_url":"https://api.github.com/users/sadielbartholomew/orgs","repos_url":"https://api.github.com/users/sadielbartholomew/repos","events_url":"https://api.github.com/users/sadielbartholomew/events{/privacy}","received_events_url":"https://api.github.com/users/sadielbartholomew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"sadielbartholomew","id":30274190,"avatar_url":"https://avatars2.githubusercontent.com/u/30274190?v=4","gravatar_id":"","url":"https://api.github.com/users/sadielbartholomew","html_url":"https://github.com/sadielbartholomew","followers_url":"https://api.github.com/users/sadielbartholomew/followers","following_url":"https://api.github.com/users/sadielbartholomew/following{/other_user}","gists_url":"https://api.github.com/users/sadielbartholomew/gists{/gist_id}","starred_url":"https://api.github.com/users/sadielbartholomew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadielbartholomew/subscriptions","organizations_url":"https://api.github.com/users/sadielbartholomew/orgs","repos_url":"https://api.github.com/users/sadielbartholomew/repos","events_url":"https://api.github.com/users/sadielbartholomew/events{/privacy}","received_events_url":"https://api.github.com/users/sadielbartholomew/received_events","type":"User","site_admin":false},"assignees":[{"login":"sadielbartholomew","id":30274190,"avatar_url":"https://avatars2.githubusercontent.com/u/30274190?v=4","gravatar_id":"","url":"https://api.github.com/users/sadielbartholomew","html_url":"https://github.com/sadielbartholomew","followers_url":"https://api.github.com/users/sadielbartholomew/followers","following_url":"https://api.github.com/users/sadielbartholomew/following{/other_user}","gists_url":"https://api.github.com/users/sadielbartholomew/gists{/gist_id}","starred_url":"https://api.github.com/users/sadielbartholomew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadielbartholomew/subscriptions","organizations_url":"https://api.github.com/users/sadielbartholomew/orgs","repos_url":"https://api.github.com/users/sadielbartholomew/repos","events_url":"https://api.github.com/users/sadielbartholomew/events{/privacy}","received_events_url":"https://api.github.com/users/sadielbartholomew/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/cylc/cylc/milestones/5","html_url":"https://github.com/cylc/cylc/milestone/5","labels_url":"https://api.github.com/repos/cylc/cylc/milestones/5/labels","id":262614,"number":5,"title":"soon","description":"A few months in the future. Top priority issues and easy fixes should initially be marked against this milestone, and then moved to *next-release* if work progresses quickly enough.","creator":{"login":"hjoliver","id":2362137,"avatar_url":"https://avatars0.githubusercontent.com/u/2362137?v=4","gravatar_id":"","url":"https://api.github.com/users/hjoliver","html_url":"https://github.com/hjoliver","followers_url":"https://api.github.com/users/hjoliver/followers","following_url":"https://api.github.com/users/hjoliver/following{/other_user}","gists_url":"https://api.github.com/users/hjoliver/gists{/gist_id}","starred_url":"https://api.github.com/users/hjoliver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjoliver/subscriptions","organizations_url":"https://api.github.com/users/hjoliver/orgs","repos_url":"https://api.github.com/users/hjoliver/repos","events_url":"https://api.github.com/users/hjoliver/events{/privacy}","received_events_url":"https://api.github.com/users/hjoliver/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":0,"state":"open","created_at":"2013-02-08T07:07:13Z","updated_at":"2018-02-27T09:24:28Z","due_on":"2018-04-30T07:00:00Z","closed_at":null},"comments":7,"created_at":"2017-12-21T17:19:45Z","updated_at":"2018-02-27T11:24:33Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/cylc/cylc/pulls/2522","html_url":"https://github.com/cylc/cylc/pull/2522","diff_url":"https://github.com/cylc/cylc/pull/2522.diff","patch_url":"https://github.com/cylc/cylc/pull/2522.patch"},"body":"Blueprint with the aim to address #2203. It's a work in progress, so I will be self-reviewing and updating after Christmas/New Year leave but ongoing feedback would be helpful if anyone has time.\r\n\r\nI was 'inspired' (read: copied under the blessing of open-source with modest adaptations) the shell-command- and version- checking functions and other code snippets from the 'rose-check-software-docs' program file as written by @oliver-sanders so much credit to Oliver. To see what I have and have not written myself for attribution purposes simply compare this code to that file.\r\n\r\nI have based external software needs on the' cylc user guide' but if anyone knows of more specific requirements, particularly minimum versions, then please let me know or point me to somewhere where this may be specified.\r\n\r\nI've tried to make the output user-friendly by printing individual package results in a mock table then explicit statements specifying whether cylc will work and what functionality might fail given unmet requirements. Obviously the 'overall result' and 'summary' prints are not useful for our diagnostic/support purposes but I thought the users would appreciate them."},"comment":{"url":"https://api.github.com/repos/cylc/cylc/issues/comments/368842891","html_url":"https://github.com/cylc/cylc/pull/2522#issuecomment-368842891","issue_url":"https://api.github.com/repos/cylc/cylc/issues/2522","id":368842891,"user":{"login":"sadielbartholomew","id":30274190,"avatar_url":"https://avatars2.githubusercontent.com/u/30274190?v=4","gravatar_id":"","url":"https://api.github.com/users/sadielbartholomew","html_url":"https://github.com/sadielbartholomew","followers_url":"https://api.github.com/users/sadielbartholomew/followers","following_url":"https://api.github.com/users/sadielbartholomew/following{/other_user}","gists_url":"https://api.github.com/users/sadielbartholomew/gists{/gist_id}","starred_url":"https://api.github.com/users/sadielbartholomew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadielbartholomew/subscriptions","organizations_url":"https://api.github.com/users/sadielbartholomew/orgs","repos_url":"https://api.github.com/users/sadielbartholomew/repos","events_url":"https://api.github.com/users/sadielbartholomew/events{/privacy}","received_events_url":"https://api.github.com/users/sadielbartholomew/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T11:24:33Z","updated_at":"2018-02-27T11:24:33Z","author_association":"MEMBER","body":"While trying to implement this feature I came to the realisation that it is rather tricky, since outputs are printed in turn as the main program (function) runs with the output width a variable required for formatting, and determining the length of the longest output line must be done at the end (once all the lines are known!)\r\n\r\nI decided to make a change which solves the issue in question without needing significant refactoring, whereby output is restricted to align up to some maximum width (a minimum width was included previously so this is a simple extension). Particularly wide terminals will then just receive a narrower table of the maximum width. I have set the bounding values having considered all the possible outputs (including the headings and versions with some small-ish string inside), but if you disagree with those values let me know."}}
{"actor":{"display_login":"sadielbartholomew"}}