{"action":"created","issue":{"url":"https://api.github.com/repos/catapult-project/catapult/issues/1041","labels_url":"https://api.github.com/repos/catapult-project/catapult/issues/1041/labels{/name}","comments_url":"https://api.github.com/repos/catapult-project/catapult/issues/1041/comments","events_url":"https://api.github.com/repos/catapult-project/catapult/issues/1041/events","html_url":"https://github.com/catapult-project/catapult/issues/1041","id":98644859,"number":1041,"title":"Root-Relative Import URLs","user":{"login":"catapult-bot","id":13457154,"avatar_url":"https://avatars.githubusercontent.com/u/13457154?v=3","gravatar_id":"","url":"https://api.github.com/users/catapult-bot","html_url":"https://github.com/catapult-bot","followers_url":"https://api.github.com/users/catapult-bot/followers","following_url":"https://api.github.com/users/catapult-bot/following{/other_user}","gists_url":"https://api.github.com/users/catapult-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/catapult-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catapult-bot/subscriptions","organizations_url":"https://api.github.com/users/catapult-bot/orgs","repos_url":"https://api.github.com/users/catapult-bot/repos","events_url":"https://api.github.com/users/catapult-bot/events{/privacy}","received_events_url":"https://api.github.com/users/catapult-bot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/catapult-project/catapult/labels/Infrastructure","name":"Infrastructure","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-02T23:25:44Z","updated_at":"2015-08-02T23:26:10Z","closed_at":"2015-08-02T23:25:49Z","body":"<a href=\"https://github.com/shikexue\"><img src=\"https://avatars.githubusercontent.com/u/691655?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [shikexue](https://github.com/shikexue)**\n_Monday Jun 22, 2015 at 19:45 GMT_\n_Originally opened as https://github.com/google/trace-viewer/issues/1041_\n\n----\n\nAll of the import URLs are root-relative, which makes it much harder to move directories or use trace viewer in other projects. Is there any reason not to use relative URLs? \n"},"comment":{"url":"https://api.github.com/repos/catapult-project/catapult/issues/comments/127083439","html_url":"https://github.com/catapult-project/catapult/issues/1041#issuecomment-127083439","issue_url":"https://api.github.com/repos/catapult-project/catapult/issues/1041","id":127083439,"user":{"login":"catapult-bot","id":13457154,"avatar_url":"https://avatars.githubusercontent.com/u/13457154?v=3","gravatar_id":"","url":"https://api.github.com/users/catapult-bot","html_url":"https://github.com/catapult-bot","followers_url":"https://api.github.com/users/catapult-bot/followers","following_url":"https://api.github.com/users/catapult-bot/following{/other_user}","gists_url":"https://api.github.com/users/catapult-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/catapult-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catapult-bot/subscriptions","organizations_url":"https://api.github.com/users/catapult-bot/orgs","repos_url":"https://api.github.com/users/catapult-bot/repos","events_url":"https://api.github.com/users/catapult-bot/events{/privacy}","received_events_url":"https://api.github.com/users/catapult-bot/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T23:26:10Z","updated_at":"2015-08-02T23:26:10Z","body":"<a href=\"https://github.com/dj2\"><img src=\"https://avatars.githubusercontent.com/u/9611?v=3\" align=\"left\" width=\"48\" height=\"48\" hspace=\"10\"></img></a> **Comment by [dj2](https://github.com/dj2)**\n_Tuesday Jun 23, 2015 at 03:48 GMT_\n\n----\n\nI'm fine with switching to relative as long as we can:\r\n\r\na- Make run_dev_server work properly. Absolute URLS made things easy here.\r\nb- Make the vulcanizer work properly. (I think this should fall out of making run_dev_server work).\r\nc- Figure out some kind of pre-submit so we don't accidentally add absolute URLs in the future.\n"}}