Alex
5e03de0ddb
Update stale.yml
...
Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
2022-09-02 20:13:02 +02:00
Anthony Fok
f7e00c039f
github: Use GitHub's Choco-Install function to retry installs
...
Apparently, two instances of "choco install mingw" running simultaneously
(for go-version 1.18.x and 1.19.x) would often cause at least one of them
to fail to connect to SourceForge:
ERROR: The remote file either doesn't exist, is unauthorized,
or is forbidden for url
'https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/ray_linn/GCC-10.X-with-ada/GCC-10.2.0-crt-8.0.0-with-ada-20201019.7z/download '.
Exception calling "GetResponse" with "0" argument(s):
"The request was aborted: Could not create SSL/TLS secure channel."
With Choco-Install however, it simply works every single time!
Thanks to keymanapp/api.keyman.com#156 for the great tip!
See the definition of the PowerShell Choco-Install function here:
https://github.com/actions/runner-images/blob/main/images/win/scripts/ImageHelpers/ChocoHelpers.ps1
2022-08-14 00:52:23 -06:00
Bjørn Erik Pedersen
0cd1929b9c
Update to Go 1.19
...
Fixes #10145
2022-08-03 23:22:01 +02:00
Bjørn Erik Pedersen
223bf28004
parser/pageparser: Don't store the byte slices
...
On its own this change doesn't do any magic, but this is part of a bigger picture about making Hugo leaner in the
memory usage department.
2022-07-09 16:03:11 +02:00
Bjørn Erik Pedersen
52edea0fec
github: Set HUGO_BUILD_TAGS: extended when running tests
...
Also fix TestDecodeConfig/Basic which started to fail in the extended build in 0.99.1.
Closes #9935
2022-05-27 11:55:03 +02:00
Bjørn Erik Pedersen
3a8189ee93
Update stale.yml
2022-05-17 13:57:01 +02:00
nathannaveen
a6d545854a
github: Add permissions to test action
2022-05-03 09:23:47 +02:00
Anthony Fok
bbd455fe79
Update CONTRIBUTING.md to use "go install" to install mage
...
In Go 1.18, "go get" no longer builds packages.
2022-03-21 21:01:24 -06:00
Bjørn Erik Pedersen
9d6495d774
github: Make it build with Go 1.18
...
I also ran some benchmarks comparing it to Go 1.17.8:
```bash
name old time/op new time/op delta
SiteNew/Regular_Bundle_with_image-10 5.13ms ± 7% 4.23ms ± 7% -17.47% (p=0.029 n=4+4)
SiteNew/Regular_Bundle_with_JSON_file-10 5.12ms ± 1% 4.16ms ± 1% -18.65% (p=0.029 n=4+4)
SiteNew/Regular_Tags_and_categories-10 17.3ms ± 2% 15.1ms ± 1% -12.53% (p=0.029 n=4+4)
SiteNew/Regular_Canonify_URLs-10 106ms ± 1% 90ms ± 0% -15.86% (p=0.029 n=4+4)
SiteNew/Regular_Deep_content_tree-10 34.0ms ± 1% 30.0ms ± 2% -11.72% (p=0.029 n=4+4)
SiteNew/Regular_TOML_front_matter-10 22.7ms ± 2% 20.2ms ± 1% -10.93% (p=0.029 n=4+4)
SiteNew/Regular_Many_HTML_templates-10 16.7ms ± 0% 14.6ms ± 1% -12.89% (p=0.029 n=4+4)
SiteNew/Regular_Page_collections-10 22.2ms ± 1% 19.5ms ± 1% -12.07% (p=0.029 n=4+4)
SiteNew/Regular_List_terms-10 7.71ms ± 0% 6.59ms ± 1% -14.52% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
SiteNew/Regular_Bundle_with_image-10 2.07MB ± 0% 2.04MB ± 0% -1.40% (p=0.029 n=4+4)
SiteNew/Regular_Bundle_with_JSON_file-10 1.85MB ± 0% 1.83MB ± 0% -1.54% (p=0.029 n=4+4)
SiteNew/Regular_Tags_and_categories-10 11.8MB ± 0% 11.1MB ± 0% -6.11% (p=0.029 n=4+4)
SiteNew/Regular_Canonify_URLs-10 95.8MB ± 0% 95.2MB ± 0% -0.63% (p=0.029 n=4+4)
SiteNew/Regular_Deep_content_tree-10 27.4MB ± 0% 26.9MB ± 0% -1.68% (p=0.029 n=4+4)
SiteNew/Regular_TOML_front_matter-10 15.2MB ± 0% 14.4MB ± 0% -4.93% (p=0.029 n=4+4)
SiteNew/Regular_Many_HTML_templates-10 8.45MB ± 0% 8.24MB ± 0% -2.43% (p=0.029 n=4+4)
SiteNew/Regular_Page_collections-10 16.5MB ± 0% 16.2MB ± 0% -1.78% (p=0.029 n=4+4)
SiteNew/Regular_List_terms-10 3.73MB ± 0% 3.64MB ± 0% -2.30% (p=0.029 n=4+4)
name old allocs/op new allocs/op delta
SiteNew/Regular_Bundle_with_image-10 25.0k ± 0% 24.1k ± 0% -3.60% (p=0.029 n=4+4)
SiteNew/Regular_Bundle_with_JSON_file-10 25.1k ± 0% 24.1k ± 0% -3.60% (p=0.029 n=4+4)
SiteNew/Regular_Tags_and_categories-10 237k ± 0% 234k ± 0% -1.29% (p=0.029 n=4+4)
SiteNew/Regular_Canonify_URLs-10 365k ± 0% 363k ± 0% -0.47% (p=0.029 n=4+4)
SiteNew/Regular_Deep_content_tree-10 284k ± 0% 279k ± 0% -1.98% (p=0.029 n=4+4)
SiteNew/Regular_TOML_front_matter-10 252k ± 0% 249k ± 0% -1.48% (p=0.029 n=4+4)
SiteNew/Regular_Many_HTML_templates-10 117k ± 0% 115k ± 0% -1.68% (p=0.029 n=4+4)
SiteNew/Regular_Page_collections-10 184k ± 0% 181k ± 0% -1.74% (p=0.029 n=4+4)
SiteNew/Regular_List_terms-10 49.9k ± 0% 48.5k ± 0% -2.79% (p=0.029 n=4+4)
```
2022-03-16 11:32:39 +01:00
Bjørn Erik Pedersen
a6488e7bad
Remove Go 1.17 support
...
Go 1.18 had some breaking changes on source level meaning we cannot build on older Go versions anymore.
The improvements in Go 1.18 (e.g. `break` and `continue`) were to good to pass on.
Note that you don't need Go (or Go 1.18) to run a pre-built binary.
Updates #9677
2022-03-16 08:57:58 +01:00
Bjørn Erik Pedersen
4d6d1d08da
build: Bump to Go 1.18
...
Updates #9677
2022-03-16 08:43:18 +01:00
Bjørn Erik Pedersen
19f816f77e
Update stale.yml
...
operations-per-run: 999
We need to get this done so the notification gets back to normal.
2022-03-08 09:09:38 +01:00
Bjørn Erik Pedersen
b0eea00756
Update stale.yml
...
Updates #9522
2022-02-18 11:43:35 +01:00
Bjørn Erik Pedersen
ef8b781b14
Update stale.yml
...
Updates #9522
2022-02-18 11:38:24 +01:00
Bjørn Erik Pedersen
3136ff67d8
github: Configure stale to be run manually
...
Updates #9522
2022-02-18 11:31:57 +01:00
Bjørn Erik Pedersen
6041adc164
github: Clean up the issue templates a little
2022-01-13 09:44:55 +01:00
Bjørn Erik Pedersen
408da43657
github: Add lock-threads step
2022-01-12 19:55:53 +01:00
Bjørn Erik Pedersen
85c5b89593
github: Increase stale days
2022-01-05 15:48:00 +01:00
Bjørn Erik Pedersen
dad0dc8d86
github: Add add stale GitHub action
2022-01-04 17:08:10 +01:00
Bjørn Erik Pedersen
672481f1f0
Update stale.yml
2021-12-30 20:13:08 +01:00
Bjørn Erik Pedersen
0fc2ce9e4b
Update to Go 1.17
...
Go 1.17 now lazy-loads dependencies when `go.mod` is version `go17`. This does not work for us for new projects started with `hugo mod init`.
Before this commit, starting a project with Go 1.17 with `hugo mod init` and then start adding dependencies with transitive dependenies to `config.toml` would treat the transitive dependencies as new, and you would potentially get a too recent version of those.
Note that this does not effect existing projects, where all dependencies are already recorded in `go.mod`.
Fixes #8930
2021-08-31 11:19:51 +02:00
Bjørn Erik Pedersen
a886dd53b8
github: Set a dummy Instagram token
...
For now, need to debug why this fails.
2021-06-13 11:09:50 +02:00
Bjørn Erik Pedersen
9b5debe4b8
Upgrade Instagram shortcode
...
Fixes #7879
2021-06-08 10:30:45 +02:00
Patrick Kollitsch
137d2dab32
github: More explicit support link to discourse
2021-03-14 18:27:15 +01:00
Bjørn Erik Pedersen
718fba7d63
Update Travis, GitHub, CircleCI and Snap to Go 1.16 (only)
2021-02-18 14:11:48 +01:00
Bjørn Erik Pedersen
441b11beec
Update to Dart Sass Protocol beta6
...
Note that this version is not backwards compatible, so you have to update the protocol binary.
2021-02-06 18:34:19 +01:00
Bjørn Erik Pedersen
cea1574023
Add Dart Sass support
...
But note that the Dart Sass Embedded Protocol is still in beta (beta 5), a main release scheduled for Q1 2021.
Fixes #7380
Fixes #8102
2020-12-30 17:32:25 +01:00
Patrick Kollitsch
4e0acb89b7
chore: configure proper link to discourse.gohugo.io ( #8020 )
...
* chore: configure proper link to discourse.gohugo.io
This adds a configuration file to the issue templates for this repo. In this config file, an issue template is added that will look like the existing issue templates, but on click will lead directly to the discourse forum instead of hoping that people read what it says there. The support.md can be deleted.
* chore: remove obsolete support.md configuration
* chore: remove obsolete autoclosing workflow
2020-12-04 10:04:35 +01:00
Anthony Fok
3261678f63
deps: Bump github.com/spf13/cobra from 0.0.7 to 1.1.1
...
Cobra 1.1.1 fixes internal formatting for go-md2man v2 (which caused
man page generation e.g. "hugo gen man" to be broken since Cobra 0.0.6).
See spf13/cobra#1049 for context.
2020-10-24 03:39:53 -06:00
Bjørn Erik Pedersen
90285f4750
Revert "Update dependabot.yml"
...
This reverts commit c0655ba6ce
.
2020-09-08 10:28:16 +02:00
Bjørn Erik Pedersen
c0655ba6ce
Update dependabot.yml
2020-09-07 22:08:03 +02:00
Bjørn Erik Pedersen
a2dda22c36
Create dependabot.yml
2020-09-07 21:51:49 +02:00
Bjørn Erik Pedersen
c2235c6a62
Revert "Update stale.yml"
...
This reverts commit 4f69ade711
.
2020-08-16 18:25:14 +02:00
Bjørn Erik Pedersen
4f69ade711
Update stale.yml
2020-08-15 00:21:08 +02:00
Bjørn Erik Pedersen
5b7b5dea1f
Update bug_report.md
2020-06-26 21:03:09 +02:00
Bjørn Erik Pedersen
5f1aafafb4
Update feature_request.md
2019-10-11 16:43:00 +02:00
Bjørn Erik Pedersen
019ae38483
Update bug_report.md
2019-09-30 20:09:49 +02:00
Brian MacKinney
454a033dc5
github: Add issue templates and action
2019-09-25 08:40:04 +02:00
Christian Oliff
0a7027e2a8
Create SUPPORT.md
...
To help cut down on the number of general questions, it'd be good to add a `SUPPORT.md` to the `.github` folder.
A link to this would then be displayed automatically when a user opens a New Issue (https://github.com/gohugoio/hugo/issues/new ).
To see an example of this take a look at: https://github.com/twbs/bootstrap/issues/new
2018-05-21 16:56:30 +02:00
Bjørn Erik Pedersen
f27977809c
Update stale.yml
2018-04-01 21:36:00 +02:00
Bjørn Erik Pedersen
4a7c2b3695
github: Shorten the stale setup
2018-01-24 13:10:44 +01:00
Bjørn Erik Pedersen
fdbef2a81c
Adjust the stale setup
2017-12-06 14:03:04 +01:00
Bjørn Erik Pedersen
426ac9c18e
Add Github stale bot config
2017-12-06 10:03:25 +01:00