Tâche #30114
Scénario #30093: Samba 4.11 devient la version samba d'EOLE 2.7.2
Faire un outil pour rétroporter les paquets
100%
Description
Le processus est le suivant :
- Vérifier qu’il y a un paquet plus récent dans les dépôts Ubuntu que dans les dépôts EOLE
- Télécharger le paquet source Ubuntu
- Patcher les sources
- Mettre à jour
debian/changelog
afin d’ajouter le suffixe~eole272.1
à la version Ubuntu afin de ne pas casser le futur Upgrade-Auto vers focal - Construire le paquet source
- Uploader le paquet source sur nos dépôt de paquets Debian afin d’enclencher une compilation sur notre infrastructure de build
Related issues
Associated revisions
Backport tool: get sources from Ubuntu and build for an EOLE release
EOLE 2.7: Samba 4.11 patches
docs(dependencies): update APT cache
fix(version): backported version is lesser than the original version
- check-new-package (main): verify if the EOLE version is not already
a backport of the Ubuntu one.
fix(version): raise if the versions can't be compared
docs(dependencies): “dpkg-buildpackage” is provided by “dpkg-dev”
feat(debian/changelog): new option “--target-distribution”
The user must choose the distribution of the backport.
style(log): remove double colon “:”
docs(debian/changelog): the “--target-distribution” is mandatory
feat(debian/changelog): new option “--target-distribution”
The user must choose the distribution of the backport.
fix(origin): we need the options for proper logging
style(logging): avoid double colon “:”
refactor(dsc): build “dsc_url” in the proper function
fix(python): do not run in unbuffered mode
style(python): sort import
docs(header): add missing “--target-distribution” in synopsys
docs(dependencies): Samba packages must be compiled in the correct order
docs(readme): you may need personnal keyring to verify source packages
feat(build): new option “--source” to build source only package
This will should be used to let builders do their job.
feat(build): cleanup the temporary directory on build success
style(whitespace): remove trailing whitespaces
docs(readme): add missing “--target-distribution” for proposed
feat(gpg): new option “--sign-key” to set GPG key to use for signing
feat(upload): add option “--dput” to define where to upload package
style(path names): avoid packge directory name with Debian epoch
Using epoch add a colon in the directory name which could be avoided.
fix(path): resolve symlink when looking up current directory
docs(readme): fakeroot is a mandatory dependency
docs(readme): configure “dscverify” only for the user
feat(source): some changes are better done with scripts than patch
A patch on “debian/patches/series” will probably always fail for new
releases.
Executing a script to add lines in “debian/patches/series” will be
more robust.
- check-new-package: execute a script before updating
“debian/changelog”.
docs(docstrings): fix all docstrings
feat(samba): patch “debian/patches/series” will always fails on new version
It's better to append a line with a script.
docs(readme): signing and upload is managed now with proper options
History
#1 Updated by Daniel Dehennin over 3 years ago
- Status changed from Nouveau to En cours
- Assigned To set to Daniel Dehennin
- % Done changed from 0 to 100
#2 Updated by Daniel Dehennin over 3 years ago
- Status changed from En cours to Résolu
#3 Updated by Daniel Dehennin over 3 years ago
- Related to Scénario #30058: compilation d'un nouveau paquet samba4 pour eole 2.7 via backport de la 4.11 added
#4 Updated by Daniel Dehennin over 3 years ago
- Related to Scénario #29971: compilation d'un nouveau paquet samba 4 pour eole 2.6 added
#5 Updated by Joël Cuissinat over 3 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) set to 0.0