Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ppa repository #125

Open
StefanLobbenmeier opened this issue Apr 4, 2021 · 9 comments
Open

Create ppa repository #125

StefanLobbenmeier opened this issue Apr 4, 2021 · 9 comments

Comments

@StefanLobbenmeier
Copy link

StefanLobbenmeier commented Apr 4, 2021

Should fix #114 by @Mennaruuk

It should be possible to add the linux mint repo to Ubuntu: https://askubuntu.com/a/509014

However, it might not be the best approach, as you add the whole Linux Mint repository and not just the repository for this package.

I much prefer the approach taken by other modules where you can add a repository just for this package, like

sudo add-apt-repository ppa:linuxmint/hypnotix

This is how to create such a ppa:
https://askubuntu.com/a/71516

Personally I think someone from the linux mint or hypnotix should create this ppa as they own the source code / are best informed about new releases.

@StefanLobbenmeier
Copy link
Author

I just tried creating this ppa on my own - without any changes the upload fails because of

Rejected:
Unable to find distroseries: ulyssa
Further error processing not possible because of a critical previous error.

hypnotix (1.5) ulyssa; urgency=medium

[ freddii ]

[ Clement Lefebvre ]

  • Fix navigation to edit page

===

I found out that ulyssa means Linux Mint 20.1 which corresponds to Ubuntu 20.04 / focal https://wiki.ubuntu.com/DevelopmentCodeNames

Not sure if a pull request changing that name would be accepted though / I am unsure if the ulyssa is actually needed for something else of if focal would also work.

@StefanLobbenmeier
Copy link
Author

StefanLobbenmeier commented Apr 4, 2021

After changing to focal I get the error message

Rejected:
Source/binary (i.e. mixed) uploads are not allowed.

Have to investigate that one later

Edit:

Solution:
Looks like launchpad wanted my to provide the sources only, which can be done with the -S -sa parameters

@StefanLobbenmeier
Copy link
Author

I managed to upload it to my ppa now:
https://launchpad.net/~stefanlobbenmeier/+archive/ubuntu/hypnotix

To create upload this to the ppa I had to do

git clone https://github.com/StefanLobbenmeier/hypnotix
cd hypnotix
debuild [email protected] -S -sa
cd ..
dput ppa:stefanlobbenmeier/hypnotix hypnotix_1.5_source.changes

I will now create a pull request for the rename from ulyssa to focal

@StefanLobbenmeier
Copy link
Author

@Mennaruuk would you like to test this?

To add my ppa you would have to run

on Ubuntu 20.04
sudo apt-add-repository ppa:stefanlobbenmeier/hypnotix

on another (later) Ubuntu Version:
sudo add-apt-repository 'deb http:https://ppa.launchpad.net/stefanlobbenmeier/hypnotix/ubuntu focal main'

afterwards you should be able to run
sudo apt install hypnotix

It worked on my machine, but I am not sure if that is only because I am the one that created the ppa in the first place / it is signed by my key.

@Mennaruuk
Copy link

Works like a charm! Thank you!!! Now I can run Hypnotix on Ubuntu, Lubuntu, even other distros by installing this PPA :)
A11390B7-373E-4B77-8ADD-484ED8BDBAA6

@eggplants
Copy link

@StefanLobbenmeier I'd appreciate if you create a release for 22.04 (jammy).

@StefanLobbenmeier
Copy link
Author

StefanLobbenmeier commented Nov 12, 2022

@eggplants so sudo add-apt-repository 'deb http:https://ppa.launchpad.net/stefanlobbenmeier/hypnotix/ubuntu focal main' does not work there?

@StefanLobbenmeier
Copy link
Author

I added some more or less automatic build that should should now create a ppa release for jammy https://github.com/StefanLobbenmeier/hypnotix-ppa/blob/main/.github/workflows/build-ppa.yml

feel free to make PRs to it when you want it to update to the next version of hypnotix or support another Ubuntu version 😄

@Mennaruuk
Copy link

This is basically the Holy Grail. Should work on essentially any distro ending in buntu. I still haven't gotten any channels to work, though. Everything gets stuck. https://raw.githubusercontent.com/Free-TV/IPTV/master/playlist.m3u8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants