Git-buildpackage

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(Experiments)
Line 9: Line 9:
 
* Package build was attempted with <tt>git-buildpackage --git-ignore-new --git-pristine-tar</tt>
 
* Package build was attempted with <tt>git-buildpackage --git-ignore-new --git-pristine-tar</tt>
 
* Signing the package failed, as the Debian maintainer's secret key is not available.
 
* Signing the package failed, as the Debian maintainer's secret key is not available.
* Package build was attempted without signing: <tt>git-buildpackage --git-ignore-new --git-pristine-tar -us -uc</tt>
+
* Package build was attempted without signing:
 +
git-buildpackage --git-ignore-new --git-pristine-tar -us -uc
 
* This worked. We ended up with built packages in ~/git/debs, and a dirty git working dir.
 
* This worked. We ended up with built packages in ~/git/debs, and a dirty git working dir.
* The git working directory was made clean again, and another build was attempted using <tt>git-buildpackage --git-ignore-new --git-pristine-tar -us -uc --git-export-dir=/var/tmp/build-area/puppet</tt>
+
* The git working directory was made clean again, and another build was attempted using
* This worked as well. Packages were being built, and the git working dir remained clean.
+
git-buildpackage --git-ignore-new --git-pristine-tar -us -uc --git-export-dir=/var/tmp/build-area/puppet
 +
* This worked as well. Packages were being built, and the git working dir remained clean. Packages ended up in the build dir.
 +
* The debian git dir only had version 2.7.6, but we want 2.7.7rc2. So I tried importing the dev release with
 +
git-import-orig /tmp/puppet-2.7.7rc2.tar.gz
  
 
[[Category:Ubuntu]] [[Category:Package management]]
 
[[Category:Ubuntu]] [[Category:Package management]]

Revision as of 13:41, 23 November 2011

(To be written up once experimentation is done.)

Experiments

Mark is experimenting with building puppet using git-buildpackage, in labs.

On i-00000080:

  • The debian puppet package git repository was cloned into ~/git/debs/puppet
  • Package build was attempted with git-buildpackage --git-ignore-new --git-pristine-tar
  • Signing the package failed, as the Debian maintainer's secret key is not available.
  • Package build was attempted without signing:
git-buildpackage --git-ignore-new --git-pristine-tar -us -uc
  • This worked. We ended up with built packages in ~/git/debs, and a dirty git working dir.
  • The git working directory was made clean again, and another build was attempted using
git-buildpackage --git-ignore-new --git-pristine-tar -us -uc --git-export-dir=/var/tmp/build-area/puppet
  • This worked as well. Packages were being built, and the git working dir remained clean. Packages ended up in the build dir.
  • The debian git dir only had version 2.7.6, but we want 2.7.7rc2. So I tried importing the dev release with
git-import-orig /tmp/puppet-2.7.7rc2.tar.gz
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox