VisionSystemsInc / VisionSystemsInc/vsi_common

Global local.env files

Open
#274 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
8
Forks
9
Avg merge
36m
Merged PRs (30d)
1

Description

Current every project has an local.env file. But a user cannot have a personal local.env equivalent file that can affect all projects, nor can a computer have a local.env equivalent that would affect every project on there.

Suggested order and names:

  1. /etc/just_local.env or /usr/local/share/just/local.env not sure which is better. The first seems more right
  2. ~/.just_local.env or ~/.config/just/local.env or ~/.local/share/just/local.env not sure which is better. The first two seem more right
  3. {project}/local.env
  4. {project}/{project}.env
  5. /etc/just_local_post.env or /usr/local/share/just/local_post.env not sure which is better
  6. ~/.just_local_post.env or ~/.config/just/local_post.env or ~/.local/share/just/local_post.env not sure which is better
  7. {project}/local_post.env

The order is intentional, so the user can override the system, and the project can override the user/system, and always gets the last call

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the common scripts that currently load each project's local.env file. Review how environment files are discovered and ordered, then determine suitable system and user paths and implement the proposed precedence. Done means system, user, project, and post-environment files are consistently loaded in the stated order across projects.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.