Bugzilla – Attachment 53869 Details for
Bug 17013
build-git-snapshot: add basetgz parameter and update master version number
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17013 - build-git-snapshot: add basetgz parameter and update master version number
Bug-17013---build-git-snapshot-add-basetgz-paramet.patch (text/plain), 1.81 KB, created by
Frédéric Demians
on 2016-08-02 04:05:22 UTC
(
hide
)
Description:
Bug 17013 - build-git-snapshot: add basetgz parameter and update master version number
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2016-08-02 04:05:22 UTC
Size:
1.81 KB
patch
obsolete
>From 6de7c06a7ed2c1af5781156ff272a7b3a3811513 Mon Sep 17 00:00:00 2001 >From: Mirko Tietgen <mirko@abunchofthings.net> >Date: Mon, 1 Aug 2016 17:13:55 +0200 >Subject: [PATCH] Bug 17013 - build-git-snapshot: add basetgz parameter and > update master version number >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This adds a basetgz parameter to specify a pbuilder image. >I use this to build against different distributions. > >This also updates the version number for master builds to 16.06. > >Signed-off-by: Frédéric Demians <f.demians@tamil.fr> >--- > debian/build-git-snapshot | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >diff --git a/debian/build-git-snapshot b/debian/build-git-snapshot >index b0c4bab..1e1505d 100755 >--- a/debian/build-git-snapshot >+++ b/debian/build-git-snapshot >@@ -27,15 +27,17 @@ use warnings; > use Getopt::Long; > use POSIX qw/strftime/; > >+my $basetgz; > my $buildresult; > my $distribution='squeeze-dev'; > my $git_checks='all'; >-my $version='3.23~git'; >+my $version='16.06~git'; > my $auto_version=1; > my $need_help; > my $debug; > > GetOptions( >+ 'basetgz|b=s' => \$basetgz, > 'buildresult|r=s' => \$buildresult, > 'distribution|D=s' => \$distribution, > 'git-checks|g=s' => \$git_checks, >@@ -137,7 +139,8 @@ sub build_package { > sys_command_output( qq{git archive --format=tar --prefix="koha-$newversion/" HEAD | gzip -9 > "../koha_$newversion.tar.gz"} ); > > my $pdebuildopts = $buildresult ? "--buildresult $buildresult" : ""; >- sys_command_output_screen( "pdebuild $pdebuildopts" ); >+ my $pdebuildbasetgz = $basetgz ? "-- --basetgz /var/cache/pbuilder/" . $basetgz . ".tgz" : ""; >+ sys_command_output_screen( "pdebuild $pdebuildbasetgz $pdebuildopts" ); > } > > everything_is_committed() or die "cannot build: uncommited changes"; >-- >2.8.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17013
:
53842
|
53869
|
54125