[Pkg-gdb-logs] [gdb] 01/03: Split out most of debian/NEWS to debian/README.python_switch

Samuel Bronson naesten-guest at moszumanska.debian.org
Wed Aug 27 06:44:08 UTC 2014


This is an automated email from the git hooks/post-receive script.

naesten-guest pushed a commit to branch master
in repository gdb.

commit 7b1095b8afd5958110b779ea1d6dc0ac22cc6a3a
Author: Samuel Bronson <naesten at gmail.com>
Date:   Wed Aug 27 01:49:18 2014 -0400

    Split out most of debian/NEWS to debian/README.python_switch
---
 debian/NEWS                 | 63 +++-----------------------------------------
 debian/README.python_switch | 64 +++++++++++++++++++++++++++++++++++++++++++++
 debian/changelog            |  1 +
 debian/rules                |  2 ++
 4 files changed, 70 insertions(+), 60 deletions(-)

diff --git a/debian/NEWS b/debian/NEWS
index 97507b6..83ce802 100644
--- a/debian/NEWS
+++ b/debian/NEWS
@@ -2,67 +2,10 @@ gdb (7.8-1) experimental; urgency=medium
 
   WARNING: gdb now uses Python 3 by default.
 
-  [To return to this notice later, see /usr/share/doc/gdb/NEWS.Debian or
-  so, though you probably already knew that.]
+  Please update your Python scripts to work on both Python 2 and 3 as
+  soon as possible.
 
-  * Please update your Python scripts to work on both Python 2 and 3 as
-    soon as possible.
-
-  * Users: For the time being, you may switch back to Python 2 by
-    installing gdb-python2.  The gdb-python2 package is likely to be
-    dropped before <jessie+1>, assuming we don't hit any really serious
-    problems.
-
-    Please report bugs for any problems we might care about, whether in or
-    out of Debian, so we can track the impact and assist in dealing with
-    any issues.  (Include "python" in the subject.)
-
-    - If the problem is with a script from a package that's in Debian,
-      (even if the Debian package does not install that script),
-      please report a bug against the package and [X-Debbugs-]CC us:
-
-      + Run "reportbug --list-cc=gdb at packages.debian.org <package-or-file>"
-        and follow the prompts.
-
-    - If the problem is with scripts from packages that aren't in Debian
-      but are in free software, report a bug against gdb:
-
-      + Run "reportbug gdb" and follow the prompts.
-      + Tell us (1) where to get the software and (2) how to get in touch
-        with upstream (preferably in the form of a link to a report about it
-        in the upstream bugtracker).
-
-        If the project doesn't welcome contributions, please let us know
-        so we don't waste time writing patches.
-
-      We don't *promise* to fix such problems, but we still want to know
-      about them, and we're likely to take a stab at them if it doesn't take
-      too long to get from initiating a VCS checkout to having the software
-      built.
-
-    - If the problem is with private scripts but you think it's because of
-      a deficiency in GDB, please construct a minimal example of the issue
-      and report that to us, too:
-
-      + Run "reportbug gdb" and follow the prompts.
-      + Include your example in the email.
-      + Links to any relevant bug reports/discussion are appreciated (as
-        always).
-
-  * Packages will be considered buggy if their GDB scripts do not work
-    with both Python 2 and Python 3.
-
-  * Packages will be considered RC buggy if they conflict with, break, or
-    depend on either gdb or gdb-python2 just because of such scripts.
-
-  * The "six" module may be useful for reference/inspiration here:
-      <https://pythonhosted.org/six/>
-    as might these pages:
-      <https://wiki.python.org/moin/Python3.0>
-      <http://docs.pythonsprints.com/python3_porting/py-porting.html>
-
-    Packagers: If you would like us to make each gdb package pull in the
-    appropriate "six" module, we would be happy to do that.
+  See /usr/share/doc/gdb*/README.python_switch for details.
 
  -- Samuel Bronson <naesten at gmail.com>  Tue, 26 Aug 2014 14:04:20 -0400
 
