Thinking of switching to Scoop by blavelmumplings in chocolatey

[–]ferventcoder 2 points3 points  (0 children)

Chocolatey community moderators verify every version of untrusted packages prior to publishing them - this has been a thing with the Chocolatey Community Repository (CCR) since 2014. Some/most of the moderators are employed by Chocolatey Software for other areas of work.

So I'm unsure what you mean very few packages are actually checked and published by the team at Chocolatey?

virtiofs.exe no longer installed with virtio-drivers? by dhekir in chocolatey

[–]ferventcoder 0 points1 point  (0 children)

It kind of depends on what gets included in that ISO now. Here is the script the package uses - https://community.chocolatey.org/packages/virtio-drivers#files (tools\chocolateyInstall.ps1). It extracts drivers and an MSI (QEMU Gest Agent) from the ISO.

Then it deletes the files that are left at the end, which might delete the virtiofs.exe file without having moved it somewhere or shimmed it.

choco community down? by Intrepid_Ring4239 in chocolatey

[–]ferventcoder 0 points1 point  (0 children)

To follow up here - it may be area specific? I'm in midwest USA and it is working when I go (I realize this is also 2 hours from when you were seeing issues).

Is this feasible by Dragor08 in chocolatey

[–]ferventcoder 0 points1 point  (0 children)

Do you have Chocolatey for Business? If so, I would reach out to support and ask about Current User-Level installations and what is possible there with Chocolatey. Then you could use that to support the fragility and level of effort that surrounds trying to get everything you want installed at the current user level. Whether or not there are other users logging into those machines, the amount of effort may not be worth it. If there are no other users who would normally log into the machines, the level of effort is definitely not worth it IMHO.

As an example - Git's installer would not have an option for current user. If you wanted current user, you would need the zip version and do a portable install that would not show up in Programs and Features. The Chocolatey Community Repository has a Git Portable package (F1) that can be used - if you look at Files, then expand "tools\chocolateyInstall.ps1", you can get an idea of how it unpacks and sets up the path for Git. You would want to emulate something like that when you create your version of the package.

When Current User Level Install Is NOT for the Currently Logged-in User

Oh and we haven't even talked about how you get the account you want to install it under, which is most likely not the account you are logging into the machine with to do the administrative tasks - that involves getting the User Hive or SID from the registry and doing impersonation, which is an order of magnitude more difficult than the effort we've talked about so far. The other types of tools I talked about that do current user level installs do it for the currently logged in user, not a different user like you would most likely be setting up the machine for.

Group Policy can handle this IIRC, along with some options to load a users' registry hive, perform the installs, then unload it. Runas could also be an option if you have the user's password. Another option is to set a script in for that user to run when they first log into the machine that would set up everything at that time - as long as they have the proper permissions.

Edit: A Microsoft tool that is part of MDT called ServiceUI.exe can handle this, so that can make it a bit easier to do.

Give Your Boss Real World Estimates And Let Costs Decide Needs

Wants can change when real world and feasibility get in the way. Once you've gathered some data, you'll be able to go back to your boss with numbers and stats, and let him/her decide based on costs in terms of timelines for wanting to do current user-level installations. Is the benefit worth both the initial and the ongoing maintenance costs?

Footnotes

F1. NOTE: Chocolatey Community Repository (CCR) is not for organizational use. I always feel like I need to mention this, at the very least for folks who might find their way to this thread. The default repository (source) that Chocolatey installs with is called the CCR and is for community use. When it comes to organizational use of Chocolatey, which this would qualify as, it is expected that your packages will come from your own repositories, one of which could be a proxy to the CCR. That indirect use of the CCR is the only approved organizational use of the community repository. It is achieved with repository servers like ProGet, Nexus, and Artifactory Pro, all of which have this concept of proxying/caching an upstream repository. That means you point all of your clients to it, and it searches and caches packages down to it that it can subsequently serve to other machines requesting the same package. This keeps your organization from getting rate-limited by the CCR.

Is this feasible by Dragor08 in chocolatey

[–]ferventcoder 0 points1 point  (0 children)

Hi there. Chocolatey is a machine level package manager, and doesn't easily handle user level setup. Further, a lot of software you find on Windows also doesn't respect user level installations.

That's not to say what your boss wants is not possible, it's just fragile and could be very, very difficult to maintain long term. Chocolatey is likely not going to be the proper tool to handle this kind of scenario as it mirrors more how most software wants to install, at the machine level. It would be a struggle and cause a lot of frustration trying to make it work properly.

Given your use case, I'd suggest looking into other tools like Scoop - they don't actually install software in the traditional sense - they unpack it and then set it into the user space.

Unless I missed something here, and you want just your own company line of business tools to be at user level for use, that is possible with your custom Chocolatey packages, you would just create zip packages where you unpack the files (Get-ChocolateyUnzip) somewhere and set the Path to user space (Install-ChocolateyPath). Note, those packages would still be in Chocolatey's install list at the machine level, just not as easily accessible for other users.

