#165 Look at Hugo Modules

Open
opened 2 months ago by jhabdas · 2 comments
jhabdas commented 2 months ago

Introduced in 0.56.x

Introduced in 0.56.x
jhabdas added the
investigation
label 2 months ago
jhabdas added this to the 10.0.0 milestone 2 months ago
jhabdas added a new dependency 2 months ago
jhabdas commented 2 months ago
Owner

Some advantage of Modules are:

  • ability to augment content such as documentation with content as modules are downloaded
  • ability to specify module support levels properly, not just minimum https://gohugo.io/hugo-modules/configuration/
  • cli with proxy support to download modules, though with WireGuard on the host that may not be necessary

Need to look at security. NPM offers SHA hashes in a lock file and so far in the Hugo examples provided in the 0.56 release docs I’m not seeing that.

Also, not very fond of lobbing more files into project outside the central control of a manifest file such as package.json as doing so inhibits maintainability, is less predictable to contributors and increases learning curve.

Some advantage of Modules are: - ability to augment content such as documentation with content as modules are downloaded - ability to specify module support levels properly, not just minimum https://gohugo.io/hugo-modules/configuration/ - cli with proxy support to download modules, though with WireGuard on the host that may not be necessary Need to look at security. NPM offers SHA hashes in a lock file and so far in the Hugo examples provided in the 0.56 release docs I'm not seeing that. Also, not very fond of lobbing more files into project outside the central control of a manifest file such as `package.json` as doing so inhibits maintainability, is less predictable to contributors and increases learning curve.
jhabdas commented 2 months ago
Owner

More on design specs here: https://github.com/golang/go/wiki/Modules. Per Wiki feature officially ships with Go 1.13 so I’m expecting design issues to shake out over the coming weeks so there may be some shifts in the API and/or files required in Hugo as a result.

More on design specs here: https://github.com/golang/go/wiki/Modules. Per Wiki feature officially ships with Go 1.13 so I'm expecting design issues to shake out over the coming weeks so there may be some shifts in the API and/or files required in Hugo as a result.
jhabdas added a new dependency 2 months ago
jhabdas removed this from the 10.0.0 milestone 2 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Loading…
Cancel
Save
There is no content yet.