Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documented VPL_FILEBASEURL environment variable does not exist #180

Open
FeldrinH opened this issue Mar 10, 2024 · 1 comment
Open

Documented VPL_FILEBASEURL environment variable does not exist #180

FeldrinH opened this issue Mar 10, 2024 · 1 comment

Comments

@FeldrinH
Copy link
Contributor

According to the documentation, vpl_environment.sh should contain a variable VPL_FILEBASEURL (https://vpl.dis.ulpgc.es/documentation/vpl-3.4.3+/advancedfeatures.html?highlight=VPL_FILEBASEURL#files-included-and-excluded).

As far as I can tell, the latest version of VPL does not include such an environment variable in the file, and there are no references to VPL_FILEBASEURL in the code that would indicate that this environment variable is ever included anywhere.

What is going on here? Is this just a mistake in the documentation? A remnant of some old removed feature?

@jcrodriguez-dis
Copy link
Owner

Dear @FeldrinH,

Thank you for reaching out and highlighting the issue with the VPL_FILEBASEURL environment variable in the documentation for VPL version 3.4.3. After reviewing your query, it appears that the mention of VPL_FILEBASEURL in the documentation indeed pertains to a legacy feature that is no longer supported in the latest version of the Virtual Programming Lab (VPL).

This feature was originally designed to generate links in the evaluation report to facilitate easy access to course files. However, The next documentation update will remove this environment var. I apologize for any confusion and inconvenience this may have caused.

For reference, here is a portion of the comment from the Moodle file.php code related to legacy file access:

/**
 * This script fetches legacy course files in dataroot directory, it is enabled
 * only if course->legacyfiles == 2. DO not link to this file in new code.
 */

Thank you for bringing this to our attention.

Best regards,
Juan Carlos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants