payload: {"action":"created","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-gitlab/issues/142","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-gitlab","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-gitlab/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-gitlab/issues/142/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-gitlab/issues/142/events","html_url":"https://github.com/terraform-providers/terraform-provider-gitlab/pull/142","id":451360786,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg0NDY1NjQy","number":142,"title":"Add import_url attribute to project resource to allow importing repository from URL.","user":{"login":"danielriesner","id":29774868,"node_id":"MDQ6VXNlcjI5Nzc0ODY4","avatar_url":"https://avatars3.githubusercontent.com/u/29774868?v=4","gravatar_id":"","url":"https://api.github.com/users/danielriesner","html_url":"https://github.com/danielriesner","followers_url":"https://api.github.com/users/danielriesner/followers","following_url":"https://api.github.com/users/danielriesner/following{/other_user}","gists_url":"https://api.github.com/users/danielriesner/gists{/gist_id}","starred_url":"https://api.github.com/users/danielriesner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielriesner/subscriptions","organizations_url":"https://api.github.com/users/danielriesner/orgs","repos_url":"https://api.github.com/users/danielriesner/repos","events_url":"https://api.github.com/users/danielriesner/events{/privacy}","received_events_url":"https://api.github.com/users/danielriesner/received_events","type":"User","site_admin":false},"labels":[{"id":737832307,"node_id":"MDU6TGFiZWw3Mzc4MzIzMDc=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-gitlab/labels/size/XS","name":"size/XS","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-06-03T08:43:43Z","updated_at":"2019-06-05T21:01:04Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-gitlab/pulls/142","html_url":"https://github.com/terraform-providers/terraform-provider-gitlab/pull/142","diff_url":"https://github.com/terraform-providers/terraform-provider-gitlab/pull/142.diff","patch_url":"https://github.com/terraform-providers/terraform-provider-gitlab/pull/142.patch"},"body":"This resolves issue #42 .\r\n\r\nAlthough I succesfully tested it with a locally running gitlab instance, unfortunately for now acceptance tests for import_url attribute are missing. From my understanding the requirements for such tests to fit the other tests approach are:\r\n1. Before creating actual test gitlab project, create dummy gitlab project, which can be imported in the actual test.\r\n2. Run actual test.\r\n3. Check if import succeeded.\r\n4. Remove dummy gitlab project.\r\n\r\nApart from that an already existing git repo url could be used for the test e.g. this repo itself. Although still a check would be needed to see if import was successful. \r\n\r\nWhat do you guys suggest?"},"comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-gitlab/issues/comments/499253846","html_url":"https://github.com/terraform-providers/terraform-provider-gitlab/pull/142#issuecomment-499253846","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-gitlab/issues/142","id":499253846,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5OTI1Mzg0Ng==","user":{"login":"roidelapluie","id":291750,"node_id":"MDQ6VXNlcjI5MTc1MA==","avatar_url":"https://avatars2.githubusercontent.com/u/291750?v=4","gravatar_id":"","url":"https://api.github.com/users/roidelapluie","html_url":"https://github.com/roidelapluie","followers_url":"https://api.github.com/users/roidelapluie/followers","following_url":"https://api.github.com/users/roidelapluie/following{/other_user}","gists_url":"https://api.github.com/users/roidelapluie/gists{/gist_id}","starred_url":"https://api.github.com/users/roidelapluie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roidelapluie/subscriptions","organizations_url":"https://api.github.com/users/roidelapluie/orgs","repos_url":"https://api.github.com/users/roidelapluie/repos","events_url":"https://api.github.com/users/roidelapluie/events{/privacy}","received_events_url":"https://api.github.com/users/roidelapluie/received_events","type":"User","site_admin":false},"created_at":"2019-06-05T21:01:04Z","updated_at":"2019-06-05T21:01:04Z","author_association":"COLLABORATOR","body":"I would suggest that you maybe use the import feature with this repo, then check with the file api https://github.com/xanzy/go-gitlab/blob/master/repository_files.go that there is a gitlab/resource_gitlab_project.go  file in the repository?"}}
other: {"actor":{"display_login":"roidelapluie"}}