darkhz / bluetuith

A TUI bluetooth manager for Linux.
MIT License
850 stars 21 forks source link

Using inexistent commit for github.com/darkhz/tview #58

Open WhyNotHugo opened 3 months ago

WhyNotHugo commented 3 months ago

Current master points to a commit in tview which does not exist upstream:

> go run ./main.go 
go: downloading github.com/darkhz/tview v0.0.0-20240130154506-5ca91a0d158f
ui/adapter.go:12:2: github.com/darkhz/tview@v0.0.0-20240130154506-5ca91a0d158f: invalid version: unknown revision 5ca91a0d158f
> git clone https://github.com/darkhz/tview
> cd tview
> git show 5ca91a0d158f
fatal: ambiguous argument '5ca91a0d158f': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

GitHub does show this commit, but it seems to belong only in a fork: https://github.com/darkhz/tview/commit/5ca91a0d158f

Using github.com/darkhz/tview v0.0.0-20240308094543-6078a888ff79 instead seems to work.

darkhz commented 3 months ago

Try using the pre built binaries for now, if possible. I have to update the sources, which will be done by this week or the next.

WhyNotHugo commented 3 months ago

Sure, deleting the entry from go.sum and adding the above version worked.

I had to build from source to use a patched dependency due to https://github.com/mafik/pulseaudio/pull/4