Bug#1009971: Our current validation script does not work with html5 files

2022-04-23 Thread Shlomi Fish
Hi Laura!

On Thu, 21 Apr 2022 15:53:03 +0200
Laura Arjona Reina  wrote:

> Package: www.debian.org
> User: www.debian@packages.debian.org
> Usertag: scripts
> Severity: important
> 
> Hi all
> I'm starting to work in the bug #980921 (Pages in HTML5) and, as it is
> mentioned there, we need to adapt our "validate" script so it correctly
> processes the pages declared as HTML5 (currently, only the homepage in the
> different languages).
> 
> The current status is following:
> 
> Related scripts:
> 
> https://salsa.debian.org/webmaster-team/cron/-/blob/master/lessoften executed
> once a day, calling (via run-parts) the following script:
> https://salsa.debian.org/webmaster-team/cron/-/blob/master/scripts/999Xvalidate
> which gets the list of languages and folders to process and then calls:
> 
> https://salsa.debian.org/webmaster-team/cron/-/blob/master/scripts/validate
> 
> Which is the actual script doing the HTML validation, using the onsgmls
> command (part of opensp package). 
> 
> This command validates a SGML file based on a DTD. The issue (as far as I
> know) is that there is no "official" SGML DTD template to use when parsing
> HTML5 files.
> 
> I have tried adapting the "validate" script to be able to recognize the
> DOCTYPE header used for html5 files, and then tried to pass a DTD (I tried
> downloading the ones here http://sgmljs.net/docs/w3c-html5-dtd.html and here
> http://sgmljs.net/docs/w3c-html52-dtd.html and also here
> https://jkorpela.fi/html5-dtd.html ) but couldn't make it work, and also was
> not convinced it is the better approach.
> 
> I've tried to look at what w3c validator uses and they use Nu.checker:
> 
> https://validator.w3.org/nu/about.html
> https://github.com/validator/validator/releases/latest
> 
> But I'm not sure if this is packaged in Debian in any of its flavours.
> 
> I have searched https://packages.debian.org/search?keywords=html5 but none of
> the results looks like a commandline tool that we could call instead of
> onsgmls
> 
> So I don't know what to do at this point.
> 
> In my local machine, I have downloaded the vnu.jar file from the latest Nu
> checker release " and tried to validate files and it works. But I don't know
> if asking DSA to install openjdk in www-master and include a copy of vnu.jar
> in our cron scripts is good and/or elegant.
> 
> Opinions, advice and patches are very welcome.
> 
> Meanwhile, I guess we can modify 99Xvalidate to add file exclusions, and
> exclude, for now, /index.*.html and later the few other files we have with
> html5 tags for now. I don't know how to exclude the index.*.html files on top
> folder only and not in subfolders but I guess playing with find -wholename
> and prune will do the treak (if you know, please go ahead).
> 
> Kind regards,

Perhaps my vnu wrapper will prove of use:

* https://github.com/shlomif/python-vnu_validator

* https://pypi.org/project/vnu-validator/

*
https://github.com/shlomif/shlomi-fish-homepage/blob/master/Tests/validate-html-using-vnu.py
 

-- 

Shlomi Fish   https://www.shlomifish.org/
What Makes Software Apps High Quality -  https://shlom.in/sw-quality

 Underscores are the most nutritious punctuation. But you also need
to eat letters, digits and whitespace for a balanced diet.
— https://is.gd/pHLcFq

Please reply to list if it's a mailing list post - https://shlom.in/reply .



Bug#998684: RFS: rinutils 0.10.0-1 [ITP] - a C headers library used by Shlomi Fish's projects

2021-11-06 Thread Shlomi Fish
Control: tags 998684 - moreinfo

Thanks, Bastian! changelog should be fixed now.



Bug#998684: RFS: rinutils 0.10.0-1 [ITP] - a C headers library used by Shlomi Fish's projects

2021-11-06 Thread Shlomi Fish
Package: sponsorship-requests
Severity: normal

Dear mentors,

I am looking for a sponsor for my package "rinutils":

 * Package name: rinutils
   Version : 0.10.0-1
   Upstream Author : Shlomi Fish 
 * URL : https://github.com/shlomif/rinutils/
 * License : Expat
 * Vcs : https://salsa.debian.org/shlomif-guest/rinutils
   Section : Library development

It builds those binary packages:

  librinutils-dev - a C headers library used by Shlomi Fish's projects

To access further information about this package, please visit the
following URL:

  https://salsa.debian.org/shlomif-guest/rinutils

For reference:

* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993764

* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995695

Regards,

--
Shlomi Fish https://www.shlomifish.org/

Chuck Norris was challenged to fight the world, and accepted. He bet
on himself, won, and collected the bet money.

Please reply to list if it's a mailing list post - http://shlom.in/reply .



Bug#993764: RFS: rinutils 0.10.0-0.1 [NMU] - a C headers library used by Shlomi Fish's projects

2021-10-04 Thread Shlomi Fish
On Fri, 1 Oct 2021 12:46:26 +0200 Bastian Germann  wrote:
> Control: retitle -1 RFS: rinutils 0.10.0-0.1 [ITP] - a C headers library
> Control: tags -1 moreinfo
> 
> On Mon, 6 Sep 2021 11:56:11 +0300 Shlomi Fish  wrote:
> > Package: sponsorship-requests
> > Severity: normal
> > 
> > Dear mentors,
> > 
> > I am looking for a sponsor for my package "rinutils":
> > 
> >  * Package name: rinutils
> >Version : 0.10.0-0.1
> >Upstream Author : Shlomi Fish 
> >  * URL : https://github.com/shlomif/rinutils/
> >  * License : Expat
> >  * Vcs : https://salsa.debian.org/shlomif-guest/rinutils
> >Section : Library development
> > 
> > It builds those binary packages:
> > 
> >   librinutils-dev - a C headers library used by Shlomi Fish's projects
> > 
> > To access further information about this package, please visit the
> > following URL:
> > 
> >   https://salsa.debian.org/shlomif-guest/rinutils
> > 
> > Regards,
> > 
> > -- 
> > Shlomi Fish https://www.shlomifish.org/
> > 
> > Chuck Norris was challenged to fight the world, and accepted. He bet
> > on himself, won, and collected the bet money.
> > 
> > Please reply to list if it's a mailing list post - http://shlom.in/reply .
> 
> This is not an NMU because this software is non-existing in Debian.
> Please file an ITP for it. 

Thanks, seems better now after your change.

> Can you please explain how you plan to use this 
> package for other packages? In and of itself I do not find it very useful as 
> there are similar, more standard packages already in Debian like gnulib.

I "#include" headers from it in some of my C projects, e.g:

```
shlomif[fcs]:$trunk/fc-solve/source$ ack --sort --cc rinutils | head -10
board_gen/find_deal.c:8:#include 
board_gen/make_multi_boards.c:13:#include "rinutils/rinutils.h"
cl_callback_range.h:11:#include "rinutils/rinutils.h"
dbm_hashtable.h:17:#include "rinutils/rinutils.h"
dbm_move_to_string.h:11:#include "rinutils/rinutils.h"
dbm_procs.h:15:#include "rinutils/portable_time.h"
dbm_procs.h:215:const_AUTO(mytime, rinutils_get_time());
delta_states.h:17:#include "rinutils/bit_rw.h"
delta_states_test_common.h:10:#include "rinutils/rin_cmocka.h"
fc_pro_iface.c:10:#include "rinutils/rinutils.h"
shlomif[fcs]:$trunk/fc-solve/source$ 

shlomif[fortune]:$trunk/fortune-mod$ ack --sort --cc rinutils | head -10
util/fortune-mod-common.h:67:#include 
util/fortune-mod-common.h:68:#include 
```

I was told debian policy didn't approve of using bundled copies in the source
(see e.g. this thread:
https://lists.debian.org/debian-devel-games/2020/03/msg3.html ). gnulib is
GPLed, large, and intended to be embedded piecemeal in GNU projects. There may
be better libraries for my use case, but I extracted lib-rinutils for my
specific needs.

-- 

Shlomi Fish   https://www.shlomifish.org/

Give me ASCII or give me deaþ!
— https://www.shlomifish.org/humour.html



Bug#993764:

2021-09-17 Thread Shlomi Fish
Hi,

Also see 
https://github.com/shlomif/fortune-mod/blob/master/scripts/debian-packaging/build-rinutils-debian-package--using-docker.pl
for a build-in-docker program.



Bug#993764: RFS: rinutils 0.10.0-0.1 [NMU] - a C headers library used by Shlomi Fish's projects

2021-09-06 Thread Shlomi Fish
Package: sponsorship-requests
Severity: normal

Dear mentors,

I am looking for a sponsor for my package "rinutils":

 * Package name: rinutils
   Version : 0.10.0-0.1
   Upstream Author : Shlomi Fish 
 * URL : https://github.com/shlomif/rinutils/
 * License : Expat
 * Vcs : https://salsa.debian.org/shlomif-guest/rinutils
   Section : Library development

It builds those binary packages:

  librinutils-dev - a C headers library used by Shlomi Fish's projects

To access further information about this package, please visit the
following URL:

  https://salsa.debian.org/shlomif-guest/rinutils

Regards,

-- 
Shlomi Fish https://www.shlomifish.org/

Chuck Norris was challenged to fight the world, and accepted. He bet
on himself, won, and collected the bet money.

Please reply to list if it's a mailing list post - http://shlom.in/reply .



Bug#992996: dbtoepub creates temporary directories unsecurely and unreliably

2021-08-25 Thread Shlomi Fish
Package: dbtoepub
Version: 0+svn9904-4

Hi all! This security/reliability patch is not present in Debian
stable's dbtoepub:

https://github.com/docbook/xslt10-stylesheets/commit/10c1f2e3a565c4799ec1106784c76f6cd7f2f2ea

As a result, my home site's `*.epub`s have been building unreliably.

-- 
Shlomi Fish https://www.shlomifish.org/

Chuck Norris was challenged to fight the world, and accepted. He bet
on himself, won, and collected the bet money.

Please reply to list if it's a mailing list post - http://shlom.in/reply .



Bug#953574: Updating the freecell-solver debian package

2020-11-19 Thread Shlomi Fish
On Sun, Mar 15, 2020 at 7:01 PM Shlomi Fish  wrote:
>
> Hi Gergely !
>
> There is now an ITP here: 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953574 .
>

Hi Gergely!

Ping! Can the python-pysol_cards package be sponsored by you?

I'd like to get the new freecell-solver release (
https://github.com/shlomif/fc-solve/releases/tag/freecell-solver-6.2.0
) packaged in debian before the https://wiki.debian.org/DebianBullseye
freeze. Also note that my mother said once that "The lazy man ends up
working twice as hard.". investing the time to do something as best as
possible at first often ends up saving time later. (Sorry if I'm being
too preachy.)

> On Thu, Mar 12, 2020 at 3:03 PM Shlomi Fish  wrote:
>>
>> Hi Gergely!
>>
>> There is now https://salsa.debian.org/jnumm-guest/python-pysol-cards by 
>> jnumm. It seems to work fine from my testing.
>>
>> On Sat, Mar 7, 2020 at 12:41 PM Shlomi Fish  wrote:
>>>
>>> Hi Gergely!
>>>
>>> You're welcome. I'll ping you when it's done.
>>>
>>> On Sat, Mar 7, 2020 at 12:18 PM Gergely Risko  wrote:
>>>>
>>>> Hey Shlomi,
>>>>
>>>> Thanks for creating the issue, please ping me as soon as you have this
>>>> in Debian!
>>>>
>>>> Cheers,
>>>> Gergely
>>>>
>>>> On 2020-03-06 21:54 (Friday), Shlomi Fish  writes:
>>>> > Hi Gergely!
>>>> >
>>>> > On Fri, Mar 6, 2020 at 5:25 PM Gergely Risko  wrote:
>>>> >
>>>> >> Hello,
>>>> >>
>>>> >> This is today's new dependency:
>>>> >>
>>>> >> -- Check size of void* - done
>>>> >> Traceback (most recent call last):
>>>> >>   File "", line 1, in 
>>>> >> ModuleNotFoundError: No module named 'pysol_cards'
>>>> >> CMake Error at CMakeLists.txt:995 (MESSAGE):
>>>> >>   Could not find the python3's pysol_cards module - please install it.
>>>> >>
>>>> >>
>>>> >> -- Configuring incomplete, errors occurred!
>>>> >>
>>>> >> Any idea if we have this in debian?
>>>> >>
>>>> >>
>>>> > See https://github.com/shlomif/PySolFC/issues/155 - I could not find it 
>>>> > in
>>>> > https://packages.debian.org/search?keywords=pysol=names=unstable=all
>>>> > .
>>>> >
>>>> > Thanks!
>>>> >
>>>> > Cheers,
>>>> >> Gergely
>>>> >>
>>>> >> On 2020-03-05 10:14 (Thursday), Shlomi Fish  writes:
>>>> >> > Hi Gergely!
>>>> >> >


-- 
Shlomi Fish https://www.shlomifish.org/

Buddha has the Chuck Norris nature.

Please reply to list if it's a mailing list post - http://shlom.in/reply .



Bug#953249: There is now fortune-mod release 3.4.1 + Debian Bullseye Freeze

2020-11-16 Thread Shlomi Fish
Hi!

I'd like to get the new fortune-mod packaged and uploaded before the
https://wiki.debian.org/DebianBullseye freeze. How can we speed this
up?


-- 
Shlomi Fish

Buddha has the Chuck Norris nature.



Bug#969553: urlcheck.py script tries to parse compressed GIMP image files

2020-09-05 Thread Shlomi Fish
Hi Laura!

I've written the attached patch (untested).

I'm placing my changes under the following Licence:

https://github.com/shlomif/shlomif-computer-settings/blob/master/shlomif-settings/git/commit-messages/cc0-copyright-disclaimer.txt

Note that the program is still python 2.x which was EOLed. It should be updated
to python 3.x.

On Fri, 4 Sep 2020 21:41:40 +0200 Laura Arjona Reina  wrote:

> Package: www.debian.org
> User: www.debian@packages.debian.org
> Usertag: scripts
> Severity: normal
> 
> Hi
> 
> the scripts "urlcheck" generate this log in the /logos folder:
> 
> Looking into http://www.debian.org/logos/openlogo.xcf.gz
>   Error reading page: http://www.debian.org/logos/openlogo.xcf.gz
> Looking into http://www.debian.org/logos/officiallogo.xcf.gz
>   Error reading page: http://www.debian.org/logos/officiallogo.xcf.gz
> Looking into http://www.debian.org/logos/officiallogo-nd.xcf.gz
>   Error reading page: http://www.debian.org/logos/officiallogo-nd.xcf.gz
> 
> I guess this means it tries to parse the xcf.gz files and probably we
> need to update the script to skip such files (compressed images).
> 
> Anybody familiarised with Python, who can help?
> 
> The code of the script is here:
> 
> https://salsa.debian.org/webmaster-team/cron/-/tree/master/urlcheck
> 
> (I guess the main script, urlcheck.py, is where maybe the fix should be
> made).
> 
> The script is called by 3 cron jobs:
> 
> 17  3 * * * cd /srv/www.debian.org/cron/urlcheck && ./run.urlcheck
> 36 12 * * * cd /srv/www.debian.org/cron/urlcheck &&
> ./make.bad_link.pages
> 5  13 * * * cd /srv/www.debian.org/cron/urlcheck && ./cleanup.logs
> 
> and the daily logs are here:
> https://www-master.debian.org/build-logs/urlcheck/
> (check logos folder).
> 
> Kind regards



-- 

Shlomi Fish   https://www.shlomifish.org/
UNIX Fortune Cookies - https://www.shlomifish.org/humour/fortunes/

The cake was not a lie for Chuck Norris.
— https://www.shlomifish.org/humour/bits/facts/Chuck-Norris/

Please reply to list if it's a mailing list post - https://shlom.in/reply .
diff --git a/urlcheck/run.urlcheck b/urlcheck/run.urlcheck
index b532eac..4f5749b 100755
--- a/urlcheck/run.urlcheck
+++ b/urlcheck/run.urlcheck
@@ -7,6 +7,7 @@ date=`date +%Y%m%d`
 	--ignore debian.org/fom --ignore /releases/ --ignore /international/ --ignore /security/ \
 	--ignore /devel/ --ignore /News/ --ignore /doc/ --ignore /distrib/ \
--ignore /ports/ --ignore /intl/ \
+   --ignore '\.xcf\.(?:bz2|gz|xz)$' \
 	http://www.debian.org/ >& logs/web.$date &
 ./urlcheck.py --require www.debian.org/international http://www.debian.org/international/ \
 	>& logs/web.$date.intl &
diff --git a/urlcheck/urlcheck.py b/urlcheck/urlcheck.py
index a5c3909..e60aa78 100755
--- a/urlcheck/urlcheck.py
+++ b/urlcheck/urlcheck.py
@@ -229,6 +229,7 @@ def append_from(path, list):
 		print "Can't open " + path
 		sys.exit(1)
 
+ignore.append('\\.xcf\\.(?:bz2|gz|xz)$')
 options, args = getopt.getopt(sys.argv[1:], "", ["require=", "ignore=", "requirefrom=", "ignorefrom=", "non-compliant", "non-compliant-from="])
 for option in options:
 	if option[0] == '--require':


Bug#953574: Can version 0.10.1 be packaged already?

2020-08-11 Thread Shlomi Fish
Hi!

See https://pypi.org/project/pysol-cards/ . It also blocks
freecell-solver's update to 6.0.1. Does anyone wish to assume
responsibility? See the  explanation of "Rosh Gadol" here:
https://www.joelonsoftware.com/2004/12/06/news-45/ .

-- 
Shlomi Fish https://www.shlomifish.org/

Buddha has the Chuck Norris nature.

Please reply to list if it's a mailing list post - http://shlom.in/reply .


Bug#963739: RFP: rshasum -- Recursive digest calculator

2020-06-26 Thread Shlomi Fish
Package: wnpp
Severity: wishlist

* Package name: rshasum
  Version : 0.6.1
  Upstream Author : Shlomi Fish 
* URL : https://metacpan.org/release/App-rshasum
* License : Expat/MIT
  Programming Lang: Perl
  Description : Recursive digest calculator

A recursive digest calculator that prints digests for all files in a
directory tree, as well as a total, summary, digest of the output.

Similar packages:

https://github.com/rhash/RHash - "recursive hash". Seems to emit the tree
in an unpredictable, not-always-sorted, order.

https://www.shlomifish.org/open-source/projects/File-Dir-Dumper/ - also on
CPAN, dumps metadata and supports caching the digests.

https://github.com/gokyle/rshasum - written in golang, but slurps entire
files into memory (see https://github.com/gokyle/rshasum/issues/1 ).


-- 
Shlomi Fish https://www.shlomifish.org/

Buddha has the Chuck Norris nature.

Please reply to list if it's a mailing list post - http://shlom.in/reply .


Bug#924172: www.debian.org: differences under english/ between builds in stretch and buster

2020-06-11 Thread Shlomi Fish
Hi Axel!

You can find my attempt to fix the debian build here:

https://www.shlomifish.org/Files/files/code/wml.debian-shlomify-1.diff

The sed addition to debian/rules seems to improve matters, but the restoration
of p9_slice (to fix loading SliceTermParser.pm ) gives dpkg-source a fit. I
really find the debian gbp stuff puzzling.

here is the script i used:

https://www.shlomifish.org/Files/files/text/docker-wml-debian-perl-v0.1.0.txt

On Thu, 11 Jun 2020 17:00:42 +0200
Axel Beckert  wrote:

> Hi Shlomi,
> 
> [taking Cyril and Laura out of the loop]
> 
> Shlomi Fish wrote:
> > > IIRC I had test suite failures. Need to check 2.28 again. (And yes, I
> > > know, I haven't filed an upstream bug report yet — still haven't
> > > figured out what exactly is the cause for the failures.)  
> > 
> > Ah - thanks for the update. I guess I can try building the package
> > myself in a VM/container. For the record, the build and tests pass
> > fine in travis-ci/ubuntu bionic , locally on fedora and mageia, on
> > the mageia build system, and on appveyor/mswin10/cygwin .  
> 
> Yeah, another reason for not having it reported upstream is that I'm
> not yet sure if one of the Debian patches is the culprit.

It seems like this is the case.

> 
> Regarding Travis CI: IMHO its value is quite limited by the fact that
> Travis is nearly always two or more years behind the latest Ubuntu LTS
> release. (Actually I'm kinda surprised that they in the meanwhile
> managed to support 18.04. The last time I looked (IIRC a few months
> ago around the 20.04 release) they were still on 16.04.
> 

Yes, you can run docker containers in travis.

> > > Will do — as soon I get it building again.  
> > 
> > I'll try to help.  
> 
> Appreciated, but I would kinda feel bad in case one of the Debian
> patches will be identified as the culprit and someone else had to do
> my work. :-)

No worries.

> 
> > > > Converting some of my sites away from wml has shortened their
> > > > build times considerably.  
> > > 
> > > But are they as flexible as before while still being statically
> > > compiled? I doubt.  
> > 
> > They are still "statically compiled" (or generated:
> > https://github.com/shlomif/shlomif-tech-diary/blob/master/static-site-generators--despair.md
> > ), and I verified that they generated the same output before and
> > after using "diff -u -r", html-minifier and other tools. Template
> > Toolkit is fairly flexible [...]  
> 
> Ah, TT. Oh well, from my point of view, TT always felt too generic to
> me. I had the feeling that I'd have to write a lot of the
> infrastructure for static compiling that WML already offers (mainly
> wmk, but also some of the passes like splice), myself. So I never
> considered it to be a WML replacement but rather something that is on
> the same level as e.g. Embperl.)
>

Perhaps.
 
>   Regards, Axel



-- 

Shlomi Fish   https://www.shlomifish.org/
UNIX Fortune Cookies - https://www.shlomifish.org/humour/fortunes/

Fortran - there isn’t a way to do it... oh wait! Now there is.
— https://www.shlomifish.org/humour/ways_to_do_it.html

Please reply to list if it's a mailing list post - https://shlom.in/reply .



Bug#924172: www.debian.org: differences under english/ between builds in stretch and buster

2020-06-11 Thread Shlomi Fish
Hi Axel,

On Thu, 11 Jun 2020 13:51:28 +0200
Axel Beckert  wrote:

> Hi Shlomi,
> 
> Shlomi Fish wrote:
> > 2. The newest release of wml is 2.28.0 (see
> > https://github.com/thewml/website-meta-language/releases )  
> 
> I know.
> 
> > while Debian sid is stuck at 2.12.x (see
> > https://packages.debian.org/sid/wml ).  
> 
> Yes, as I didn't get any newer releases (up to 2.24) to build properly
> anymore. You can see my tries here:
> https://salsa.debian.org/debian/wml/-/tree/2.20.4-pkg-incomplete
> (ignore the version in the branch name, I didn't expect this to last
> several upstream releases).
> 
> IIRC I had test suite failures. Need to check 2.28 again. (And yes, I
> know, I haven't filed an upstream bug report yet — still haven't
> figured out what exactly is the cause for the failures.)
> 

Ah - thanks for the update. I guess I can try building the package myself in a
VM/container. For the record, the build and tests pass fine in travis-ci/ubuntu
bionic , locally on fedora and mageia, on the mageia build system, and on
appveyor/mswin10/cygwin .

> > I'd rather not support such an old release,  
> 
> It's not about Debian Unstable, it's about the WML version in current
> Debian Unstable (which only happens to be the same upstream version as
> in Debian Unstable for the reasons mentioned above) and Debian (well,
> I) will support this until the EoL of Debian 10 Buster.
>

ok.
 
> > so if the new version still exhibits some
> > regressions, please send a failing testcase to
> > https://github.com/thewml/website-meta-language/tree/master/src/wml_test and
> > I'll try to fix it.  
> 
> Will do — as soon I get it building again.
> 

I'll try to help.

> > Converting some of my sites away from wml has shortened their build times
> > considerably.  
> 
> But are they as flexible as before while still being statically
> compiled? I doubt.
> 

They are still "statically compiled" (or generated:
https://github.com/shlomif/shlomif-tech-diary/blob/master/static-site-generators--despair.md
), and I verified that they generated the same output before and after using
"diff -u -r", html-minifier and other tools. Template Toolkit is fairly
flexible and has fewer "WTF?" surprises than wml, as I discovered some
misrendered output during the conversions. There may be some features that only
wml has and TT doesn't, but I think the benefits outweigh the drawbacks.

>   Regards, Axel



-- 

Shlomi Fish   https://www.shlomifish.org/

Objective Visual Turbo Global jIronOpenPerl++.NET™ Enterprise Edition♭
Professional Home Premium Ultimate 64-bit Single-user.
— based on a Freenode #perl conversation ( https://is.gd/cCUBY2 )

Please reply to list if it's a mailing list post - https://shlom.in/reply .



Bug#924172: www.debian.org: differences under english/ between builds in stretch and buster

2020-06-11 Thread Shlomi Fish
vior was the
> path to the input file:
> 
>   $(WML) … index.wml is OK
>   $(WML) … ../english/sitemap.wml is not OK
> 
> because the latter triggers the insertion of `../english/` in lots of
> places (defined with `~` instead of `=`) with 2.12.2, which was not the
> case with 2.0.12.
> 
> 
> Dropping the ../english/ prefix for sitemap.wml leads to a reasonable
> diff for the English sitemap (sitemap.en.html):
> 
> --- stretch.en.html   2020-06-08 00:07:43.916768223 +0200
> +++ buster.en.html2020-06-08 00:07:47.248781809 +0200
> @@ -4,8 +4,8 @@
>
>Site map for Debian web pages 
>mailto:webmas...@debian.org;>
> -  
> -  
> +  
> +  
>
>
>
> @@ -377,7 +377,7 @@
>  
>  Last Modified: Sun, Jun 7 21:49:47 UTC 2020
>  
> -Last Built: Sun, Jun 7 22:07:43 UTC 2020
> +Last Built: Sun, Jun 7 22:07:46 UTC 2020
>
>Copyright  1997-2020
>   https://www.spi-inc.org/;>SPI and others; See  href="./license" rel="copyright">license terms
> 
> Therefore, I suspect we *might* be able to get away with this if we were
> to add a symlink from all language directories, from $LANG/sitemap.wml
> to ../english/sitemap.wml, as a companion change to dropping the
> ../english prefix mentioned above (only tested successfully on English).
> I'll be checking this hypothesis and possibly pushing a branch / opening
> an MR if that works fine.
> 
> I'm sending this mail to reach out to upstream so they can comment on
> whether the change was intentional or an unwanted side effect.
> 
> I might look at the News/RDF thing in the meanwhile.
> 
> 
> > 3. Changes in a log file
> > 
> > Not important (and probably we shouldn't provide the card there, maybe
> > in the debian-flyers repo?)
> > 
> > 4. Changes in ordering of coordinators
> > 5. Changes in ordering under wnpp
> > 6. Changes in order under l10n
> > 8. More ordering changes (architectures, DSAs)
> > 
> > Thanks for reporting, and for the work towards reproducibility.
> > I think these are not blockers for the migration to buster of
> > www-master.debian.org
> > 
> > Maybe we could open a specific bug about these "reproducibility issues"
> > and see if somebody is willing/able to work on it?  
> 
> I'm very fine with such a thing. I just wanted to classify differences
> between stuff that were possibly unimportant and stuff that might need
> fixing.
> 
> 
> Cheers,



-- 

Shlomi Fish   https://www.shlomifish.org/
Understand what Open Source is - https://shlom.in/oss-fs

“God is dead.” — Nietzsche
“Nietzsche is dead.” — God (Unknown Source)

Please reply to list if it's a mailing list post - https://shlom.in/reply .



Bug#953574: Some more relevant links and a ping

2020-04-22 Thread Shlomi Fish
Hi all!

Some more relevant links:

* https://github.com/shlomif/PySolFC/issues/155 - pysol fc ticket

* https://salsa.debian.org/jnumm-guest/python-pysol-cards - Debian Package
Repo on Debian Salsa

* https://pypi.org/project/pysol-cards/ - pypi package

And finally a ping / keepalive for volunteers to handle this request
already.

-- 
Shlomi Fish https://www.shlomifish.org/

Buddha has the Chuck Norris nature.

Please reply to list if it's a mailing list post - http://shlom.in/reply .


Bug#953249: ITS: fortune-mod : update to the new 2.16.0 release

2020-03-07 Thread Shlomi Fish
Hi Mattia!

Thanks for your email. Let me address your questions.

On Fri, Mar 6, 2020 at 10:23 PM Mattia Rizzolo  wrote:

> Hi,
>
> On Fri, Mar 06, 2020 at 03:43:47PM +0200, Shlomi Fish wrote:
> > X-Debbugs-CC: [..], debian-devel-ga...@lists.debian.org
>
> You CCed this list, were you planning on maintaing the package under
> that team.
>
>
I seem to recall fortune-mod being assigned to them, which  is why I CCed
them. But I may be wrong.


> Having said that, with my previous relationship I had with Andrea a few
> years ago (unfortunately I also also haven)t had much contact with him
> for a while), I'd be happy to bless this tackeover and help with
> review/sponsorships (I see you aren't maintaining any other package in
> debian at the moment, so I don't know what other "contact" you might
> have).
>
>
Thanks!


> > I set
> > up a package repo at https://salsa.debian.org/shlomif-guest/fortune-mod
> and
> > intend to keep it up to date.
>
> Since you also CCed the games team I'm unsure of your intentions, but
> I can also create a project under the /debian/ namespace (read more
> about that on
>
> https://wiki.debian.org/Salsa/Doc#Collaborative_Maintenance:_.22Debian.22_group
> )
>
>
Either alternative will be fine by me.


> --
> regards,
> Mattia Rizzolo
>
> GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
> More about me:  https://mapreri.org : :'  :
> Launchpad user: https://launchpad.net/~mapreri  `. `'`
> Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
>


-- 
Shlomi Fish https://www.shlomifish.org/

Buddha has the Chuck Norris nature.

Please reply to list if it's a mailing list post - http://shlom.in/reply .


Bug#953249: ITS: fortune-mod : update to the new 2.16.0 release

2020-03-06 Thread Shlomi Fish
Package: fortune-mod
Version: 1:1.99.1-7
Severity: important
X-Debbugs-CC: m...@qa.debian.org , war...@ubuntu.com ,
debian-devel-ga...@lists.debian.org , Juhani Numminen <
juhaninummin...@gmail.com>

Hi, https://packages.debian.org/en/sid/fortune-mod is currently at version
1.99.1 but the new upstream (= mostly me) at
https://github.com/shlomif/fortune-mod has released version 2.16.0. I set
up a package repo at https://salsa.debian.org/shlomif-guest/fortune-mod and
intend to keep it up to date.


-- 
Shlomi Fish https://www.shlomifish.org/

Buddha has the Chuck Norris nature.

Please reply to list if it's a mailing list post - http://shlom.in/reply .


Bug#928069: wml uses insecure temporary filenames.

2019-04-27 Thread Shlomi Fish
Package: wml
Version: 2.12.2

wml below
https://github.com/thewml/website-meta-language/releases/tag/releases%2Fwml-2.20.4
used insecure temporary filenames (e.g: /tmp/wml.$PROCESS_ID.tmp1 ). This
was hopefully fixed in 2.20.4 and can be patched in earlier versions.

-- 
Shlomi Fish http://www.shlomifish.org/

Buddha has the Chuck Norris nature.

Please reply to list if it's a mailing list post - http://shlom.in/reply .


Bug#900749: [PATCH] Convert to batch in-process processing

2019-04-13 Thread Shlomi Fish
Hi!

This is a preliminary version of the patch I wrote to improve the build
time. It currently only works with english pages and makes use of wml
2.20.3 which isn;t in debian - see
https://github.com/thewml/website-meta-language. Still, it may prove as a
starting point. Licence is expat. I mentioned it on IRC previously.

-- 
Shlomi Fish http://www.shlomifish.org/

Buddha has the Chuck Norris nature.

Please reply to list if it's a mailing list post - http://shlom.in/reply .
From 615ab4e5b9d70d2bdf2c835a64c501667ab10f8b Mon Sep 17 00:00:00 2001
From: Shlomi Fish 
Date: Fri, 12 Apr 2019 21:27:00 +0300
Subject: [PATCH] Implement the multi-wml batch processing script.

This is based on
https://github.com/shlomif/shlomi-fish-homepage/blob/master/bin/render-source.pl
and is hereby placed under the expat licence.

This speeds up the build but may fail with make -j.
---
 Makefile.common   |   4 +-
 english/CD/Makefile   |   6 +-
 english/CD/artwork/Makefile   |   2 +-
 english/CD/faq/Makefile   |   2 +-
 english/CD/http-ftp/Makefile  |   2 +-
 english/CD/jigdo-cd/Makefile  |   2 +-
 english/CD/live/Makefile  |   2 +-
 english/CD/mirroring/Makefile |   2 +-
 english/CD/netinst/Makefile   |   2 +-
 english/CD/releases/Makefile  |   2 +-
 english/CD/torrent-cd/Makefile|   2 +-
 english/News/Make.year|   2 +-
 english/News/press/Makefile   |   4 +-
 english/News/weekly/Makefile  |   2 +-
 english/blends/hamradio/News/2014/Makefile|   2 +-
 english/blends/hamradio/News/2015/Makefile|   2 +-
 english/consultants/Makefile  |   4 +-
 .../devel/debian-nonprofit/News/2003/Makefile |   2 +-
 .../devel/debian-nonprofit/News/2004/Makefile |   2 +-
 english/devel/wnpp/Makefile   |   2 +-
 english/events/1998/Makefile  |   2 +-
 english/events/1999/Makefile  |   2 +-
 english/events/2000/Makefile  |   2 +-
 english/events/2001/Makefile  |   2 +-
 english/events/2002/Makefile  |   2 +-
 english/events/2003/Makefile  |   2 +-
 english/events/2004/Makefile  |   2 +-
 english/events/2005/Makefile  |   2 +-
 english/events/2006/Makefile  |   2 +-
 english/events/2007/Makefile  |   2 +-
 english/events/2008/Makefile  |   2 +-
 english/events/2009/Makefile  |   2 +-
 english/events/2010/Makefile  |   2 +-
 english/events/2011/Makefile  |   2 +-
 english/events/2012/Makefile  |   2 +-
 english/events/2013/Makefile  |   2 +-
 english/lts/security/2014/Makefile|   4 +-
 english/lts/security/2015/Makefile|   4 +-
 english/lts/security/2016/Makefile|   4 +-
 english/lts/security/2017/Makefile|   2 +-
 english/lts/security/2018/Makefile|   2 +-
 english/lts/security/2019/Makefile|   2 +-
 english/lts/security/Makefile |   2 +-
 english/security/1997/Makefile|   4 +-
 english/security/1998/Makefile|   4 +-
 english/security/1999/Makefile|   4 +-
 english/security/2000/Makefile|   4 +-
 english/security/2001/Makefile|   4 +-
 english/security/2002/Makefile|   4 +-
 english/security/2003/Makefile|   4 +-
 english/security/2004/Makefile|   8 +-
 english/security/2005/Makefile|   4 +-
 english/security/2006/Makefile|   4 +-
 english/security/2007/Makefile|   4 +-
 english/security/2008/Makefile|   4 +-
 english/security/2009/Makefile|   4 +-
 english/security/2010/Makefile|   4 +-
 english/security/2011/Makefile|   4 +-
 english/security/2012/Makefile|   4 +-
 english/security/2013/Makefile|   4 +-
 english/security/2014/Makefile|   4 +-
 english/security/2015/Makefile|   4 +-
 english/security/2016/Makefile|   4 +-
 english/security/2017/Makefile|   2 +-
 english/security/2018/Makefile|   2 +-
 english/security/2019/Makefile|   2 +-
 english/security/Makefile |   2 +-
 english/security/key-rollover/Makefile|   4 +-
 english/security/undated/Makefile |   4 +-
 english/users/Makefile|   2 +-
 english/users/com/Makefile|   2 +-
 english/users/edu/Makefile|   2 +-
 english/users/gov/Makefile|   2 +-
 english/users/org/Makefile

Bug#919923: pysolfc should be updated to 2.4.0

2019-01-20 Thread Shlomi Fish
Package: pysolfc
Version: 2.0-4

https://pysolfc.sourceforge.io/ is currently at version 2.4.0 with many
improvements including support for python 3. Please update to the new
version.
Note that here - https://github.com/shlomif/PySolFC/issues/88 - @hlef who
told
us they are a debian dev said he is working on that but then told us he
became
busy.


Bug#916519: wml on Debian should be updated to 2.10.0

2018-12-15 Thread Shlomi Fish
Package: wml
Version: 2.0.12ds1-13

Hi!

See https://github.com/thewml/website-meta-language/releases - there were many
improvements in the new versions including unbundling of a lot of dependencies,
a new build system, better compatibility with cygwin, a Perl 5 API for
repetitively calling the frontend from one process, and many refactorings and
cleanups.

According to https://www.debian.org/devel/website/using_wml it is used to
generate the Debian site. I am the upstream. One can use this mageia package as
a reference for building the new version:

http://svnweb.mageia.org/packages/cauldron/wml/current/

-- 
-
Shlomi Fish   http://www.shlomifish.org/
https://github.com/shlomif/Freenode-programming-channel-FAQ

It’s kinda, sort-of… pretty much… quite… awesome I tell you - awesome!
Got it? It’s kinda awesome!

Please reply to list if it's a mailing list post - http://shlom.in/reply .



Bug#888961: fortune-mod should be upgraded to version 2.2.0

2018-01-31 Thread Shlomi Fish
Package: fortune-mod
Version: 1.99.1-7

I resumed maintenance of fortune-mod here -
http://www.shlomifish.org/open-source/projects/fortune-mod/ - and released v
2.2.0 with many improvements. Please consider upgrading to it. (Note that there
are already Mageia and Fedora Rawhide packages).

-- 
-
Shlomi Fish   http://www.shlomifish.org/
The Case for File Swapping - http://shlom.in/file-swap

Quark: “Too much of a good thing is a bad thing. But only for your customers”.
Rule of acquisition No. 172.
— http://www.shlomifish.org/humour/Star-Trek/We-the-Living-Dead/

Please reply to list if it's a mailing list post - http://shlom.in/reply .



Bug#852295: RFS: freecell-solver/4.8.0-1 NMU

2017-01-25 Thread Shlomi Fish
Hi Gergely,

thanks for your message.

On Tue, 24 Jan 2017 17:45:25 +0100
Gergely Risko <gerg...@risko.hu> wrote:

> Hey Guys,
> 
> Sorry, don't have the time to followup on the whole discussion again.
> 
> As many times I told Shlomi Fish, I'm happy to help with this package,
> but yes, I have a very busy life nowadays and if I miss things, I
> asked to be emailed privately either on ri...@debian.org or
> gerg...@risko.hu.
> 

ah, I didn't recall it. I'll try to keep it in mind from now on.

> If someone tells me what's the current state and if you just need a
> version update ASAP, then I can do this over the weekend.
> 

Thanks!

> Any other bugs to handle that makes this complicated?
> 

None that I am aware of.

-- Shlomi Fish

> Cheers,
> Gergely
> 
> On 2017-01-23 16:12 (Monday), Gianfranco Costamagna
> <locutusofb...@debian.org> writes:
> > Hello
> >  
> >>This makes me angry and disappointed. I reported  
> >  
> >>https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841445 many months ago and
> >>posted "ping replies" and nothing was done to resolve it - either by the
> >>maintainer, who was missing-in-action and not for the first time - or by a
> >>different Debian contributor. And now you tell me that the new release of
> >>Debian will ship an old version of freecell-solver with some documented
> >>crashes and freezes and other bugs.  
> >
> > for sure you should have opened an NMU request months ago, posting your
> > willingness to upload and a deadline to the maintainer.
> >
> > However, the maintainer had already a MIA process, is inactive since 9
> > months, and upstream is asking us to update because of bugs/crashes.
> > Since we can't ignore upstream, I think in this case we should just upload
> > it.
> >
> > (the changes looks fine, but something needs adjustememnt)
> > 1) the library is public, and maybe the ABI changed but there are no
> > reverse-deps, so I don't care too much
> > 2) there is an useless "debhelper," dependency in control file
> >
> > 3) kaz_tree.c and +kaz_tree.h are not reflected in debian/copyright
> >
> > the packaging looks complicate, but we can't fix this in an NMU :)
> >
> > I'm going to open a MIA process right now
> >
> > Andrey, do you agree with me? you started the review, I don't want to steal
> > your package or break rules too much :)
> >
> > Gianfranco  



Bug#852295: RFS: freecell-solver/4.8.0-1 NMU

2017-01-23 Thread Shlomi Fish
On Mon, 23 Jan 2017 19:56:37 +0500
Andrey Rahmatullin  wrote:

> Oh, and as this NMU doesn't deserve a short delay, it will miss stretch
> and so should be uploaded to experimental until the freeze is over, unless
> I'm miscalculating.
> 

This makes me angry and disappointed. I reported
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841445 many months ago and
posted "ping replies" and nothing was done to resolve it - either by the
maintainer, who was missing-in-action and not for the first time - or by a
different Debian contributor. And now you tell me that the new release of
Debian will ship an old version of freecell-solver with some documented crashes
and freezes and other bugs.



Bug#852295: RFS: freecell-solver/4.8.0-1 NMU

2017-01-23 Thread Shlomi Fish
Control: retitle -1 RFS: freecell-solver/4.8.0-0.1 NMU

On Mon, 23 Jan 2017 19:52:06 +0500
Andrey Rahmatullin <w...@debian.org> wrote:

> On Mon, Jan 23, 2017 at 04:44:03PM +0200, Shlomi Fish wrote:
> > should I send a new NMU request based on that or can this ticket be reused
> > for it  as well?  
> You can reuse this RFS ticket for the package you just uploaded, you
> should retitle it though. 

