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

Add support for git-xargs registered environment variables based on arguments and flags #127

Merged
merged 3 commits into from
Jun 30, 2023

Commits on Jun 28, 2023

  1. Register env vars based on arguments and flags

    Closes gruntwork-io#115
    
    These changes add support for git-xargs registered environment variables
    based on arguments and flags intended for use by the commands and
    scripts called by git-xargs.  These environment variables start with
    `XARGS_` to avoid collision with other use cases and include:
    
    - `XARGS_REPO_NAME`: the name of the repository targeted
    - `XARGS_DRY_RUN`: whether `--dry-run` flag was provided
    
    Additionally, these changes contain a basic test to ensure this feature
    works as expected going forward.
    andyfeller committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    6a5226c View commit details
    Browse the repository at this point in the history
  2. README documentation, repository owner env var

    While updating documentation, I realized that the original intent of
    issue 115 might require the repository owner information as well as the
    repository name.  This expands the initial changes and performs some
    minor refactoring.
    andyfeller committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    3ce6d47 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2023

  1. Configuration menu
    Copy the full SHA
    53c3936 View commit details
    Browse the repository at this point in the history