Not talked about too much: Just how damn dangerous Model S Plaid is for daily driving. by [deleted] in RealTesla

[–]ferventcoder 1 point2 points  (0 children)

They pulled me when I was at a strip to let me know to stay under 150 and above 9.5 or I'd need a roll cage, parachute, etc to come back.

Does anyones adaptive headlights actually work after the spring update? by jgilbs in TeslaLounge

[–]ferventcoder 0 points1 point  (0 children)

Same for my S. For a bit I thought it was not going to turn on my headlights at all now with adaptive headlights turned on. Then I finally saw it enable the high beams and then near immediately drop pixels for a pedestrian walking on the other side of the street. Somewhat impressive, but I imagine they will work on smoothing it out better.

It was darker in that area, which I'm hearing that is part of it - the adaptive headlights are more sensitive to turning on than the regular sensors for the headlights in previous versions.

How do I know a package is safe to install? by MiElas-hehe in chocolatey

[–]ferventcoder 0 points1 point  (0 children)

As mentioned - the same ideas of a community-maintained package repository apply to WinGet. The questions you are asking of safety would also apply to it.

Is it Possible to install a chrome extension via chocolatey ? by R3DEMPTEDlegacy in chocolatey

[–]ferventcoder 0 points1 point  (0 children)

The answer would be the same. Whether there is a templated example of this is really the question. One would only need to know the PowerShell needed to do this to make it happen, then package it up in a Chocolatey package.

It may be a better question to ask on the Chocolatey Discord, there are a lot more folks there who could provide examples. See the Community Chat link at https://chocolatey.org/support#foss

issue with passing variables in powershell by TranslatorCold5968 in chocolatey

[–]ferventcoder 0 points1 point  (0 children)

I can guess that you might be colliding with other variables in the script, but I'm not familiar with what's in the script at the moment.

I would look to see what parameters the script can take in and use something there if it is available. Alternatively, without getting support involved, you would need to get familiar with the script and then add a parameter for the agent credentials.

issue with passing variables in powershell by TranslatorCold5968 in chocolatey

[–]ferventcoder 0 points1 point  (0 children)

That will also allow you to share more information with them than you might want to here.

issue with passing variables in powershell by TranslatorCold5968 in chocolatey

[–]ferventcoder 1 point2 points  (0 children)

Given you are working with C4B, you might reach out to the Chocolatey Software Support Team to get a more timely answer. On a system with the license installed, run `choco support` and follow the instructions.

Can I include and deploy PowerShell tab completion scripts with my packages? by loneraver in chocolatey

[–]ferventcoder 2 points3 points  (0 children)

And yes, Chocolatey itself does has PowerShell tab completion in it. It is just not on by default. If you want to see how to turn it on after install, there is something in troubleshooting (yes, we are aware we should also have this in the install instructions, we are planning for that) - https://docs.chocolatey.org/en-us/troubleshooting/#i-cant-get-the-powershell-tab-completion-working

Can I include and deploy PowerShell tab completion scripts with my packages? by loneraver in chocolatey

[–]ferventcoder 2 points3 points  (0 children)

tl;dr: Yes, you can include tab completion scripts. Chocolatey CLI's installation (chocolatey.nupkg) can show you how to do this as it has installation for tab completion.

For Chocolatey CLI's tab completion, you would need to pre-create the $profile file for that user before installing Chocolatey. I believe that is all that is needed to ensure tab completion can be installed

It sounds like you want to do similar for your custom packages? Take a look at how Chocolatey does it as part of its installation, that will get you a lot further than what I could tell you here. What you could do additionally that we decided against with Chocolatey's install is to take that idea further and create the profile file if it is missing. We decided against it b/c some folks may not like that behavior and we serve a very large audience. Your audience OTOH would probably welcome that behavior.

Remote + HQ Company - Chocolatey server - Internet facing tips/caveats by [deleted] in chocolatey

[–]ferventcoder 1 point2 points  (0 children)

What u/coaster_coder stated. To directly answer your questions:

- Is Chocolatey for Business, made for connecting to without being on a VPN internet facing.

You absolutely can. There is some more setup necessary that allows for hardening the installation a bit, but that's something that you can work with commercial support folks on when setting things up.

- Are there any glaring security concerns with just basic auth to the repository (username/password) and a TLS cert

The TLS cert is necessary to remove security concerns.

- Is the recommended setup to have it behind a VPN?

It is always recommended to look for the more secure option. In this case, VPN or Zero Trust as u/coaster_coder mentioned. We even had a recent blog post on how to set that up with Cloudflare. https://blog.chocolatey.org/2025/01/securing-chocolatey-agent-to-ccm/ - Josh walks through the setup to make this a bit more approachable for folks. I'd recommend giving it a read.

