1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

4174 Commits

Author SHA1 Message Date
1e233b1c45 commands: Fix TestFixURL
See #4598
2018-04-11 09:50:19 +02:00
b110d0ae04 commands: Remove the Hugo global
There are still some cleaning to do, but that felt good.

See #4598
2018-04-11 09:50:19 +02:00
73825cfc1c commands: Make the limit command work again
See #4598
2018-04-11 09:50:19 +02:00
a8f7fbbb10 commands: Move the commands related logic to its own file
See #4598
2018-04-11 09:50:19 +02:00
e8d6ca9531 commands: Add CLI tests
See #4598
2018-04-11 09:50:19 +02:00
4d32f2fa89 commands: Make the hugo command non-global
See #4598
2018-04-11 09:50:19 +02:00
018602c46d commands: Extract some common types into its own file
See #4598
2018-04-11 09:50:19 +02:00
2f0d98a19b commands: Make the server command non-global
See #4598
2018-04-11 09:50:18 +02:00
e0621d207c commands: Make the gen commands non-global
See #4598
2018-04-11 09:50:18 +02:00
e26a8b242a commands: Make the list commands non-global
See #4598
2018-04-11 09:48:56 +02:00
2a2c983867 commands: Make the import commands non-global
See #4598
2018-04-11 09:48:56 +02:00
15b1e269ad comands: Make the config command non-global
See #4598
2018-04-11 09:48:56 +02:00
56a1308044 commands: Make the new commands non-global
See #4598
2018-04-11 09:48:56 +02:00
4b780ca778 commands: Make convert command non-global
See #4598
2018-04-11 09:48:56 +02:00
7bc5e89fba commands: Make more commands non-global
See #4598
2018-04-11 09:48:56 +02:00
fdf1d94ebc commands: Make benchmark non-global
See #4598
2018-04-11 09:48:56 +02:00
1157fef859 commands: Start of flag cleaning
See #4598
2018-04-11 09:48:55 +02:00
e614d8a57c commands: Use short date format in CLI docs
To make it possible to compare the output.

See #4598
2018-04-11 09:48:34 +02:00
fca49d6c60 Update README.md
I discovered an inconsistency between the website documentation (https://gohugo.io/getting-started/installing/#source) and this README, for installing from source. I checked them both and the website seems to be newer so I would like to propose updating this README to install Hugo using mage (unless it doesn't really matter).
2018-04-09 18:06:21 +02:00
0e8b3cbcd2 Sync dependencies 2018-04-09 11:12:05 +02:00
230f2b8c4f Bump Go versions
Fixes #4545
2018-04-09 11:01:01 +02:00
d7f47b780c releaser: Prepare repository for 0.39-DEV
[ci skip]
2018-04-09 08:19:32 +00:00
712c0fdfe6 releaser: Add release notes to /docs for release of 0.38.2
[ci skip]
v0.38.2
2018-04-09 08:17:15 +00:00
62e7588262 releaser: Bump versions for release of 0.38.2
[ci skip]
2018-04-09 08:17:14 +00:00
47da0dca52 Release 0.38.2 2018-04-09 10:08:33 +02:00
8d87bfd5ee releaser: Add release notes draft for 0.38.2
Rename to *-ready.md to continue. [ci skip]
2018-04-09 08:00:48 +00:00
719251c1af Bump the debouncer dependency
No practical difference.
2018-04-08 10:20:39 +02:00
8b2ef83bb1 Use a versioned debounce dependency 2018-04-07 18:09:31 +02:00
080302eb87 Fix handling of --contentDir etc. flag
We need to revisit the commands package re globals and tests, but this should fix the init order of flags and languages.

Fixes #4589
2018-04-07 16:40:45 +02:00
094ec17142 travis: Disable shallow clone to fix TestPageWithLastmodFromGitInfo
Fixes #4584
2018-04-07 06:54:24 -06:00
e84b7ade65 Revert "Disable failing test on Travis"
This reverts commit 2170943ae6e4bcbbcb9cfad244fec5da8c1d6462
and commit 623c9afa8409855ccfd7b000ae7c6780b780a5af.
2018-04-07 06:53:47 -06:00
2817e84240 Fix handling of content files with "." in them
As in, more dots than just to separate the extension and any language indicator.

Fixes #4559
2018-04-07 10:57:29 +02:00
623c9afa84 And now really disable failing test on Travis
See #4584
2018-04-06 18:14:11 +02:00
2170943ae6 Disable failing test on Travis
See #4584
2018-04-06 17:31:13 +02:00
9cd4d35977 Revert "Try an older GitMap version"
This reverts commit 3a3261a3b9565526840b1ff1bced01e1873cc6e5.
2018-04-06 12:01:38 +02:00
3a3261a3b9 Try an older GitMap version
To test if the test failures goes away.
2018-04-06 10:59:47 +02:00
6792d86ad0 hugolib: Set .Parent in bundled pages to its owner
Fixes #4582
2018-04-06 10:41:28 +02:00
e7d87e2410 releaser: Prepare repository for 0.39-DEV
[ci skip]
2018-04-05 16:39:05 +00:00
c475eab474 releaser: Add release notes to /docs for release of 0.38.1
[ci skip]
v0.38.1
2018-04-05 16:35:25 +00:00
3a96fa40bf releaser: Bump versions for release of 0.38.1
[ci skip]
2018-04-05 16:35:25 +00:00
c356f1d417 Release 0.38.1 2018-04-05 18:31:17 +02:00
30c2c2f8ec releaser: Add release notes draft for 0.38.1
Rename to *-ready.md to continue. [ci skip]
2018-04-05 16:27:24 +00:00
f87239e4ca Fix livereload for the home page bundle
Fixes #4576
2018-04-05 18:03:33 +02:00
db0633c1a4 snap: Revert to "mage test" because "mage check" fails
"mage check", which runs "go test", gofmt, "go vet", and
"go test -race", fails one way or another especially on
on non-amd64 architectures, and sometimes even on amd64 too.

Partially reverting my undocumented change in commit 294c0f8.

Fixes #4578
2018-04-05 09:35:47 -06:00
874159b543 snap: Add bash completion 2018-04-05 15:51:11 +02:00
294c0f8001 snap: Fix empty BuildDate in "hugo version"
Previously, "snap run hugo version" returns an empty BuildDate like so:

    Hugo Static Site Generator v0.38 linux/amd64 BuildDate:

Fix by overriding the default build target of snapcraft's go plugin.
2018-04-05 15:51:11 +02:00
a4deaeff0c Fix some livereload content regressions
Introduced in Hugo 0.38.

Fixes #4566
2018-04-05 14:28:45 +02:00
4d115c56fa Update github.com/bep/gitmap to fix snap build
Fixes #4538
2018-04-05 14:20:39 +02:00
26f34fd59d Fix two tests that are broken on Windows
Put guards around TestPageBundlerCaptureSymlinks and
TestPageBundlerSiteWitSymbolicLinksInContent so that they aren't
run on Windows (they both use symbolic links and the Go library
implementation requires administrator mode on Windows).
2018-04-05 08:35:06 +02:00
730b66b652 commands: Handle mass content etc. edits in server mode
Fixes #4563
2018-04-04 09:29:59 +02:00