#1135315 ITP: golang-github-anchore-go-homedir -- detecting and expanding the user's home directory (library)

#1135315#5
Date:
2026-05-01 04:26:27 UTC
From:
To:
* Package name    : golang-github-anchore-go-homedir
  Version         : 0.1.0
  Upstream Contact: https://github.com/anchore/go-homedir/issues
* URL             : https://github.com/anchore/go-homedir
* License         : Expat
  Programming Lang: Go
  Description     : detecting and expanding the user's home directory (library)

 This is a Go library for detecting the user's home directory without the use
 of cgo, so the library can be used in cross-compilation environments.

Dependency of syft. Will be maintained in Go team.
This is a fork of mitchellh/go-homedir which is already in Debian, but
there are significant changes to how it works, most importantly two new
functions that, if removed, would not allow syft to build without
patches. It's easier to just package this separately.

#1135315#10
Date:
2026-05-08 04:37:27 UTC
From:
To:
home directory without cgo.
the
environments.

This is a duplicate of #1135315.
Also please check if you can just patch the library to use 
golang-github-mitchellh-go-homedir instead.

#1135315#15
Date:
2026-05-30 23:12:46 UTC
From:
To:
owner 1135315 Rafael Passos <rafael@rcpassos.me>
thanks

Hi Rafael,

I was able to patch the packages that needed anchore/go-homedir and it
meant one less new Debian package, but if you need it then I don't see a
problem, please go ahead.