Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hashicorp/go-getter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0298a22
Choose a base ref
...
head repository: hashicorp/go-getter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 268c11c
Choose a head ref
  • 3 commits
  • 4 files changed
  • 3 contributors

Commits on Apr 22, 2023

  1. Make addAuthFromNetrc ignore ENOTDIR errors

    The function already returns early if the specified 'netrc' configuration points to a non existing file, but currently returns an error if the OS reports ENOTDIR:
    
    This will happen if the $HOME directory of the specified user points to a file instead a directory - something eg. 'void linux' does for user 'nobody':
    
    ```
    $ grep nobody /etc/passwd
    nobody:x:99:99:Unprivileged User:/dev/null:/bin/false
    ```
    
    go-getter then attempts to open `/dev/null/.netrc` which fails with ENOTDIR - something that should just be threated the same way as a non existing file (in this case)
    adrian-bl committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    5ccb39a View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. Merge pull request #433 from adrian-bl/netrc-fix

    Make addAuthFromNetrc ignore ENOTDIR errors
    crw authored Dec 4, 2023
    Configuration menu
    Copy the full SHA
    975961f View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

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