[rt.cpan.org #61927] $ENV{PAR_GLOBAL_TMPDIR} not used

2021-01-13 Thread Roderich Schupp via RT
Wed Jan 13 05:24:39 2021: Request 61927 was acted upon.
Transaction: Correspondence added by RSCHUPP
   Queue: PAR
 Subject: $ENV{PAR_GLOBAL_TMPDIR} not used
   Broken in: 1.002
Severity: Important
   Owner: Nobody
  Requestors: jf...@cpan.org
  Status: open
 Ticket https://rt.cpan.org/Ticket/Display.html?id=61927 >


Cleaning out old tickets...


[rt.cpan.org #61927] $ENV{PAR_GLOBAL_TMPDIR} not used

2010-10-07 Thread Roderich Schupp via RT
Thu Oct 07 14:41:24 2010: Request 61927 was acted upon.
Transaction: Correspondence added by RSCHUPP
   Queue: PAR
 Subject: $ENV{PAR_GLOBAL_TMPDIR} not used
   Broken in: 1.002
Severity: Important
   Owner: Nobody
  Requestors: jf...@cpan.org
  Status: new
 Ticket URL: https://rt.cpan.org/Ticket/Display.html?id=61927 


On 2010-10-06 06:39:45, JFITZ wrote:
 I wasn't able to get PAR_GLOBAL_TMPDIR to work - the cache was being
 created in /tmp.  Examination of PAR::SetupTemp shows that
 PAR_GLOBAL_TMPDIR is never used (a recursive grep of the distribution
 only finds it in ChangeLog and POD).  PAR_TMPDIR is used:

The mention of PAR_GLOBAL_TMPDIR in the documentation looks like
a holdover from the time before PAR::Packer was split off from PAR.
It _is_ actually used in PAR::Packer. There are references to other
PAR_GLOBAL_* environment variables that are probably also wrong.



[rt.cpan.org #61927] $ENV{PAR_GLOBAL_TMPDIR} not used

2010-10-06 Thread James FitzGibbon via RT
Wed Oct 06 06:39:45 2010: Request 61927 was acted upon.
Transaction: Ticket created by JFITZ
   Queue: PAR
 Subject: $ENV{PAR_GLOBAL_TMPDIR} not used
   Broken in: 1.002
Severity: Important
   Owner: Nobody
  Requestors: jf...@cpan.org
  Status: new
 Ticket URL: https://rt.cpan.org/Ticket/Display.html?id=61927 


The documentation for specifying the tempdir says that the following
environment variables are checked in order:

PAR_GLOBAL_TMPDIR
TMPDIR
TEMPDIR
TEMP
TMP

I wasn't able to get PAR_GLOBAL_TMPDIR to work - the cache was being
created in /tmp.  Examination of PAR::SetupTemp shows that
PAR_GLOBAL_TMPDIR is never used (a recursive grep of the distribution
only finds it in ChangeLog and POD).  PAR_TMPDIR is used:

  foreach my $path (
(map $ENV{$_}, qw( PAR_TMPDIR TMPDIR TEMPDIR TEMP TMP )),
  qw( C:\\TEMP /tmp . )
  ) {

But the documentation says that users should set PAR_GLOBAL_TMPDIR instead.