Permalink
Browse files

all: Update import paths to gohugoio/hugo

  • Loading branch information...
bep committed Jun 13, 2017
1 parent 2d08a29 commit d8717cd4c74e80ea8e20adead9321412a2d76022
Showing with 355 additions and 355 deletions.
  1. +1 −1 Makefile
  2. +3 −3 commands/commandeer.go
  3. +2 −2 commands/convert.go
  4. +2 −2 commands/gendoc.go
  5. +1 −1 commands/gendocshelper.go
  6. +2 −2 commands/genman.go
  7. +9 −9 commands/hugo.go
  8. +4 −4 commands/import_jekyll.go
  9. +1 −1 commands/list.go
  10. +5 −5 commands/new.go
  11. +1 −1 commands/new_test.go
  12. +1 −1 commands/release.go
  13. +2 −2 commands/server.go
  14. +1 −1 commands/undraft.go
  15. +1 −1 commands/undraft_test.go
  16. +2 −2 commands/version.go
  17. +3 −3 create/content.go
  18. +5 −5 create/content_test.go
  19. +5 −5 deps/deps.go
  20. +2 −2 helpers/content.go
  21. +1 −1 helpers/content_renderer.go
  22. +1 −1 helpers/emoji_test.go
  23. +1 −1 helpers/general.go
  24. +1 −1 helpers/language.go
  25. +1 −1 helpers/path_test.go
  26. +2 −2 helpers/pathspec.go
  27. +1 −1 helpers/pathspec_test.go
  28. +2 −2 helpers/pygments.go
  29. +1 −1 helpers/testhelpers_test.go
  30. +1 −1 helpers/url_test.go
  31. +1 −1 hugofs/fs.go
  32. +1 −1 hugolib/404_test.go
  33. +2 −2 hugolib/alias.go
  34. +1 −1 hugolib/alias_test.go
  35. +2 −2 hugolib/case_insensitive_test.go
  36. +1 −1 hugolib/config.go
  37. +3 −3 hugolib/datafiles_test.go
  38. +3 −3 hugolib/disableKinds_test.go
  39. +3 −3 hugolib/embedded_shortcodes_test.go
  40. +1 −1 hugolib/gitinfo.go
  41. +1 −1 hugolib/handler_base.go
  42. +1 −1 hugolib/handler_file.go
  43. +1 −1 hugolib/handler_meta.go
  44. +2 −2 hugolib/handler_page.go
  45. +2 −2 hugolib/handler_test.go
  46. +1 −1 hugolib/hugo_info.go
  47. +5 −5 hugolib/hugo_sites.go
  48. +1 −1 hugolib/hugo_sites_build.go
  49. +4 −4 hugolib/hugo_sites_build_test.go
  50. +2 −2 hugolib/menu_old_test.go
  51. +2 −2 hugolib/multilingual.go
  52. +2 −2 hugolib/node_as_page_test.go
  53. +5 −5 hugolib/page.go
  54. +1 −1 hugolib/page_collections.go
  55. +1 −1 hugolib/page_collections_test.go
  56. +3 −3 hugolib/page_output.go
  57. +2 −2 hugolib/page_paths.go
  58. +1 −1 hugolib/page_paths_test.go
  59. +1 −1 hugolib/page_permalink_test.go
  60. +2 −2 hugolib/page_test.go
  61. +1 −1 hugolib/pagination.go
  62. +2 −2 hugolib/pagination_test.go
  63. +1 −1 hugolib/robotstxt_test.go
  64. +1 −1 hugolib/rss_test.go
  65. +1 −1 hugolib/scratch.go
  66. +5 −5 hugolib/shortcode.go
  67. +6 −6 hugolib/shortcode_test.go
  68. +10 −10 hugolib/site.go
  69. +1 −1 hugolib/siteJSONEncode_test.go
  70. +3 −3 hugolib/site_output.go
  71. +2 −2 hugolib/site_output_test.go
  72. +3 −3 hugolib/site_render.go
  73. +1 −1 hugolib/site_sections.go
  74. +1 −1 hugolib/site_sections_test.go
  75. +4 −4 hugolib/site_test.go
  76. +2 −2 hugolib/site_url_test.go
  77. +2 −2 hugolib/sitemap_test.go
  78. +1 −1 hugolib/taxonomy_test.go
  79. +1 −1 hugolib/template_engines_test.go
  80. +2 −2 hugolib/template_test.go
  81. +6 −6 hugolib/testhelpers_test.go
  82. +2 −2 i18n/i18n.go
  83. +1 −1 i18n/i18n_test.go
  84. +2 −2 i18n/translationProvider.go
  85. +1 −1 main.go
  86. +1 −1 media/docshelper.go
  87. +1 −1 output/docshelper.go
  88. +1 −1 output/layout_base.go
  89. +1 −1 output/layout_test.go
  90. +1 −1 output/outputFormat.go
  91. +1 −1 output/outputFormat_test.go
  92. +1 −1 releaser/releaser.go
  93. +1 −1 releaser/releaser_test.go
  94. +1 −1 source/content_directory_test.go
  95. +3 −3 source/file.go
  96. +1 −1 source/file_test.go
  97. +1 −1 source/filesystem.go
  98. +3 −3 tpl/cast/docshelper.go
  99. +2 −2 tpl/cast/init.go
  100. +2 −2 tpl/cast/init_test.go
  101. +1 −1 tpl/collections/apply.go
  102. +2 −2 tpl/collections/apply_test.go
  103. +2 −2 tpl/collections/collections.go
  104. +4 −4 tpl/collections/collections_test.go
  105. +1 −1 tpl/collections/index_test.go
  106. +2 −2 tpl/collections/init.go
  107. +2 −2 tpl/collections/init_test.go
  108. +1 −1 tpl/collections/sort.go
  109. +1 −1 tpl/collections/sort_test.go
  110. +1 −1 tpl/collections/where_test.go
  111. +2 −2 tpl/compare/init.go
  112. +2 −2 tpl/compare/init_test.go
  113. +2 −2 tpl/crypto/init.go
  114. +2 −2 tpl/crypto/init_test.go
  115. +2 −2 tpl/data/cache.go
  116. +1 −1 tpl/data/data.go
  117. +2 −2 tpl/data/init.go
  118. +2 −2 tpl/data/init_test.go
  119. +2 −2 tpl/data/resources.go
  120. +4 −4 tpl/data/resources_test.go
  121. +2 −2 tpl/encoding/init.go
  122. +2 −2 tpl/encoding/init_test.go
  123. +2 −2 tpl/fmt/init.go
  124. +2 −2 tpl/fmt/init_test.go
  125. +1 −1 tpl/images/images.go
  126. +2 −2 tpl/images/images_test.go
  127. +2 −2 tpl/images/init.go
  128. +2 −2 tpl/images/init_test.go
  129. +2 −2 tpl/inflect/init.go
  130. +2 −2 tpl/inflect/init_test.go
  131. +1 −1 tpl/internal/templatefuncsRegistry.go
  132. +2 −2 tpl/lang/init.go
  133. +2 −2 tpl/lang/init_test.go
  134. +1 −1 tpl/lang/lang.go
  135. +1 −1 tpl/lang/lang_test.go
  136. +2 −2 tpl/math/init.go
  137. +2 −2 tpl/math/init_test.go
  138. +2 −2 tpl/os/init.go
  139. +2 −2 tpl/os/init_test.go
  140. +1 −1 tpl/os/os.go
  141. +2 −2 tpl/os/os_test.go
  142. +2 −2 tpl/partials/init.go
  143. +2 −2 tpl/partials/init_test.go
  144. +2 −2 tpl/partials/partials.go
  145. +2 −2 tpl/safe/init.go
  146. +2 −2 tpl/safe/init_test.go
  147. +1 −1 tpl/safe/safe.go
  148. +2 −2 tpl/strings/init.go
  149. +2 −2 tpl/strings/init_test.go
  150. +2 −2 tpl/strings/strings.go
  151. +1 −1 tpl/strings/strings_test.go
  152. +1 −1 tpl/template.go
  153. +2 −2 tpl/time/init.go
  154. +2 −2 tpl/time/init_test.go
  155. +4 −4 tpl/tplimpl/template.go
  156. +2 −2 tpl/tplimpl/templateFuncster.go
  157. +1 −1 tpl/tplimpl/templateProvider.go
  158. +19 −19 tpl/tplimpl/template_funcs.go
  159. +7 −7 tpl/tplimpl/template_funcs_test.go
  160. +2 −2 tpl/transform/init.go
  161. +2 −2 tpl/transform/init_test.go
  162. +2 −2 tpl/transform/transform.go
  163. +4 −4 tpl/transform/transform_test.go
  164. +2 −2 tpl/urls/init.go
  165. +2 −2 tpl/urls/init_test.go
  166. +1 −1 tpl/urls/urls.go
  167. +1 −1 transform/chain.go
  168. +1 −1 transform/chain_test.go
  169. +1 −1 transform/hugogeneratorinject.go
