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

feat: Create findExecutable which searches multiple paths for an executable of a particular executable and returns the found path. #4

Open
wants to merge 49 commits into
base: master
Choose a base branch
from

Commits on Aug 4, 2023

  1. chore: Update dependencies

    twpayne committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    10bd1ca View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2023

  1. fix: Improve isExecutable on Windows

    BREAKING CHANGE: `isExecutable` no longer always returns false and tries to determine execution status by file extension
    
    Co-authored-by: Tom Payne <twpayne@gmail.com>
    arran4 and twpayne committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    123c5bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de2f79d View commit details
    Browse the repository at this point in the history
  3. feat: Add isExecutable template function

    arran4 authored and twpayne committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    9d1325b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b19d804 View commit details
    Browse the repository at this point in the history
  5. chore: Update dependencies

    twpayne committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    552d255 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. feat: Create findExecutable which searches multiple paths for an ex…

    …ecutable of a particular name and returns the found path.
    
    As per: twpayne#3141
    arran4 committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    932560b View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

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

Commits on Aug 12, 2023

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

Commits on Aug 13, 2023

  1. feat: Restore --autotemplate flag to add command

    This reverts commit ed0c798.
    twpayne committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    a028598 View commit details
    Browse the repository at this point in the history
  2. chore: Update dependencies

    twpayne committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    187f734 View commit details
    Browse the repository at this point in the history
  3. chore: Build with Go 1.21.0

    twpayne committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    3f636c1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dbc1b4b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    424189b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3c72387 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f0efc5c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    29e8c30 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5e8d2b3 View commit details
    Browse the repository at this point in the history
  10. chore: Reformat long lines

    twpayne committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    ba985c9 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

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

Commits on Aug 16, 2023

  1. feat: Support nushell scripts on Windows

    Sacro authored and twpayne committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    a51179e View commit details
    Browse the repository at this point in the history
  2. feat: Add gitHubReleases and gitHubTags

    Adds a feature requested in discussion twpayne#3161.
    
    - This reworks `gitHubLatestTag` to use `gitHubTags` and share the
      caching between the two functions.
    
    - Pagination for both (both size and page number) is not configurable.
      This will always return the first page of items, where the size of the
      page is the default specified by GitHub. That is currently thirty
      items, but is subject to change.
    halostatue authored and twpayne committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    d00de72 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2023

  1. docs: Linuxbrew -> Homebrew

    [Homebrew on Linux was formerly referred to as Linuxbrew](https://docs.brew.sh/Homebrew-on-Linux). The two projects got merged.
    osalbahr authored and halostatue committed Aug 19, 2023
    Configuration menu
    Copy the full SHA
    166feaf View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Configuration menu
    Copy the full SHA
    7b300e4 View commit details
    Browse the repository at this point in the history
  2. chore: Update dependencies

    twpayne committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    0ce82b3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ba18648 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2023

  1. docs: Add link to article

    twpayne committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    02ffbd7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f6947d3 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. Configuration menu
    Copy the full SHA
    6fa4fe4 View commit details
    Browse the repository at this point in the history
  2. chore: Minor tidy-ups

    twpayne committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    236895f View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. docs: Minor expansion of application order docs

    The discussion in twpayne#3198 suggests some confusion about the order of
    application. This adds a little more context.
    halostatue committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    fe903d4 View commit details
    Browse the repository at this point in the history
  2. feat: Add age command

    twpayne committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    205fd6c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da9f3c6 View commit details
    Browse the repository at this point in the history
  4. feat: add .chezmoi.targetFile template variable

    The test for `.chezmoi.targetFile` is excluded from tests because of the
    difference in path separators.
    
    Resolves twpayne#3203
    halostatue committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    acb8937 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. chore: Update dependencies

    twpayne committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    154e3e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a89e0e0 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. chore(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0

    Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.6.0 to 3.7.0.
    - [Release notes](https://github.com/golangci/golangci-lint-action/releases)
    - [Commits](golangci/golangci-lint-action@639cd34...3a91952)
    
    ---
    updated-dependencies:
    - dependency-name: golangci/golangci-lint-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and twpayne committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    742ff78 View commit details
    Browse the repository at this point in the history
  2. chore(deps): bump actions/checkout from 3.5.3 to 3.6.0

    Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@c85c95e...f43a0e5)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and twpayne committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    264b813 View commit details
    Browse the repository at this point in the history
  3. chore(deps): bump goreleaser/goreleaser-action from 4.3.0 to 4.4.0

    Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 4.3.0 to 4.4.0.
    - [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
    - [Commits](goreleaser/goreleaser-action@336e299...3fa32b8)
    
    ---
    updated-dependencies:
    - dependency-name: goreleaser/goreleaser-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and twpayne committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    779678e View commit details
    Browse the repository at this point in the history
  4. chore(deps): bump actions/setup-go from 4.0.1 to 4.1.0

    Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4.0.1 to 4.1.0.
    - [Release notes](https://github.com/actions/setup-go/releases)
    - [Commits](actions/setup-go@fac708d...93397be)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-go
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and twpayne committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    3b1743c View commit details
    Browse the repository at this point in the history
  5. chore(deps): bump github/codeql-action from 2.21.2 to 2.21.5

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.21.2 to 2.21.5.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@0ba4244...00e563e)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and twpayne committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    9d4cfc0 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2023

  1. Configuration menu
    Copy the full SHA
    40b711d View commit details
    Browse the repository at this point in the history
  2. chore: Update dependencies

    twpayne committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    153ff48 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. Configuration menu
    Copy the full SHA
    46e13ed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b738bd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b2e4bf1 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. docs: Improve developer experience under fish

    The added documentation serves as the rationale for this documentation
    change:
    
    If you use `fish` as your primary shell, you may get warnings from Fish
    during the `.txtar` tests:
    
    ```
    error: can not save history
    warning-path: Unable to locate data directory derived from $HOME: '/home/user/.local/share/fish'.
    warning-path: The error was 'Operation not supported'.
    warning-path: Please set $HOME to a directory where you have write access.
    ```
    
    These can be avoided with by running tests with `SHELL=bash` or
    `SHELL=zsh`:
    
    ```console
    $ SHELL=bash make test
    $ SHELL=zsh make smoketest
    $ SHELL=bash go test ./...
    ```
    
    ---
    
    As a note, I tried to make `make test` re-execute when under `fish`, but
    it requires some GNU make magic that may not work on all systems:
    
    ```Makefile
    .PHONY: test
    test:
    ifeq ($(shell echo $$SHELL | grep -c fish$$),1)
    	SHELL=$(SHELL) $(MAKE) test
    else
    	${GO} test -ldflags="-X github.com/twpayne/chezmoi/v2/internal/chezmoitest.umaskStr=0o022" ./...
    	${GO} test -ldflags="-X github.com/twpayne/chezmoi/v2/internal/chezmoitest.umaskStr=0o002" ./...
    endif
    ```
    
    This can be added to this PR or made as a separate PR, if desired.
    halostatue committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    fe10a69 View commit details
    Browse the repository at this point in the history
  2. chore: Build with Go 1.21.1

    twpayne committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    8cc8a45 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2023

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