#How does Warp auto-update?

5 messages · Page 1 of 1 (latest)

spare sand
#

@merry rock says:

How does Warp check itself for upgrades and perform auto-upgrades? My company gate-checks any "elevated" type of activity by using BeyondTrust's Privilege Management. So, when I do software updates or installs it'll prompt me to give a reason to why that action is needed. They rarely block anything and once I give a reason, the process continues on normally (without action needed from my IT dept). But when there's updates available to Warp, I always get the Warp red bar saying "Warp does not have permission to update" and I in turn have to manually update by downloading and installing over top of the existing.

I'm curious how Warp does this check because I never get a notification from Privilege Management or anything. It's as if it doesn't try to do anything. I think if I can learn how Warp is attempting to update itself, I can work with my IT people and they'll allow Warp to update itself w/out interaction.

#

From @tiny turret :

Not sure about specific upgrade practice but I assume it's nothing more than a call to check version number of some sort.
Does it do the same thing if you do it via homebrew?

brew install --cask warp

Then upgrading via brew? I use the following to make my life easy with brew:

alias brewup='brew update; brew upgrade; brew doctor; brew cleanup'

Then I just need to run brewup to do it all.

From @spare sand

@tiny turret Does updating Warp work through brew for you? I think I saw another user having issues with updating through brew.
#1153140181197672488 message

merry rock
#

Thank you for recreating this Alex and it's responses. I originally did have it installed via brew, but upgrades didn't work for me there either so I didn't see the point to keep using brew for it. So I'm just doing manual upgrades now since that's the only thing that currently works for me. Which is why I was asking how Warp attempts self-upgrades to see if I could work with my IT department to get it working with the Privilege Management software.

spare sand
#

I'm not experienced with versioning, but it does seem like Warp is doing something special there. I'm not seeing a specific Github issue on warp upgrading, and definitely an integration with Privilege Management will need to become a ticket.

If you could so kindly create a new Github issue, that would be great! https://github.com/warpdotdev/Warp/issues

GitHub

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster. - Issues · warpdotdev/Warp

merry rock
#

Thanks for your help, I'll open an issue there.