<mint_TVH>
I am running Tvheadend on LMDE6 (based on Debian 12). I see on the cloudsmith repo that updates for Tvheadend is being regularly packaged for Debian 11 (latest was just over a day ago), but that the last update for 12 was 10 months ago. Is there a reason updates are not being packaged for 12?
<htsbot>
[discord] <chewitt> It's a good question 🙂
<htsbot>
[discord] <chewitt> the CI builds are failing on some distro combinations
<htsbot>
[discord] <chewitt> or to be specific, the build succeeds but the upload to cloudsmith fails
FingerlessGloves has quit [Quit: Ping timeout (120 seconds)]
FingerlessGloves has joined #hts
knolle has quit [Remote host closed the connection]
knolle has joined #hts
<mint_TVH>
I see what you are talking about. It looks to me like the `support/cloudsmith.sh` script is falling back to pip2 on line 59 (same for 61, but it never gets there) because pip complains of needing a venv. I think this was a requirement in python 3.11+ for "externally managed" environments to use a venv for installing packages so as not to conflict with system packages. The easy solution seems to be adding a case for python 3.11+ and using either
<mint_TVH>
`--break-system-packages` or `pipx`. I can work on a PR for this (or another solution if there's a better one) if that would be helpful.
<mint_TVH>
On an unrelated note, what does HTS stand for?
<chewitt>
I suspect the 'best' solution is to use simple curl commands instead of the cloudsmith binary tools, as that would omit a load of image setup complexity
<chewitt>
but an interim fix that works around the current failure would also be a step forwards
<chewitt>
HTSP is "Home TV Streaming Protocol" according to ye olde wiki but no guarantees HTS is entirely derived the same way
<chewitt>
I'm tempted to start a properly named channel and then kick/encourage people to change over :)
<mint_TVH>
I like the substitution for plain curl; but I'd never heard of cloudsmith until looking into the packaging so I may not be able to implement that solution. I assume cloudsmith has docs on that though, so perhaps it isn't that difficult? I'll look and see.
<chewitt>
I've been playing around with their API to investigate how to keep the repo under their free quota limit
<chewitt>
It's not that hard, but you'd need an API token to test anything
<chewitt>
the cloudsmith.sh script also needs changes to support rpm packaging in addition to deb
<mint_TVH>
I've seen HTS other places too, like the Kodi plugin: `pvr.hts`. I see that the TVH project is in the middle of a reorganization and infrastructure shift, so a new channel could probably fit in a part of that process if you wanted, no?
<mint_TVH>
I have no experience with RPM, so I wouldn't be the right person for that.
shibboleth has joined #hts
<mint_TVH>
Re. difficulty and API token: I expected as much. Good that it's not hard, but because of the API token it's probably best you handled that.
<mint_TVH>
Well, I suppose if I created my own account on cloudsmith I could test with that? I don't know if that's viable though. I'll look into their API a little first before I say anything.
<shibboleth>
wow, a bona fide message in this channel? /marks the calendar :P
<mint_TVH>
Haha. I came for a question about that lack of bookworm updates.
<shibboleth>
well, tvh isn't really something for which i'd rely on packages
<shibboleth>
for proper video hwaccel you're gonna have to build it yourself anyway
<mint_TVH>
Well, it started when I saw that regular (every few days) package builds for bullseye, but the latest for bookworm was 10 months ago.
<mint_TVH>
Could you explain a bit mroe about "proper video hwaccel"? I've been a bit confused about that for a while.
<mint_TVH>
Oh, I almost forgot to ask. Since you said that the package build succeeded, just that the upload failed, is there somewhere that I could download the package from? It looks to me like the .deb was uploaded as an artifact, but I don't see how to download it.
<mint_TVH>
*cloudsmith upload filed; artifact was uploaded to GH