Alexandros Kosiaris has uploaded a new change for review. https://gerrit.wikimedia.org/r/204776
Change subject: Update package_builder/README.md ...................................................................... Update package_builder/README.md Add a bit more useful information Change-Id: I8c8c584141605165d08559cce87e823a24d3d8a1 --- M modules/package_builder/README.md 1 file changed, 30 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/76/204776/1 diff --git a/modules/package_builder/README.md b/modules/package_builder/README.md index 4f907fb..d30c24e 100644 --- a/modules/package_builder/README.md +++ b/modules/package_builder/README.md @@ -13,10 +13,26 @@ puppet group, then add the class in the puppet group and just configure your VM with that class -After puppet is done you just either download a ready package and either: +After puppet is done you will have 8 pristine cowbuilder environments. Those +would be: + + * precise-amd64 + * trusty-amd64 + * jessie-amd64 + * sid-amd64 + * precise-i386 + * trusty-i386 + * jessie-i386 + * sid-i386 + +See more below on how to use those + +You just either download a ready package and either of export DIST=jessie sudo -E pbuilder build dh-virtualenv_0.9-1.dsc + +The two commands above are equivalent or if you are developing a package and are in the package directory: @@ -24,8 +40,11 @@ Feel free to change jessie for precise, trusty or sid -Also ARCH=amd64, or ARCH=i386 is supported if you feel like building for +ARCH=amd64, or ARCH=i386 is supported if you feel like building for different architecture versions. + +Aside from sid, the rest of the distributions allow for satisfying build time +dependencies via the wikimedia repos. To use packages from the wikimedia repos to satisfy build dependencies during building you can use WIKIMEDIA=yes. There is also the approach of appending @@ -46,3 +65,12 @@ trick is to use GIT\_PBUILDER\_AUTOCONF=no i.e.: GIT_PBUILDER_AUTOCONF=no DIST=trusty WIKIMEDIA=yes git-buildpackage -us -uc --git-builder=git-pbuilder + +Notes +===== + +If you are getting confused over the naming of pbuilder/cowbuilder, here's some +info to help you. pbuilder is the actual base software, cowbuilder is an +extension to allow pbuilder to use COW (copy on write) instead of slow .tar.gz +base files. For all intents and purposes this should be transparent to you as +cowbuilder is the default pbuilder builder. -- To view, visit https://gerrit.wikimedia.org/r/204776 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8c8c584141605165d08559cce87e823a24d3d8a1 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Alexandros Kosiaris <akosia...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits