{"action":"created","issue":{"url":"https://api.github.com/repos/cask/cask/issues/78","labels_url":"https://api.github.com/repos/cask/cask/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/cask/cask/issues/78/comments","events_url":"https://api.github.com/repos/cask/cask/issues/78/events","html_url":"https://github.com/cask/cask/issues/78","id":17927793,"number":78,"title":"Archives","user":{"login":"rejeep","id":20277,"avatar_url":"https://avatars.githubusercontent.com/u/20277?v=3","gravatar_id":"","url":"https://api.github.com/users/rejeep","html_url":"https://github.com/rejeep","followers_url":"https://api.github.com/users/rejeep/followers","following_url":"https://api.github.com/users/rejeep/following{/other_user}","gists_url":"https://api.github.com/users/rejeep/gists{/gist_id}","starred_url":"https://api.github.com/users/rejeep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rejeep/subscriptions","organizations_url":"https://api.github.com/users/rejeep/orgs","repos_url":"https://api.github.com/users/rejeep/repos","events_url":"https://api.github.com/users/rejeep/events{/privacy}","received_events_url":"https://api.github.com/users/rejeep/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cask/cask/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/cask/cask/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2013-08-12T07:41:20Z","updated_at":"2015-06-04T19:23:12Z","closed_at":null,"body":"Ideally we would be able to create a `Cask.lock` file with exact versions, but ELPA does not support multiple versions (madness I say). It's obviously really annoying that a bug in some other project can break my project when I install or update. So many times have I done an update to break my Emacs configuration without being able to go back and the only solution is to disable some plugin until the bug is fixed.\r\n\r\nHere are a few solutions that makes things a little bit better.\r\n\r\n1. For each install and update, cask archives the current build with a date.\r\n2. As above, but only when the `--archive` option (a message could be used instead of a date)\r\n3. We add a command `archive/stash/...` that saves the current build with a message.\r\n\r\nFor all solutions, we would add a command `apply/checkout/...` that replaces the current build with the saved one.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/cask/cask/issues/comments/109018805","html_url":"https://github.com/cask/cask/issues/78#issuecomment-109018805","issue_url":"https://api.github.com/repos/cask/cask/issues/78","id":109018805,"user":{"login":"rejeep","id":20277,"avatar_url":"https://avatars.githubusercontent.com/u/20277?v=3","gravatar_id":"","url":"https://api.github.com/users/rejeep","html_url":"https://github.com/rejeep","followers_url":"https://api.github.com/users/rejeep/followers","following_url":"https://api.github.com/users/rejeep/following{/other_user}","gists_url":"https://api.github.com/users/rejeep/gists{/gist_id}","starred_url":"https://api.github.com/users/rejeep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rejeep/subscriptions","organizations_url":"https://api.github.com/users/rejeep/orgs","repos_url":"https://api.github.com/users/rejeep/repos","events_url":"https://api.github.com/users/rejeep/events{/privacy}","received_events_url":"https://api.github.com/users/rejeep/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T19:23:12Z","updated_at":"2015-06-04T19:23:12Z","body":"@seanfisk It could probably be done by keeping older versions as @lunaryorn suggests above and using `package-alist` for initialisation, specifying versions from `Cask.lock`."}}