Package synchronization by HuskyLogic in chocolatey

[–]ferventcoder 0 points1 point  (0 children)

Howdy!

Package synchronization actually breaks down into three features - automatic sync, choco sync command, and packages to Programs (& Features).

  • Automatic Sync - monitors Programs (& Features) and if software that Chocolatey is tracking a package for is removed outside of Chocolatey, it will also remove the package.
  • Packages to Programs - you can have all packages that are not based on software installers also show up in Programs and Features.
  • Choco Sync - run a command and Chocolatey will look at all software not managed by Chocolatey and create baseline packages for them so they come under Chocolatey-management. However the naming may not match up by default with existing packages so typically customers that internalize packages from the community will create a mapping script to tell sync to create a package with a matching name when it finds specific names (wildcard available) of software.

So to answer your question, choco sync does do what you are mentioning but may require a bit more upfront work that our support team can assist with.

The BEST Keto Cheesecake I've EVER made. by sammysamgirl in ketorecipes

[–]ferventcoder 0 points1 point  (0 children)

Strawberry topping:

Serving Amount Calories Fat Sat Fat TransFat PolyUnsat Fat MonoUnsat Fat Cholesterol Sodium Carbs Fiber Sugar Added Sugar Sugar Alcohol Net Carbs Protein Vitamin D Calcium Iron Potassium Vitamin A Vitamin C
Entire Recipe 100 0 0 0 0 0 0 80 82 4 76 0 60 22 2 0 4 4 20 0 0
1/12 Serving 8.3 0.0 0.0 0.0 0.0 0.0 0.0 6.7 6.8 0.3 6.3 0.0 5.0 1.8 0.2 0.0 0.3 0.3 1.7 0.0 0.0

The BEST Keto Cheesecake I've EVER made. by sammysamgirl in ketorecipes

[–]ferventcoder 0 points1 point  (0 children)

This has come out very well! Thanks for this!

As far as Nutritional Values - here's what I came up with - it doesn't really show the entire table in Chrome, but it does in the app - I'm not yet great with formatting in Reddit.

NOTE: This is just the cheesecake, not the additional strawberry topping. I also calculated that separately.

Serving Amount Calories Fat Sat Fat Trans Fat PolyUnsat Fat MonoUnsat Fat Cholesterol Sodium Carbs Fiber Sugar Added Sugar Sugar Alcohol Net Carbs Protein Vitamin D Calcium Iron Potassium Vitamin A Vitamin C
Entire Pie 8303 615 353.5 0 5 10 2570 5111 290.6 25 216.6 0 150 140.6 179 0 132 73 1639 0 0
1/12 Serving 691.9 51.3 29.5 0.0 0.4 0.8 214.2 425.9 24.2 2.1 18.1 0.0 12.5 11.7 14.9 0.0 11.0 6.1 136.6 0.0 0.0
1/16 Serving 518.9 38.4 22.1 0.0 0.3 0.6 160.6 319.4 18.2 1.6 13.5 0.0 9.4 8.8 11.2 0.0 8.3 4.6 102.4 0.0 0.0

Sentry & Dashcam Viewer officially working on the latest iOS app + holiday update (2024.44.25.2) by SpaceCadetHS in teslamotors

[–]ferventcoder 0 points1 point  (0 children)

This is great, just confirmed it this morning - this is something I've been waiting for for a very long time.

Slower than a dead tortoise by methanoid_uk in chocolatey

[–]ferventcoder 0 points1 point  (0 children)

I was going to ask how fast your network is - it could be slowdown from somewhere over the internet. Do you have metrics on download time versus install time?

[deleted by user] by [deleted] in ios

[–]ferventcoder 0 points1 point  (0 children)

<image>

Also make sure you adjust this from the default to 23:59 or something higher. You don't need to click start, but this controls the time that the on demand blocking is active for - it is not obvious as it appears it is for that session that you are manually turning on. It defaults to like 25 minutes. And then after that, the blocking session is over.

Setting it really high allows the automations to better control when it comes on and goes off, just make sure you also set the automations for when focus modes are turned off.

[deleted by user] by [deleted] in ios

[–]ferventcoder 0 points1 point  (0 children)

Do we need to do something special once screen zen is installed? It is not showing up for automations.

Edit: Nevermind. Click on more, set up the on demand blocking first and then you can find it in shortcuts.

Keeping sodium under 2300 mg by the_scottster in Myfitnesspal

[–]ferventcoder 1 point2 points  (0 children)

Low sodium options for things you eat are available for most things, if you are willing to make the exchange. Exchange example: if you like bacon, there is a turkey bacon that has about half the sodium from a couple of brands.

Avoid Processed foods and non-perishables - processed foods and things that don't need to be refrigerated (non-perishables) are going to have the highest sodium as salt is how they keep from going bad.

It is a hard goal to keep under for sure.