Hopefully done.

> And you still need to follow the NMU procedure,
> including sending the nmudiff to the bug(s) you are closing.
> 

OK, I must have missed that when reading your link about the NMU procedure.
There's too much verbiage there.

Regards,

-- Shlomi



Bug#852295: RFS: freecell-solver/4.8.0-1 NMU

2017-01-23 Thread Shlomi Fish
Hi Andrey,

On Mon, 23 Jan 2017 17:25:11 +0500
Andrey Rahmatullin  wrote:

> Control: tags -1 + moreinfo
> 
> Please read and follow
> https://www.debian.org/doc/manuals/developers-reference/ch05.en.html#nmu
> 
> Your debian/patches/debian-changes is full of conflict markers, this is
> unacceptable and also means you did something wrong.
> 
> B-D changes are not reflected in d/changelog.
> 

thanks for the commentary. I uploaded a 4.8.0-0.1 package with your
recommendations applied there. mentors.debian.net is now giving me this:

<
Hi.

Your upload of the package 'freecell-solver' to mentors.debian.net was
successful. Others can now see it. The URL of your package is:
https://mentors.debian.net/package/freecell-solver

The respective dsc file can be found at:
https://mentors.debian.net/debian/pool/main/f/freecell-solver/freecell-solver_4.8.0-0.1.dsc

