Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Ника
@niks:im.ownserver.duckdns.org
[m]
That's an option, but a rather extreme one I think
I'll probably stick with different package ID's, that seems like a simplest solution so far
TheCakeIsNaOH
@thecakeisnaoh:naoh.host
[m]
Yup. Also, this is basically what the setup for dependency confusion, so I'd advise anyone doing an id change to be a bit causious letting others know the ids.
https://naoh.host/chocolatey/chocolatey-dependency-confusion/
Miodrag Milić
@majkinetor

Screen Shot 2021-03-23 at 4.46.16 PM.png

Sorry, didn't see this earlier, as far as I remember this is not a valid version as it says :) no dots are allowed in prerelease string

@DarwinJS_gitlab
there is even this comment
> # for now, chocolatey does only support SemVer v1 (no dot separated identifiers in pre-release)
in AUVersion.ps1
so make it preview4 and it will work
feel free to continue at https://gitter.im/chocolatey_au/Lobby
Alex Lopez
@virtualex-itv
@majkinetor - I LOVE the My Pet Monster avatar!! i had that same doll when I was a kid! brought back tons of memories! lol
Paul Broadwith
@pauby
@/all We are performing scheduled updates to the Chocolatey website and Chocolatey services. See the status page for more information on how this may impact you and your use of Chocolatey services.
Paul Broadwith
@pauby
@/all Scheduled updates have now been completed and the site and Chocolatey services are available again. Thank you for your patience. See the status page for more information.
bryceprutsos
@bryceprutsos
Is the choco helpdesk still alive?
Gary Ewan Park
@gep13
@bryceprutsos can you elaborate on what you mean here? Which helpdesk are you referring to?
bryceprutsos
@bryceprutsos
@bryceprutsos can you elaborate on what you mean here? Which helpdesk are you referring to?
@gep13 We got temp banned because our local server filled up and we hit chocolatey too much. We have since fixed the issue but the ban wont go away and nobody is helping replying from the choco helpdesk
4 replies
Ника
@niks:im.ownserver.duckdns.org
[m]
What do I do if installer is missing a silent install switch?
1 reply
ZSH Daily Tips
@dailyzshtip_twitter
Hi just ran 'install with cmd.exe as admin' with the required command . it runs with no error message but when i type choco it says command not recognised (Win10)
ZSH Daily Tips
@dailyzshtip_twitter
solved had to use powershell and not cmd.exe
1 reply
rocketblue
@kachbit
how do I install a package without admin rights
TheCakeIsNaOH
@thecakeisnaoh:naoh.host
[m]

@kachbit: You would need to install Chocolatey as a non-administrative install:
https://docs.chocolatey.org/en-us/choco/setup#non-administrative-install

Alternatively, if you have Chocolatey for Business, you could look into self service:
https://docs.chocolatey.org/en-us/features/self-service-anywhere

Squelch
@Squelch

Hello all. I have just tried to install a package hosted at GitHub but I have run into a problem and noticed another issue while trying to resolve it.
First: the URL for the release is incorrect in the install script. This means it fails with 404. The package is FreeCAD 0.19.1, and although the chocolatey status page for this package says it has passed the tests, and was approved on March 21. The release was made on March 12. I cannot find anything in the FreeCAD git history that would suggest why the URL is incorrect or changed, so I suspect it may lay with the auto update (au) fetched by the bot. The difference in the URL is merely "-1" appended to the binary name at FreeCAD's repo. Is this a known issue with other packages?

Second: The download counter for packages on the web page seems to only count the number of installation scripts fetched and does not register whether the package payload itself was fetched successfully (see above) Is this expected or intended?

TheCakeIsNaOH
@thecakeisnaoh:naoh.host
[m]

@Squelch: The freecad package is maintained at the coreteam repository, and there is an issue about the invalid url here:
chocolatey-community/chocolatey-coreteampackages#1637

It is an issue with the freecad package specifically, and not other packages.

Squelch
@Squelch
Thank you for confirming this is unique to FreeCAD @thecakeisnaoh:naoh.host I have already read and replied to that report, and parsed the disqus page for freecad. I'm trying to fathom why it is incorrect, and have worked around it, but my second observation brought me here. It does seem strange that it is assumed the download was performed when it fails.
TheCakeIsNaOH
@thecakeisnaoh:naoh.host
[m]

The download count on the community repository is a count of the number of times that the .nupkg package file has been downloaded.

