livepeer / go-livepeer

Official Go implementation of the Livepeer protocol
http://livepeer.org
MIT License
538 stars 169 forks source link

publish an apt repository for go-livepeer #1367

Open iameli opened 4 years ago

iameli commented 4 years ago

I've never done this, but I believe the process requires GPG signing of all executables, so this is blocked by #1366.

The objective would be to make it this easy for Debian/Ubuntu users to install and update go-livepeer:

sudo apt-get install -y apt-transport-https software-properties-common curl
wget -q -O - https://apt.livepeer.org/gpg.key | sudo apt-key add -
echo "deb https://apt.livepeer.org/ latest main" | sudo tee -a /etc/apt/sources.list.d/livepeer.list
sudo apt-get update
sudo apt-get install -y livepeer
Strykar commented 11 months ago

Any chance this could be thawed?

iameli commented 11 months ago

@hjpotter92, could you drop a reference to your work on this? I know we had a Homebrew package working but maybe we hadn't gotten as far as an apt package quite yet.

thomshutt commented 11 months ago

Sounds like a great candidate for a grant 🤔

hjpotter92 commented 11 months ago

@hjpotter92, could you drop a reference to your work on this? I know we had a Homebrew package working but maybe we hadn't gotten as far as an apt package quite yet.

https://forum.livepeer.org/t/create-debian-package-via-github-workflow/2057/2

i think the workflow changes got lost in one of the worktrees; but the fpm config file is the same.

--input-type dir
--name go-livepeer
--license MIT
--maintainer "Livepeer CI Robot <support@livepeer.org>"
--description "Official Go implementation of the Livepeer protocol"
--provides livepeer
--verbose
livepeer=/usr/bin/livepeer livepeer_bench=/usr/bin/livepeer_bench livepeer_cli=/usr/bin/livepeer_cli livepeer_router=/usr/bin/livepeer_router
Strykar commented 11 months ago

Sounds like a great candidate for a grant 🤔

Funny you should say that, I was suggested against it two years ago when I brought it up.

Strykar commented 11 months ago

i think the workflow changes got lost in one of the worktrees; but the fpm config file is the same.

--input-type dir
--name go-livepeer
--license MIT
--maintainer "Livepeer CI Robot <support@livepeer.org>"
--description "Official Go implementation of the Livepeer protocol"
--provides livepeer
--verbose
livepeer=/usr/bin/livepeer livepeer_bench=/usr/bin/livepeer_bench livepeer_cli=/usr/bin/livepeer_cli livepeer_router=/usr/bin/livepeer_router

The CI workflow is the right place to publish this package instead of an apt repository. If I may suggest some changes so the package adheres to the Debian / Ubuntu packaging handbook: