summaryrefslogtreecommitdiff
path: root/share
AgeCommit message (Collapse)Author
2023-05-10man: Fix orgmode option for section idOliver Reiche
2023-04-14just-mr support -D optionKlaus Aehlig
Make just-mr unconditionally support an option -D that collects a configuration overlay and forwards it to the invocation of a just subcommand that supports this option. This syntax-switching facility makes it easy to embedd dynamic parts of the configuration (like the head commit to be part of a version string) as those information can unconditionally be the first argument to just-mr.
2023-04-14just-mr man page: mention mrversion in the synopsisKlaus Aehlig
2023-03-24just install{,-cas}: add --remember optionKlaus Aehlig
... asking just to transfer everyting installed to the local CAS first.
2023-03-24just install-cas: document the --raw-tree option in the man pageKlaus Aehlig
2023-03-23just-mr: Add git binary optionPaul Cristian Sarbu
In the rare cases that we need to shell out to git, let the user configure what binary to use. Option resolves in the same way as the just executable, including allowing it to be set via just-mrrc. Updates all cases of shelling out to git (fetch and commit update). Update just-mr and just-mrrc docs accordingly.
2023-03-22just-mr: support log options in rc fileKlaus Aehlig
2023-03-22just-mrrc: allow setting a default for the launcher the rc fileKlaus Aehlig
2023-03-10just-mr man page: document all exit codesKlaus Aehlig
2023-03-10execution service: implement WaitExecution and ↵Alberto Sartori
google::longrunning::Operations::GetOperation For each action that is executed, an entry is added to a shared thread safe cache. Once the number of operations stored exceeds twice 2^n, where n is given by the option --log-operations-threshold, at most 2^n operations will be removed, in a FIFO scheme.
2023-03-08docs: Add SSL verification options to just-mr section-1 man pagePaul Cristian Sarbu
Two command line arguments added: one to disable SSL verification, the other to override the path to the default system CA certificate bundle.
2023-03-08just-mr: fix options mismatchesPaul Cristian Sarbu
... both with respect to just options and the man page specifications. Option -L of just-mr was reassigned as a short name for --local-launcher, matching its use in just. Its place is now correctly held by the full name option --checkout-locations, as per the section-1 man page.
2023-03-08Fix example just-mrrc in man pageOliver Reiche
2023-03-08docs: Update just-mr section-5 man page with new 'git tree' repository typePaul Cristian Sarbu
2023-03-07Just-mr: Add --local-launcher optionPaul Cristian Sarbu
Also update just-mr section-1 man page
2023-03-07docs: Fix typo in just-mr section-1 man pagePaul Cristian Sarbu
2023-03-02just: make -D options overlayKlaus Aehlig
... instead of only honoring the latest argument. In this way, standard overlays coming from the launcher configuration can be amended in individual invocations.
2023-02-27Logging: Add --log-append clarg to just-mr and enable log forwarding to justPaul Cristian Sarbu
When calling just from just-mr, all logging arguments are forwarded as early arguments. If any log files are provided, an unconditional --log-append is also prepended to ensure the contents of the log files are not overwritten.
2023-02-27Logging: Add --log-append clarg to justPaul Cristian Sarbu
2023-02-23Add a version command for just-mr itselfKlaus Aehlig
Both, just and the launcher just-mr are developped and released together and hence share version numbers. Nevertheless, the tools are used independently. In fact, just-mr has an option to specify the just binary to be used. Hence it is useful that each tool is aware of its own version number. As a launcher, just-mr is supposed to forward all subcommands known to just, hence the just-mr command to show the version information cannot be called "version"; we use "mrversion" instead.
2023-02-22docs: Fix typos in general documentationPaul Cristian Sarbu
2023-02-20Add logging command-line arguments to just-mrSascha Roloff
2023-02-20Add logging command-line arguments to gc subcommandSascha Roloff
2023-02-08bash autocompletion: update completion for gc and executeAlberto Sartori
2023-02-02man: add just execute subcommandAlberto Sartori
2023-01-20Add gc subcommandSascha Roloff
2023-01-18authentication: add TLS and mTLS supportAlberto Sartori
2023-01-10just-import-git: accept config from stdinKlaus Aehlig
... to allow simple chaining of imports.
2022-12-22Add option --dump-export-targetsKlaus Aehlig
... dumping only the configured targets that are export targets. Those targets are of particular interest as those are the targets, as they are the high-level caching points and also often serve as interface between projects.
2022-12-12Just-mr: Fix handling and meaning of --just optionPaul Cristian Sarbu
The value of --just option should be used as-is, as it might be a var in PATH. The `execvp` call will handle this. The Python script and man page have been updated accrodingly.
2022-12-06Fix typos in just(1) man pagePaul Cristian Sarbu
2022-11-30Add script to import a git repos as dependencyKlaus Aehlig
... assuming this repo already uses just and has a multi-repository configuration committed. In the import, transitive dependencies, as well as repositories serving as layers, are taken into account, and "file" repositories are rewritten to be subdirs of the repository imported. The imported repositories are renamed to reflect the repository pulling them in, extending the name appropriately to avoid conflicts. This renaming is reflected in the bindings and layer references of the imported repositories as well. In this simple version, no automatic deduplication of imported repositories to already existing repositories is made, but the user can specify that certain foreign repositories should not be imported and mapped to already present repositories.
2022-11-29bash completion: add copyrightAlberto Sartori
2022-11-29bash autocompletion: implement tab-completion for repo provided viaAlberto Sartori
--main. Note that it works only if repo is a file repository
2022-11-29bash completion: to avoid code duplication, implement tab-completionAlberto Sartori
for just and just-mr within only one file Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com>
2022-11-25bash completion: suppress stderr produced when using -D option...Alberto Sartori
...and while there, avoid a bit of code duplication
2022-11-11Support dumping variables of the analysed targetKlaus Aehlig
Add an option --dump-vars showing the variables of the configuration used (including the use of them being unset). This information can be used, e.g., to export a given target in a maximally flexible way.
2022-11-08Fixes to just-mr repo config man 5Paul Cristian Sarbu
- specify explicitly for archives: for missing 'distfile' we use the basename of 'fetch_url' - specify explicitly that 'subdir' is not a mandatory field
2022-11-07update field names in the man page of just-mr-repository-configAlberto Sartori
2022-10-20share: Provide bash completion for just-mrOliver Reiche
2022-10-20man: Section-5 man page for just-mrrcOliver Reiche
2022-10-20man: Section-1 man page for just-mrPaul Cristian Sarbu
Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com>
2022-10-20man: Update just-mr-repository-config man pageOliver Reiche
2022-10-20man: Update just man pageOliver Reiche
2022-10-04just: Fix version subcommand; Fix just section-1 man pagePaul Cristian Sarbu
The version subcommand now has no expected command line options, as expected. Also the version subcommand was missing from the man page synopsis.
2022-08-31Also track the the dependencies on configured targetsKlaus Aehlig
... to be able to report the respective graph for later analysis by other tools.
2022-07-27man: Update man page on options for describe subcommandOliver Reiche
2022-07-27install-cas now accepts --log-limit and --log-fileAlberto Sartori
2022-07-08In install-cas be more liberal in parsing artifact identifiersKlaus Aehlig
2022-07-06When requesting action input, also provide action informationKlaus Aehlig
Extend the --request-action-input option to also provide command line, environment, etc, of the requested action. As this option is mainly for debugging, having that information available via the analyse subcommand is useful; for build/install that change does not make a difference anyway.