GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Allow absolute paths to setup folders · Issue #204 · Ladder99/ladder99

Allow absolute paths to setup folders #204

New issue
Copy link
New issue
Copy link
Open
Open
Allow absolute paths to setup folders#204
Copy link
Assignees
bburns
Labels
application:cliAnything related to a specific applicationenhancementNew feature or requestinfrastructureAnything related to the surrounding tools and infrastructure

Description

@bburns
bburns
opened on Dec 16, 2022
Issue body actions

ob: why l99 use requires the config to be under setups/ folder? When I use absolute path to the config folder, it should not prepend setups/ which results in setups//some/absolute/path.

bb: the idea was to just keep all configs in the setups folder - but will add 'allow absolute paths' to the tasklist

Activity

  1. bburns
    self-assigned this
    on Dec 16, 2022
  2. MRIIOT commented on Dec 17, 2022

    @MRIIOT
    MRIIOT
    on Dec 17, 2022
    Contributor
    More actions

    Where do the changes need to happen?

  3. bburns commented on Dec 17, 2022

    @bburns
    bburns
    on Dec 17, 2022
    ContributorAuthor
    More actions

    anywhere the .l99_setup file is referenced - currently it just stores the setup name, eg 'oxbox', not a path

    eg

    https://github.com/Ladder99/ladder99/blob/main/shell/commands/use#L30-L31

    https://github.com/Ladder99/ladder99/blob/main/shell/commands/start#L42-L44

  4. tukusejssirs commented on Dec 17, 2022

    @tukusejssirs
    tukusejssirs
    on Dec 17, 2022
    Contributor
    More actions

    @bburns, how about we check if a particular env var is set? If it is not set, we use $PWD.

    Something like this:

    L99_HOME="${L99_HOME:-$PWD}"
  5. tukusejssirs
    added
    enhancementNew feature or request
    infrastructureAnything related to the surrounding tools and infrastructure
    on Dec 22, 2022
  6. tukusejssirs
    changed the title [-]setup - allow absolute paths to setup folders[/-] [+]Allow absolute paths to setup folders[/+] on Dec 22, 2022
  7. bburns
    added
    application:cliAnything related to a specific application
    on Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @bburns
    bburns

Labels

application:cliAnything related to a specific applicationenhancementNew feature or requestinfrastructureAnything related to the surrounding tools and infrastructure

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402792 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.