Skip to content

Commit

Permalink
disable pycentral backwards compatibility by default
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw committed Jun 19, 2010
1 parent 1ab3142 commit ae4a761
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
2010-06-19 Do not workaround Debian Bug #548392 by default.

2010-06-19 By default, do not attempt to migrate old stdeb based
packages that used pycentral.

= Release 0.6 (2010-06-18) =

2010-06-18 Do not die if sources.list does not contain deb-src
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,9 @@ To pass these commands to sdist_dsc when calling bdist_deb, do this::
--remove-expanded-source-dir (-r) remove the expanded source directory
--ignore-install-requires (-i) ignore the requirements from
requires.txt in the egg-info directory
--pycentral-backwards-compatibility If True (currently the default), enable
migration from old stdeb that used
pycentral
--pycentral-backwards-compatibility If True, enable migration from old
stdeb that used pycentral.
(Default=False).
--workaround-548392 If True, limit binary package to single
Python version, working around Debian
bug 548392 of debhelper.
Expand Down
4 changes: 4 additions & 0 deletions RELEASE_NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ makes no effort to workaround this bug, and thus "XS-Python-Version:
all". If you are using stdeb on an older version of Debian/Ubuntu with
a buggy version of debhelper, use "--workaround-548392=True".

Remove the default attempt to migrate old stdeb based packages that
used pycentral. (If you still have old stdeb based packages, use
"--pycentral-backwards-compatibility=True".

Release 0.6.0
=============

Expand Down
3 changes: 1 addition & 2 deletions stdeb/command/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ def str_to_bool(mystr):
self.force_buildsystem = True

if self.pycentral_backwards_compatibility is None:
self.pycentral_backwards_compatibility=True
# emit future change warnging?
self.pycentral_backwards_compatibility=False

if self.guess_conflicts_provides_replaces is None:
# the default
Expand Down
3 changes: 1 addition & 2 deletions stdeb/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ def check_call(*popenargs, **kwargs):
('ignore-install-requires', 'i',
'ignore the requirements from requires.txt in the egg-info directory'),
('pycentral-backwards-compatibility=',None,
'If True (currently the default), enable migration from old stdeb '
'that used pycentral'),
'If True, enable migration from old stdeb that used pycentral. (Default=False).'),
('workaround-548392=',None,
'If True, limit binary package to single Python version, '
'working around Debian bug 548392 of debhelper. (Default=False).'),
Expand Down

0 comments on commit ae4a761

Please sign in to comment.