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

Javabrett config system #1460

Merged
merged 9 commits into from
Aug 17, 2016
Merged

Javabrett config system #1460

merged 9 commits into from
Aug 17, 2016

Commits on Jun 30, 2016

  1. Added System-scoped (git config --system) versions of Find/Set/Unset/…

    …UnsetSection commands. These commands operate on config stored at system scope e.g. /etc/gitconfig.
    javabrett committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    45712c9 View commit details
    Browse the repository at this point in the history
  2. Config attribute operations now auto-elevate to system scope from glo…

    …bal if running as the root user (unless --local is specified), using the new System-level config commands.
    javabrett committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    fb1e26c View commit details
    Browse the repository at this point in the history
  3. Added postinst (git lfs install) and prerm (git lfs uninstall) script…

    …s to Debian deb. These will run as root and so will operate at the new --system scope.
    javabrett committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    7c4db57 View commit details
    Browse the repository at this point in the history
  4. Added rpm %post (git lfs install) and %prerm (git lfs uninstall) scri…

    …pts. These will run as root and so will operate at the new --system scope.
    javabrett committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    82f860a View commit details
    Browse the repository at this point in the history
  5. Added --system option to install command. This option is invoked from…

    … post-install scripts in rpm/deb packages.
    javabrett committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    648d8c7 View commit details
    Browse the repository at this point in the history
  6. Stop SimpleExec swallowing errors. Fixed #1183.

    ExitError conditions now return a plain error with message like:
    
        Error running git [config --system filter.lfs.clean git-lfs clean -- %f]: 'error: could not lock config file /etc/gitconfig: Permission denied' 'exit status 255'
    
    Also:
    
    * Made Set/Unset Config commands return errors when they occur.
    * Made install attribute set fail properly with an error message e.g. if permission-denied.  Previously this failed silently and reported success.
    
    ***NOTE*** this commit contains Go 1.6-specific APIs.  The following commit will remove those, and that following commit can be reverted when Go >= 1.6 is required.
    javabrett committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    7773420 View commit details
    Browse the repository at this point in the history
  7. Removed Go 1.6-specific API changes introduced in the previous commit…

    …. This commit can be reverted as soon as Go >= 1.6 is required.
    
    This commit copies-down some utility methods introduced as part of the API change in Go 1.6.  These changes are convenient to use here, since they auto-truncate stderr error output.
    
    Revert this commit when moving to Go 1.6.
    javabrett committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    d06e97b View commit details
    Browse the repository at this point in the history
  8. Improved error-reporting in ResolveRef. This is required when SimpleE…

    …xec stops swallowing the error return. Related test "ls-files: with zero files".
    javabrett committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    df22c0a View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2016

  1. fix merge conflicts

    technoweenie committed Aug 17, 2016
    1 Configuration menu
    Copy the full SHA
    9dd99c8 View commit details
    Browse the repository at this point in the history