diff --git a/debian/README.python_switch b/debian/README.python_switch
new file mode 100644
index 0000000..4be2291
--- /dev/null
+++ b/debian/README.python_switch
@@ -0,0 +1,64 @@
+# -*- mode: org; -*-
+
+For jessie, GDB uses Python 3 by default.
+
+* Users
+
+  For the time being, you may switch back to Python 2 by installing
+  gdb-python2.  The gdb-python2 package is likely to be dropped before
+  <jessie+1>, assuming we don't hit any really serious problems.
+
+  Please report bugs for any problems we might care about, whether in
+  or out of Debian, so we can track the impact and assist in dealing
+  with any issues.  (Include "python" in the subject.)
+
+  - If the problem is with a script from a package that's in Debian
+    (even if the Debian package does not install that script) please
+    report a bug against the package and [X-Debbugs-]CC us:
+
+    + Run "reportbug --list-cc=gdb at packages.debian.org
+      <package-or-file>" and follow the prompts.
+
+  - If the problem is with scripts from packages that aren't in Debian
+    but are in free software, report a bug against gdb:
+
+    + Run "reportbug gdb" and follow the prompts.
+
+    + Tell us (1) where to get the software and (2) how to get in
+      touch with upstream (preferably in the form of a link to a
+      report about it in the upstream bugtracker).
+
+      If the project doesn't welcome contributions, please let us know
+      so we don't waste time writing patches.
+
+    We don't *promise* to fix such problems, but we still want to know
+    about them, and we're likely to take a stab at them if it doesn't
+    take too long to get from initiating a VCS checkout to having the
+    software built.
+
+  - If the problem is with private scripts but you think it's because
+    of a deficiency in GDB, please construct a minimal example of the
+    issue and report that to us, too:
+
+    + Run "reportbug gdb" and follow the prompts.
+    + Include your example in the email.
+    + Links to any relevant bug reports/discussion are appreciated (as
+      always).
+
+* Packagers
+
+  Packages will be considered *buggy* if their GDB scripts do not work
+  with both Python 2 and Python 3.
+
+  Packages will be considered *RC buggy* if they conflict with, break,
+  or depend on either gdb or gdb-python2 just because of such scripts.
+
+  The "six" module may be useful for reference/inspiration here:
+    <https://pythonhosted.org/six/>
+  as might these pages:
+    <https://wiki.python.org/moin/Python3.0>
+    <http://docs.pythonsprints.com/python3_porting/py-porting.html>
+
+  If you would like us to make each gdb package pull in the
+  appropriate "six" module, we would be happy to do that; just file a
+  bug and/or prod SamB on IRC.
diff --git a/debian/changelog b/debian/changelog
index f6e1f1c..c315d19 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -62,6 +62,7 @@ gdb (7.8-1) experimental; urgency=medium
   [ Samuel Bronson ]
   * Make gdb-python2 provide gdb (= ${binary:Version}).
   * Totally rewrite the NEWS entry about the Python changes.
+    + And split out most of the new text to README.python_switch.
 
  -- Samuel Bronson <naesten at gmail.com>  Tue, 26 Aug 2014 15:34:03 -0400
 
diff --git a/debian/rules b/debian/rules
index def2531..074a1ec 100755
--- a/debian/rules
+++ b/debian/rules
@@ -361,6 +361,7 @@ DEB_INSTALL_CHANGELOGS_ALL =
 DEB_INSTALL_DOCS_gdb$(TS) = gdb/NEWS gdb/README gdb/doc/refcard.tex \
 	$(DEB_BUILDDIR)/gdb/doc/refcard.dvi \
 	$(DEB_BUILDDIR)/gdb/doc/refcard.ps \
+	debian/README.python_switch \
 	gdb/contrib/
 DEB_INSTALL_CHANGELOGS_gdb$(TS) = gdb/ChangeLog
 ifneq ($(DEB_CROSS),yes)
@@ -370,6 +371,7 @@ endif
 DEB_INSTALL_DOCS_gdb-python2$(TS) = gdb/NEWS gdb/README gdb/doc/refcard.tex \
 	$(DEB_BUILDDIR)/gdb/doc/refcard.dvi \
 	$(DEB_BUILDDIR)/gdb/doc/refcard.ps \
+	debian/README.python_switch \
 	gdb/contrib/
 DEB_INSTALL_CHANGELOGS_gdb-python2$(TS) = gdb/ChangeLog
 ifneq ($(DEB_CROSS),yes)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gdb/gdb.git



More information about the Pkg-gdb-logs mailing list