romkatv / gitstatus

Git status for Bash and Zsh prompt
GNU General Public License v3.0
1.65k stars 101 forks source link

Can you release prebuilt binaries of v1.5.5 #431

Closed gabriel254 closed 2 months ago

romkatv commented 2 months ago

Can you describe the problem you are having?

gabriel254 commented 2 months ago

I need to build a docker image and use it in an OFFLINE environment, so I have to download the binary to "$HOME/.cache/gitstatus"

romkatv commented 2 months ago

What's stopping you from doing that?

gabriel254 commented 2 months ago

I can compile it locally and copy it into the docker image. It would be convenient that there are officially released binaries just like v1.5.4

romkatv commented 2 months ago

Can you describe what you are doing, what you expect and what you observe?

Also, if you are using powerlevel10k, see this FAQ. If you are using gitstatus without powerlvel10k, it should be straightforward to adapt these instructions for it.

gabriel254 commented 2 months ago

Thanks for your help, I do use powerlevel10k. I followed the instructions and run the following commands:

target_uname="linux x86_64"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
GITSTATUS_CACHE_DIR="$HOME"/powerlevel10k/gitstatus/usrbin ~/powerlevel10k/gitstatus/install -f -s "${target_uname% *}" -m "${target_uname#* }"

And I got the binary $HOME/powerlevel10k/gitstatus/usrbin/gitstatusd-linux-x86_64.

$HOME/powerlevel10k/gitstatus/usrbin/gitstatusd-linux-x86_64 --version
v1.5.4

But this is v1.5.4, not the latest v1.5.5

romkatv commented 2 months ago

If you follow the instructions, does powerlevel10k work as intended?

gabriel254 commented 2 months ago

Yes, all things are fine. I just want to make sure all the binary I use are the latest versions, though I didn't notice any difference between them.

romkatv commented 2 months ago

It's all fine, don't worry. When you open an issue next time, make sure to include these crucial parts:

  1. What you do.
  2. What you expect to happen.
  3. What actually happens.