summaryrefslogtreecommitdiffstats
path: root/commands
AgeCommit message (Collapse)Author
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-22commands: Import Octopress image tag in Jekyll importerStefan Buynov
2017-04-10all: Prepare Hugo 0.20 release versionv0.20Bjørn Erik Pedersen
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-04Register all media types when in server modeBjørn Erik Pedersen
Fixes #3274
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-24commands: Fix case of createpath in new.goAlbert Nigmatzianov
2017-03-21commands: Keep "." directories on cleanDestinationDirEamonn
Fixes #3208
2017-03-18Case insensitive translation of the 'more' tag when importing from JekyllStefan Buynov
2017-03-13commands: Improve jekyll import date formatAnthony Kong
Allow both yyyy-mm-dd and yyyy-m-d formats in jekyll markdown file names.
2017-03-11commands: t.Error => t.ErrorfBjørn Erik Pedersen
2017-03-11parser: Refactor frontmatter parser and add testsCameron Moore
Lots of cleanups here: - Refactor InterfaceToConfig and InterfaceToFrontMatter to use io.Writer. - Simplify InterfaceToFrontMatter by wrapping InterfaceToConfig. - Export FrontmatterType since we return it in DetectFrontMatter. - Refactor removeTOMLIdentifier to avoid blindly replacing "+++". - Update HandleJSONMetaData to return an empty map on nil input. - Updates vendored goorgeous package and test for org-mode frontmatter. - Add tests and godoc comments. Coverage for parser package increased from 45.2% to 85.2%.
2017-03-09all: Fix some govet complaintsAlbert Nigmatzianov
2017-03-01Handle Hugo version strings with patch levelBjørn Erik Pedersen
Fixes #3025
2017-02-27Update versions to 0.19 releaseBjørn Erik Pedersen
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-20cmd: Remove empty tags/features strings in theme.toml templatedigitalcraftsman
2017-01-11commands: Fix newly broken server flag handlingBjørn Erik Pedersen
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-06commands: Show OS and ARCH in version outputCameron Moore
2017-01-05commans: Remove unneeded build constraintBjørn Erik Pedersen
Fixes #2886
2017-01-05commands, vendor: Remove log level setting in Jekyll commandBjørn Erik Pedersen
And update the JWW lib.
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 default config variablebogem
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-12-19Bump to 0.18 release versionBjørn Erik Pedersen
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-23Remove ShowPlanBjørn Erik Pedersen
It is out of sync with reality, has some disabled tests, and the cost of getting it up-to-date is too high to be worth it.
2016-11-22commands, hugolib: Unify case of config variable namesbogem
2016-11-22commands, hugolib, parser, tpl: Use errors.New instead of fmt.Errorfbogem
2016-11-22commands, hugolib, source, target, tpl: Get rid of some fmt statementsbogem
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-19commands: Make benchmark command more usefulAlbert Nigmatzianov
* Add information about average time, memory consumption and allocations. * Fix situation, when user provides memprofile and cpuprofile, but cpuprofile will not created. Fixes #2432
2016-11-07commands, tpl: Get rid of repeating viper accessesAlbert Nigmatzianov
* all: Delete some blank lines * commands, tpl: Get rid of repeating viper accesses