{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxc/issues/748","labels_url":"https://api.github.com/repos/lxc/lxc/issues/748/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxc/issues/748/comments","events_url":"https://api.github.com/repos/lxc/lxc/issues/748/events","html_url":"https://github.com/lxc/lxc/pull/748","id":124597006,"number":748,"title":"[WIP] Reimplement lxc-ls in C","user":{"login":"brauner","id":7353573,"avatar_url":"https://avatars.githubusercontent.com/u/7353573?v=3","gravatar_id":"","url":"https://api.github.com/users/brauner","html_url":"https://github.com/brauner","followers_url":"https://api.github.com/users/brauner/followers","following_url":"https://api.github.com/users/brauner/following{/other_user}","gists_url":"https://api.github.com/users/brauner/gists{/gist_id}","starred_url":"https://api.github.com/users/brauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brauner/subscriptions","organizations_url":"https://api.github.com/users/brauner/orgs","repos_url":"https://api.github.com/users/brauner/repos","events_url":"https://api.github.com/users/brauner/events{/privacy}","received_events_url":"https://api.github.com/users/brauner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-02T16:05:03Z","updated_at":"2016-01-09T03:04:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lxc/lxc/pulls/748","html_url":"https://github.com/lxc/lxc/pull/748","diff_url":"https://github.com/lxc/lxc/pull/748.diff","patch_url":"https://github.com/lxc/lxc/pull/748.patch"},"body":"This is a reimplementation of `lxc-ls` in C. It supports all features previously supported by `lxc-ls` except `--nesting` (for now). I need to put more thought into the nesting part in since we fork when calling  `lxc_attach()`. A recursive implementation seems to be the most intuitive one. Thoughts on that appreciated.\r\n\r\nAll flags and parameters have the same name as before except when the user specifies a regex to filter container names by. In the Python implementation the regex was passed without a parameter flag. The new C-implementation has the parameter flag `-r/--regex` for this."},"comment":{"url":"https://api.github.com/repos/lxc/lxc/issues/comments/170184858","html_url":"https://github.com/lxc/lxc/pull/748#issuecomment-170184858","issue_url":"https://api.github.com/repos/lxc/lxc/issues/748","id":170184858,"user":{"login":"hallyn","id":1359441,"avatar_url":"https://avatars.githubusercontent.com/u/1359441?v=3","gravatar_id":"","url":"https://api.github.com/users/hallyn","html_url":"https://github.com/hallyn","followers_url":"https://api.github.com/users/hallyn/followers","following_url":"https://api.github.com/users/hallyn/following{/other_user}","gists_url":"https://api.github.com/users/hallyn/gists{/gist_id}","starred_url":"https://api.github.com/users/hallyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hallyn/subscriptions","organizations_url":"https://api.github.com/users/hallyn/orgs","repos_url":"https://api.github.com/users/hallyn/repos","events_url":"https://api.github.com/users/hallyn/events{/privacy}","received_events_url":"https://api.github.com/users/hallyn/received_events","type":"User","site_admin":false},"created_at":"2016-01-09T03:04:34Z","updated_at":"2016-01-09T03:04:34Z","body":"The socketpair looks fine.\r\n\r\nWhat should we do about versioning?\r\n\r\nWe don't want mixed versions of lxc in host/container to confuse each other.  We also want older lxc to be useable in a child container for lxc-ls --nested.\r\n"}}