View
@@ -1,6 +1,6 @@
# A Self-Documenting Makefile: http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
PACKAGE = github.com/spf13/hugo
PACKAGE = github.com/gohugoio/hugo
COMMIT_HASH = `git rev-parse --short HEAD 2>/dev/null`
BUILD_DATE = `date +%FT%T%z`
LDFLAGS = -ldflags "-X ${PACKAGE}/hugolib.CommitHash=${COMMIT_HASH} -X ${PACKAGE}/hugolib.BuildDate=${BUILD_DATE}"
View
@@ -14,9 +14,9 @@
package commands
import (
"github.com/spf13/hugo/deps"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/deps"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugofs"
)
type commandeer struct {
View
@@ -21,8 +21,8 @@ import (
"github.com/spf13/cast"
"github.com/spf13/cobra"
"github.com/spf13/hugo/hugolib"
"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/hugolib"
"github.com/gohugoio/hugo/parser"
)
var outputDir string
View
@@ -22,8 +22,8 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/cobra/doc"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugofs"
jww "github.com/spf13/jwalterweatherman"
)
@@ -20,7 +20,7 @@ import (
"path/filepath"
"github.com/spf13/cobra"
"github.com/spf13/hugo/docshelper"
"github.com/gohugoio/hugo/docshelper"
)
type genDocsHelper struct {
View
@@ -19,8 +19,8 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/cobra/doc"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugofs"
jww "github.com/spf13/jwalterweatherman"
)
View
@@ -19,7 +19,7 @@ import (
"fmt"
"io/ioutil"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
"log"
"net/http"
@@ -30,9 +30,9 @@ import (
"sync"
"time"
"github.com/spf13/hugo/config"
"github.com/gohugoio/hugo/config"
"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/parser"
flag "github.com/spf13/pflag"
"regexp"
@@ -41,12 +41,12 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/spf13/fsync"
"github.com/spf13/hugo/deps"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugolib"
"github.com/spf13/hugo/livereload"
"github.com/spf13/hugo/utils"
"github.com/spf13/hugo/watcher"
"github.com/gohugoio/hugo/deps"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugolib"
"github.com/gohugoio/hugo/livereload"
"github.com/gohugoio/hugo/utils"
"github.com/gohugoio/hugo/watcher"
jww "github.com/spf13/jwalterweatherman"
"github.com/spf13/nitro"
"github.com/spf13/viper"
@@ -28,10 +28,10 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cast"
"github.com/spf13/cobra"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugofs"
"github.com/spf13/hugo/hugolib"
"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugofs"
"github.com/gohugoio/hugo/hugolib"
"github.com/gohugoio/hugo/parser"
jww "github.com/spf13/jwalterweatherman"
)
View
@@ -17,7 +17,7 @@ import (
"path/filepath"
"github.com/spf13/cobra"
"github.com/spf13/hugo/hugolib"
"github.com/gohugoio/hugo/hugolib"
jww "github.com/spf13/jwalterweatherman"
)
View
@@ -24,11 +24,11 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/spf13/hugo/create"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugofs"
"github.com/spf13/hugo/hugolib"
"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/create"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugofs"
"github.com/gohugoio/hugo/hugolib"
"github.com/gohugoio/hugo/parser"
jww "github.com/spf13/jwalterweatherman"
"github.com/spf13/viper"
)
View
@@ -17,7 +17,7 @@ import (
"path/filepath"
"testing"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
View
@@ -17,7 +17,7 @@ package commands
import (
"github.com/spf13/cobra"
"github.com/spf13/hugo/releaser"
"github.com/gohugoio/hugo/releaser"
)
func init() {
View
@@ -26,8 +26,8 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cobra"
"github.com/spf13/hugo/config"
"github.com/spf13/hugo/helpers"
"github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/helpers"
jww "github.com/spf13/jwalterweatherman"
)
View
@@ -20,7 +20,7 @@ import (
"time"
"github.com/spf13/cobra"
"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/parser"
)
var undraftCmd = &cobra.Command{
View
@@ -21,7 +21,7 @@ import (
"testing"
"time"
"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/parser"
)
var (
View
@@ -22,8 +22,8 @@ import (
"github.com/kardianos/osext"
"github.com/spf13/cobra"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugolib"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugolib"
jww "github.com/spf13/jwalterweatherman"
)
View
@@ -24,9 +24,9 @@ import (
"github.com/spf13/afero"
"github.com/spf13/cast"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugolib"
"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugolib"
"github.com/gohugoio/hugo/parser"
jww "github.com/spf13/jwalterweatherman"
)
View
@@ -19,17 +19,17 @@ import (
"strings"
"testing"
"github.com/spf13/hugo/deps"
"github.com/gohugoio/hugo/deps"
"github.com/spf13/hugo/hugolib"
"github.com/gohugoio/hugo/hugolib"
"fmt"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
"github.com/spf13/afero"
"github.com/spf13/hugo/create"
"github.com/spf13/hugo/helpers"
"github.com/gohugoio/hugo/create"
"github.com/gohugoio/hugo/helpers"
"github.com/spf13/viper"
"github.com/stretchr/testify/require"
)
View
@@ -5,11 +5,11 @@ import (
"log"
"os"
"github.com/spf13/hugo/config"
"github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugofs"
"github.com/spf13/hugo/output"
"github.com/spf13/hugo/tpl"
"github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugofs"
"github.com/gohugoio/hugo/output"
"github.com/gohugoio/hugo/tpl"
jww "github.com/spf13/jwalterweatherman"
)
View
@@ -29,8 +29,8 @@ import (
"github.com/miekg/mmark"
"github.com/mitchellh/mapstructure"
"github.com/russross/blackfriday"
bp "github.com/spf13/hugo/bufferpool"
"github.com/spf13/hugo/config"
bp "github.com/gohugoio/hugo/bufferpool"
"github.com/gohugoio/hugo/config"
jww "github.com/spf13/jwalterweatherman"
"strings"
@@ -19,7 +19,7 @@ import (
"github.com/miekg/mmark"
"github.com/russross/blackfriday"
"github.com/spf13/hugo/config"
"github.com/gohugoio/hugo/config"
jww "github.com/spf13/jwalterweatherman"
)
View
@@ -19,7 +19,7 @@ import (
"testing"
"github.com/kyokomi/emoji"
"github.com/spf13/hugo/bufferpool"
"github.com/gohugoio/hugo/bufferpool"
)
func TestEmojiCustom(t *testing.T) {
View
@@ -27,7 +27,7 @@ import (
"unicode/utf8"
"github.com/spf13/cast"
bp "github.com/spf13/hugo/bufferpool"
bp "github.com/gohugoio/hugo/bufferpool"
jww "github.com/spf13/jwalterweatherman"
"github.com/spf13/pflag"
)
View
@@ -19,7 +19,7 @@ import (
"sync"
"github.com/spf13/cast"
"github.com/spf13/hugo/config"
"github.com/gohugoio/hugo/config"
)
// These are the settings that should only be looked up in the global Viper
View
@@ -30,7 +30,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/spf13/afero"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
"github.com/spf13/viper"
)
View
@@ -16,8 +16,8 @@ package helpers
import (
"fmt"
"github.com/spf13/hugo/config"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/hugofs"
)
// PathSpec holds methods that decides how paths in URLs and files in Hugo should look like.
View
@@ -16,7 +16,7 @@ package helpers
import (
"testing"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
"github.com/spf13/viper"
"github.com/stretchr/testify/require"
View
@@ -24,8 +24,8 @@ import (
"sort"
"strings"
"github.com/spf13/hugo/config"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/hugofs"
jww "github.com/spf13/jwalterweatherman"
)
@@ -3,7 +3,7 @@ package helpers
import (
"github.com/spf13/viper"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
)
func newTestPathSpec(fs *hugofs.Fs, v *viper.Viper) *PathSpec {
View
@@ -18,7 +18,7 @@ import (
"strings"
"testing"
"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
View
@@ -16,7 +16,7 @@ package hugofs
import (
"github.com/spf13/afero"
"github.com/spf13/hugo/config"
"github.com/gohugoio/hugo/config"
)
// Os points to an Os Afero file system.
View
@@ -18,7 +18,7 @@ import (
"testing"
"github.com/spf13/hugo/deps"
"github.com/gohugoio/hugo/deps"
)
func Test404(t *testing.T) {
View
@@ -22,11 +22,11 @@ import (
"runtime"
"strings"
"github.com/spf13/hugo/tpl"
"github.com/gohugoio/hugo/tpl"
jww "github.com/spf13/jwalterweatherman"
"github.com/spf13/hugo/helpers"
"github.com/gohugoio/hugo/helpers"
)
const (
Oops, something went wrong.

0 comments on commit d8717cd

Please sign in to comment.