Commit 220e4241 authored by Lukas Matt's avatar Lukas Matt

Switch import paths to github link

parent 28578be0
......@@ -7,7 +7,7 @@ env:
global:
- UPDATE_CHANNEL=alpha
- PATH=$PATH:$GOPATH/bin
- VERSION=$(git describe --abbrev=0 --tags |cut -d- -f1)
- VERSION=$(git describe --abbrev=0 --tags)
matrix:
- BUILD_GOOS=linux BUILD_GOARCH=amd64
before_install:
......@@ -20,7 +20,7 @@ stages:
jobs:
include:
- stage: test
go_import_path: gopkg.in/ganggo/ganggo.$VERSION
go_import_path: github.com/ganggo/ganggo
install:
- make install
script:
......@@ -29,7 +29,7 @@ jobs:
# to avoid it we wrap the values in the BUILD-variables
- GOARCH=$BUILD_GOARCH GOOS=$BUILD_GOOS GOARM=$BUILD_GOARM make test
- stage: release
go_import_path: gopkg.in/ganggo/ganggo.$VERSION
go_import_path: github.com/ganggo/ganggo
install:
- make install
script:
......
......@@ -20,10 +20,10 @@
version = "v1.0.0"
[[projects]]
branch = "master"
name = "github.com/andybalholm/cascadia"
packages = ["."]
revision = "349dd0209470eabd9514242c688c403c0926d266"
revision = "901648c87902174f774fac311d7f176f8647bdaa"
version = "v1.0.0"
[[projects]]
name = "github.com/aws/aws-sdk-go"
......@@ -55,8 +55,8 @@
"service/s3",
"service/sts"
]
revision = "63324a33d7e42a386c04d4daec764a3de243492e"
version = "v1.13.0"
revision = "adeb60566bc8c9202b0f1be7e3a675beedbc11f0"
version = "v1.13.2"
[[projects]]
branch = "master"
......@@ -76,6 +76,22 @@
revision = "a720dfa8df582c51dee1b36feabb906bde1588bd"
version = "v1.0"
[[projects]]
branch = "master"
name = "github.com/ganggo/api"
packages = [
"app",
"app/controllers",
"app/helpers"
]
revision = "ab2c75fae21500f8faec05bf41b8d497ea6cd441"
[[projects]]
branch = "master"
name = "github.com/ganggo/federation"
packages = ["."]
revision = "9abcf5eec0dcc846a94586055522860d79550a70"
[[projects]]
name = "github.com/go-ini/ini"
packages = ["."]
......@@ -288,22 +304,6 @@
revision = "c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9"
version = "v1.4.7"
[[projects]]
branch = "master"
name = "gopkg.in/ganggo/api.v0"
packages = [
"app",
"app/controllers",
"app/helpers"
]
revision = "4dbc3ff5780086678438e606427dc5296bd53388"
[[projects]]
branch = "master"
name = "gopkg.in/ganggo/federation.v0"
packages = ["."]
revision = "9abcf5eec0dcc846a94586055522860d79550a70"
[[projects]]
name = "gopkg.in/ganggo/gorm.v2"
packages = [
......@@ -331,6 +331,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "b477f15ef881efb47c75e59b99e71745887872fc3b5e741f5d768db5bb55b127"
inputs-digest = "e5165afc0ebe22ad8ab93707ffc02b66dd0955221d591d904bad606a724cb0bf"
solver-name = "gps-cdcl"
solver-version = 1
......@@ -13,9 +13,13 @@ required = [
branch = "master"
name = "github.com/dchest/captcha"
[[override]]
name = "github.com/fatih/structs"
version = "1.0.0"
[[constraint]]
branch = "master"
name = "github.com/ganggo/api"
[[constraint]]
branch = "master"
name = "github.com/ganggo/federation"
[[constraint]]
branch = "master"
......@@ -45,10 +49,6 @@ required = [
name = "gopkg.in/AlecAivazis/survey.v1"
version = "1.4.1"
[[constraint]]
branch = "master"
name = "gopkg.in/ganggo/federation.v0"
[[constraint]]
name = "gopkg.in/ganggo/gorm.v2"
version = "2.0.0"
......
......@@ -48,7 +48,7 @@ endif
# XXX this seams to be a bug in revel
# it cannot find the api module within
# the vendor directory even though it exists
go get -d gopkg.in/ganggo/api.v0/...
go get -d github.com/ganggo/api/...
## CLI for train asset library / revel webframework
go get -d \
github.com/shaoshing/train \
......
......@@ -21,9 +21,9 @@ import (
"net/http"
"encoding/xml"
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/helpers"
federation "github.com/ganggo/federation"
"strings"
)
......
......@@ -19,7 +19,7 @@ package controllers
import (
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
"github.com/ganggo/ganggo/app/models"
)
type Hcard struct {
......
......@@ -19,7 +19,7 @@ package controllers
import (
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
"github.com/ganggo/ganggo/app/models"
)
func init() {
......
......@@ -19,7 +19,7 @@ package controllers
import (
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
"github.com/ganggo/ganggo/app/models"
)
type NodeInfo struct {
......
......@@ -19,7 +19,7 @@ package controllers
import (
"github.com/revel/revel"
api "gopkg.in/ganggo/api.v0/app/controllers"
api "github.com/ganggo/api/app/controllers"
)
type People struct {
......
......@@ -19,7 +19,7 @@ package controllers
import (
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
"github.com/ganggo/ganggo/app/models"
)
type Post struct {
......
......@@ -19,7 +19,7 @@ package controllers
import (
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
"github.com/ganggo/ganggo/app/models"
)
type Profile struct {
......
......@@ -20,10 +20,10 @@ package controllers
import (
"net/http"
"github.com/revel/revel"
federation "gopkg.in/ganggo/federation.v0"
federation "github.com/ganggo/federation"
run "github.com/revel/modules/jobs/app/jobs"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/jobs"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/jobs"
"io/ioutil"
)
......
......@@ -20,9 +20,9 @@ package controllers
import (
"strings"
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
"gopkg.in/ganggo/ganggo.v0/app/jobs"
"gopkg.in/ganggo/ganggo.v0/app/models"
"github.com/ganggo/ganggo/app/helpers"
"github.com/ganggo/ganggo/app/jobs"
"github.com/ganggo/ganggo/app/models"
)
type Search struct {
......
......@@ -19,7 +19,7 @@ package controllers
import (
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
"github.com/ganggo/ganggo/app/models"
)
type Setting struct {
......
......@@ -19,7 +19,7 @@ package controllers
import (
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
"github.com/ganggo/ganggo/app/models"
)
type Stream struct {
......
......@@ -20,7 +20,7 @@ package controllers
import (
"sort"
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
"github.com/ganggo/ganggo/app/models"
)
type Tag struct {
......
......@@ -28,8 +28,8 @@ import (
"crypto/x509"
"encoding/pem"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/helpers"
)
type User struct {
......
......@@ -20,8 +20,8 @@ package controllers
import (
"net/http"
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
federation "github.com/ganggo/federation"
"errors"
)
......
......@@ -20,7 +20,7 @@ package helpers
import (
"fmt"
"github.com/revel/revel"
federation "gopkg.in/ganggo/federation.v0"
federation "github.com/ganggo/federation"
)
type AppLogWrapper struct {
......
......@@ -21,12 +21,12 @@ import (
"io/ioutil"
"encoding/json"
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/views"
"gopkg.in/ganggo/ganggo.v0/app/jobs"
"github.com/ganggo/ganggo/app/helpers"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/views"
"github.com/ganggo/ganggo/app/jobs"
run "github.com/revel/modules/jobs/app/jobs"
federation "gopkg.in/ganggo/federation.v0"
federation "github.com/ganggo/federation"
"net/http"
"strings"
"fmt"
......
......@@ -20,8 +20,8 @@ package jobs
import (
"encoding/xml"
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
federation "github.com/ganggo/federation"
)
func (dispatcher *Dispatcher) Comment(comment federation.EntityComment) {
......
......@@ -21,9 +21,9 @@ import (
"encoding/xml"
"github.com/revel/revel"
run "github.com/revel/modules/jobs/app/jobs"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/helpers"
federation "github.com/ganggo/federation"
)
func (dispatcher *Dispatcher) Contact(contact federation.EntityContact) {
......
......@@ -20,8 +20,8 @@ package jobs
import (
"encoding/xml"
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
federation "github.com/ganggo/federation"
)
func (dispatcher *Dispatcher) Like(like federation.EntityLike) {
......
......@@ -20,8 +20,8 @@ package jobs
import (
"encoding/xml"
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
federation "github.com/ganggo/federation"
)
func (dispatcher *Dispatcher) Reshare(reshare federation.EntityReshare) {
......
......@@ -20,8 +20,8 @@ package jobs
import (
"encoding/xml"
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
federation "github.com/ganggo/federation"
"strings"
)
......
......@@ -20,9 +20,9 @@ package jobs
import (
"crypto/rsa"
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/helpers"
federation "github.com/ganggo/federation"
run "github.com/revel/modules/jobs/app/jobs"
"bytes"
)
......
......@@ -20,9 +20,9 @@ package jobs
import (
"errors"
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/helpers"
federation "github.com/ganggo/federation"
)
type FetchAuthor struct {
......
......@@ -19,8 +19,8 @@ package jobs
import (
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
federation "github.com/ganggo/federation"
run "github.com/revel/modules/jobs/app/jobs"
)
......
......@@ -19,8 +19,8 @@ package jobs
import (
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
federation "github.com/ganggo/federation"
)
func (receiver *Receiver) Contact(entity federation.EntityContact) {
......
......@@ -19,8 +19,8 @@ package jobs
import (
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
federation "github.com/ganggo/federation"
run "github.com/revel/modules/jobs/app/jobs"
)
......
......@@ -19,8 +19,8 @@ package jobs
import (
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
federation "github.com/ganggo/federation"
)
func (receiver *Receiver) Reshare(entity federation.EntityReshare) {
......
......@@ -19,9 +19,9 @@ package jobs
import (
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/helpers"
"github.com/ganggo/ganggo/app/models"
federation "github.com/ganggo/federation"
"strings"
)
......
......@@ -20,8 +20,8 @@ package jobs
import (
"strings"
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
federation "github.com/ganggo/federation"
)
func (r *Receiver) Retraction(retraction federation.EntityRetraction) {
......
......@@ -19,8 +19,8 @@ package jobs
import (
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
federation "github.com/ganggo/federation"
)
type Receiver struct {
......
......@@ -19,8 +19,8 @@ package jobs
import (
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/models"
federation "github.com/ganggo/federation"
"strings"
"fmt"
)
......
......@@ -20,7 +20,7 @@ package jobs
import (
"time"
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/models"
"github.com/ganggo/ganggo/app/models"
)
type Session struct {}
......
......@@ -20,7 +20,7 @@ package models
import (
"time"
"github.com/revel/revel"
federation "gopkg.in/ganggo/federation.v0"
federation "github.com/ganggo/federation"
"gopkg.in/ganggo/gorm.v2"
)
......
......@@ -19,8 +19,8 @@ package models
import (
"time"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/helpers"
federation "github.com/ganggo/federation"
"gopkg.in/ganggo/gorm.v2"
)
......
......@@ -21,7 +21,7 @@ import (
"time"
"errors"
"github.com/revel/revel"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
"github.com/ganggo/ganggo/app/helpers"
"gopkg.in/ganggo/gorm.v2"
_ "gopkg.in/ganggo/gorm.v2/dialects/postgres"
_ "gopkg.in/ganggo/gorm.v2/dialects/mssql"
......
......@@ -20,7 +20,7 @@ package models
import (
"time"
"github.com/revel/revel"
federation "gopkg.in/ganggo/federation.v0"
federation "github.com/ganggo/federation"
"gopkg.in/ganggo/gorm.v2"
)
......
......@@ -19,7 +19,7 @@ package models
import (
"time"
federation "gopkg.in/ganggo/federation.v0"
federation "github.com/ganggo/federation"
)
type Photo struct {
......
......@@ -20,7 +20,7 @@ package models
import (
"time"
"gopkg.in/ganggo/gorm.v2"
federation "gopkg.in/ganggo/federation.v0"
federation "github.com/ganggo/federation"
"github.com/revel/revel"
)
......
......@@ -19,8 +19,8 @@ package models
import (
"time"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
federation "gopkg.in/ganggo/federation.v0"
"github.com/ganggo/ganggo/app/helpers"
federation "github.com/ganggo/federation"
"github.com/revel/revel"
)
......
......@@ -24,8 +24,8 @@ import (
"github.com/shaoshing/train"
"github.com/revel/revel"
"github.com/revel/config"
"gopkg.in/ganggo/ganggo.v0/app/models"
"gopkg.in/ganggo/ganggo.v0/app/helpers"
"github.com/ganggo/ganggo/app/models"
"github.com/ganggo/ganggo/app/helpers"
"html/template"
"github.com/dchest/captcha"
)
......
......@@ -131,7 +131,7 @@ module.static=github.com/revel/modules/static
# Module to serve a restful API
# Adds Routes like this:
# /api/v1/...
module.api=gopkg.in/ganggo/api.v0
module.api=github.com/ganggo/api
# Module enables performing tasks
# asynchronously, outside of the request flow.
......
......@@ -21,7 +21,7 @@ import (
"net/url"
"encoding/json"
"github.com/revel/revel/testing"
"gopkg.in/ganggo/ganggo.v0/app/models"
"github.com/ganggo/ganggo/app/models"
)
const (
......
......@@ -18,8 +18,8 @@ package tests
//
import (
"gopkg.in/ganggo/ganggo.v0/app/jobs"
"gopkg.in/ganggo/ganggo.v0/app/models"
"github.com/ganggo/ganggo/app/jobs"
"github.com/ganggo/ganggo/app/models"
"gopkg.in/ganggo/gorm.v2"
"time"
)
......
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