bluetuith icon indicating copy to clipboard operation
bluetuith copied to clipboard

Using inexistent commit for github.com/darkhz/tview

Open WhyNotHugo opened this issue 1 year ago • 2 comments

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/[email protected]: 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.

WhyNotHugo avatar Mar 26 '24 09:03 WhyNotHugo

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.

darkhz avatar Mar 26 '24 09:03 darkhz

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

WhyNotHugo avatar Mar 26 '24 09:03 WhyNotHugo