[RFR] templates://bastet/{bastet.templates}

Justin B Rye jbr at edlug.org.uk
Mon Mar 28 08:19:44 UTC 2011


Christian PERRIER wrote:
>  Template: bastet/score_file_compatibility
> +Type: boolean
> +Default: true

I agree about "select" being wrong.  And given that keeping an old
scorefile is even an option, I'm assuming that bastet won't try to
read it and choke - it'll just ignore it and (presumably) store new
highscores somewhere else.  But I don't quite see the point of letting
me keep the old binary data file (let alone making that the default)
if I'm losing the only program that could read it for me...

> +_Description: Keep Bastet old scores file?
> + An old-style scores file seems to be left on 
> + this system, in /var/games/bastet.scores.
>   .
>   As of version 0.43 the scores file format has changed.
> + Bastet does not provide any compatibility layer with the
> + old format and that old scores file is no longer valid.
>   .
> + You can decide to keep it but no automated conversion process
> + will take place. The file will then no longer be tracked by
> + the package management system.

The problem with this is that it doesn't make it clear what the
alternative is.  Could we perhaps turn it around and make "yes" mean
"delete it" (but keep "no" as the default)?

   Type: boolean
   Default: false
   _Description: Remove old-format Bastet highscores file?
    The new version of Bastet cannot read highscores files in the old
    format, like the one at /var/games/bastet.scores.
    .
    You can decide to remove the old scores file now. If you leave it on
    the system it will be ignored by Bastet and will no longer be
    tracked by the package management system.

[...]
>  Package: bastet
>  Architecture: any
>  Depends: ${shlibs:Depends}, ${misc:Depends}
> +Description: clone of Tetris, featuring a bastard level

It has levels?!  No, the feature of bastet that's evil is the
algorithm, right from the start.  I'd also suggest inserting a fact
that's missing:

   Description: ncurses Tetris clone with a bastard algorithm

> + Bastet (which stands for "bastard Tetris") is a free clone of Tetris(r) 
>   which is designed to be "as bastard as possible": it tries to compute how 
>   useful blocks are and gives you the worst, the most bastard it can find. 

Ah, good, it's already been updated to lose the Petris reference.

Let's use the right ASCII substitute for ®...

Quite apart from being a mild taboo word, "bastard" can't legitimately
be used as a gradable adjective - in fact most dictionaries say it's
just a modifying noun (you can't say "my sword is too bastard", for
instance).  Replace "as bastard as possible" and "most bastard" with
something simpler from the upstream website:

    Bastet ("bastard Tetris") is a free clone of Tetris(R) which tries to
    compute how useful blocks are and gives you the worst possible brick.

 * * *
Inevitable Why-The-Name Appendix:
Obviously, it's sacred to the Ancient Egyptian cat-goddess.
-- 
JBR	with qualifications in linguistics, experience as a Debian
	sysadmin, and probably no clue about this particular package
-------------- next part --------------
Template: bastet/score_file_compatibility
Type: boolean
Default: false
_Description: Remove old-format Bastet highscores file?
 The new version of Bastet cannot read highscores files in the old
 format, like the one at /var/games/bastet.scores.
 .
 You can decide to remove the old scores file now. If you leave it on
 the system it will be ignored by Bastet and will no longer be
 tracked by the package management system.
-------------- next part --------------
Source: bastet
Section: games
Priority: optional
Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
Uploaders: Nacho Barrientos Arias <nacho at debian.org>
Build-Depends: debhelper (>= 8), libncurses5-dev | libncurses-dev, libboost1.42-dev,
               libboost-program-options1.42-dev, po-debconf
Standards-Version: 3.9.1
Homepage: http://fph.altervista.org/prog/bastet.shtml
Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/bastet/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/bastet/?op=log

Package: bastet
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: ncurses Tetris clone with a bastard algorithm
 Bastet ("bastard Tetris") is a free clone of Tetris(R) which tries to
 compute how useful blocks are and gives you the worst possible brick.
 Playing bastet can be a painful experience, especially if you usually
 make "canyons" and wait for the long I-shaped block.
-------------- next part --------------
diff -ru bastet-0.43.pristine/debian/bastet.templates bastet-0.43/debian/bastet.templates
--- bastet-0.43.pristine/debian/bastet.templates	2011-03-14 11:58:30.000000000 +0000
+++ bastet-0.43/debian/bastet.templates	2011-03-28 09:14:06.229259069 +0100
@@ -1,18 +1,10 @@
 Template: bastet/score_file_compatibility
-Type: select
-__Choices: keep, remove
-Default: keep
-_Description: What would you like to do with the old scores file?
- It seems that you have got an old-style scores file installed on 
- your system located in '/var/games/bastet.scores'.
+Type: boolean
+Default: false
+_Description: Remove old-format Bastet highscores file?
+ The new version of Bastet cannot read highscores files in the old
+ format, like the one at /var/games/bastet.scores.
  .
- As of version 0.43 the scores file format has changed.
- As newer Bastet does not provide any compatibility layer with the
- old format, your old scores file is no longer valid.
- .
- To prevent data loss, it's time for you to choose what to do
- with the old file. If you decide to keep it, it's your
- responsibility to keep track of it in the future. 
- If you don't mind losing your old high scores, it's recommended 
- to remove the file to avoid cluttering your system with files 
- not handled by the package manager.
+ You can decide to remove the old scores file now. If you leave it on
+ the system it will be ignored by Bastet and will no longer be
+ tracked by the package management system.
diff -ru bastet-0.43.pristine/debian/control bastet-0.43/debian/control
--- bastet-0.43.pristine/debian/control	2011-03-14 11:58:30.000000000 +0000
+++ bastet-0.43/debian/control	2011-03-28 09:15:38.088925600 +0100
@@ -13,9 +13,8 @@
 Package: bastet
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Free clone of Tetris, featuring a bastard level
- Bastet (stands for "bastard Tetris") is a free (GPL'd) clone of Tetris(r) 
- which is designed to be "as bastard as possible": it tries to compute how 
- useful blocks are and gives you the worst, the most bastard it can find. 
- Playing bastet can be a painful experience, especially if you usually 
+Description: ncurses Tetris clone with a bastard algorithm
+ Bastet ("bastard Tetris") is a free clone of Tetris(R) which tries to
+ compute how useful blocks are and gives you the worst possible brick.
+ Playing bastet can be a painful experience, especially if you usually
  make "canyons" and wait for the long I-shaped block.


More information about the Pkg-games-devel mailing list