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

Fails to package github.com/charmbracelet/x/ansi #222

Open
mdosch opened this issue Jun 26, 2024 · 1 comment
Open

Comments

@mdosch
Copy link

mdosch commented Jun 26, 2024

Dear maintainer,

I want to package github.com/charmbracelet/x/ansi as it is a dependency of the latest golang-github-charmbracelet-lipgloss, but dh-make-golang does not work for me in that case:

~/build/go/bin/dh-make-golang -type lib github.com/charmbracelet/x/ansi
2024/06/26 21:43:43 Starting "dh-make-golang v0.7.0 linux/amd64"
2024/06/26 21:43:43 Continuing with repository root "github.com/charmbracelet/x" instead of specified import path "github.com/charmbracelet/x/ansi" (repositories are the unit of packaging in Debian)

So it wants to package github.com/charmbracelet/x instead of github.com/charmbracelet/x/ansi, which would probably also be ok but somehow it only adds the source files of github.com/charmbracelet/x/exp:

 ll golang-github-charmbracelet-x
insgesamt 20K
-rw-rw-r-- 1 martin martin 1,1K 26. Jun 21:43 LICENSE
-rw-rw-r-- 1 martin martin 1,7K 26. Jun 21:43 README.md
drwxr-xr-x 4 martin martin 4,0K 26. Jun 21:43 debian
drwxrwxr-x 3 martin martin 4,0K 26. Jun 21:43 exp
-rw-rw-r-- 1 martin martin   28 26. Jun 21:43 go.work
@mdosch
Copy link
Author

mdosch commented Jun 26, 2024

Seems it needed an gbp import-orig --uscan afterwards as the it initially checked out an old version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant