Move packages to chihaya org

This commit is contained in:
Justin Li 2013-11-30 22:39:02 -05:00
parent af6dbcc3cd
commit 93af4912c4
18 changed files with 35 additions and 35 deletions

View file

@ -3,7 +3,7 @@ language: go
go: 1.1.2
env:
- TESTCONFIGPATH=/home/travis/gopath/src/github.com/pushrax/chihaya/config/example.json
- TESTCONFIGPATH=/home/travis/gopath/src/github.com/chihaya/chihaya/config/example.json
services:
- redis-server

View file

@ -12,7 +12,7 @@ import (
"strconv"
"time"
"github.com/pushrax/chihaya/storage"
"github.com/chihaya/chihaya/storage"
)
func (s Server) serveAnnounce(w http.ResponseWriter, r *http.Request) {

View file

@ -11,7 +11,7 @@ import (
"net/http"
"path"
"github.com/pushrax/chihaya/storage"
"github.com/chihaya/chihaya/storage"
)
func (s *Server) serveScrape(w http.ResponseWriter, r *http.Request) {

View file

@ -18,9 +18,9 @@ import (
"github.com/etix/stoppableListener"
"github.com/pushrax/chihaya/config"
"github.com/pushrax/chihaya/storage"
"github.com/pushrax/chihaya/storage/tracker"
"github.com/chihaya/chihaya/config"
"github.com/chihaya/chihaya/storage"
"github.com/chihaya/chihaya/storage/tracker"
)
type Server struct {

View file

@ -10,7 +10,7 @@ import (
"sync/atomic"
"time"
"github.com/pushrax/chihaya/config"
"github.com/chihaya/chihaya/config"
)
type stats struct {

View file

@ -11,10 +11,10 @@ import (
"os"
"testing"
"github.com/pushrax/chihaya/config"
"github.com/chihaya/chihaya/config"
_ "github.com/pushrax/chihaya/storage/backend/batter"
_ "github.com/pushrax/chihaya/storage/tracker/redis"
_ "github.com/chihaya/chihaya/storage/backend/batter"
_ "github.com/chihaya/chihaya/storage/tracker/redis"
)
func newTestServer() (*Server, error) {

View file

@ -9,8 +9,8 @@ package backend
import (
"fmt"
"github.com/pushrax/chihaya/config"
"github.com/pushrax/chihaya/storage"
"github.com/chihaya/chihaya/config"
"github.com/chihaya/chihaya/storage"
)
var drivers = make(map[string]Driver)

View file

@ -10,8 +10,8 @@ import (
"database/sql"
"fmt"
"github.com/pushrax/chihaya/config"
"github.com/pushrax/chihaya/storage/backend"
"github.com/chihaya/chihaya/config"
"github.com/chihaya/chihaya/storage/backend"
_ "github.com/bmizerany/pq"
)

View file

@ -5,7 +5,7 @@
package batter
import (
"github.com/pushrax/chihaya/storage"
"github.com/chihaya/chihaya/storage"
)
func (c *Conn) LoadTorrents(ids []uint64) ([]*storage.Torrent, error) {

View file

@ -11,8 +11,8 @@ import (
"fmt"
"sync"
"github.com/pushrax/chihaya/config"
"github.com/pushrax/chihaya/storage/backend"
"github.com/chihaya/chihaya/config"
"github.com/chihaya/chihaya/storage/backend"
_ "github.com/go-sql-driver/mysql"
)

View file

@ -5,7 +5,7 @@
package gazelle
import (
"github.com/pushrax/chihaya/storage"
"github.com/chihaya/chihaya/storage"
)
func (c *Conn) LoadTorrents(ids []uint64) ([]*storage.Torrent, error) {

View file

@ -5,8 +5,8 @@
package mock
import (
"github.com/pushrax/chihaya/storage"
"github.com/pushrax/chihaya/storage/tracker"
"github.com/chihaya/chihaya/storage"
"github.com/chihaya/chihaya/storage/tracker"
)
type Conn struct {

View file

@ -8,9 +8,9 @@
package mock
import (
"github.com/pushrax/chihaya/config"
"github.com/pushrax/chihaya/storage"
"github.com/pushrax/chihaya/storage/tracker"
"github.com/chihaya/chihaya/config"
"github.com/chihaya/chihaya/storage"
"github.com/chihaya/chihaya/storage/tracker"
)
type driver struct{}

View file

@ -7,8 +7,8 @@ package mock
import (
"sync"
"github.com/pushrax/chihaya/storage"
"github.com/pushrax/chihaya/storage/tracker"
"github.com/chihaya/chihaya/storage"
"github.com/chihaya/chihaya/storage/tracker"
)
type Pool struct {

View file

@ -11,9 +11,9 @@ import (
"testing"
"time"
"github.com/pushrax/chihaya/config"
"github.com/pushrax/chihaya/storage"
"github.com/pushrax/chihaya/storage/tracker"
"github.com/chihaya/chihaya/config"
"github.com/chihaya/chihaya/storage"
"github.com/chihaya/chihaya/storage/tracker"
)
func createTestConn() tracker.Conn {

View file

@ -30,9 +30,9 @@ import (
"github.com/garyburd/redigo/redis"
"github.com/pushrax/chihaya/config"
"github.com/pushrax/chihaya/storage"
"github.com/pushrax/chihaya/storage/tracker"
"github.com/chihaya/chihaya/config"
"github.com/chihaya/chihaya/storage"
"github.com/chihaya/chihaya/storage/tracker"
)
var (

View file

@ -14,8 +14,8 @@ import (
"github.com/garyburd/redigo/redis"
"github.com/pushrax/chihaya/config"
"github.com/pushrax/chihaya/storage"
"github.com/chihaya/chihaya/config"
"github.com/chihaya/chihaya/storage"
)
var (

View file

@ -10,8 +10,8 @@ import (
"errors"
"fmt"
"github.com/pushrax/chihaya/config"
"github.com/pushrax/chihaya/storage"
"github.com/chihaya/chihaya/config"
"github.com/chihaya/chihaya/storage"
)
var (