summaryrefslogtreecommitdiffstats
path: root/commands/hugo.go
AgeCommit message (Collapse)Author
2017-06-13Run gofmt to get imports in line vs gohugoio/hugoBjørn Erik Pedersen
2017-06-13all: Update textual references in Go source to point to gohugoio/hugoBjørn Erik Pedersen
2017-06-13all: Update import paths to gohugoio/hugoBjørn Erik Pedersen
2017-06-12Revert "commands: Remove the rlimit tweaking on macOS"Bjørn Erik Pedersen
This reverts commit bcd32f1086c8c604fb22a7496924e41cc46b1605. See #3582
2017-06-08hugolib, commands: Improve live-reload on directory structure changesBjørn Erik Pedersen
This issue is more visible now that we support nested sections. This commit makes operations like pasting new content folders or deleting content folders during server watch just work. Fixes #3570
2017-05-24cmd: Replace flagChanged with pflag.FlagSet.ChangedAlbert Nigmatzianov
2017-05-23commands: Remove the rlimit tweaking on macOSBjørn Erik Pedersen
Fixes #3512
2017-05-15commands: Skip .git directoriesAlbert Nigmatzianov
Fix #3468
2017-05-10commands, hugolib: Deprecate disable404, disableRSS, disableSitemap, ↵Bjørn Erik Pedersen
disableRobotsTXT Use disableKinds instead. Fixes #3345
2017-05-09commands: Use paths from PathSpec for walkerAlbert Nigmatzianov
2017-04-26commands: Make first letter of flags' usage lowercaseAlbert Nigmatzianov
2017-04-24Automate the Hugo release processBjørn Erik Pedersen
This commit adds a work flow aroung GoReleaser to get the Hugo release process automated and more uniform: * It can be run fully automated or in two steps to allow for manual edits of the relase notes. * It supports both patch and full releases. * It fetches author, issue, repo info. etc. for the release notes from GitHub. * The file names produced are mainly the same as before, but we no use tar.gz as archive for all Unix versions. * There isn't a fully automated CI setup in place yet, but the release tag is marked in the commit message with "[ci deploy]" Fixes #3358
2017-04-07hubolib: Do not add missing trailing slash to command line baseURLBjørn Erik Pedersen
This makes it consistent with how it behaves when it's set in config.toml. This commit also unifies BaseURL in Site.Info so we now have one source for this value. Fixes #3262
2017-04-07all: Document the Output Formats featureBjørn Erik Pedersen
This commit also adds a new command, docshelper, with some utility funcs that adds a JSON datafiles to /docs/data that would be a pain to create and maintain by hand. Fixes #3242
2017-04-06all: Handle all errorsBjørn Erik Pedersen
As reported by `errcheck`.
2017-04-04commands, helpers: Add correct verbose log level to the global loggersBjørn Erik Pedersen
We still use those in some cases.
2017-03-27commands: Fix broken commandeerBjørn Erik Pedersen
2017-03-27all: Propagate baseURL error to the callersBjørn Erik Pedersen
2017-03-21commands: Keep "." directories on cleanDestinationDirEamonn
Fixes #3208
2017-03-01Handle Hugo version strings with patch levelBjørn Erik Pedersen
Fixes #3025
2017-02-21commands: Cache logFile in createLoggerbogem
2017-02-21commands: Remove flagChanged from commandeerbogem
2017-02-21commands: Make sure build error is logged in watch modeBjørn Erik Pedersen
See #3062
2017-02-21utils: Use local loggerBjørn Erik Pedersen
2017-02-18hugolib: Add disableKinds optionBjørn Erik Pedersen
Fixes #2534
2017-02-17all: Refactor to nonglobal Viper, i18n etc.Bjørn Erik Pedersen
This is a final rewrite that removes all the global state in Hugo, which also enables the use if `t.Parallel` in tests. Updates #2701 Fixes #3016
2017-02-04all: Refactor to nonglobal file systemsBjørn Erik Pedersen
Updates #2701 Fixes #2951
2017-01-07all: Refactor to non-global loggerBjørn Erik Pedersen
Note that this looks like overkill for just the logger, and that is correct, but this will make sense once we start with the template handling etc. Updates #2701
2017-01-03commands, helpers, vendor: Update to the latest jww loggerBjørn Erik Pedersen
Updates #2701
2017-01-02commands, helpers: Fix docsbogem
2017-01-02commands: Fix case in names of some methodsbogem
2016-12-23helpers: Remove "no theme set" warningCameron Moore
Fixes #2821
2016-12-22command: Add `themesDir` command argument to specify themes directoryavi
2016-11-30commands: Add noChmod option to disable perm syncCameron Moore
Includes updates to docs. Fixes #2749
2016-11-23commands: SimplifyBjørn Erik Pedersen
2016-11-22commands, hugolib: Unify case of config variable namesbogem
2016-11-22all: Use jww instead of fmt for printingbogem
This is an attempt to unify method for printing.
2016-11-22node to page: Refactor the build processBjørn Erik Pedersen
To make it easier to follow and understand. Both building and rebuilding now follow a four step flow: 1. Init 2. Process 3. Assemble 4. Render And now there are only one Build method, used for both builds and rebuilds. Updates #2297
2016-11-07commands, tpl: Get rid of repeating viper accessesAlbert Nigmatzianov
* all: Delete some blank lines * commands, tpl: Get rid of repeating viper accesses
2016-11-03commands: Move initialization of flags in separate functionAlbert Nigmatzianov
And clean up flag variables.
2016-11-01Add GitInfoBjørn Erik Pedersen
This commit adds a `GitInfo` object to `Page` if `EnableGitInfo` is set. It then also sets `Lastmod` for the given `Page` to the author date provided by Git. The Git integrations should be fairly performant, but it adds "some time" to the build, somewhat depending on the Git history size. If you want, you can run without during development and turn it on when deploying to the live server: `hugo --enableGitInfo`. Fixes #2102
2016-10-24all: Unify case of config variable namesAlbert Nigmatzianov
All config variables starts with low-case and uses camelCase. If there is abbreviation at the beginning of the name, the whole abbreviation will be written in low-case. If there is abbreviation at the end of the name, the whole abbreviation will be written in upper-case. For example, rssURI.
2016-10-19commands: Do not print error on missing unknown dirsBjørn Erik Pedersen
See #2602
2016-10-19commands: Only watch relevant themes dirBjørn Erik Pedersen
The same behavior as for the root project. Fixes #2602
2016-10-09Allow to set cache dir in config fileDimitri Merejkowsky
2016-10-08Add quiet modeBjørn Erik Pedersen
Needed to run benchmarks without the stats getting in the way of the benchmark stats. Fixes #1218
2016-10-05Add hugo env commandBjørn Erik Pedersen
Useful for bug reports. Fixes #2523
2016-09-12commands: Fix typosAlbert
2016-09-11Replace some leftover os.Stat with hugofs.SourceBjørn Erik Pedersen
2016-09-11commands: Simplify err conditionbogem