Choco open source does not have telemetry/data collection that reports back to Chocolatey.org, so there is no way for the community repository to know the statistics of if a package install failed or not. The download of the freecad installer comes from github, not from Chocolatey.

Squelch
@Squelch
Ah, that makes perfect sense. I was concerned that the counter was so high while it apparently hasn't been working at all. A tad misleading, but now I know. Thanks for your answers
The status of the package does indicate that all is well, but as we have established, it is not. Even without telemetry, the validity of the URL would be a good thing to check don't you think?
1 reply
Squelch
@Squelch
Thanks for linking the fix via a mention @thecakeisnaoh:naoh.host I suspected it was a regex issue, but my fu is weak, and I didn't spot a solution myself. That still leaves a potential problem with stale or incorrect links (for whatever reason) leaving the status green. Do you think an improvement issue should be raised for it?
2 replies
Björn Strausmann
@strausmann

@thecakeisnaoh:naoh.host kann you help my with my sharegate-desktop 14.2.0 update? I has changed the IconUrl and the download URL for the new release and the checksum.
The local installation test was successfully but the automated testing was failed.

https://gist.github.com/48adc27b3e503d7d89bf58aa7e67eee7

Unfortunately, I can not understand the problem.

TheCakeIsNaOH
@thecakeisnaoh:naoh.host
[m]
@strausmann: When you are testing locally, are you testing in the Chocolatey test environment?
https://github.com/chocolatey-community/chocolatey-test-environment
TheCakeIsNaOH
@thecakeisnaoh:naoh.host
[m]
There is a good chance that the software has a dependency on some dotnet or vcredist version, you may be able to figure this out by running the installer manually inside the test environment, as then it may pop up a message about installing or requiring a dependency. Then you can add that dependency to the .nuspec of the Chocolatey package, and then it hopefully will work.
NeilMacMullen
@NeilMacMullen
hi - just curious, is there a way to check the position of my submitted package in the moderation queue? (Or even to find out how long the current moderation queue is?)
You can access this via the first drop down list on the page
NeilMacMullen
@NeilMacMullen
Great -thanks! Am I right to assume they are listed in approximate order - i.e. packages near the top of the first page are the earliest to be moderated?
Gary Ewan Park
@gep13
Yes, that is correct
NeilMacMullen
@NeilMacMullen
super -ta
JervisLam
@jervislam0911
Hi @all, a quick question regarding the choco package parameter..we have been passing in password through package parameter to our custom choco package. and we noticed that the entire command is get logged into chocolatey log file... including the password in clear text .. is there a way to secure particular fields so they dont get logged ?
TheCakeIsNaOH
@thecakeisnaoh:naoh.host
[m]
@jervislam0911: Look into --package-parameters-sensitive, note that this requires a licensed edition of choco.
JervisLam
@jervislam0911
Hi @thecakeisnaoh:naoh.host , thanks for the reply. is it the only way currently ? can it be somehow disable the logging of chocolatey ?
TheCakeIsNaOH
@thecakeisnaoh:naoh.host
[m]
@jervislam0911: I do not think that logging can be disabled currently. chocolatey/choco#1384
Ника
@niks:im.ownserver.duckdns.org
[m]
What do I need to build this?
https://github.com/chocolatey/nuget-chocolatey
I'm guessing VS 2012 or 2015
DarwinJS
@DarwinJS_gitlab

In chocolatey is version 8.1.0-preview5 higher than 8.1.0-preview42 ? (trying to fix a preview version without affecting the stable version on the same feed)

The screenshot seems to indicate yes - assuming processing against a feed will be identical - but I don't like to assume and it isn't covered here: https://docs.chocolatey.org/en-us/create/create-packages#package-fix-version-notation

DarwinJS
@DarwinJS_gitlab
image.png
Ok through generating the following packages and testing choco search powershell-core -pre -s $pwd I was able to prove that locally a preview fix version will work as I am formatting - if I got it wrong - please drop a line.
Tarmo Pikaro
@tarmopikaro_gitlab

Restored code coverage metrics initially for currect choco/swupd: https://github.com/tapika/swupd

20% based on chocolatey.tests.dll. Need to try to run on integration tests as well, if it will work.

Gary Ewan Park
@gep13
@/all If anyone has any feedback/suggestions here, I would love to hear it, thanks! https://twitter.com/gep13/status/1381270241561436163
Tarmo Pikaro
@tarmopikaro_gitlab
code coverage 45%, integration tests included.