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

loadup-lfg.sh script to create lfg.sysout - to be installed and run from LFG directory #1960

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fghalasz
Copy link
Member

@fghalasz fghalasz commented Jan 7, 2025

NOTE: This PR is completely independent of the standard medley loadup scripts and any PR related thereof.

This PR contains 2 new files (in the MEDLEYDIR/scripts directory).

The first file loadup-lfg.sh needs to be copied into LFGDIR/scripts. Note that the "Lisp-ish CM here-doc" included in this file needs to updated to account for how LFG is actually loaded. What's there now is just a skeleton for testing.
Also if there are more outputs of the loadup process that need to be preserved, then the line starting with loadup_finish will need to be updated accordingly.

The second file loadup-app-setup.sh is to remain in MELDEYDIR/scripts directory. NOTE: until this PR is integrated AND the file is spread throughout all MEDLEYDIRs used for LFG, you will need to copy this file into MEDLEYDIR/scripts for all MEDLEYDIRs you want to use as a basis for lfg.sysout.

To build a lfg.sysout, run LFGDIR/scripts/loadup-lfg.sh. You will need to specify a MEDLEYDIR to pull full.sysout from (and to host the second aforementioned file). You can specify the MEDLEYDIR either by setting the MEDLEYDIR env variable OR by using the -m <path to medley dir> command-line argument. (Note: -medley and --medley are synonyms for -m.)

By default, LFGDIR is set to the (parent of) the directory that the loadup-lfg script is being executed from. And the loadup build happens in LFGDIR/loadups/build. If the loadup is successful, the lfg.sysout and lfg.dribble files are copied into LFGDIR/loadups.

To change these defaults set the following env variables: LFG_DIR, LFG_WORKDIR and LFG_LOADUPSDIR. Any directories specified in this way must already exist - the script will not create them.

Again all of this does not depend on any of the medley loadup scripts.

…e former is intended to be installed in the LFG directory (in the scripts subfolder). The later is to remain in the medley scripts direcory.
@fghalasz fghalasz added the enhancement New feature or request label Jan 7, 2025
@fghalasz fghalasz requested a review from rmkaplan January 7, 2025 08:00
@fghalasz fghalasz self-assigned this Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant