linux:create_debian_package

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
linux:create_debian_package [2025/10/25 20:41] – [git-buildpackage] add link phswlinux:create_debian_package [2025/12/25 20:15] (Version actuelle) – [Créer un paquet Debian] add link phsw
Ligne 13: Ligne 13:
   * [[https://blog.liw.fi/posts/2023/debian-reasons/|Why is Debian the way it is?]]   * [[https://blog.liw.fi/posts/2023/debian-reasons/|Why is Debian the way it is?]]
   * [[https://www.linuxembedded.fr/2024/04/introduction-au-paquetage-pour-debian|Introduction au 📦 paquetage pour Debian]]   * [[https://www.linuxembedded.fr/2024/04/introduction-au-paquetage-pour-debian|Introduction au 📦 paquetage pour Debian]]
 +  * [[https://optimizedbyotto.com/post/debian-maintainer-habits/|10 habits to help becoming a Debian maintainer]]
  
   * [[https://diziet.dreamwidth.org/10559.html|Debian’s approach to Rust - Dependency handling]]   * [[https://diziet.dreamwidth.org/10559.html|Debian’s approach to Rust - Dependency handling]]
Ligne 18: Ligne 19:
   * [[https://samueloph.dev/personal_website_files/slides/samueloph_slides_2024_08_the_secret_sauce_of_debian.pdf|The secret sauce of Debian]]   * [[https://samueloph.dev/personal_website_files/slides/samueloph_slides_2024_08_the_secret_sauce_of_debian.pdf|The secret sauce of Debian]]
   * [[https://wiki.debian.org/BuildProfileSpec]]   * [[https://wiki.debian.org/BuildProfileSpec]]
 +  * [[https://diziet.dreamwidth.org/20436.html|Debian’s git transition]]
  
  
Ligne 301: Ligne 303:
 <code> <code>
 gbp import-orig --uscan gbp import-orig --uscan
 +</code>
 +
 +
 +=== Cas sans branche upstream ===
 +
 +  * un paquet existe
 +  * le paquet est géré sous Git
 +  * upstream publie des releases
 +  * il n'y a pas de branche ''upstream'' dans le dépôt Git Salsa
 +
 +([[https://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.import.convert.html#gbp.import.upstream.not.on.branch|source]])
 +
 +<code bash>
 +# cloner le dépôt Git Salsa
 +git checkout pristine-tar
 +git checkout master
 +git checkout --orphan upstream
 +git rm -rf .
 +git commit --allow-empty -m 'Initial upstream branch.'
 +git checkout master
 +
 +gbp import-orig --uscan --pristine-tar
 </code> </code>
  
  • linux/create_debian_package.1761417679.txt.gz
  • Dernière modification : 2025/10/25 20:41
  • de phsw