Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 29 2015 13:57
    ferventcoder commented on 4af5e76
  • Jun 29 2015 13:48
    ferventcoder commented on 4af5e76
  • Jun 29 2015 13:34
    ferventcoder commented on f9ecefa
  • Apr 08 2015 05:36

    Jaykul on ListCommand

    (compare)

  • Apr 08 2015 05:36

    Jaykul on InstallCommand

    (GH-132) Make InstallCommand a… (maint) Line wrapping. (compare)

  • Apr 08 2015 05:10
    Jaykul commented on 5742f16
  • Apr 08 2015 05:09
    Jaykul commented on 5742f16
  • Apr 08 2015 05:07

    Jaykul on InstallCommand

    (maint) Line wrapping. (compare)

  • Apr 08 2015 04:36
    ferventcoder commented on 5742f16
  • Apr 08 2015 04:28
    Jaykul commented on 5742f16
  • Apr 08 2015 03:13
    ferventcoder commented on 5742f16
  • Apr 08 2015 03:13
    ferventcoder commented on 5742f16
  • Apr 07 2015 16:15
    ferventcoder commented on 83ef921
  • Apr 07 2015 15:06
    Jaykul commented on 83ef921
  • Apr 07 2015 14:46
    ferventcoder commented on 83ef921
  • Apr 07 2015 14:45
    ferventcoder commented on 83ef921
  • Apr 06 2015 16:32

    Jaykul on master

    Add Install and Uninstall Refac… (compare)

  • Apr 05 2015 06:33

    Jaykul on InstallCommand

    (GH-132) Make InstallCommand a… (compare)

  • Apr 05 2015 06:27

    Jaykul on 0.9.9.3

    (compare)

  • Apr 05 2015 06:27

    Jaykul on InstallCommand

    (GH-132) Make InstallCommand a… (compare)

Joel Bennett
@Jaykul
choco list SublimeText3 -lp # the "SublimeText3" does nothing
yeah, well, so far, it seems to me like these should be separate commands
That's all I'm saying
In code they basically are
except they're not, so the logic path is really twisted and hard to follow.
Rob Reynolds
@ferventcoder
@Jaykul @gep13 it's meant to be used only with list -local only
adding a filter like SublimeText3 can produce "interesting" results
Joel Bennett
@Jaykul
lol
Rob Reynolds
@ferventcoder
basically it should only be used on list local with no filter - some more validation may be necessary there
Joel Bennett
@Jaykul
gotcha
I've just been looking at it because I need nuget results, but I don't need your registry feature
And I want to make sure that I don't get it accidentally ;-)
but because the registry lookup is done inside the list method ...
It's not clear whether the list method should return a list for both commands or not
In the end, I decided it should, because ... eventually they all should, for the sake of the API
Joel Bennett
@Jaykul
 Id Duration         CommandLine
 -- --------         -----------
302 00:00:00.3490024 Find-Package sublimetext3 -ProviderName Choco # NEW PROVIDER
303 00:00:01.7413637 choco list sublimetext3 # native choco
304 00:00:00.6726037 Find-Package sublimetext3 -ProviderName chocolatey # OLD PROVIDER (with post-query filtering)
305 00:00:00.3042224 Find-Package -Contains sublimetext3 -ProviderName chocolatey # OLD PROVIDER
The absolute values are basically irrelevant, and 304 returns only one item, but the rest of the results are the same, with the exception that choco list sorts, and outputs just boring text ;-)
Just FYI
Rob Reynolds
@ferventcoder
Haha! :)
I'd be curious to see choco list sublimetext3 against the old POSH client of choco
Joel Bennett
@Jaykul
ugh
Mapping crap back and forth is boring
And confusing
I can't find the download URL
Rob Reynolds
@ferventcoder
Download url?
Joel Bennett
@Jaykul
Well, there are several things that I don't understand about this OneGet API
the built-in Chocolatey repo has a crapload of data in it
But the function I need to call to return is YieldSoftwareIdentity
public abstract bool YieldSoftwareIdentity(string fastPath, string name, string version, string versionScheme, string summary, string source, string searchKey, string fullPath, string packageFileName);
I can't figure out how to get fullPath and packageFileName
Rob Reynolds
@ferventcoder
Hmm and old provider is not accessible?
Joel Bennett
@Jaykul
kinda
That's what they seem to returhn
The old one is implemented differently
dono how
But I don't really care very much
I mean, right now I don't want to try to figure out how his gets more information into it
But what I'm trying to figure ...
is how to get the file name from the one I have now ;)
Joel Bennett
@Jaykul
It turns out the IPackage that we get is actually a NuGet.DataServicePackage
Rob Reynolds
@ferventcoder
Um okay :)
Joel Bennett
@Jaykul
which is interesting because it has a DownloadUrl
Rob Reynolds
@ferventcoder
Yes - but now try that against a local folder pkg source and see if it is still true
Or a simple server - the simple servers are prolly fine since they expose odata
Guessing something like c:\packages is not going to have a downloadurl
Or if it does it will be file:///
Joel Bennett
@Jaykul
Well, I'm just trying to figure what to return for "fullPath" or "packageFileName
Rob Reynolds
@ferventcoder
We should ask Garrett - fully aware you prolly already have :)