If you do not yet have a sponsor for your package you may want to go to
https://mentors.debian.net/sponsors/rfs-howto/freecell-solver
and set the "Seeking a sponsor" option to highlight your package on the
welcome page.

You can also send an RFS (request for sponsorship) to the debian-mentors
mailing list. Your package page will give your suggestions on how to
send that mail.

Good luck in finding a sponsor!

Thanks,
>>

should I send a new NMU request based on that or can this ticket be reused for
it  as well?

-- Shlomi



Bug#852295: RFS: freecell-solver/4.8.0-1 NMU

2017-01-23 Thread Shlomi Fish
Package: sponsorship-requests
  Severity: normal

  Dear mentors,

  I am looking for a sponsor for my package "freecell-solver"

 * Package name: freecell-solver
   Version : 4.8.0-1
   Upstream Author : Shlomi Fish <shlo...@shlomifish.org>
 * URL : http://fc-solve.shlomifish.org/
 * License : Expat
   Section : devel

  It builds those binary packages:

freecell-solver-bin - Library for solving Freecell games
 libfreecell-solver-dev - Library for solving Freecell games (Development files)
 libfreecell-solver0 - Library for solving Freecell games

  To access further information about this package, please visit the following
URL:

  https://mentors.debian.net/package/freecell-solver


  Alternatively, one can download the package with dget using this command:

