{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/homebrew-dart/issues/52","repository_url":"https://api.github.com/repos/dart-lang/homebrew-dart","labels_url":"https://api.github.com/repos/dart-lang/homebrew-dart/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/homebrew-dart/issues/52/comments","events_url":"https://api.github.com/repos/dart-lang/homebrew-dart/issues/52/events","html_url":"https://github.com/dart-lang/homebrew-dart/pull/52","id":328079032,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNzA3NDAx","number":52,"title":"Versioned 1.x and 2.x formulae for Dart 2 migration","user":{"login":"apjanke","id":2618447,"node_id":"MDQ6VXNlcjI2MTg0NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/2618447?v=4","gravatar_id":"","url":"https://api.github.com/users/apjanke","html_url":"https://github.com/apjanke","followers_url":"https://api.github.com/users/apjanke/followers","following_url":"https://api.github.com/users/apjanke/following{/other_user}","gists_url":"https://api.github.com/users/apjanke/gists{/gist_id}","starred_url":"https://api.github.com/users/apjanke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apjanke/subscriptions","organizations_url":"https://api.github.com/users/apjanke/orgs","repos_url":"https://api.github.com/users/apjanke/repos","events_url":"https://api.github.com/users/apjanke/events{/privacy}","received_events_url":"https://api.github.com/users/apjanke/received_events","type":"User","site_admin":false},"labels":[{"id":421017673,"node_id":"MDU6TGFiZWw0MjEwMTc2NzM=","url":"https://api.github.com/repos/dart-lang/homebrew-dart/labels/cla:%20yes","name":"cla: yes","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-05-31T10:14:34Z","updated_at":"2018-05-31T22:58:40Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/dart-lang/homebrew-dart/pulls/52","html_url":"https://github.com/dart-lang/homebrew-dart/pull/52","diff_url":"https://github.com/dart-lang/homebrew-dart/pull/52.diff","patch_url":"https://github.com/dart-lang/homebrew-dart/pull/52.patch"},"body":"You may wish to provided versioned `dart@1` and `dart@2` formulae to ease the migration to the new major-version Dart 2 release.\r\n\r\nThis PR is just an example of how you could do it; I'm new to this project so I'm not sure if it fits in with your style and workflow.\r\n\r\nThe `dart@2` formula would be a short-term one, kept around only until a stable Dart 2 release is out as the `stable` version in the main `dart` formula. This would support:\r\n* Developers who need to depend on Dart 2 with their current development versions. Homebrew does not support dependencies on `--devel` installations/channels. Example: https://github.com/sass/homebrew-sass/issues/5\r\n* Side-by-side installation of Dart 1 and 2 for developers who wanted to compare their behaviors.\r\n\r\nThe `dart@1` formula would be a long-term fix for supporting legacy applications which have not been migrated to Dart 2."},"comment":{"url":"https://api.github.com/repos/dart-lang/homebrew-dart/issues/comments/393708725","html_url":"https://github.com/dart-lang/homebrew-dart/pull/52#issuecomment-393708725","issue_url":"https://api.github.com/repos/dart-lang/homebrew-dart/issues/52","id":393708725,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzcwODcyNQ==","user":{"login":"apjanke","id":2618447,"node_id":"MDQ6VXNlcjI2MTg0NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/2618447?v=4","gravatar_id":"","url":"https://api.github.com/users/apjanke","html_url":"https://github.com/apjanke","followers_url":"https://api.github.com/users/apjanke/followers","following_url":"https://api.github.com/users/apjanke/following{/other_user}","gists_url":"https://api.github.com/users/apjanke/gists{/gist_id}","starred_url":"https://api.github.com/users/apjanke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apjanke/subscriptions","organizations_url":"https://api.github.com/users/apjanke/orgs","repos_url":"https://api.github.com/users/apjanke/repos","events_url":"https://api.github.com/users/apjanke/events{/privacy}","received_events_url":"https://api.github.com/users/apjanke/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T22:58:40Z","updated_at":"2018-05-31T22:58:40Z","author_association":"NONE","body":"In my view:\r\n\r\n> Do we still have dart.rb?\r\n\r\nYes. That will remain the main Dart formula. `dart@1` and/or `dart@2` would be special-purpose auxiliary formulae.\r\n\r\n> Is there a way [dart.rb] points to dart@2.rb?\r\n\r\nNo. They need to have different definitions: in main `dart.rb`, Dart 2 is still `--devel` until its official non-RC release. In `dart@2`, Dart 2 is the main `stable` version, so that you can define dependencies against it.\r\n\r\n> ...we should then add both dart@1 and dart@2, and dart@2 should be updated by the script...\r\n\r\nI will attempt to modify this PR to have `dart@2` be generated by the script (in addition to `dart.rb`), instead of manually maintained."}}
{"actor":{"display_login":"apjanke"}}