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

homedir: revamp #304

Merged
merged 1 commit into from
Feb 5, 2022
Merged

homedir: revamp #304

merged 1 commit into from
Feb 5, 2022

Commits on Feb 1, 2022

  1. homedir: revamp

    Back in the day os/user package was relied on libc functions to parse
    /etc/passwd and /etc/group. This was fixed in Go 1.11 by [1] and
    subsequent fixes, so there is no more need to parse /etc/passwd.
    
    This assumes that users know when and how to use osusergo build tag
    (since this is not something very new, most are).
    
    It might make sense to note in the changelog / release notes that the
    static_build tag is no longer supported, and osusergo tag should be
    used instead.
    
    [1] https://go-review.googlesource.com/c/go/+/92456
    
    Updates: da6051a
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    230c6f2 View commit details
    Browse the repository at this point in the history