dget -x
https://mentors.debian.net/debian/pool/main/f/freecell-solver/freecell-solver_4.8.0-1.dsc

  More information about freecell-solver can be obtained from
 http://fc-solve.shlomifish.org/ .

  Changes since the last upload:

  Updated to the new upstream version with several fixes and improvements - see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841445


  Regards,
   Shlomi Fish



Bug#841445: Please update this before the Stretch freeze

2017-01-06 Thread Shlomi Fish
Hi!

Ping! Please update it (already).

Regards,

-- Shlomi Fish



Bug#841445: Even newer 4.6.0 version with more fixes

2016-12-11 Thread Shlomi Fish
Hi!

There's an even newer version - 4.6.0 which among other things, fixes a freeze
on ARM Linux systems (including Debian ARM unstable) with:

«
pi-make-microsoft-freecell-board -t 24 | fc-solve
»

it possibly affects other architectures where "char"s are unsigned by default.
Note that you may need this patch to build it portably:

http://svnweb.mageia.org/packages/cauldron/freecell-solver/current/SOURCES/disable-delta-states-libs.patch?view=log

Can you please try to get it packaged before the Stretch freeze?

Best, -- Shlomi



Bug#841445: freecell-solver version in Sid/etc. is out-of-date

2016-10-20 Thread Shlomi Fish

Package: freecell-solver
Version: 4.2.0-1

Version 4.4.0 of freecell-solver was released a while ago. Please upgrade the
Debian version of it to it. It should be mostly backward compatible, and fixes
some bugs including some crashes.

Regards,

