iter_gog_paths

Alexandre Detiste alexandre.detiste at gmail.com
Mon Oct 26 11:04:49 UTC 2015


Le lundi 26 octobre 2015 07:53:30, vous avez écrit :
> On 26/10/15 06:05, Alexandre Detiste wrote:
> > -    gog:
> > -      url: toonstruck
> > x 4
> > --> well GOG doesn't provide the "alternative" English version with 5
> different files
> >       GDP will try to build toonstruck-alt-en-data & complain that it
> couldn't
> 
> I don't think duplicating the metadata to all the packages sold by GOG
> scales well. In what way does GDP complain, and can we make it not
> complain instead?

It printed a spurious 
"INFO:game-data-packager.build:toonstruck-alt-en-data can be downloaded with lgogdownloader"
but did the right thing, now fixed aniway.


The complaining was unrelated, when running GDP with "--package toonstruck-en-data" option,
it will print a ton of
"ERROR:game-data-packager.build:could not find xxxxxxxxxxxxxxxxxxxx:"

then succeed to build the package,
"INFO:game-data-packager.build:toonstruck-en-data can be downloaded with lgogdownloader
FAKE LGOGDOWNLOADER:
« /tmp/gdptmp.u3kkp8vq/toonstruck/gog_toonstruck_2.0.0.4.sh » -> « /home/tchet/gdp/toonstruck/gog_toonstruck_2.0.0.4.sh »
INFO:game-data-packager.build:identifying /tmp/gdptmp.u3kkp8vq/toonstruck/gog_toonstruck_2.0.0.4.sh
INFO:game-data-packager.build:generating package toonstruck-en-data
generated "/tmp/toonstruck-en-data_43_all.deb"

I'll have a look on how to silence these warning for this exact scenario only.

> > Adding generic .deb & .tar.gz support like generic .zip support is
> maybe a nice-to-have.
> 
> Yes, if we can do it without duplicating too much code.

It's about replaying on consider_tar_stream() the same changes done on consider_zip() previously

http://anonscm.debian.org/cgit/pkg-games/game-data-packager.git/commit/game_data_packager/__init__.py?id=6bfbcfcca72f2751e538a8ad57cec0ba362aab6a
http://anonscm.debian.org/cgit/pkg-games/game-data-packager.git/commit/game_data_packager/__init__.py?id=297976dbb300641c0f13c238ebdc42847afbbef6

> In particular, it would be nice to be able to repack a GDP-generated
> .deb without actually installing it.

Didn't thought of that, nice idea.




More information about the Pkg-games-devel mailing list