Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 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
  • Jul 30 21:36
    pascalberger opened #692
  • Jul 30 21:32
    pascalberger opened #691
  • Jul 30 19:41
    mwallner commented #637
  • Jul 28 13:02
    pherwanikar commented #12
  • Jul 11 07:43
    mtnielsen commented #511
Hitesh
@TechMinder
and it did install pre-release version
@gep13 Thanks, it works now.
Gary Ewan Park
@gep13
:+1:
Hitesh
@TechMinder
@gep13 a quick question, do we have a plan to add a new feature to take user inputs before we install any package. like username and password for specif installer
This should show up based on some additional file in the package for the input. maybe using env variable
I have devexpress package, in order to install it silently, it requires username and password passed in the command line.
Richard Simpson
@RichiCoder1
@TechMinder At least currently, there's no easy way for us to detect this or to interact with the chocolatey console. So for now, no.
Hitesh
@TechMinder
I have an idea and it may work, but I don't know all the Chocolatey rules. So not sure if my idea is inline with chocolatey design or road map. So here is the idea, if we add a new attribute in nuspec e.g <additionalcommandline user="" password="">. Based on this number of attribute chocolatey UI shows text boxes along with install option. Then if user enters that value before clicking install we can set those value to env variables or some file that installer file(installer.ps1) will be looking into for these values.
@RichiCoder1 do you think it's viable idea?
Rob Reynolds
@ferventcoder
@TechMinder it would best to discuss that more broadly than just related to the GUI - additional fields to the nuspec are heavily scrutinized and a much slower process to ratification and implementation, so keep that in mind.
There may be better ways.
keep in mind that Chocolatey is about completely silent installation, so perhaps a way to front load commands to pass package parameters and such to a command would be best if the GUI doesn't already support it
Hitesh
@TechMinder
@ferventcoder you are right, my main focus was on Chocolatey GUI. As it reads nuspecs for all the package details.
I know parsing and many other things may be happening under the hood.
My intention is to get the user inputs which can be passed to the install and uninstall commands/
Also, I am not sure if this is common requirement.
Hitesh
@TechMinder
I am open to contribute for GUI as I know this is written in .NET WPF and I am well verse with it.
Hitesh
@TechMinder
@gep13 @ferventcoder I have noticed that for internal packages ChocolateyGUI shows -1 downloads. Does anyone know how to hide or show proper increments?
Rob Reynolds
@ferventcoder
what is your internal server?
depends on what it provides
if your internal is a file share, that sounds right
Hitesh
@TechMinder
@ferventcoder it's file server.
@ferventcoder Is there any document or link for creating difference package source?
@ferventcoder where do we store the # of downloads information? is it in file or somewhere else?
Rob Reynolds
@ferventcoder
@TechMinder you can't in a file server - see https://chocolatey.org/docs/how-to-host-feed
Hitesh
@TechMinder
@ferventcoder Thanks, let me take a look at it.
@ferventcoder does # of downloads work with ProGet? We have ProGet so if it works with ProGet then we can use it.
Rob Reynolds
@ferventcoder
That's a great question for Inedo
HTH
Offhand I'm not sure, and I'm adding some updates to that page
Rob Reynolds
@ferventcoder
@RichiCoder1 I've made it quite a ways but I can't seem to get the GUI to use debug/verbose like I've requested
wait...
Richard Simpson
@RichiCoder1
?
Rob Reynolds
@ferventcoder
when it logs it only hits a higher level
asking the question made me realize it might be log4net config
Richard Simpson
@RichiCoder1
Chocolatey's logging is a bit black magic to me I'll admit
Rob Reynolds
@ferventcoder
I've passed through debug/verbose so that the logging would be set correctly
Richard Simpson
@RichiCoder1
@ferventcoder To which one though? Don't forget the service that does 99% of the chatting with Choco is the subprocess.exe
Rob Reynolds
@ferventcoder
--- a/Source/ChocolateyGui.Subprocess/ChocolateyService.cs
+++ b/Source/ChocolateyGui.Subprocess/ChocolateyService.cs
@@ -104,7 +104,10 @@ public Task<bool> IsElevated()
                         {
                             config.CommandName = CommandNameType.install.ToString();
                             config.PackageNames = id;
-                            config.Features.UsePackageExitCodes = false;
+                            config.Features.UsePackageExitCodes = false;
+                            config.Debug = true;
+                            config.Verbose = true;
+                            config.Trace = true;
Richard Simpson
@RichiCoder1
If that'd work normally, that should work here :)
Rob Reynolds
@ferventcoder
It worked
Richard Simpson
@RichiCoder1
Ohh, cool! Sorry, I thought you were saying it wasn't
Rob Reynolds
@ferventcoder
and when I did a rebase to bring in all the latest code for the GUI
it suddenly stopped working
not sure where or why but was curious if you started limiting what goes out in logs
and why don't you simply allow chocolatey to log to its default location?
Richard Simpson
@RichiCoder1
So we can report errors when something fails
Rob Reynolds
@ferventcoder
you can add an additional logger
Richard Simpson
@RichiCoder1
????
Rob Reynolds
@ferventcoder
yeah