[game-data-packager] 01/01: document a bit of GDP policy (as I understand it)

Alexandre Detiste detiste-guest at moszumanska.debian.org
Wed Jan 20 08:47:05 UTC 2016


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

detiste-guest pushed a commit to branch master
in repository game-data-packager.

commit 718cd8a50835205dfe2ec1044f5929db2c7fc45b
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Wed Jan 20 09:46:18 2016 +0100

    document a bit of GDP policy (as I understand it)
---
 game_data_packager/build.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index cee62dc..1e1f531 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -1803,6 +1803,13 @@ class PackagingTask(object):
         if engine and '>=' in engine:
             dep['breaks'].add(engine.replace('>=', '<<'))
             engine = engine.split()[0]
+
+        # We only 'recommends' & not 'depends'; to avoid
+        # that GDP-generated packages get removed
+        # if engine goes through some gcc/png/ffmpeg/... migration
+        # and must be temporarily removed.
+        # It's not like 'apt-get install ...' can revert this removal;
+        # user may need to dig again for the original media....
         if package.engine:
             dep['recommends'].add(engine)
         elif not package.expansion_for and self.game.engine:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list