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

debs for hugo extended should use a different package name and conflict #12678

Open
t0xicCode opened this issue Jul 25, 2024 · 1 comment
Open

Comments

@t0xicCode
Copy link

It would be nice if the hugo_extended deb files declared their package name as hugo-extended. The Provides,Conflicts,Replaces relationship would allow it to satisfy and automatically replace the hugo package, while making it clear to the user that the extended version was installed.

nFPM already supports those fields, so they might just need to be added to the hugoreleaser archive plugin.

@bep
Copy link
Member

bep commented Jul 25, 2024

I don't know enough about Deb to tell, but I will take your word that what you propose is a good thing. I assume that after this change, running hugo after installing hugo-extended (and only that Hugo deb) would still point to the correct binary?

As to the nFPM fields, they needs to be added/mapped in the struct here:

https://github.com/gohugoio/hugoreleaser-archive-plugins/blob/3de4b033bb3a80bce9540ea4ba1e89de7cb0a946/deb/main.go#L110

I can certainly do that, but I need some help determining what the values should be here in this project.

@bep bep modified the milestones: v0.130.0, v0.131.0 Jul 30, 2024
@bep bep modified the milestones: v0.131.0, v0.133.0 Aug 9, 2024
@bep bep modified the milestones: v0.133.0, Unscheduled Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants