{"action":"created","issue":{"url":"https://api.github.com/repos/mizzy/specinfra/issues/499","labels_url":"https://api.github.com/repos/mizzy/specinfra/issues/499/labels{/name}","comments_url":"https://api.github.com/repos/mizzy/specinfra/issues/499/comments","events_url":"https://api.github.com/repos/mizzy/specinfra/issues/499/events","html_url":"https://github.com/mizzy/specinfra/pull/499","id":119460114,"number":499,"title":"Use regexp to match exactly the repo name","user":{"login":"kiketid","id":2479379,"avatar_url":"https://avatars.githubusercontent.com/u/2479379?v=3","gravatar_id":"","url":"https://api.github.com/users/kiketid","html_url":"https://github.com/kiketid","followers_url":"https://api.github.com/users/kiketid/followers","following_url":"https://api.github.com/users/kiketid/following{/other_user}","gists_url":"https://api.github.com/users/kiketid/gists{/gist_id}","starred_url":"https://api.github.com/users/kiketid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiketid/subscriptions","organizations_url":"https://api.github.com/users/kiketid/orgs","repos_url":"https://api.github.com/users/kiketid/repos","events_url":"https://api.github.com/users/kiketid/events{/privacy}","received_events_url":"https://api.github.com/users/kiketid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-30T10:10:17Z","updated_at":"2015-12-02T23:58:21Z","closed_at":"2015-12-02T01:29:05Z","pull_request":{"url":"https://api.github.com/repos/mizzy/specinfra/pulls/499","html_url":"https://github.com/mizzy/specinfra/pull/499","diff_url":"https://github.com/mizzy/specinfra/pull/499.diff","patch_url":"https://github.com/mizzy/specinfra/pull/499.patch"},"body":"If you have different repos with name like gvp-bi-common, gvp-bi-common-x86_64, gvp-bi-common-noarch, etc...and we want to verify that gvp-bi-common-x86_64 and gvp-bi-common-noarch exists and gvp-bi-common NOT exists, with the current code it fails because we have 2 repos with the same starting string so it matches that the repo exists. Using a regexp at the check make it behaves correctly.\r\n"},"comment":{"url":"https://api.github.com/repos/mizzy/specinfra/issues/comments/161471279","html_url":"https://github.com/mizzy/specinfra/pull/499#issuecomment-161471279","issue_url":"https://api.github.com/repos/mizzy/specinfra/issues/499","id":161471279,"user":{"login":"mizzy","id":3620,"avatar_url":"https://avatars.githubusercontent.com/u/3620?v=3","gravatar_id":"","url":"https://api.github.com/users/mizzy","html_url":"https://github.com/mizzy","followers_url":"https://api.github.com/users/mizzy/followers","following_url":"https://api.github.com/users/mizzy/following{/other_user}","gists_url":"https://api.github.com/users/mizzy/gists{/gist_id}","starred_url":"https://api.github.com/users/mizzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mizzy/subscriptions","organizations_url":"https://api.github.com/users/mizzy/orgs","repos_url":"https://api.github.com/users/mizzy/repos","events_url":"https://api.github.com/users/mizzy/events{/privacy}","received_events_url":"https://api.github.com/users/mizzy/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T23:58:21Z","updated_at":"2015-12-02T23:58:21Z","body":"Thanks for reporting. I'll add tests and fix it soon."}}