{"action":"created","issue":{"url":"https://api.github.com/repos/racket/racket/issues/1500","repository_url":"https://api.github.com/repos/racket/racket","labels_url":"https://api.github.com/repos/racket/racket/issues/1500/labels{/name}","comments_url":"https://api.github.com/repos/racket/racket/issues/1500/comments","events_url":"https://api.github.com/repos/racket/racket/issues/1500/events","html_url":"https://github.com/racket/racket/issues/1500","id":185912818,"number":1500,"title":"raco pkg new: what versions to include, and how to include them?","user":{"login":"jsmaniac","id":299872,"avatar_url":"https://avatars.githubusercontent.com/u/299872?v=3","gravatar_id":"","url":"https://api.github.com/users/jsmaniac","html_url":"https://github.com/jsmaniac","followers_url":"https://api.github.com/users/jsmaniac/followers","following_url":"https://api.github.com/users/jsmaniac/following{/other_user}","gists_url":"https://api.github.com/users/jsmaniac/gists{/gist_id}","starred_url":"https://api.github.com/users/jsmaniac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsmaniac/subscriptions","organizations_url":"https://api.github.com/users/jsmaniac/orgs","repos_url":"https://api.github.com/users/jsmaniac/repos","events_url":"https://api.github.com/users/jsmaniac/events{/privacy}","received_events_url":"https://api.github.com/users/jsmaniac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-28T12:37:15Z","updated_at":"2016-10-28T22:57:39Z","closed_at":null,"body":"As a follow-up to #1466, I'm opening this issue.\r\n\r\n`raco pkg new` creates a `.travis.yml` file which builds the project on these versions:\r\n\r\n    - RACKET_VERSION=6.0\r\n    - RACKET_VERSION=6.1\r\n    - RACKET_VERSION=6.1.1\r\n    - RACKET_VERSION=6.2\r\n    - RACKET_VERSION=6.3\r\n    - RACKET_VERSION=6.4\r\n    - RACKET_VERSION=6.5\r\n    - RACKET_VERSION=6.6\r\n    - RACKET_VERSION=6.7\r\n    - RACKET_VERSION=HEAD\r\n\r\nCurrently, the version numbers are hardcoded, and new versions have to be added by hand. @stamourv asked if we can make this part automatically generated.\r\n\r\nI see several options:\r\n\r\n1. Include all the `X.Y` version numbers from `6.0` until `(version)`, and hardcode the few versions which do not fall within this pattern, like `6.1.1`, which was a regular release (i.e. not a quick bugfix).\r\n2. Same as above, but use some later version we agree upon, as `6.0` is starting to be somewhat old, and it gives a lot of work to Travis.\r\n3. Same as above, but include only the last `N` versions, for a small value of `N`\r\n4. Include a few hand-picked significant versions (e.g. one with the old macro expander and one with the new macro expander), plus raco's own version (as given by `(version)`), plus `HEAD`\r\n5. Just raco's own version (as given by `(version)`), plus `HEAD`\r\n6. Something else?\r\n\r\nI think it's best if the code works 100% without network access (i.e. checking online for the latest version instead of using `raco`'s own `(version)` would be a bad idea, as it would introduce some latency, and would give different results depending on whether there is network access or not).\r\n\r\nOption `4` seems like a good pick for me (we can hardcode some knowledge of which versions are significant enough to warrant extra testing, but the file does not need to be updated at each new release). @stamourv hinted that option `5` is fine, as it provides a template that the user can then modify.\r\n\r\nI'm opening this issue so that we can decide on the best strategy, and I'll then try implementing it."},"comment":{"url":"https://api.github.com/repos/racket/racket/issues/comments/257048061","html_url":"https://github.com/racket/racket/issues/1500#issuecomment-257048061","issue_url":"https://api.github.com/repos/racket/racket/issues/1500","id":257048061,"user":{"login":"jsmaniac","id":299872,"avatar_url":"https://avatars.githubusercontent.com/u/299872?v=3","gravatar_id":"","url":"https://api.github.com/users/jsmaniac","html_url":"https://github.com/jsmaniac","followers_url":"https://api.github.com/users/jsmaniac/followers","following_url":"https://api.github.com/users/jsmaniac/following{/other_user}","gists_url":"https://api.github.com/users/jsmaniac/gists{/gist_id}","starred_url":"https://api.github.com/users/jsmaniac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsmaniac/subscriptions","organizations_url":"https://api.github.com/users/jsmaniac/orgs","repos_url":"https://api.github.com/users/jsmaniac/repos","events_url":"https://api.github.com/users/jsmaniac/events{/privacy}","received_events_url":"https://api.github.com/users/jsmaniac/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T22:57:39Z","updated_at":"2016-10-28T22:57:39Z","body":"@stamourv by the way, do you happen to know (roughly) where the release info is available online?"}}
{"actor":{"display_login":"jsmaniac"}}