Skip to content

V0.26.1 #80

Merged
merged 3 commits into from
Jan 29, 2020
Merged

V0.26.1 #80

merged 3 commits into from
Jan 29, 2020

Conversation

donald
Copy link
Contributor

@donald donald commented Jan 29, 2020

Minor fixes. Most important, add MXQ_JOB_TMPDIR

It might be usefull for a  script to know, if it has a job-specific
temporary filesystem or not.

If the job was submitted with --tmpdir then set both MXQ_JOB_TMPDIR and
TMPDIR to the path of the temporary space.

If a program is run without --tmpdir or outside of mxqd, then TMPDIR
usually points to some (non-private) temporary space as well, but
MXQ_JOB_TMPDIR will not be set.
If the cgi-scripts was references without path-info e.g.

    http://server/path/script

instead of

    http://server/path/script/

than wrong self-referencing urls are created, because the last path
component is replaces by the module ("/groups","/server" or "/active_jobs").

Reuse existings selfurl() function to generate the self-referencing
urls. This function replaces the path_info, not the last path component.
If no tmpdir was requested, show "-" in the "req.tmpdir" column instead
of "0 GB".
@donald donald merged commit 15a6365 into master Jan 29, 2020
@donald donald deleted the v0.26.1 branch October 28, 2022 14:22
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant