Commit c0c017ba authored by zauberstuhl's avatar zauberstuhl
Browse files

Use gopkg provider instead of github

With gopkg we can use versioning
otherwise the github link will
always point to the master branch
parent d41a674d
srcdir := src/github.com/ganggo/ganggo
srcdir := src/gopkg.in/ganggo/ganggo.v0
mode := $(shell echo -n $(MODE) 2> /dev/null)
......@@ -78,7 +78,7 @@ compile:
ifndef revel
$(error "revel $(install_deps_info)")
endif
revel package github.com/ganggo/ganggo $(mode)
revel package gopkg.in/ganggo/ganggo.v0 $(mode)
package-wrapper:
tarball="ganggo-$$GOOS.$$GOARCH.tar.gz" ; \
......
......@@ -33,7 +33,7 @@ Then run
If you don't want to compile the whole application everytime
you change something you can run it directly via
revel run github.com/ganggo/ganggo
revel run gopkg.in/ganggo/ganggo.v0
Revel is able to watch changes and recompile if necessary!
......
......@@ -20,7 +20,7 @@ package controllers
import (
"net/http"
"github.com/revel/revel"
"github.com/ganggo/ganggo/app/models"
"gopkg.in/ganggo/ganggo.v0/app/models"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
_ "github.com/jinzhu/gorm/dialects/mssql"
......
......@@ -19,7 +19,7 @@ package controllers
import (
"github.com/revel/revel"
"github.com/ganggo/ganggo/app/models"
"gopkg.in/ganggo/ganggo.v0/app/models"
api "gopkg.in/ganggo/api.v0/app/controllers"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
......
......@@ -19,7 +19,7 @@ package controllers
import (
"github.com/revel/revel"
"github.com/ganggo/ganggo/app/models"
"gopkg.in/ganggo/ganggo.v0/app/models"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
_ "github.com/jinzhu/gorm/dialects/mssql"
......
......@@ -20,14 +20,14 @@ package controllers
import (
"net/http"
"github.com/revel/revel"
"github.com/ganggo/federation"
federation "gopkg.in/ganggo/federation.v0"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
_ "github.com/jinzhu/gorm/dialects/mssql"
_ "github.com/jinzhu/gorm/dialects/mysql"
_ "github.com/jinzhu/gorm/dialects/sqlite"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/jobs"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/jobs"
)
type Receiver struct {
......
......@@ -19,8 +19,8 @@ package controllers
import (
"github.com/revel/revel"
"github.com/ganggo/ganggo/app/helpers"
"github.com/ganggo/ganggo/app/jobs"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
"gopkg.in/ganggo/ganggo.v0/app/jobs"
)
type Search struct {
......
......@@ -20,7 +20,7 @@ package controllers
import (
"net/http"
"github.com/revel/revel"
"github.com/ganggo/ganggo/app/models"
"gopkg.in/ganggo/ganggo.v0/app/models"
)
type Stream struct {
......
......@@ -27,8 +27,8 @@ import (
"crypto/x509"
"encoding/pem"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/helpers"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
_ "github.com/jinzhu/gorm/dialects/mssql"
......
......@@ -20,8 +20,8 @@ package controllers
import (
"net/http"
"github.com/revel/revel"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/federation"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
_ "github.com/jinzhu/gorm/dialects/mssql"
......
......@@ -19,8 +19,8 @@ package app
import (
"github.com/revel/revel"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/views"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/views"
"github.com/shaoshing/train"
"strings"
"fmt"
......
......@@ -20,9 +20,9 @@ package jobs
import (
"encoding/xml"
"github.com/revel/revel"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/helpers"
"github.com/ganggo/federation"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
federation "gopkg.in/ganggo/federation.v0"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
_ "github.com/jinzhu/gorm/dialects/mssql"
......
......@@ -20,9 +20,9 @@ package jobs
import (
"encoding/xml"
"github.com/revel/revel"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/helpers"
"github.com/ganggo/federation"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
federation "gopkg.in/ganggo/federation.v0"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
_ "github.com/jinzhu/gorm/dialects/mssql"
......
......@@ -21,9 +21,9 @@ import (
"time"
"encoding/xml"
"github.com/revel/revel"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/helpers"
"github.com/ganggo/federation"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
federation "gopkg.in/ganggo/federation.v0"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
_ "github.com/jinzhu/gorm/dialects/mssql"
......
......@@ -19,8 +19,8 @@ package jobs
import (
"github.com/revel/revel"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/federation"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"bytes"
"sync"
_ "github.com/jinzhu/gorm/dialects/postgres"
......
......@@ -20,9 +20,9 @@ package jobs
import (
"encoding/base64"
"github.com/revel/revel"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/helpers"
"github.com/ganggo/federation"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
federation "gopkg.in/ganggo/federation.v0"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
_ "github.com/jinzhu/gorm/dialects/mssql"
......
......@@ -20,10 +20,10 @@ package jobs
import (
"strings"
"github.com/revel/revel"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/helpers"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
"github.com/PuerkitoBio/goquery"
"github.com/ganggo/federation"
federation "gopkg.in/ganggo/federation.v0"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
_ "github.com/jinzhu/gorm/dialects/mssql"
......
......@@ -19,8 +19,8 @@ package jobs
import (
"github.com/revel/revel"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/federation"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
_ "github.com/jinzhu/gorm/dialects/mssql"
......
......@@ -19,9 +19,9 @@ package jobs
import (
"github.com/revel/revel"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/helpers"
"github.com/ganggo/federation"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
federation "gopkg.in/ganggo/federation.v0"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
_ "github.com/jinzhu/gorm/dialects/mssql"
......
......@@ -19,7 +19,7 @@ package models
import (
"time"
"github.com/ganggo/federation"
federation "gopkg.in/ganggo/federation.v0"
"github.com/jinzhu/gorm"
_ "github.com/jinzhu/gorm/dialects/postgres"
_ "github.com/jinzhu/gorm/dialects/mssql"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment