{"action":"created","issue":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/1329","labels_url":"https://api.github.com/repos/fsprojects/Paket/issues/1329/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/Paket/issues/1329/comments","events_url":"https://api.github.com/repos/fsprojects/Paket/issues/1329/events","html_url":"https://github.com/fsprojects/Paket/issues/1329","id":123803906,"number":1329,"title":"[Feature Req] Possibility to specify a nupkg cache location","user":{"login":"CumpsD","id":1201644,"avatar_url":"https://avatars.githubusercontent.com/u/1201644?v=3","gravatar_id":"","url":"https://api.github.com/users/CumpsD","html_url":"https://github.com/CumpsD","followers_url":"https://api.github.com/users/CumpsD/followers","following_url":"https://api.github.com/users/CumpsD/following{/other_user}","gists_url":"https://api.github.com/users/CumpsD/gists{/gist_id}","starred_url":"https://api.github.com/users/CumpsD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CumpsD/subscriptions","organizations_url":"https://api.github.com/users/CumpsD/orgs","repos_url":"https://api.github.com/users/CumpsD/repos","events_url":"https://api.github.com/users/CumpsD/events{/privacy}","received_events_url":"https://api.github.com/users/CumpsD/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-24T13:29:37Z","updated_at":"2016-01-06T13:43:43Z","closed_at":null,"body":"This issue is to discuss a Twitter idea\r\n\r\n# Initial idea\r\nhttps://twitter.com/CumpsD/status/680011065250443264\r\nhttps://twitter.com/CumpsD/status/680011137853820930\r\n\r\n# Background story\r\nPaket is great because it gives me repeatable builds with versions I specify. I can safely sleep at night knowing if my project builds today and collects dust for 5 years, it will still build with Paket.\r\n\r\nHowever, I don't always belief things to stay around forever, especially with central package repositories. Things happen. Who can guarantee the packages I use will be there 5 years from now? or 10 years? If I remember correctly, `npm` had this discussion one, which is why Proget and other proxies exist which cache packages so you keep them even if they are gone from the central place.\r\n\r\n# Idea\r\nWhat if I could just tell Paket to store all `nupkg` files it downloads in a cache, of which I can specify the location. No need for proxy setups or anything, simply run paket, and have it store to a fileshare or something and that's your \"backup\". Later when restoring, Paket first checks your usual feeds, with the existing logic, and if it doesnt find anything (NuGet down, package removed?) it can fall back to your offline cache.\r\n\r\n_Clarification:_\r\nThis cache location should be possible to specify per invocation, so you can have different ones per repository for example. Cmdline argument or `paket.dependencies` option?\r\n\r\nDiscuss!"},"comment":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/comments/169325872","html_url":"https://github.com/fsprojects/Paket/issues/1329#issuecomment-169325872","issue_url":"https://api.github.com/repos/fsprojects/Paket/issues/1329","id":169325872,"user":{"login":"amazingant","id":1761309,"avatar_url":"https://avatars.githubusercontent.com/u/1761309?v=3","gravatar_id":"","url":"https://api.github.com/users/amazingant","html_url":"https://github.com/amazingant","followers_url":"https://api.github.com/users/amazingant/followers","following_url":"https://api.github.com/users/amazingant/following{/other_user}","gists_url":"https://api.github.com/users/amazingant/gists{/gist_id}","starred_url":"https://api.github.com/users/amazingant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amazingant/subscriptions","organizations_url":"https://api.github.com/users/amazingant/orgs","repos_url":"https://api.github.com/users/amazingant/repos","events_url":"https://api.github.com/users/amazingant/events{/privacy}","received_events_url":"https://api.github.com/users/amazingant/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T13:43:43Z","updated_at":"2016-01-06T13:43:43Z","body":"FWIW, at work my package source is a network share so that I don't have to worry about packages disappearing. I've had a few packages that randomly pulled old versions that I was depending on. This means I have to manually go out and look for updated versions of packages, so I wouldn't mind if Paket gained the ability to, say, use that network share as the \"cache\" location per the above suggestion."}}