DomT4 / homebrew-autoupdate

:tropical_drink: An easy, convenient way to automatically update Homebrew.
BSD 2-Clause "Simplified" License
963 stars 54 forks source link

--no-quarantine not respected #97

Open aidan-gibson opened 1 year ago

aidan-gibson commented 1 year ago

I have set HOMEBREW_CASK_OPTS="--no-quarantine"

After homebrew-autoupdate updates a cask, I get this:

Pasted image 20221215112641

I normally do not.

aidan-gibson commented 1 year ago

Running Ventura 13.1 brew autoupdate 2.16.0 Homebrew 3.6.16-69-g938d90c

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

aidan-gibson commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

image
DomT4 commented 1 year ago

Interesting. We do our best to inherit the cask opts env but perhaps it's not picking it up in your situation for some reason. I'll try fiddling with it locally and seeing what the logs spit out if I make it violently verbose on what's in the env when it runs.

Apologies for the bot too. I don't get a lot of time to check this project with work IRL and consequently it decides to nuke every issue & PR far too overzealously.

nioakeim commented 1 year ago

Hi! i see this issue too. Do you have any updates on this?

metabubble commented 1 year ago

I had the same issue putting HOMEBREW_CASK_OPTS="--no-quarantine" into .zshenv. It was weird, because echo $HOMEBREW_CASK_OPTS would show the contents, but env wouldn't see it.

When I put export HOMEBREW_CASK_OPTS="--no-quarantine" into my .zshrc it worked.

dltmtt commented 4 months ago

On a side note, since version 4.2.0 brew can be configured with .env files from a few other locations (see https://github.com/Homebrew/brew/pull/15787)