summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Mooring <joe.mooring@veriphor.com>2023-07-04 09:52:25 -0700
committerJoe Mooring <joe@mooring.com>2023-07-08 09:43:04 -0700
commit70c5e485bb91dfb1f74791f3fb52b1fdebc04ee1 (patch)
tree41496927a19ee0da1837d0135c828b3641be313c
parenta78b17d7f12f527eef98f70488925ef0791c999a (diff)
snap: Update metadata and security.exec.osEnv
See #11217
-rw-r--r--snap/local/logo.pngbin0 -> 73651 bytes
-rw-r--r--snap/snapcraft.yaml39
2 files changed, 28 insertions, 11 deletions
diff --git a/snap/local/logo.png b/snap/local/logo.png
new file mode 100644
index 000000000..76d463600
--- /dev/null
+++ b/snap/local/logo.png
Binary files differ
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index ab3f326aa..7ce58d042 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -1,16 +1,33 @@
name: hugo
-issues: https://github.com/gohugoio/hugo/issues
-source-code: https://github.com/gohugoio/hugo.git
-website: https://gohugo.io/
-summary: Fast and Flexible Static Site Generator
-description: |
- Hugo is a static HTML and CSS website generator written in Go. It is
- optimized for speed, easy use and configurability. Hugo takes a directory
- with content and templates and renders them into a full HTML website.
-license: "Apache-2.0"
base: core20
confinement: strict
adopt-info: hugo
+title: Hugo
+icon: snap/local/logo.png
+summary: Fast and Flexible Static Site Generator
+description: |
+ Hugo is a static site generator written in Go, optimized for speed and
+ designed for flexibility. With its advanced templating system and fast asset
+ pipelines, Hugo renders a complete site in seconds, often less.
+
+ Due to its flexible framework, multilingual support, and powerful taxonomy
+ system, Hugo is widely used to create:
+
+ * Corporate, government, nonprofit, education, news, event, and project sites
+ * Documentation sites
+ * Image portfolios
+ * Landing pages
+ * Business, professional, and personal blogs
+ * Resumes and CVs
+
+ Use Hugo's embedded web server during development to instantly see changes to
+ content, structure, behavior, and presentation. Then deploy the site to your
+ host, or push changes to your Git provider for automated builds and
+ deployment.
+issues: https://github.com/gohugoio/hugo/issues
+license: "Apache-2.0"
+source-code: https://github.com/gohugoio/hugo.git
+website: https://gohugo.io/
package-repositories:
- type: apt
@@ -44,14 +61,14 @@ environment:
# HUGO_SECURITY_EXEC_OSENV
#
# Default value:
- # (?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+)$
+ # (?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|(XDG_CONFIG_)?HOME|USERPROFILE|SSH_AUTH_SOCK|DISPLAY|LANG)$
# Bundled applications require additional access:
# git: GIT_EXEC_PATH and LD_LIBRARY_PATH
# npx: npm_config_{cache,init_module,userconfig}
# pandoc: pandoc_datadir
# rst2html: PYTHONHOME and SNAP
# asciidoctor: RUBYLIB
- HUGO_SECURITY_EXEC_OSENV: (?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|GIT_EXEC_PATH|LD_LIBRARY_PATH|npm_config_(cache|init_module|userconfig)|pandoc_datadir|PYTHONHOME|SNAP|RUBYLIB)$
+ HUGO_SECURITY_EXEC_OSENV: (?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|(XDG_CONFIG_)?HOME|USERPROFILE|SSH_AUTH_SOCK|DISPLAY|LANG|GIT_EXEC_PATH|LD_LIBRARY_PATH|npm_config_(cache|init_module|userconfig)|pandoc_datadir|PYTHONHOME|SNAP|RUBYLIB)$
apps:
hugo: