Skip to content

Commit

Permalink
updating go import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
technoweenie committed Jan 30, 2015
1 parent 6cad195 commit 928000f
Show file tree
Hide file tree
Showing 36 changed files with 45 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ bin/
benchmark/
.vendor/pkg
servertest
.vendor/src/github.com/github/git-media
.vendor/src/github.com/hawser/git-hawser

# only allow man/*.\d.ronn files
man/*
Expand Down
1 change: 1 addition & 0 deletions .vendor/src/github.com/github/git-media
2 changes: 1 addition & 1 deletion cmd/git-hawser.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/github/git-media/commands"
"github.com/hawser/git-hawser/commands"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions commands/command_clean.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package commands

import (
"github.com/github/git-media/hawser"
"github.com/github/git-media/pointer"
"github.com/hawser/git-hawser/hawser"
"github.com/hawser/git-hawser/pointer"
"github.com/spf13/cobra"
"os"
)
Expand Down
2 changes: 1 addition & 1 deletion commands/command_env.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package commands

import (
"github.com/github/git-media/hawser"
"github.com/hawser/git-hawser/hawser"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion commands/command_init.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package commands

import (
"github.com/github/git-media/hawser"
"github.com/hawser/git-hawser/hawser"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion commands/command_logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package commands

import (
"errors"
"github.com/github/git-media/hawser"
"github.com/hawser/git-hawser/hawser"
"github.com/spf13/cobra"
"io/ioutil"
"os"
Expand Down
4 changes: 2 additions & 2 deletions commands/command_ls_files.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package commands

import (
"github.com/github/git-media/git"
"github.com/github/git-media/scanner"
"github.com/hawser/git-hawser/git"
"github.com/hawser/git-hawser/scanner"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion commands/command_path.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package commands
import (
"bufio"
"fmt"
"github.com/github/git-media/hawser"
"github.com/hawser/git-hawser/hawser"
"github.com/spf13/cobra"
"io/ioutil"
"os"
Expand Down
8 changes: 4 additions & 4 deletions commands/command_push.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package commands

import (
"github.com/github/git-media/git"
"github.com/github/git-media/hawser"
"github.com/github/git-media/hawserclient"
"github.com/github/git-media/scanner"
"github.com/hawser/git-hawser/git"
"github.com/hawser/git-hawser/hawser"
"github.com/hawser/git-hawser/hawserclient"
"github.com/hawser/git-hawser/scanner"
"github.com/rubyist/tracerx"
"github.com/spf13/cobra"
"io/ioutil"
Expand Down
4 changes: 2 additions & 2 deletions commands/command_smudge.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package commands

import (
"bytes"
"github.com/github/git-media/hawser"
"github.com/github/git-media/pointer"
"github.com/hawser/git-hawser/hawser"
"github.com/hawser/git-hawser/pointer"
"github.com/spf13/cobra"
"io"
"os"
Expand Down
4 changes: 2 additions & 2 deletions commands/command_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package commands

import (
"fmt"
"github.com/github/git-media/git"
"github.com/github/git-media/scanner"
"github.com/hawser/git-hawser/git"
"github.com/hawser/git-hawser/scanner"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion commands/command_update.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package commands

import (
"github.com/github/git-media/hawser"
"github.com/hawser/git-hawser/hawser"
"github.com/spf13/cobra"
"os"
"path/filepath"
Expand Down
2 changes: 1 addition & 1 deletion commands/command_version.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package commands

import (
"github.com/github/git-media/hawser"
"github.com/hawser/git-hawser/hawser"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion commands/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package commands
import (
"bytes"
"fmt"
"github.com/github/git-media/hawser"
"github.com/hawser/git-hawser/hawser"
"github.com/spf13/cobra"
"io"
"log"
Expand Down
4 changes: 2 additions & 2 deletions commands/repos/submodule.git/config
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = /Users/rick/github/git-media/commands/repos/submodule.git
url = /Users/rick/hawser/git-hawser/commands/repos/submodule.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[submodule "attributes"]
url = /Users/rick/github/git-media/commands/repos/attributes.git
url = /Users/rick/hawser/git-hawser/commands/repos/attributes.git
2 changes: 1 addition & 1 deletion commands/repos/submodule.git/logs/HEAD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
0000000000000000000000000000000000000000 b608e68155fac7a7d9bfa126de62ba3f10a33e30 Rick Olson <[email protected]> 1402007980 -0600 clone: from /Users/rick/github/git-media/commands/repos/submodule.git
0000000000000000000000000000000000000000 b608e68155fac7a7d9bfa126de62ba3f10a33e30 Rick Olson <[email protected]> 1402007980 -0600 clone: from /Users/rick/hawser/git-hawser/commands/repos/submodule.git
b608e68155fac7a7d9bfa126de62ba3f10a33e30 862c32b0f154e2f48374c9bb66811732bce51fce Rick Olson <[email protected]> 1402008046 -0600 commit (amend): add submodule
2 changes: 1 addition & 1 deletion commands/repos/submodule.git/logs/refs/heads/master
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
0000000000000000000000000000000000000000 b608e68155fac7a7d9bfa126de62ba3f10a33e30 Rick Olson <[email protected]> 1402007980 -0600 clone: from /Users/rick/github/git-media/commands/repos/submodule.git
0000000000000000000000000000000000000000 b608e68155fac7a7d9bfa126de62ba3f10a33e30 Rick Olson <[email protected]> 1402007980 -0600 clone: from /Users/rick/hawser/git-hawser/commands/repos/submodule.git
b608e68155fac7a7d9bfa126de62ba3f10a33e30 862c32b0f154e2f48374c9bb66811732bce51fce Rick Olson <[email protected]> 1402008046 -0600 commit (amend): add submodule
2 changes: 1 addition & 1 deletion commands/repos/submodule.git/logs/refs/remotes/origin/HEAD
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0000000000000000000000000000000000000000 b608e68155fac7a7d9bfa126de62ba3f10a33e30 Rick Olson <[email protected]> 1402007980 -0600 clone: from /Users/rick/github/git-media/commands/repos/submodule.git
0000000000000000000000000000000000000000 b608e68155fac7a7d9bfa126de62ba3f10a33e30 Rick Olson <[email protected]> 1402007980 -0600 clone: from /Users/rick/hawser/git-hawser/commands/repos/submodule.git
2 changes: 1 addition & 1 deletion commands/repos/submodule.git/modules/attributes/config
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = /Users/rick/github/git-media/commands/repos/attributes.git
url = /Users/rick/hawser/git-hawser/commands/repos/attributes.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
Expand Down
2 changes: 1 addition & 1 deletion commands/repos/submodule.git/modules/attributes/logs/HEAD
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0000000000000000000000000000000000000000 f554c0ff0e7525ec508b489a720a89819cd5d84a Rick Olson <[email protected]> 1402008021 -0600 clone: from /Users/rick/github/git-media/commands/repos/attributes.git
0000000000000000000000000000000000000000 f554c0ff0e7525ec508b489a720a89819cd5d84a Rick Olson <[email protected]> 1402008021 -0600 clone: from /Users/rick/hawser/git-hawser/commands/repos/attributes.git
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0000000000000000000000000000000000000000 f554c0ff0e7525ec508b489a720a89819cd5d84a Rick Olson <[email protected]> 1402008021 -0600 clone: from /Users/rick/github/git-media/commands/repos/attributes.git
0000000000000000000000000000000000000000 f554c0ff0e7525ec508b489a720a89819cd5d84a Rick Olson <[email protected]> 1402008021 -0600 clone: from /Users/rick/hawser/git-hawser/commands/repos/attributes.git
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0000000000000000000000000000000000000000 f554c0ff0e7525ec508b489a720a89819cd5d84a Rick Olson <[email protected]> 1402008021 -0600 clone: from /Users/rick/github/git-media/commands/repos/attributes.git
0000000000000000000000000000000000000000 f554c0ff0e7525ec508b489a720a89819cd5d84a Rick Olson <[email protected]> 1402008021 -0600 clone: from /Users/rick/hawser/git-hawser/commands/repos/attributes.git
2 changes: 1 addition & 1 deletion commands/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package commands

import (
"fmt"
"github.com/github/git-media/hawser"
"github.com/hawser/git-hawser/hawser"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion hawser/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package hawser
import (
"crypto/tls"
"fmt"
"github.com/github/git-media/git"
"github.com/hawser/git-hawser/git"
"net/http"
"os"
"path"
Expand Down
2 changes: 1 addition & 1 deletion hawser/hawser.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package hawser

import (
"fmt"
"github.com/github/git-media/git"
"github.com/hawser/git-hawser/git"
"github.com/rubyist/tracerx"
"io/ioutil"
"os"
Expand Down
2 changes: 1 addition & 1 deletion hawser/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package hawser
import (
"errors"
"fmt"
"github.com/github/git-media/git"
"github.com/hawser/git-hawser/git"
"io/ioutil"
"os"
"path/filepath"
Expand Down
2 changes: 1 addition & 1 deletion hawserclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"errors"
"fmt"
"github.com/cheggaaa/pb"
"github.com/github/git-media/hawser"
"github.com/hawser/git-hawser/hawser"
"github.com/rubyist/tracerx"
"io"
"io/ioutil"
Expand Down
2 changes: 1 addition & 1 deletion hawserclient/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package hawserclient

import (
"github.com/bmizerany/assert"
"github.com/github/git-media/hawser"
"github.com/hawser/git-hawser/hawser"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion pointer/clean.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package pointer
import (
"crypto/sha256"
"encoding/hex"
"github.com/github/git-media/hawser"
"github.com/hawser/git-hawser/hawser"
"io"
"os"
)
Expand Down
2 changes: 1 addition & 1 deletion pointer/pointer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"bytes"
"errors"
"fmt"
"github.com/github/git-media/hawser"
"github.com/hawser/git-hawser/hawser"
"io"
"regexp"
"strconv"
Expand Down
4 changes: 2 additions & 2 deletions pointer/smudge.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package pointer

import (
"github.com/github/git-media/hawser"
"github.com/github/git-media/hawserclient"
"github.com/hawser/git-hawser/hawser"
"github.com/hawser/git-hawser/hawserclient"
"github.com/technoweenie/go-contentaddressable"
"io"
"os"
Expand Down
2 changes: 1 addition & 1 deletion scanner/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package scanner
import (
"bufio"
"bytes"
"github.com/github/git-media/pointer"
"github.com/hawser/git-hawser/pointer"
"github.com/rubyist/tracerx"
"io"
"os/exec"
Expand Down
2 changes: 1 addition & 1 deletion script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ script/fmt
rm -rf `pwd`/bin/*
rm -rf `pwd`/.vendor/pkg

export LOCALSRCDIR=`pwd`/.vendor/src/github.com/github/git-media
export LOCALSRCDIR=`pwd`/.vendor/src/github.com/hawser/git-hawser
mkdir -p `dirname $LOCALSRCDIR`
rm -f $LOCALSRCDIR
ln -s `pwd` $LOCALSRCDIR
Expand Down
2 changes: 1 addition & 1 deletion script/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"flag"
"fmt"
"github.com/github/git-media/hawser"
"github.com/hawser/git-hawser/hawser"
"os"
"os/exec"
"path/filepath"
Expand Down
2 changes: 1 addition & 1 deletion script/test
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
script/fmt
script/bootstrap

export LOCALSRCDIR=`pwd`/.vendor/src/github.com/github/git-media
export LOCALSRCDIR=`pwd`/.vendor/src/github.com/hawser/git-hawser
mkdir -p `dirname $LOCALSRCDIR`
rm -f $LOCALSRCDIR
ln -s `pwd` $LOCALSRCDIR
Expand Down

0 comments on commit 928000f

Please sign in to comment.