You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I chatted about Paket with Phil Trelford and we agreed that Paket absolutely needs to be able to specify file dependencies from www.fssnip.net (because Phil is to cool to publish his frameworks on GitHub).
What would it take to be able to do something like:
Yep, I've seen #9. The question is, what are the things that need to be added to www.fssnip.net to make this work? (Aside from nicer IDs for snippets, which would make the references less incomprehensible...)
@tpetricek My reading between lines inferencing guesser says it's just deriving a HTTP Url via a DSL. IOW all this req would add is a new front end fun or two to new up the Uri; it's just a straight file download.
Watch out for that thundering herd until the caching is impl'd though :D
Your other choice is to emit a .nupkg if there's value to be had there (but Paket and/or the fssnip end would need to provide a minimal OData endpoint for whatever comms happen to see if there is an updated version).
I've been throwing oars in about the github download generating a faux .nupkg (mainly to keep the installation uniform - maybe that might mesh with something that makes sense for fssnip?)
It won't be hard from what I've done thus far in the other issue - basically just some code that will take in the details of the file e.g. path http and optional commit details etc. and it should return back the string content of the file. I'll be submitting a PR for the GitHub implementation later today and we can go from there.
#154 ties in a syntax for handling fssnips consistent with other files including respecting the declared nuget dependencies in fssnips. Also potentially overlaps with #65 in that fssnip could feed out a nupkg, esp if it could share a fssnip snippet re packing it (which Paket could use internally to secrete a paket into the cache for a paket which is not a raw NuGet package)
Activity
bartelink commentedon Sep 12, 2014
@tpetricek Overlaps with #9 (Which is not to say anything other than that there is work underway on overlapping stuff)
tpetricek commentedon Sep 12, 2014
Yep, I've seen #9. The question is, what are the things that need to be added to www.fssnip.net to make this work? (Aside from nicer IDs for snippets, which would make the references less incomprehensible...)
bartelink commentedon Sep 12, 2014
@tpetricek My reading between lines inferencing guesser says it's just deriving a HTTP Url via a DSL. IOW all this req would add is a new front end
funor two to new up theUri; it's just a straight file download.Watch out for that thundering herd until the caching is impl'd though :D
Your other choice is to emit a
.nupkgif there's value to be had there (but Paket and/or the fssnip end would need to provide a minimal OData endpoint for whatever comms happen to see if there is an updated version).I've been throwing oars in about the github download generating a faux
.nupkg(mainly to keep the installation uniform - maybe that might mesh with something that makes sense for fssnip?)isaacabraham commentedon Sep 13, 2014
It won't be hard from what I've done thus far in the other issue - basically just some code that will take in the details of the file e.g. path http and optional commit details etc. and it should return back the string content of the file. I'll be submitting a PR for the GitHub implementation later today and we can go from there.
forki commentedon Sep 17, 2014
@tpetricek how can we discover all versions of the same snippet?
bartelink commentedon Sep 28, 2014
#154 ties in a syntax for handling fssnips consistent with other files including respecting the declared nuget dependencies in fssnips. Also potentially overlaps with #65 in that fssnip could feed out a nupkg, esp if it could share a fssnip snippet re packing it (which Paket could use internally to secrete a paket into the cache for a paket which is not a raw NuGet package)
forki commentedon Oct 7, 2014
closing this. we will not support fsnip directly. maybe via http references
Merge pull request #89 from Vidarls/FixDocComments