-
Notifications
You must be signed in to change notification settings - Fork 365
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
Path rewriting for setenv:
and build-env:
#5636
Commits on Nov 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8fff384 - Browse repository at this point
Copy the full SHA 8fff384View commit details -
types: use a record for env_updates instead of a 4-uple
type env_update = { envu_var : string; envu_op : OpamParserTypes.FullPos.env_update_op_kind; envu_value : string; envu_comment : string option; }
Configuration menu - View commit details
-
Copy full SHA for e32be04 - Browse repository at this point
Copy the full SHA e32be04View commit details -
env update: add a rewrite field.
It contains rewriting rules of the environment variables to update: - not a path, no rewrite - formulaes to resolve to retrieve separator & path format - resolved formulaes, directly separator & path format This commit contains only the addition of the field, it does not performs the rewriting.
Configuration menu - View commit details
-
Copy full SHA for a00725c - Browse repository at this point
Copy the full SHA a00725cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f14a4c3 - Browse repository at this point
Copy the full SHA f14a4c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef4491e - Browse repository at this point
Copy the full SHA ef4491eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b530e3a - Browse repository at this point
Copy the full SHA b530e3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a67734e - Browse repository at this point
Copy the full SHA a67734eView commit details -
file: add opamfile x-env-path-rewrite field handling that specifies r…
…ewriting rules for variables defined in `setenv` and `build-env`. Format is x-env-path-rewrite: [ [ VAR false ] # no a path, no rewrite [ VAR ":" "target" ] # always use ":" and target format [ VAR (":" | ";" { os=win32 }) ("target-quoted" | "target" { os = win32}) ] # On windows use ";" separator and don't quote, otherwise ":" and quote the set/added path if needed. ]
Configuration menu - View commit details
-
Copy full SHA for 35cb872 - Browse repository at this point
Copy the full SHA 35cb872View commit details -
file: environment files now store rewriting rules.
It keeps backward compatibility. Format is then: | VAR OP VALUE | VAR OP VALUE COMMENT | VAR OP VALUE norewrite COMMENT | VAR OP VALUE norewrite | VAR OP VALUE SEPARATOR PATH-FORMAT | VAR OP VALUE SEPARATOR PATH-FORMAT COMMENT
Configuration menu - View commit details
-
Copy full SHA for 0574918 - Browse repository at this point
Copy the full SHA 0574918View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80eedda - Browse repository at this point
Copy the full SHA 80eeddaView commit details -
env: use defined rewriting rules (opam file, environment file, defaul…
…t per variable) to compute environment updates
Configuration menu - View commit details
-
Copy full SHA for 099727f - Browse repository at this point
Copy the full SHA 099727fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e65837 - Browse repository at this point
Copy the full SHA 8e65837View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9015ff - Browse repository at this point
Copy the full SHA a9015ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec03971 - Browse repository at this point
Copy the full SHA ec03971View commit details