Packaging Hugo

  • Open
  • quality assurance status badge
Details
2 participants
  • Marcel van der Boom
  • Ryan Prior
Owner
unassigned
Submitted by
Ryan Prior
Severity
normal
R
R
Ryan Prior wrote on 4 Oct 2020 07:16
(name . Guix Patches)(address . guix-patches@gnu.org)
QdY47KAM8oYSjyvudCiB2LceUBDQ8qxDgE8Rq616CVjkjh8Bo9hmfuN9CtyVDD3utjyzhpqSnOW0rwtP7YW--4afx_QyzE9EsXK4qZkQZLU=@protonmail.com
Hugo is a popular static site generator. I use it for my own website and love that it has great support for authoring web content using Emacs org-mode files. I've been working on packaging it for Guix.

A particularly interesting reason to package Hugo in Guix is that, historically, Hugo has been considered difficult to build with its full set of features and dependencies. That's because, although maybe 98% of Hugo is written in pure Go, its SASS parser is written in C++ and so the full Hugo package requires both Go and C++ toolchains to build. That is widely considered too much work to set up, and so many Hugo hackers only build the part of the app that's pure Go, while the full version is referred to as "hugo-extended" and relatively neglected. Thus, bugs tend to crop up more in that part of the codebase than others.

Of course, I think it would be sweet if you could get a fully working toolchain for Hugo just by typing `git environment hugo`. That's the dream, right?

Hugo has many dependencies so this has ended up being a big project. I'm opening this issue so that I can use it to track progress and provide visibility into the process.

So far I've packaged about 60 dependencies and I expect there may be another 20 to go. My packages so far: https://github.com/ryanprior/guix-packages/blob/master/testing/hugo.scm

Expect more messages in this thread as I start sending series of related patches!
Ryan
Attachment: file
R
R
Ryan Prior wrote on 4 Oct 2020 07:27
Patch series for AWS Go SDK
(name . 43784@debbugs.gnu.org)(address . 43784@debbugs.gnu.org)
xkqHTYaINk5zt2BDdV33zKgaWyDorWpKGIKZE0Jg760btHWVi66T48i7oZBgFYpouYc2G-S8ho4TXJ4BetxaZXLx0xwQumdvVeKxwQSIAZo=@protonmail.com
Packages for the AWS Go SDK and its deps: https://issues.guix.gnu.org/43785
Attachment: file
R
R
Ryan Prior wrote on 11 Oct 2020 18:18
esbuild package
(name . 43784@debbugs.gnu.org)(address . 43784@debbugs.gnu.org)
DL4HLNRUeQlTQdfytqxi-PddH8Xh2aErYjupVf6fxAkABg6sYTk4CRteLtURMxy7LLvGfVDokPY75HPIY1FXRPhVR4UsoJe8m0L8RHYmsR0=@protonmail.com
esbuild and godebug, two more Hugo deps, have packages out: https://issues.guix.gnu.org/43840
Attachment: file
R
R
Ryan Prior wrote on 12 Oct 2020 06:10
golibsass & deps
(name . 43784@debbugs.gnu.org)(address . 43784@debbugs.gnu.org)
yXke9RIdME30Jkz3hBhvppaY9rQLulStFD_HPVHmHDDQS2AEjzr6KfV-1QjBLgaTF4h-aDJlV4ETuIyixRbkkLXgkOYQfC-rLjktPI8UpK8=@protonmail.com
Hugo dependency golibsass and its deps: https://issues.guix.gnu.org/43937
Attachment: file
M
M
Marcel van der Boom wrote on 11 Aug 2022 12:10
Packaging Hugo
(address . 43784@debbugs.gnu.org)
87wnbfay5f.fsf@van-der-boom.nl
Is this still being worked on?
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 43784@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 43784
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch