397 liens privés
à l'arrache:
gem install fpm # https://jeekajoo.eu/links/?sj8xXQ
wget https://releases.hashicorp.com/consul/0.6.3/consul_0.6.3_linux_amd64.zip
unzip -o consul_0.6.3_linux_amd64.zip
fpm --force --verbose -s dir -t deb -n consul -v 0.6.3 --url=http://consul.io --vendor=HashiCorp --description "A distributed service discovery tool" ./consul=/usr/local/bin/consul
uploadé ici: https://packagecloud.io/jeekajoo/consul/packages/debian/jessie/consul_0.6.3_amd64.deb
Explication des éléments phases, goals, executions dont on a besoin pour configurer des plugins maven.
Et la lumière fut.
"""
DEP stands for "Debian Enhancement Proposals". DEP8 is about package testing, specifically post-install (as opposed to dh_auto_test which runs during package build, usually for unit tests). It's great for integration tests, etc. that have more interesting requirements for running than unit tests normally do.
The problem is that the spec is a little bit long in the tooth for casual reading / understanding-at-a-glance.
What follows is my own personal TL;DR version.
"""
Freight, alternative à reprepro (qui ne permet pas d’avoir plusieurs versions d’un même paquet).
Voir aussi aptly (https://jeekajoo.eu/links/?-BYaoQ).
"""
sbuild is used on the official buildd network to build binary packages for all supported architectures. It can also be used by individuals to prepare packages. Alternatives to sbuild are cowbuilder and pbuilder.
"""
lien via https://lists.debian.org/debian-devel/2015/05/msg00444.html
à ne pas confondre avec http://sbuild.org/ ..
"""
How we build, package, and deploy Python into versioned artifacts using Debian packages
"""
Python to Debian source package conversion utility
dhmake --createorig -p <packagename><version>
"""
mkdir debian/source ; echo '3.0 (quilt)' > debian/source/format ; dch 'Switch to dpkg-source 3.0 (quilt) format'
git add .
git commit -m "Switch to dpkg-source 3.0 (quilt) format"
dpkg-source --commit
"""
le fait de passer en version 3.0 du format quilt au lieu de 1.0 m'a permis de construire des paquets avec des fichiers binaires dedans, avec git-buildpackage sans que ça gueule.
origine de la trouvaille: http://askubuntu.com/questions/164621/how-do-i-add-a-binary-file-to-my-existing-ppa-package
"""
...
I don’t trust python system packages : half are rotten. Virtualenv + Pip, just for providing a tool inside Docker? Oversized.
Lets PEX. PEX is one of the secret weapons of Twitter. PEX is for Python EXecutable. PEX is a single file, embeding dependencies and an executable module. This file is a ZIP archive. The ZIP format accepts arbitrary headers, and python can load modules in a ZIP, PEX married both.
...
"""
pex est un outil plutôt cool pour packager des applis python.
on est pas obligé d'utiliser docker pour en avoir besoin.
doc: http://pex.readthedocs.org/en/latest/
video: http://www.youtube.com/watch?v=NmpnGhRwsu0
ce howto m'a permis de construire mon premier paquet debian from scratch: https://github.com/IsCoolEntertainment/debpkg_jolokia
0.0 < 0.5 < 0.10 < 0.99 < 1 < 1.0~rc1 < 1.0 < 1.0+b1 < 1.0+nmu1 < 1.1 < 2.0
dpkg --compare-versions 1.0~rc1 gt 1.0
echo $?
1
dpkg --compare-versions 1.0~rc1 lt 1.0
echo $?
0