Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add a DEB repository

Aperta
#882 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github, github-actions, linux
Ambito
devops, release

Direzione di ricerca

Start by reviewing the GitHub Actions workflow and the proposed gh-pages branch layout in the issue, including the stable and dev package repositories. Work out the signing and publication details, including how the GPG private key will be handled through GitHub secrets. Done means signed Debian packages and repository metadata are published for both stable releases and dev builds, with installation instructions; the issue currently asks for approval before implementation begins.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hey @Try,

After #878 got merged, I though about using GitHub pages to provide a proper
Debian repository. It's feasible to incorporate it into the GitHub Actions
workflow.

I thought about splitting it into two branches. The official release branch
(stable), and the latest commit on master (dev). The build system is pretty
straight forward. The packages should be signed, so I would generate a GPG/PGP
key pair for the "build bot". We would need to use GitHub secrets for the
private key for signing the DEB build files.

There are some kinks and edge cases I need to work out, just give me a
"Go ahead" or a "Not interested" so I can either start implementing it, or
move on.

Here is the basic gh-pages branch overview:

gh-pages branch:
  ├── index.html                              # Optional: landing page/instructions
  ├── KEY.gpg                                 # Public GPG key for apt
  │
  ├── dists/
  │   ├── dev/                                # Latest main branch build
  │   │   ├── Release
  │   │   ├── Release.gpg
  │   │   ├── InRelease
  │   │   └── main/
  │   │       └── binary-amd64/
  │   │           ├── Packages
  │   │           ├── Packages.gz
  │   │           └── Release
  │   │
  │   └── stable/                             # Tagged releases
  │       ├── Release
  │       ├── Release.gpg
  │       ├── InRelease
  │       └── main/
  │           └── binary-amd64/
  │               ├── Packages
  │               ├── Packages.gz
  │               └── Release
  │
  └── pool/
      ├── dev/
      │   └── main/
      │       └── o/
      │           └── opengothic/
      │               └── opengothic_1.0.3639-1_amd64.deb   # latest only
      │
      └── stable/
          └── main/
              └── o/
                  └── opengothic/
                      └── opengothic_1.0.3624-1_amd64.deb   # from tagged release

And here would be the usage:

Add GPG key

curl -fsSL https://try.github.io/OpenGothic/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/opengothic.gpg

Stable releases

echo "deb [signed-by=/usr/share/keyrings/opengothic.gpg] https://try.github.io/OpenGothic stable main" | sudo tee /etc/apt/sources.list.d/opengothic.list

Or dev builds

echo "deb [signed-by=/usr/share/keyrings/opengothic.gpg] https://try.github.io/OpenGothic dev main" | sudo tee /etc/apt/sources.list.d/opengothic.list

Install

sudo apt update && sudo apt install opengothic
Lingua principale
C++
Stelle
1.6k
Fork
138
Merge medio
3g 10h
PR unite (30g)
17

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Try/OpenGothic

Tutte le issue di Try/OpenGothic

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.