[Debian-science-sagemath] Fwd: sagemath_7.4-1_amd64.changes is NEW

Jerome BENOIT calculus at rezozer.net
Sat Dec 17 15:46:41 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello Ximin,

On 17/12/16 12:32, Ximin Luo wrote:
> Jerome BENOIT:
>> [..]
>> 
>> No need, the ideal wish is already patched. It was patched by the
>> Debian maintainer himself (me): Sorry I forgot this part of the
>> story; and I should document further this feature (I am agree). The
>> concerned patch is d/p/upstream-system_wide.patch [1]. Details can
>> be found in the header of the path. The involved environment
>> variable is SYMPOW_CACHEDIR :
>> 
>> Assuming that the user has a HOME, let launch the sample script:
>> 
>> $ /usr/share/doc/sympow/examples/samples.sh
>> 
>> Data are put in $HOME/.sympow
>> 
>> Now, assuming some /scratch space, let do:
>> 
>> $ mkdir -p /scratch/$USR/sympow $
>> SYMPOW_CACHEDIR=/scratch/$USR/sympow
>> /usr/share/doc/sympow/examples/samples.sh
>> 
>> Now data are put in /scratch/$USR/sympow .
>> 
>> [..]
>> 
>> 
>> At the time of writing the patch, I guessed that HOME does always
>> exist. This is my major mistake.
>> 
>> So, the issue solved.
>> 
>> Having said that, I am on my way to see how I can improve the
>> visibility of this patched material.
>> 
> 
> Ah, yes I didn't notice.
> 
> It would be good if sympow could automatically create SYMPOW_CACHEDIR
> if it doesn't exist. Otherwise, I would have to add this logic to
> Sage, which seems a bit unclean.

I not so sure that it is a good idea to create SYMPOW_CACHEDIR on the fly.
Not that if SYMPOW_CACHEDIR does not exist, an appropraite message is printed.

> 
> It already creates it for the default value ~/.sympow, but not when
> SYMPOW_CACHEDIR is different:

This the historical default. And in GNU/Liunux system, it quite common for
a software to have such a folder (see ssh(1)).

What do you mean by `add this logic to Sage' ?
At running time ? at Building time ?
the upstream software Sage ? the Debian package ?


> 
> # creates ~/.sympow/ automatically $ rm -rf ~/.sympow/ $ sympow 
> sympow 1.023 RELEASE (Debian 1.023-7)  (c) Mark Watkins --- see
> README and COPYING for details ^C 130
> 
> # doesn't create SYMPOW_CACHEDIR=xxx automatically $
> HOME=/sbuild-nonexistent SYMPOW_CACHEDIR=$PWD/sympow sympow sympow
> 1.023 RELEASE (Debian 1.023-7)  (c) Mark Watkins --- see README and
> COPYING for details **ERROR** cache directory
> /home/infinity0/var/lib/sage/sympow does not exist 255 $ mkdir
> sympow $ HOME=/sbuild-nonexistent SYMPOW_CACHEDIR=$PWD/sympow sympow 
> sympow 1.023 RELEASE (Debian 1.023-7)  (c) Mark Watkins --- see
> README and COPYING for details ^C 130

I do not see it as a BUG but as a feature.
I am open to rethink about.

Thanks,
Jerome

> 
> X
> 

- -- 
Jerome BENOIT, Ph.D. | jgmbenoit-at+rezozer*dot_net
http://www.rezozer.net/

- -- 
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calculus@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B
-----BEGIN PGP SIGNATURE-----

iQQcBAEBCgAGBQJYVV3hAAoJED+SGaZ/NsaLP8YgAKwk4Qg0y32bkYS2pJz57Q/B
T+d3na3b8ehc1AZKPa9A+sHarehn6rp++xzN0Aks61ie9UT7pV5vCMUDfX44AOMt
qKHVyHV4uP9JH0ICs41l2pu+bGJoMGAF1i38H/MqynQN/Whu0ct6GCdKvv5VhDjL
N8lUFWgVpW0R5BbAmXJRM5Y8/vTIXGwbvaN6NaUC0l3AFSMhYzgXyPDbv/LL4jHl
cxa125RO4oDwmtJMXZb2sl/YwoCkvubW0a8ILi0CP+Y6E0O48ue2hZn8pqh7jjQU
RbfJw1GmC4m2jTK8HONIIi9fwoor4WEW3F1kbjwzGJ1RbwawyUc3R+lCLzfa7Dwx
tawEBvLraAYcGSW6Muudky6Dl/51RrUTlokTd/csXrqcTmOBVPvjcaESb7GK6m3S
LJJ4IL3FUpRf3Ty9e6P4cOur73RofKuYu8WzcEsE9Jrbsn32eIRO2rI4K04RP5dN
ZfnL6t5OBHLPkr9gwyL/COB5oRGnI+GHiayMs4aWy0g6rWapOwZ9pe5EC9F32Twy
CAemEJzLdY1By8VAS7FUD2l2LcfwgtbhS3h45qN+8omyrwpAW6wK5j8HgefwDVfo
f/LOJ+f1MWQqbXiTEbJc3DPvrTJONzJwEkfKd96FP8R9tlgN4DKilCt24YGU3PCr
rBJNHMcoULgf2yt3emVWQxQ0BgH6nr+gObbvolhDR2mISCdcsOwB1F9HzMcSFLPs
JbEqNztpB1lxwtNrklhtVR+JDe+2GXqiPTdbhEMMRgdwU72w7RJUp7n04sC/pDRN
NyqAigTVaNJMNqG26YQCH0B09Nx/4LjKD4zmPyv6uY6QZK3tZUsKM/5SWidMInG5
dLSGHpU9+BAkwhy3MDl+IaD7dx3CBBZ1QcxT5hHN2gRXp9yb86mfhYbUg/kT04PG
7+AbknIlHlEbMVxbUMcOISKopPjyI55AEKlF+YMBaVri7JDJZmiePvOjvlLbTiQq
bGuVxHVvSzWo36jinBamIiZucYruTtouLy2e+x8lyIjgpHCusP2Mjd7tflcEz/5+
GpgDe5zY3uyFkAGtq22rzQHM1uOZuV2zbBKj6zXi9LMSdd4i8fElOtaLVFft0iIt
tzFGaZERoEz8O7z6R+3wtP4Y9JEMR9u/gbme2wwOIN+onikL8DosDPN9fG2lK4No
GzchGNz2CZjX17pPcek9V21N5xuS1T91ZlayC7IuLq2e9ao1qqTqje7QKQD18gb5
2dOKMJs0iOQwi8neONpGdrPTurnKWzk9wUAR3hppI/hynNad9Wa/BugZ/WeDVPXR
aokbACEoTUB6gADqhaDoz/C71OITPWXD/7WyKzcZptYlpfggy0SK3COoa8FLths=
=xaBG
-----END PGP SIGNATURE-----



More information about the Debian-science-sagemath mailing list