{"action":"created","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-module-resolver/issues/122","labels_url":"https://api.github.com/repos/ceylon/ceylon-module-resolver/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-module-resolver/issues/122/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-module-resolver/issues/122/events","html_url":"https://github.com/ceylon/ceylon-module-resolver/pull/122","id":98214892,"number":122,"title":"add constants for dart artifacts","user":{"login":"jvasileff","id":236050,"avatar_url":"https://avatars.githubusercontent.com/u/236050?v=3","gravatar_id":"","url":"https://api.github.com/users/jvasileff","html_url":"https://github.com/jvasileff","followers_url":"https://api.github.com/users/jvasileff/followers","following_url":"https://api.github.com/users/jvasileff/following{/other_user}","gists_url":"https://api.github.com/users/jvasileff/gists{/gist_id}","starred_url":"https://api.github.com/users/jvasileff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvasileff/subscriptions","organizations_url":"https://api.github.com/users/jvasileff/orgs","repos_url":"https://api.github.com/users/jvasileff/repos","events_url":"https://api.github.com/users/jvasileff/events{/privacy}","received_events_url":"https://api.github.com/users/jvasileff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceylon/ceylon-module-resolver/labels/FEATURE","name":"FEATURE","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-30T16:50:09Z","updated_at":"2015-08-13T21:35:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceylon/ceylon-module-resolver/pulls/122","html_url":"https://github.com/ceylon/ceylon-module-resolver/pull/122","diff_url":"https://github.com/ceylon/ceylon-module-resolver/pull/122.diff","patch_url":"https://github.com/ceylon/ceylon-module-resolver/pull/122.patch"},"body":"This PR adds minimal support for Dart file extensions. The need for this is an inability to \"get\" artifacts (storing isn't a problem!) from a repository manager with unknown suffixes:\r\n\r\n```\r\ncom.redhat.ceylon.model.cmr.RepositoryException: Unknown suffix in simple-1.0.0.dart\r\n\tat com.redhat.ceylon.cmr.api.ArtifactContext.getSuffixFromFilename_(ArtifactContext.java:291)\r\n\tat com.redhat.ceylon.cmr.api.ArtifactContext.getSuffixFromFilename(ArtifactContext.java:259)\r\n\tat com.redhat.ceylon.cmr.api.ArtifactContext.getSuffixFromNode(ArtifactContext.java:250)\r\n\tat com.redhat.ceylon.cmr.impl.AbstractNodeRepositoryManager.getArtifactResult(AbstractNodeRepositoryManager.java:169)\r\n\tat com.redhat.ceylon.cmr.api.AbstractRepositoryManager.getArtifact(AbstractRepositoryManager.java:87)\r\n```\r\n\r\nThe Dart backend is currently just an experiment. But it's a big experiment, and *potentially* useful. Without this patch, it will be much more difficult to let others try it out. So, if it doesn't look like it will cause problems, it would be great if this can be merged."},"comment":{"url":"https://api.github.com/repos/ceylon/ceylon-module-resolver/issues/comments/130851489","html_url":"https://github.com/ceylon/ceylon-module-resolver/pull/122#issuecomment-130851489","issue_url":"https://api.github.com/repos/ceylon/ceylon-module-resolver/issues/122","id":130851489,"user":{"login":"jvasileff","id":236050,"avatar_url":"https://avatars.githubusercontent.com/u/236050?v=3","gravatar_id":"","url":"https://api.github.com/users/jvasileff","html_url":"https://github.com/jvasileff","followers_url":"https://api.github.com/users/jvasileff/followers","following_url":"https://api.github.com/users/jvasileff/following{/other_user}","gists_url":"https://api.github.com/users/jvasileff/gists{/gist_id}","starred_url":"https://api.github.com/users/jvasileff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvasileff/subscriptions","organizations_url":"https://api.github.com/users/jvasileff/orgs","repos_url":"https://api.github.com/users/jvasileff/repos","events_url":"https://api.github.com/users/jvasileff/events{/privacy}","received_events_url":"https://api.github.com/users/jvasileff/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T21:35:32Z","updated_at":"2015-08-13T21:35:32Z","body":"I'm just hoping for a \"medium\" merge - something for 1.2."}}