Shlomi Fish (Freecell Solver's maintainer).



Bug#822672: RFS: freecell-solver/4.2.0-0.1 [NMU]

2016-04-29 Thread Shlomi Fish
Hi Paul and everybody,

On Fri, 29 Apr 2016 10:36:23 +0800
Paul Wise <p...@debian.org> wrote:

> On Thu, Apr 28, 2016 at 8:41 PM, Shlomi Fish wrote:
> 
> > I fixed most pep8 warnings there, except for some in the TAP library which
> > was copied from https://github.com/rjbs/pytap .  
> 
> Embedded code copies are discouraged in Debian, could you remove it
> from upstream VCS and tarballs and make it a dependency instead?
> 
> https://wiki.debian.org/EmbeddedCodeCopies
> 

Well, I think the problem I ran into was that there's a lot of other things
called "pyTAP" or something to the effect - see
https://duckduckgo.com/?q=pytap=about and it's hard to know that the one I'm
using is what I need. Perhaps there should be a name/identifier change and a
proper package should be put on PyPI.

Regards,

Shlomi Fish 

-- 
-----
Shlomi Fish   http://www.shlomifish.org/
What Makes Software Apps High Quality -  http://shlom.in/sw-quality

An idealist is one who, on noticing that a rose smells better than a cabbage,
concludes that it is also more nourishing.
— http://en.wikiquote.org/wiki/H._L._Mencken

Please reply to list if it's a mailing list post - http://shlom.in/reply .



Bug#822672: RFS: freecell-solver/4.2.0-0.1 [NMU]

2016-04-28 Thread Shlomi Fish
Hi Markus,

thanks for your comments. See below for my reply.

On Wed, 27 Apr 2016 12:19:58 +0200
Markus Koschany <a...@debian.org> wrote:

> Control: owner -1 !
> 
> Am 26.04.2016 um 12:10 schrieb Shlomi Fish:
> > Package: sponsorship-requests
> > Severity: normal
> > 
> > Dear mentors,
> > 
> > I am looking for a sponsor for my package "freecell-solver"  
> 
> Hi Shlomi,
> 
> First of all thank you for updating freecell-solver. Your effort is much
> appreciated. I intend to sponsor your package and to upload it to the
> DELAYED/10 queue, should there be no reaction from the maintainer within
> the next couple of days.
> 
> In general the changes look good to me but there is one serious issue
> and a couple of smaller, non-intrusive ones which are already present in
> the current package. While we are at it we should fix them.
> 
> You can use Lintian to detect them and by creating the lintianrc file in
> 
> ~/.config/lintian/lintianrc
> 
> with the following content:
> 
> info=yes
> display-info=yes
> display-experimental=yes
> pedantic=yes
> show-overrides=yes
> color=auto
> verbose=yes
> 
> or by looking at this page
> 
> http://mentors.debian.net/package/freecell-solver
> 
> The serious one is the incomplete copyright file:
> 
> The copyright file states that all code is in the public domain. This is
> not correct. There are source files with different license headers, e.g
> 
> Your own code is licensed under the MIT/Expat license.
> 
> board_gen/make_pysol_freecell_board.py (GPL-2+)
> patsolve-shlomif/patsolve/ga/mt19937.c (LGPL)
> 
> 
> Copyright (c) 2002 Tom Holroyd (Expat/MIT License)
> 
> Copyright (C) 2014 insane coder (http://insanecoding.blogspot.com/,
> http://asprintf.insanecoding.org/)
> +
> +Permission to use, copy, modify, and distribute this software for any
> +purpose with or without fee is hereby granted, provided that the above
> +copyright notice and this permission notice appear in all copies.
> +
> +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
> +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
> +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
> +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
> +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
> +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
> +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
> 
> Please update debian/copyright accordingly.
> 
> Optional: You could transform the file to copyright format 1.0.
> 
> https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
> 
> 
> Other issues:
> 
> Only debian/control.in should be modified because the package uses
> DEB_AUTO_UPDATE_DEBIAN_CONTROL from CDBS.
> 
> Dependency on debhelper should be debhelper (>= 9). Please remove the
> duplicate entry debhelper (>= 7) in debian/control and update
> debian/control.in accordingly.
> 
> debian/control.in: Please update the Vcs-fields to use Debian's
> canonical URLs.
> 
> Vcs-Browser:
> https://anonscm.debian.org/cgit/collab-maint/freecell-solver.git
> Vcs-Git: https://anonscm.debian.org/git/collab-maint/freecell-solver.git
> 
> Please install the upstream changelog (NEWS.txt) in debian/rules with
> 
> DEB_INSTALL_CHANGELOGS_ALL := NEWS.txt
> 
> Since you are upstream for freecell-solver please consider to fix the
> following minor issues:
> 
> There is a typo in main.c: explictly => explicitly
> 

Fixed in the git master.

> Please consider to write a man page for freecell-solver-config.
> 

Done in the git master, though note that it was superseded by pkg-config.

> There is a spelling error in fc-solve.6 allows to => allows one to.

Fixed in git.

> 
> You could cryptographically sign your package, so that debian/watch can
> verify its integrity.
> 
> https://lintian.debian.org/tags/debian-watch-may-check-gpg-signature.html
> 

I'll consider it.

> You might want to run check-all-the-things on your code. It executes
> different checkers which may help you to improve freecell-solver.
> 

Well, it failed to run due to a missing dep, but I'll try further along.

> e.g.
> 
> pep8 --ignore W191 . (Improvement suggestions how to style your code
> according to pep8)

I fixed most pep8 warnings there, except for some in the TAP library which was
copied from https://github.com/rjbs/pytap .

> 
> find -type f -iname '*.sh' -exec checkbashisms {} +
> 
> There are multiple *.sh files that don't seem to have a #! interpreter line.
> 

Fixed with a test.

> There are mor

Bug#822672: RFS: freecell-solver/4.2.0-0.1 [NMU]

2016-04-27 Thread Shlomi Fish
On Wed, 27 Apr 2016 13:12:34 +0200
Markus Koschany <a...@debian.org> wrote:

> Control: noowner -1 !
> 
> Am 27.04.2016 um 12:44 schrieb Paul Wise:
> > On Wed, Apr 27, 2016 at 6:19 PM, Markus Koschany wrote:
> >   
> >> First of all thank you for updating freecell-solver. Your effort is much
> >> appreciated. I intend to sponsor your package and to upload it to the
> >> DELAYED/10 queue, should there be no reaction from the maintainer within
> >> the next couple of days.  
> > 
> > Please note that the maintainer surfaced in the meantime:
> > 
> > https://lists.debian.org/msgid-search/87a8kfv59x@errge.nilcons.com
> >   
> 
> Thanks for the heads-up. Shlomi, I suggest that you coordinate the
> upload with Gergely now. Gergely, please see
> 
> https://lists.debian.org/debian-mentors/2016/04/msg00600.html
> 
> for my comments on the package available at
> 
> http://mentors.debian.net/package/freecell-solver
> 

Thanks!

Will do. And I appreciate your comments.

Regards,

    Shlomi Fish

> Regards,
> 
> Markus
> 



-- 
-
Shlomi Fish   http://www.shlomifish.org/
“So, who the hell is Qoheleth?” - http://shlom.in/qoheleth

Emma Watson is not acting in films for money. She is acting in films for
a shitload of money.
— http://www.shlomifish.org/humour/bits/facts/Emma-Watson/

Please reply to list if it's a mailing list post - http://shlom.in/reply .



Bug#822672: RFS: freecell-solver/4.2.0-0.1 [NMU]

2016-04-26 Thread Shlomi Fish
Package: sponsorship-requests
Severity: normal

Dear mentors,

I am looking for a sponsor for my package "freecell-solver"

* Package name: freecell-solver
  Version : 4.2.0-0.1
  Upstream Author : Shlomi Fish <shlomif@shlomifish,org>
* URL : http://fc-solve.shlomifish.org/
* License : MIT
  Section : devel

It builds those binary packages:

freecell-solver-bin - Library for solving Freecell games
libfreecell-solver-dev - Library for solving Freecell games (Development files)
libfreecell-solver0 - Library for solving Freecell games

To access further information about this package, please visit the following
URL:

http://mentors.debian.net/package/freecell-solver


Alternatively, one can download the package with dget using this command:

  dget -x
http://mentors.debian.net/debian/pool/main/f/freecell-solver/freecell-solver_4.2.0-0.1.dsc

More information about freecell-solver can be obtained from
http://fc-solve.shlomifish.org/ .

Changes since the last upload:

freecell-solver (4.2.0-0.1) unstable; urgency=low

  * Non-maintainer upload.
  * Imported Upstream version 4.2.0
(closes: #808709)
  * Update debian/watch
  * Update the homepage and the package descriptions.
(closes: #820440)

Regards,
Shlomi Fish



Bug#808709: Planning to do a Non-maintainer Upload for Freecell Solver

2016-04-25 Thread Shlomi Fish
Hi all!

I'm planning to do a non-maintainer upload (NMU) for the freecell-solver
package in Debian given that it was not updated and the bug reports not taken
care of. I'll also try to fix the other bug at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820440 and possibly some
other bugs.

Risko, please shout if you're not missing in action.

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
My Photos - http://www.flickr.com/photos/shlomif/

Chuck Norris has conceived a master plan that does not involve building a time
machine, and if you claim it isn’t good, you’ll be dead.
— http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/

Please reply to list if it's a mailing list post - http://shlom.in/reply .



Bug#820440: freecell-solver 's homepage link is out-of-date

2016-04-08 Thread Shlomi Fish
Package: freecell-solver
Version: 3.26.0-1

Hi,

on https://packages.debian.org/source/sid/freecell-solver the homepage points
to berlios.de which is down, while the new homepage is
http://fc-solve.shlomifish.org/ . Please update it, and also please upgrade
freecell-solver in Sid to version 4.2.0.

Regards,

Shlomi Fish (= the maintainer of Freecell Solver).



Bug#808709: freecell-solver version in Sid/etc. is out-of-date

2015-12-21 Thread Shlomi Fish
Package: freecell-solver
Version: 3.26.0-1

Version 4.0.0 of freecell-solver was released a while ago. You should upgrade
the version in Debian to it.

While you're at it, you may wish to enable the test suite and verify that it
gets passed upon building. You may wish to refer to the Mageia package and
the .travis.yml file over at https://github.com/shlomif/fc-solve for some
dependency details.

Thanks, good luck, and happy holidays,

— Shlomi Fish (= the maintainer of Freecell Solver)



Bug#765336: RFP: black-hole-solver - Solver (C API + CLI program) for Black Hole Solitaire and All in a Row Solitaire

2014-10-14 Thread Shlomi Fish
Package: black-hole-solver
Severity: wishlist

The Black Hole Solitaire Solver -
http://www.shlomifish.org/open-source/projects/black-hole-solitaire-solver/ -
is a solver for Black Hole card Solitaire and All in a Row card Solitaire ,
providing both a C API and a command line application. It can be used, to
solve these games, by this GitHub branch of the PySolFC package:

https://github.com/shlomif/PySolFC/tree/black_hole_solver_integration

( Note that the pristine PySolFC sources and their derived GitHub versions
cannot be run directly on Debian/Ubuntu/etc. because the cardsets exclude the
LICENSE files and the PySolFC package patched downstream to accommodate for
this change. )

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
Rethinking CPAN - http://shlom.in/rethinking-cpan

XSLT is the number one cause of programmers’ suicides since Visual Basic 1.0.
— http://www.shlomifish.org/humour/bits/facts/XSLT/

Please reply to list if it's a mailing list post - http://shlom.in/reply .


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#715914: This bug and similar bugs have been fixed in freecell-solver-3.26.0.

2014-05-20 Thread Shlomi Fish
Hi all,

thanks to the Mayhem team for reporting this problem, but I wasn't notified of
it. I am the upstream maintainer of Freecell Solver and I discovered it
relatively by accident.

Anyway, this is fixed in freecell-solver-3.26.0:

*
http://fc-solve.blogspot.co.il/2014/05/freecell-solver-3260-was-released.html  

*
https://groups.yahoo.com/neo/groups/fc-solve-discuss/conversations/messages/1387

*
https://freecode.com/projects/freecellsolver/releases/363796

I also fixed the other bugs reported by the Mayhem team to the Debian bug
tracker:

* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716097

* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716171

* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716286

And similar bugs in different programs.

Please upgrade the version in Debian Sid to 3.26.0 and you can find the commits
with the fixes in the git repository of Freecell Solver.

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
Chuck Norris/etc. Facts - http://www.shlomifish.org/humour/bits/facts/

Cast your bread upon the waters, for after many days you will find it again.
— Ecclesiastes 1:11

Please reply to list if it's a mailing list post - http://shlom.in/reply .


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#733680: I prepared a fix for it.

2014-01-04 Thread Shlomi Fish
Hi all,

thanks for the investigation - I was wondering why the Spork tests failed. In
any case, I prepared a fix for it at:

https://github.com/ingydotnet/io-all-pm/pull/21

I'm attaching a diff for it.

Just for reference:


shlomif@telaviv1:~/IO-All-0.39$ ls -l ; perl -Ilib -MIO::All -e
'io-file(foobar2)-assert-print(foo)' ; ls -l
total 76
-rw-r--r-- 1 shlomif shlomif  3879 Dec 12  2008 Changes
drwxr-xr-x 3 shlomif shlomif  4096 Dec 12  2008 inc
drwxr-xr-x 3 shlomif shlomif  4096 Dec 12  2008 lib
-rw-r--r-- 1 shlomif shlomif   149 Dec 12  2008 Makefile.PL
-rw-r--r-- 1 shlomif shlomif  1298 Feb  3  2008 MANIFEST
-rw-r--r-- 1 shlomif shlomif   378 Dec 12  2008 META.yml
-rw-r--r-- 1 shlomif shlomif 48721 Dec 12  2008 README
drwxr-xr-x 3 shlomif shlomif  4096 Dec 12  2008 t
Useless use of \E at lib/IO/All.pm line 72.
Useless use of \E at lib/IO/All.pm line 80.
Useless use of \E at lib/IO/All.pm line 81.
Can't open file 'foobar2' for output:
Is a directory at -e line 1.
total 80
-rw-r--r-- 1 shlomif shlomif  3879 Dec 12  2008 Changes
drwxr-xr-x 2 shlomif shlomif  4096 Jan  4 12:10 foobar2
drwxr-xr-x 3 shlomif shlomif  4096 Dec 12  2008 inc
drwxr-xr-x 3 shlomif shlomif  4096 Dec 12  2008 lib
-rw-r--r-- 1 shlomif shlomif   149 Dec 12  2008 Makefile.PL
-rw-r--r-- 1 shlomif shlomif  1298 Feb  3  2008 MANIFEST
-rw-r--r-- 1 shlomif shlomif   378 Dec 12  2008 META.yml
-rw-r--r-- 1 shlomif shlomif 48721 Dec 12  2008 README
drwxr-xr-x 3 shlomif shlomif  4096 Dec 12  2008 t
shlomif@telaviv1:~/IO-All-0.39$ 


It also happens with perl-5.10.1.

To me it seems like a regression in glibc or the kernel.

Best regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
What Makes Software Apps High Quality -  http://shlom.in/sw-quality

In Soviet Russia, superstition believes in you. — Sawyer X

Please reply to list if it's a mailing list post - http://shlom.in/reply .
diff --git a/lib/IO/All.pm b/lib/IO/All.pm
index 6200cbd..b38c6ca 100755
--- a/lib/IO/All.pm
+++ b/lib/IO/All.pm
@@ -771,13 +771,14 @@ sub throw {
 sub assert_dirpath {
 my $self = shift;
 my $dir_name = shift;
-return $dir_name if -d $dir_name or
-  CORE::mkdir($self-pathname, $self-perms || 0755) or
+return $dir_name if ((! CORE::length($dir_name)) or
+  -d $dir_name or
+  CORE::mkdir($dir_name, $self-perms || 0755) or
   do {
   require File::Path;
   File::Path::mkpath($dir_name);
   } or
-  $self-throw(Can't make $dir_name);
+  $self-throw(Can't make $dir_name));
 }
 
 sub assert_open {
diff --git a/t/assert.t b/t/assert.t
index 287afba..b57f669 100644
--- a/t/assert.t
+++ b/t/assert.t
@@ -1,16 +1,37 @@
 use lib 't', 'lib';
 use strict;
 use warnings;
-use Test::More tests = 4;
+use Test::More tests = 8;
 use IO::All;
 use IO_All_Test;
 
+use Cwd qw(getcwd);
+
 ok(not -e o_dir() . '/newpath/hello.txt');
 ok(not -e o_dir() . '/newpath');
+{
 my $io = io(o_dir() . '/newpath/hello.txt')-assert;
 ok(not -e o_dir() . '/newpath');
 Hello\n  $io;
 ok(-f o_dir() . '/newpath/hello.txt');
+}
+
+{
+my $orig_path = getcwd();
+
+chdir(o_dir() . '/newpath');
+# Bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733680
+Hello  io-file('foobar')-assert;
+
+ok( -f 'foobar');
+is( scalar (-s 'foobar'), 5);
+
+12345678  io-file('./1_8')-assert;
+
+ok( -f '1_8', Dot-slash-assert.);
+is( scalar (-s '1_8'), 8, Size is 8.);
 
+chdir($orig_path);
+}
 
 del_output_dir();


Bug#733680: Reproduced on CentOS 6

2014-01-04 Thread Shlomi Fish
OK, I was now able to reproduce this problem on a CentOS 6 VM with perl-5.10.1,
with IO::All 0.39 directory, with kernel 2.6.32 and the glibc that ships with
CentOS 6. So it seems like an old issue unaffected by the kernel and glibc and
which was just uncovered recently.

Regards,

Shlomi Fish


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#730549: perl: Script with Inline fails. OK with perlbrew perl, or on Mageia Cauldron i586

2013-11-26 Thread Shlomi Fish
 08:06 11013723 /usr/lib/i386-linux-
gnu/libasound.so.2.0.0
b71db000-b7247000 r-xp  08:06 11023911 /usr/lib/i386-linux-
gnu/libSDL-1.2.so.0.11.4
b7247000-b7248000 ---p 0006c000 08:06 11023911 /usr/lib/i386-linux-
gnu/libSDL-1.2.so.0.11.4Aborted (core dumped)
[/QUOTE]

The outcome was a crash or the process hanging with 100% CPU, and we expect it
to display the graphical animation of the script.

Regards,

-- Shlomi Fish


*** End of the template - remove these lines ***



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.11-2-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages perl depends on:
ii  libbz2-1.01.0.6-5
ii  libc6 2.17-93
ii  libdb5.1  5.1.29-6
ii  libgdbm3  1.8.3-12
ii  perl-base 5.18.1-4
ii  perl-modules  5.18.1-4
ii  zlib1g1:1.2.8.dfsg-1

Versions of packages perl recommends:
ii  netbase  5.1

Versions of packages perl suggests:
pn  libterm-readline-gnu-perl | libterm-readline-perl-perl  none
ii  make3.81-8.3
ii  perl-doc5.18.1-4



-- 
-
Shlomi Fish   http://www.shlomifish.org/
What Makes Software Apps High Quality -  http://shlom.in/sw-quality

rjbs sub id { my $self = shift; $json_parser_for{ $self }
-decode($json_for{ $self })-{id} } # Inside‐out JSON‐notated objects

Please reply to list if it's a mailing list post - http://shlom.in/reply .


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#684639: (no subject)

2012-08-12 Thread Shlomi Fish
Package: installation-reports

Boot method: CD
Image version: 
http://cdimage.debian.org/cdimage/wheezy_di_beta1/amd64/iso-cd/debian-wheezy-DI-b1-amd64-xfce+lxde-CD-1.iso
Date: 2012-08-12

Machine: Virtual Box VM
Processor: x86-64
Memory: 1 GB of RAM
Partitions: Empty disk

Output of lspci -knn (or lspci -nn):

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [O]
Detect network card:[ ]
Configure network:  [ ]
Detect CD:  [ ]
Load installer modules: [ ]
Detect hard drives: [ ]
Partition hard drives:  [ ]
Install base system:[ ]
Clock/timezone setup:   [ ]
User/password setup:[ ]
Install tasks:  [ ]
Install boot loader:[ ]
Overall install:[ ]

Comments/Problems:

In this Hebrew screen, there are many cut character to the right of the 
וסיסמאות
(= and passwords):

http://i.imgur.com/zkFqO.png

It may need to be משתמשים וסיסמאות (users and passwords) but I cannot make it 
for sure.

Best regards,

Shlomi Fish


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#675262: Freecell Solver's Package In Debian Sid is Out-of-Date

2012-06-12 Thread Shlomi Fish
Hi Gergely,

On Tue, 12 Jun 2012 16:53:11 +0200
Gergely Risko ri...@debian.org wrote:

 Hi,
 
 Sorry for being late on this and thanks for the notice.
 
 If there is another new release in sight soon, then yes, I appreciate if
 you do that before we do the new debian release.
 

thanks for your reply. I guess I'll get to releasing a new fc-solve release, to
reduce the maintenance burden on you. I'll let you know after it is uploaded.

Regards,

Shlomi Fish

 Gergely
 
 On Wed, 30 May 2012 22:21:57 +0300, Shlomi Fish shlo...@shlomifish.org 
 writes:
 
  Package: freecell-solver
  Version: 3.4.0-1
 
  The Freecell Solver package in Debian unstable is out-of-date - it's at 
  3.4.0
  and there's already 3.10.0 , see:
 
  http://fc-solve.shlomifish.org/download.html
 
  Please update it.
 
  I am the maintainer of Freecell Solver, and I could also publish a new 
  3.12.0
  release (with some improvements), based on the current fc-solve master 
  branch,
  just to prevent the extra packaging work. Please let me know if you would be
  interested.
 
  Regards,
 
  -- Shlomi Fish



-- 
-
Shlomi Fish   http://www.shlomifish.org/
First stop for Perl beginners - http://perl-begin.org/

He who reinvents the wheel will likely design a square wheel and spend a year
trying to figure out why it doesn’t work properly. 
— Nadav Har’El

Please reply to list if it's a mailing list post - http://shlom.in/reply .



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#675262: New Freecell Solver - 3.12.0.

2012-06-12 Thread Shlomi Fish
Hi Risko,

the new Freecell Solver is now available here:

http://fc-solve.shlomifish.org/download.html

Its version is 3.12.0 and it is a .tar.bz2 . Here is its SHA-256SUM:

6396d7549450d15b09fa892947d8bcc87285f2b8fe9d4fd3203099944ce92d08  
freecell-solver-3.12.0.tar.bz2

Here is the NEWS.txt / NEWS.html file:

* http://fc-solve.shlomifish.org/docs/distro/NEWS.html

You can now safely package it.

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
My Favourite FOSS - http://www.shlomifish.org/open-source/favourite/

Larry Wall can program in his sleep.

Please reply to list if it's a mailing list post - http://shlom.in/reply .



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#675262: Freecell Solver's Package In Debian Sid is Out-of-Date

2012-05-30 Thread Shlomi Fish
Package: freecell-solver
Version: 3.4.0-1

The Freecell Solver package in Debian unstable is out-of-date - it's at 3.4.0
and there's already 3.10.0 , see:

http://fc-solve.shlomifish.org/download.html

Please update it.

I am the maintainer of Freecell Solver, and I could also publish a new 3.12.0
release (with some improvements), based on the current fc-solve master branch,
just to prevent the extra packaging work. Please let me know if you would be
interested.

Regards,

-- Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
What Makes Software Apps High Quality -  http://shlom.in/sw-quality

Wikipedia has a page about everything including the
http://en.wikipedia.org/wiki/Kitchen_sink .

Please reply to list if it's a mailing list post - http://shlom.in/reply .



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#589387: Please deal with this bug.

2010-12-26 Thread Shlomi Fish
Can this bug be dealt with already? I've lost patience.

Regards,

-- Shlomi Fish




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#589387: freecell-solver: Freecell Solver in Debian is Horribly Out-of-date

2010-07-17 Thread Shlomi Fish
Package: freecell-solver
Severity: normal
Tags: upstream


Freecell Solver in Debian Testing and Debian Unstable is horribly
out-of-date: there is already Freecell Solver 3.2.0, where Freecell
Solver 2.x.y has reached 2.42.0.

Please update the package.

Regards,

-- Shlomi Fish

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#510416: Error module

2010-03-17 Thread Shlomi Fish
On Wednesday 17 Mar 2010 08:05:16 Clint Burfoot wrote:
 Hi Shlomi,
 
 I'm writing to you in your capacity as maintainer of the Error CPAN
 module. I'm the maintainer of the Debian package for the module.
 
 I've had a bug report unable to debug code wrapped by try statement
 lodged against the package. Full details of the report are at the link
 below.
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510416
 
 My intuition is that this is a design limitation, not a bug. May I have
 your comment?

Yes it, is. Using this program:

SNIP
#!/usr/bin/perl

use strict;
use warnings;

use Error qw(:try);

try {
my $x = 5;
my $y = 6;
print $x*$y ==  , $x*$y, \n;
$x += $y;
$y++;
}
except {
my $E = shift;
print Got $E\n;
};

SNIP

I can debug it by putting a break on the line number of my $x = 5; (using b  
9) and it seems to work fine. Otherwise, I should note that we no longer 
recommend people to use Error.pm, due to the black magical nature of its 
syntactic sugar.

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
What Makes Software Apps High Quality -  http://shlom.in/sw-quality

Deletionists delete Wikipedia articles that they consider lame.
Chuck Norris deletes deletionists whom he considers lame.

Please reply to list if it's a mailing list post - http://shlom.in/reply .



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#518440: Freecell Solver Package is Out-of-Date

2009-03-05 Thread Shlomi Fish
Package: libfreecell-solver0
Version: 2.8.10-1

The Freecell Solver packages in Debian are out-of-date. They are only at 
version 2.8.10 while there's already Freecell Solver 2.14.0.

I should note that I switched the build system from the GNU Autotools to 
CMake. You can refer to the RPM .spec file in the package for how to build it.

Let me know if you need any help.

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
Interview with Ben Collins-Sussman - http://xrl.us/bjn8s

maukeI'm not interested in what you're doing; what are you trying to 
   achieve?
PerlJam  mauke: I'm trying to achieve world peace and this regex is
   the last thing standing in my way! ;)




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#315304: update-menus miscalculates total_menuentries

2005-06-25 Thread Shlomi Fish
On Tuesday 21 June 2005 22:43, Morten Brix Pedersen wrote:
 tags 315304 +pending
 thanks

 * Shlomi Fish [EMAIL PROTECTED] [2005-06-21 21:18:09]:
  Package: menu
  Version: 2.1.25
 
  Attached is a fix that makes sure total_menuentries is correctly
  calculated. What it does is reset menuentries to 0 upon each directory
  scan, rather than let it accumulate and then add up times and again to
  total_menuentries.
 
  I did not encounter any side-effects other than incorrect reporting in
  the -v output.

 Thank you for the patch. I have committed a slightly modified version of
 your patch to CVS.


You're welcome, and thanks for applying it.

Regards,

Shlomi Fish

 Thanks.

   - Morten.

-- 

-
Shlomi Fish  [EMAIL PROTECTED]
Homepage:http://www.shlomifish.org/

Tcl is LISP on drugs. Using strings instead of S-expressions for closures
is Evil with one of those gigantic E's you can find at the beginning of 
paragraphs.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#315304: update-menus miscalculates total_menuentries

2005-06-21 Thread Shlomi Fish
Package: menu
Version: 2.1.25

Attached is a fix that makes sure total_menuentries is correctly calculated. 
What it does is reset menuentries to 0 upon each directory scan, rather than 
let it accumulate and then add up times and again to total_menuentries.

I did not encounter any side-effects other than incorrect reporting in the -v 
output.

Regards,

Shlomi Fish

-
Shlomi Fish  [EMAIL PROTECTED]
Homepage:http://www.shlomifish.org/

Tcl is LISP on drugs. Using strings instead of S-expressions for closures
is Evil with one of those gigantic E's you can find at the beginning of 
paragraphs.
--- update-menus/update-menus.cc.orig	2005-02-24 18:00:58.0 +0200
+++ update-menus/update-menus.cc	2005-06-21 21:29:32.794726240 +0300
@@ -541,11 +541,14 @@
 /** Read a directory full of menu files */
 void read_menufilesdir(vectorstring menudata)
 {
-  int menuentries = 0;
+  int menuentries;
   for(vectorstring::const_iterator method_i = config.menufilesdir.begin();
   method_i != config.menufilesdir.end();
   ++method_i)
   {
+// menuentries should be initialized to 0 at the beginning of every loop
+// iteration, because otherwise it accumulates
+menuentries = 0;
 string dirname = *method_i;
 config.report(String::compose(_(Reading menu-entry files in %1.), dirname),
 configinfo::report_verbose);