{"action":"created","issue":{"url":"https://api.github.com/repos/SatelliteQE/nailgun/issues/321","repository_url":"https://api.github.com/repos/SatelliteQE/nailgun","labels_url":"https://api.github.com/repos/SatelliteQE/nailgun/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/SatelliteQE/nailgun/issues/321/comments","events_url":"https://api.github.com/repos/SatelliteQE/nailgun/issues/321/events","html_url":"https://github.com/SatelliteQE/nailgun/pull/321","id":180634183,"number":321,"title":"Add Package entity","user":{"login":"ehelms","id":293363,"avatar_url":"https://avatars.githubusercontent.com/u/293363?v=3","gravatar_id":"","url":"https://api.github.com/users/ehelms","html_url":"https://github.com/ehelms","followers_url":"https://api.github.com/users/ehelms/followers","following_url":"https://api.github.com/users/ehelms/following{/other_user}","gists_url":"https://api.github.com/users/ehelms/gists{/gist_id}","starred_url":"https://api.github.com/users/ehelms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehelms/subscriptions","organizations_url":"https://api.github.com/users/ehelms/orgs","repos_url":"https://api.github.com/users/ehelms/repos","events_url":"https://api.github.com/users/ehelms/events{/privacy}","received_events_url":"https://api.github.com/users/ehelms/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SatelliteQE/nailgun/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-03T12:59:45Z","updated_at":"2016-10-05T18:57:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SatelliteQE/nailgun/pulls/321","html_url":"https://github.com/SatelliteQE/nailgun/pull/321","diff_url":"https://github.com/SatelliteQE/nailgun/pull/321.diff","patch_url":"https://github.com/SatelliteQE/nailgun/pull/321.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/SatelliteQE/nailgun/issues/comments/251766659","html_url":"https://github.com/SatelliteQE/nailgun/pull/321#issuecomment-251766659","issue_url":"https://api.github.com/repos/SatelliteQE/nailgun/issues/321","id":251766659,"user":{"login":"ehelms","id":293363,"avatar_url":"https://avatars.githubusercontent.com/u/293363?v=3","gravatar_id":"","url":"https://api.github.com/users/ehelms","html_url":"https://github.com/ehelms","followers_url":"https://api.github.com/users/ehelms/followers","following_url":"https://api.github.com/users/ehelms/following{/other_user}","gists_url":"https://api.github.com/users/ehelms/gists{/gist_id}","starred_url":"https://api.github.com/users/ehelms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehelms/subscriptions","organizations_url":"https://api.github.com/users/ehelms/orgs","repos_url":"https://api.github.com/users/ehelms/repos","events_url":"https://api.github.com/users/ehelms/events{/privacy}","received_events_url":"https://api.github.com/users/ehelms/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T18:57:56Z","updated_at":"2016-10-05T18:57:56Z","body":"One does not simply create a package. They are read only, since they come\nfrom sync or upload to a repo.\n\nOn Oct 5, 2016 2:55 PM, \"Og Maciel\" <notifications@github.com> wrote:\n\n> *@omaciel* commented on this pull request.\n> ------------------------------\n>\n> In nailgun/entities.py <https://github.com/SatelliteQE/nailgun/pull/321>:\n>\n> > @@ -3811,6 +3811,32 @@ def list_smart_variables(self, synchronous=True, **kwargs):\n>          return _handle_response(response, self._server_config, synchronous)\n>\n>\n> +class Package(Entity, EntityReadMixin, EntitySearchMixin):\n> +    \"\"\"A representation of a Package entity.\"\"\"\n> +\n> +    def __init__(self, server_config=None, **kwargs):\n> +        self._fields = {\n> +            'arch': entity_fields.StringField(),\n> +            'checksum': entity_fields.StringField(),\n> +            'description': entity_fields.StringField(),\n> +            'epoch': entity_fields.StringField(),\n> +            'filename': entity_fields.StringField(),\n> +            'name': entity_fields.StringField(\n>\n> name would be populated for you automatically on create, so I was\n> wondering what are the minimal attributes one must specify in order to\n> create a package?\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/SatelliteQE/nailgun/pull/321>, or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AAR584KfsYGn37qeiozQZfMQM1ku7kd2ks5qw_KWgaJpZM4KMjSo>\n> .\n>\n"}}
{"actor":{"display_login":"ehelms"}}