Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 23 14:51
    gep13 labeled #695
  • Aug 23 14:51
    gep13 milestoned #695
  • Aug 23 14:51
    gep13 assigned #695
  • Aug 23 14:51
    gep13 opened #695
  • Aug 22 13:22
    Sukender opened #694
  • Aug 21 06:41
    gep13 closed #693
  • Aug 21 06:41
    gep13 commented #693
  • Aug 21 06:40
    gep13 milestoned #693
  • Aug 21 06:40
    gep13 labeled #693
  • Aug 21 06:40

    gep13 on develop

    (GH-693) Clarify usage requirem… (compare)

  • Aug 21 06:39

    gep13 on develop

    (maint) Remove mention of ZenHu… (compare)

  • Aug 21 04:00
    Lemmingh opened #693
  • Aug 09 14:39
    cybercatgurrl commented #617
  • Aug 01 08:39
    pascalberger commented #692
  • Aug 01 07:56
    gep13 commented #692
  • Aug 01 07:34

    mwallner on develop

    (build) Disable documentation o… (compare)

  • Aug 01 07:34
    mwallner closed #692
  • Aug 01 07:33

    mwallner on develop

    (doc) Fix typo (#691) (compare)

  • Aug 01 07:33
    mwallner closed #691
  • Jul 31 05:46
    AdmiringWorm commented #637
Rob Reynolds
@ferventcoder
okay, getting really close
for some reason the config that is passed around in the API doesn't get changed over to the licensed config
Richard Simpson
@RichiCoder1
@ferventcoder I have no idea what that means, but I believe in you :D
Varriount @Varriount always wonders why XML is used for anything these days
Rob Reynolds
@ferventcoder
Me as well @Varriount
Rob Reynolds
@ferventcoder
I think I found the issue
now I just need to see if there is a reason
Rob Reynolds
@ferventcoder
Here's the commit - chocolatey/choco@61cd084
Rob Reynolds
@ferventcoder
looks like it is able to be adjusted but may cause some issues if folks are reusing the functionality with multiple commands
Rob Reynolds
@ferventcoder
Okay @RichiCoder1 this is where I need your help
Richard Simpson
@RichiCoder1
Sup?
Rob Reynolds
@ferventcoder
When I made that adjustment to config to pull from the container instead of creating a new one every time, it returns only the list of installed software for any source
in the GUI
where do you query?
Richard Simpson
@RichiCoder1
What do you mean, where do I query? Like where do I do .Run and list and such?
Rob Reynolds
@ferventcoder
I'm looking at ChocolateyService
I should just look at the bind for loading a source
and see where it goes from there
Rob Reynolds
@ferventcoder
That's for install packages right?
Okay, badly named function sir
Richard Simpson
@RichiCoder1
Basically UI -> ChocolateyGui.Services.ChocolateyService <- Wamp (RPC) -> ChocolateyGui.Subprocess.ChocolateyService
Rob Reynolds
@ferventcoder
I need where you list out packages on a source, not the local ones
I believe. That name is historical
Rob Reynolds
@ferventcoder
I'm not seeing a reason that would still have LocalOnly set to true
Richard Simpson
@RichiCoder1
?? What do you mean??
Rob Reynolds
@ferventcoder
read my first message
Richard Simpson
@RichiCoder1
I'm not doing anything fancy there either. What you see is what you're getting.
Rob Reynolds
@ferventcoder
ChocolateyConfiguration was recreated everytime you called run or list
now it won't be
be scared
Richard Simpson
@RichiCoder1
uuhhhhhh
Rob Reynolds
@ferventcoder
I am going to see what I can fix here.
Richard Simpson
@RichiCoder1
Yah, that's going to break ChocoProcess. The first commands we run are A) Get Sources and B) get locally installed packages.
If config is carrying over, that's gonna break everything.
Well, actually, that's somewhat of a lie. But it will cause some really weird behaviors
Rob Reynolds
@ferventcoder
Now you understand what I'm saying. If you keep the same Lets.GetChocolatey and reuse it after calling Run or List, it is a bug
Without resetting the config. But beware, there is still some issue here as it doesn't appear this fixed the problem yet
Richard Simpson
@RichiCoder1
We do a fresh Lets.GetChocolatey() for every call, so it's persisting the config between those?
Rob Reynolds
@ferventcoder
No, it should not be
that's what I'm investigating
Richard Simpson
@RichiCoder1
Cool, I think we're on the same page now haha
Good luck! Let me know if you have any further questions.
I'm also available on Skype/Other if necessary
Rob Reynolds
@ferventcoder
So low down on Licensed code - it changes from ChocolateyConfiguration to LicensedChocolateyConfiguration (a subclass of ChocolateyConfiguration), then it sets that on the container. For Licensed code to run, it needs a valid license and the configuration to be an instance of LicensedChocolateyConfiguration
So I switched it to use the container to get the Configuration, which should pull back the right one. I was thinking there may be some side effects to this, so I'm trying to go through and fix those items.