Skip to content

Commit

Permalink
all: Update import paths to gohugoio/hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Jun 13, 2017
1 parent 2d08a29 commit d8717cd
Show file tree
Hide file tree
Showing 169 changed files with 355 additions and 355 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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}"
Expand Down
6 changes: 3 additions & 3 deletions commands/commandeer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions commands/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions commands/gendoc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion commands/gendocshelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"path/filepath"

"github.com/spf13/cobra"
"github.com/spf13/hugo/docshelper"
"github.com/gohugoio/hugo/docshelper"
)

type genDocsHelper struct {
Expand Down
4 changes: 2 additions & 2 deletions commands/genman.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
18 changes: 9 additions & 9 deletions commands/hugo.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"fmt"
"io/ioutil"

"github.com/spf13/hugo/hugofs"
"github.com/gohugoio/hugo/hugofs"

"log"
"net/http"
Expand All @@ -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"
Expand All @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions commands/import_jekyll.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion commands/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
10 changes: 5 additions & 5 deletions commands/new.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion commands/new_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion commands/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package commands

import (
"github.com/spf13/cobra"
"github.com/spf13/hugo/releaser"
"github.com/gohugoio/hugo/releaser"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions commands/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion commands/undraft.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"time"

"github.com/spf13/cobra"
"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/parser"
)

var undraftCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion commands/undraft_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"testing"
"time"

"github.com/spf13/hugo/parser"
"github.com/gohugoio/hugo/parser"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions commands/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
6 changes: 3 additions & 3 deletions create/content.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
10 changes: 5 additions & 5 deletions create/content_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
10 changes: 5 additions & 5 deletions deps/deps.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions helpers/content.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion helpers/content_renderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion helpers/emoji_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion helpers/general.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion helpers/language.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion helpers/path_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions helpers/pathspec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion helpers/pathspec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions helpers/pygments.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion helpers/testhelpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion helpers/url_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion hugofs/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion hugolib/404_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

"testing"

"github.com/spf13/hugo/deps"
"github.com/gohugoio/hugo/deps"
)

func Test404(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions hugolib/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
Loading

0 comments on commit d8717cd

Please sign in to comment.