summaryrefslogtreecommitdiffstats
path: root/snap
Commit message (Collapse)AuthorAge
* snap: Transition to from core20 to core22Joe Mooring2024-03-09
| | | Closes #12219
* misc: Change dart-sass labels in workflows and snapcraftJoe Mooring2023-08-23
|
* Go 1.21 UpgradeBjørn Erik Pedersen2023-08-23
| | | | Fixes #11351
* snap: Set cache location to $HOME/.cache/hugo_cacheJoe Mooring2023-07-27
|
* snap: Allow access to SSH keys and $HOME/.config/hugoJoe Mooring2023-07-26
| | | Closes #11288
* snap: Allow access to AWS, Azure, and GCS config/credentialsJoe Mooring2023-07-08
| | | | Fixes #11122
* snap: Update metadata and security.exec.osEnvJoe Mooring2023-07-08
| | | | See #11217
* snap: Explicitly set security.exec.osenv during buildJoe Mooring2023-07-01
| | | Fixes #11199
* snap: Restore security.exec.osenv whitelistJoe Mooring2023-07-01
| | | Fixes #11195
* snap: Switch from Embedded Dart Sass to Dart Sass (#11146)Joe Mooring2023-06-21
| | | | - Continues to get latest version of Dart Sass during each build - Removes superfluous BUILD_TAGS logic (we only build extended)
* Revert "snap: Transition base snap from core20 to core22 (#11101)" (#11125)Joe Mooring2023-06-17
| | | Closes #11116
* snap: Transition base snap from core20 to core22 (#11101)Joe Mooring2023-06-13
| | | | | - Syntax changes - Bump Go from 1.19 to 1.20 - Remove unused build tag logic (we only build the extended version)
* snap: Fix dart-sass-embedded installationJoe Mooring2023-03-04
| | | | Closes #10783
* snap: Install dart-sass-embedded for 32-bit ARM (armhf) tooAnthony Fok2023-02-03
| | | | | See https://github.com/sass/dart-sass-embedded/releases/tag/1.54.7 which "Add[ed] support for 32-bit ARM releases on Linux" on 2022-08-30.
* snap: Add read access for ~/.gitconfig.local and ~/.config/git/* tooAnthony Fok2023-02-03
| | | | | | | in hugo:gitconfig plug (personal-files interface) in case end users need the flexibility of using additional custom git config files. Fixes #10337
* snap: Use "snapcraftctl set-grade"Anthony Fok2022-08-30
| | | | | | | | | | This, together with 'snapcraftctl set-version", negates the need to modify snap/snapcraft.yaml upon each release, so the corresponding code is removed from releaser/releaser.go. Also, vendorInfo is extended to include the snap version number. See #10225
* snap: Use "snapcraftctl set-version"Anthony Fok2022-08-29
| | | | | | | This allows the use of "git describe --tags" to recognize lightweight version tags, and the removal of initial "v" in the hugo snap version. See #10225
* snap: Make external dependencies actually workAnthony Fok2022-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Git: - Set GIT_EXEC_PATH and include usr/lib/git-core so that git can find the git-remote-https helper (needed by e.g. "go mod download"). Go: - Put Go in its own snap part, and use stage-snaps instead of build-snaps so that it is included in the final snap. - Set GOCACHE to a writable directory. (In a previous commit, HOME is set to $SNAP_REAL_HOME which is unwritable.) Hugo: - Patch config/security/securityConfig.go "[security.exec] osEnv" whitelist (during snap build) so that external dependencies can use the required environment variables to run properly from within the snap. Asciidoctor: - Replace shebang line in asciidoctor so it can find the ruby executable. - Set RUBYLIB so that Ruby can find its libraries. Caveat/TODO: The Ruby version is hardcoded in our custom RUBYLIB. Embedded Dart Sass: - Download from GitHub and install it, for amd64 and arm64 only. Node.js: - Remove my incomplete include list so that npx is actually installed. - Set npm_config_{cache,init_module,userconfig} to writable locations. Pandoc: - Set pandoc_datadir so that Pandoc can find its data files. rst2html: - Install python3-docutils package for rst2html, rst2html5, etc. - Set PYTHONHOME so that Python can find its libraries. Note that asciidoctor, pandoc and rst2html are not in Hugo’s default "[security.exec] allow" whitelist, and the snap package does not change that default, so they still needed to be whitelisted manually in config.toml if necessary by the end user. Special thanks to Joe Mooring (@jmooring) for meticulously diagnosing the issue and providing a comprehensive test repository at https://github.com/jmooring/hugo-snap-test without which I would not have been able to understand and resolve the issue. Fixes #9078
* releaser: Prepare repository for 0.103.0-DEVrelease-0.102.0hugoreleaser2022-08-28
| | | | [ci skip]
* releaser: Bump versions for release of 0.102.0v0.102.0hugoreleaser2022-08-28
| | | | [ci skip]
* snap: Delete obsolete custom x-nodejs pluginsAnthony Fok2022-08-12
|
* Update to Go 1.19Bjørn Erik Pedersen2022-08-03
| | | | Fixes #10145
* snap: Replace mage with "go build" and set VendorInfo=snapAnthony Fok2022-06-28
|
* snap: Use interface names etc-gitconfig and gitconfig, Take 2Anthony Fok2022-06-27
| | | | | | | | | | | | | | | | | | | as recommended by @alexmurray to keep consistency with other snaps; see https://forum.snapcraft.io/t/system-files-and-personal-files-request-for-hugo/30598 I neglected to make the rename of system-gitconfig → etc-gitconfig and user-gitconfig → gitconfig to the apps.plugs section in commit fd3953c, hence this commit to fix the store upload scan failure: interface 'system-gitconfig' not found in base declaration interface 'user-gitconfig' not found in base declaration unknown plugs interface name reference 'system-gitconfig' unknown plugs interface name reference 'user-gitconfig' Special thanks to Alex Murray and Igor Ljubuncic for approving the system-files and personal-files request for Hugo. Fixes #6226
* snap: Use interface names etc-gitconfig and gitconfigAnthony Fok2022-06-24
| | | | | | | as recommended by @alexmurray to keep consistency with other snaps; see https://forum.snapcraft.io/t/system-files-and-personal-files-request-for-hugo/30598/2 One closer step towards fixing #6226
* releaser: Prepare repository for 0.102.0-DEVrelease-0.101.0hugoreleaser2022-06-16
| | | | [ci skip]
* releaser: Bump versions for release of 0.101.0v0.101.0hugoreleaser2022-06-16
| | | | [ci skip]
* releaser: Prepare repository for 0.101.0-DEVhugoreleaser2022-06-08
| | | | [ci skip]
* releaser: Bump versions for release of 0.100.2v0.100.2hugoreleaser2022-06-08
| | | | [ci skip]
* releaser: Prepare repository for 0.101.0-DEVhugoreleaser2022-06-01
| | | | [ci skip]
* releaser: Bump versions for release of 0.100.1v0.100.1hugoreleaser2022-06-01
| | | | [ci skip]
* releaser: Prepare repository for 0.101.0-DEVhugoreleaser2022-05-31
| | | | [ci skip]
* releaser: Bump versions for release of 0.100.0v0.100.0hugoreleaser2022-05-31
| | | | [ci skip]
* releaser: Prepare repository for 0.100.0-DEVhugoreleaser2022-05-18
| | | | [ci skip]
* releaser: Bump versions for release of 0.99.1v0.99.1hugoreleaser2022-05-18
| | | | [ci skip]
* common/hugo: Fix version logichugoreleaser2022-05-16
| | | | [ci skip]
* releaser: Bump versions for release of 0.99.0v0.99.0hugoreleaser2022-05-16
| | | | [ci skip]
* releaser: Prepare repository for 0.99.0-DEVhugoreleaser2022-04-28
| | | | [ci skip]
* releaser: Bump versions for release of 0.98.0v0.98.0hugoreleaser2022-04-28
| | | | [ci skip]
* releaser: Prepare repository for 0.98.0-DEVhugoreleaser2022-04-18
| | | | [ci skip]
* releaser: Bump versions for release of 0.97.3v0.97.3hugoreleaser2022-04-18
| | | | [ci skip]
* releaser: Prepare repository for 0.98.0-DEVhugoreleaser2022-04-17
| | | | [ci skip]
* releaser: Bump versions for release of 0.97.2v0.97.2hugoreleaser2022-04-17
| | | | [ci skip]
* releaser: Prepare repository for 0.98.0-DEVhugoreleaser2022-04-16
| | | | [ci skip]
* releaser: Bump versions for release of 0.97.1v0.97.1hugoreleaser2022-04-16
| | | | [ci skip]
* releaser: Prepare repository for 0.98.0-DEVhugoreleaser2022-04-14
| | | | [ci skip]
* releaser: Bump versions for release of 0.97.0v0.97.0hugoreleaser2022-04-14
| | | | [ci skip]
* Snap: Add {system,user}-gitconfig plugs to read gitconfig (#9619)Further2022-04-01
| | | | | * Add system-gitconfig plug to read /etc/gitconfig * Add user-gitconfig plug to read user-specific gitconfig file(s) * Add app environment setting to set $HOME as $SNAP_REAL_HOME
* snap: Make it build with Go 1.18Anthony Fok2022-03-21
|
* releaser: Prepare repository for 0.96.0-DEVhugoreleaser2022-03-16
| | | | [ci skip]