[Koha-bugs] [Bug 8816] add WARNING to debian/control file, to not manually edit

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 26 20:12:17 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8816

Mason James <mtj at kohaaloha.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #16901|0                           |1
        is obsolete|                            |

--- Comment #7 from Mason James <mtj at kohaaloha.com> ---
Comment on attachment 16901
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16901
Bug 8816: Add warning about manual edits to top of debian/control

>From 58ee3231373b451f433d61befa41b45f5e4704ac Mon Sep 17 00:00:00 2001
>From: Mason James <mtj at kohaaloha.com>
>Date: Wed, 27 Mar 2013 07:44:55 +1300
>Subject: [PATCH] Bug 8816: Add warning about manual edits to top of debian/control
>Content-Type: text/plain; charset="utf-8"
>
>And we need to add it to control.in as well, because control is
>created from control.in (which is the whole point of the warning ;)
>---
> debian/control    |   17 ++++++++++++-----
> debian/control.in |   13 ++++++++-----
> 2 files changed, 20 insertions(+), 10 deletions(-)
>
>diff --git a/debian/control b/debian/control
>index be19e0c..b8e827c 100644
>--- a/debian/control
>+++ b/debian/control
>@@ -3,9 +3,16 @@ Maintainer: Robin Sheat <robin at catalyst.net.nz>
> Section: web
> Priority: optional
> Standards-Version: 3.8.4
>-# NOTA BENE: Build dependencies end up as runtime dependencies as well.
>-# See debian/rules, the override_dh_gencontrol rules. 
>-# There are some exceptions.
>+XBC-Comment: WARNING: The "control" file is manually generated from the "control.in" file.
>+ Do not manually edit "control" or your changes will be clobbered when you
>+ run update-control
>+ NOTA BENE: Build dependencies end up as runtime dependencies as well.
>+ See debian/rules, the override_dh_gencontrol rules.
>+ There are some exceptions.
>+Build-Depends:__AUTODEPENDS__,
>+ debhelper (>= 7.0.50), gettext, python, python-debian, xsltproc, docbook-xsl,
>+ libxml2-utils
>+
> Build-Depends: libalgorithm-checkdigits-perl,
>  libanyevent-http-perl,
>  libanyevent-perl,
>@@ -111,7 +118,7 @@ Build-Depends: libalgorithm-checkdigits-perl,
>  libyaml-perl,
>  libyaml-syck-perl,
>  perl,
>- perl-modules, 
>+ perl-modules,
>  debhelper (>= 7.0.50), gettext, python, python-debian, xsltproc, docbook-xsl,
>  libxml2-utils
> 
>@@ -130,7 +137,7 @@ Depends: ${misc:Depends}, ${koha:Depends},
>  perl-doc,
>  pwgen,
>  sudo,
>- tinymce2, 
>+ tinymce2,
>  unzip,
>  xmlstarlet,
>  yaz
>diff --git a/debian/control.in b/debian/control.in
>index a30aeed..b84c040 100644
>--- a/debian/control.in
>+++ b/debian/control.in
>@@ -3,10 +3,13 @@ Maintainer: Robin Sheat <robin at catalyst.net.nz>
> Section: web
> Priority: optional
> Standards-Version: 3.8.4
>-# NOTA BENE: Build dependencies end up as runtime dependencies as well.
>-# See debian/rules, the override_dh_gencontrol rules. 
>-# There are some exceptions.
>-Build-Depends:__AUTODEPENDS__, 
>+XBC-Comment: WARNING: The "control" file is manually generated from the "control.in" file.
>+ Do not manually edit "control" or your changes will be clobbered when you
>+ run update-control
>+ NOTA BENE: Build dependencies end up as runtime dependencies as well.
>+ See debian/rules, the override_dh_gencontrol rules.
>+ There are some exceptions.
>+Build-Depends:__AUTODEPENDS__,
>  debhelper (>= 7.0.50), gettext, python, python-debian, xsltproc, docbook-xsl,
>  libxml2-utils
> 
>@@ -25,7 +28,7 @@ Depends: ${misc:Depends}, ${koha:Depends},
>  perl-doc,
>  pwgen,
>  sudo,
>- tinymce2, 
>+ tinymce2,
>  unzip,
>  xmlstarlet,
>  yaz
>-- 
>1.7.2.5

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list