Use proper github path

This commit is contained in:
Matej Kramny 2016-03-16 21:49:43 +00:00
parent 119bca059f
commit 252b4fbe50
9 changed files with 29 additions and 21 deletions

View File

@ -2,7 +2,8 @@ package database
import (
"database/sql"
"github.com/castawaylabs/semaphore/util"
"github.com/ansible-semaphore/semaphore/util"
_ "github.com/go-sql-driver/mysql" // imports mysql driver
"gopkg.in/gorp.v1"
)

View File

@ -2,9 +2,10 @@ package database
import (
"fmt"
"github.com/castawaylabs/semaphore/util"
"gopkg.in/redis.v3"
"time"
"github.com/ansible-semaphore/semaphore/util"
"gopkg.in/redis.v3"
)
// Redis pool

View File

@ -2,11 +2,12 @@ package main
import (
"fmt"
"github.com/ansible-semaphore/semaphore/database"
"github.com/ansible-semaphore/semaphore/migration"
"github.com/ansible-semaphore/semaphore/routes"
"github.com/ansible-semaphore/semaphore/util"
"github.com/bugsnag/bugsnag-go"
"github.com/castawaylabs/semaphore/database"
"github.com/castawaylabs/semaphore/migration"
"github.com/castawaylabs/semaphore/routes"
"github.com/castawaylabs/semaphore/util"
"github.com/gin-gonic/gin"
)

View File

@ -2,10 +2,11 @@ package migration
import (
"fmt"
"github.com/castawaylabs/semaphore/database"
"github.com/castawaylabs/semaphore/util"
"github.com/go-sql-driver/mysql"
"time"
"github.com/ansible-semaphore/semaphore/database"
"github.com/ansible-semaphore/semaphore/util"
"github.com/go-sql-driver/mysql"
)
func (version *DBVersion) CheckExists() (bool, error) {

View File

@ -2,9 +2,10 @@ package migration
import (
"fmt"
"github.com/castawaylabs/semaphore/util"
"strings"
"time"
"github.com/ansible-semaphore/semaphore/util"
)
type DBVersion struct {

View File

@ -25,7 +25,7 @@
- bower
# source is copied using ansible.
#- git: repo=https://github.com/CastawayLabs/semaphore dest={{ homedir }}
#- git: repo=https://github.com/ansible-semaphore/semaphore dest={{ homedir }}
- file: src=/usr/bin/nodejs dest=/usr/bin/node state=link
- shell: bower install --allow-root && npm install > {{ homedir }}/somelog.txt
args:

View File

@ -4,15 +4,16 @@ import (
"crypto/rand"
"encoding/base64"
"fmt"
"github.com/castawaylabs/semaphore/database"
"github.com/castawaylabs/semaphore/models"
"github.com/castawaylabs/semaphore/util"
"github.com/gin-gonic/gin"
"gopkg.in/redis.v3"
"io"
"net/http"
"net/url"
"time"
"github.com/ansible-semaphore/semaphore/database"
"github.com/ansible-semaphore/semaphore/models"
"github.com/ansible-semaphore/semaphore/util"
"github.com/gin-gonic/gin"
"gopkg.in/redis.v3"
)
func resetSessionExpiry(sessionID string) {

View File

@ -1,9 +1,10 @@
package routes
import (
"github.com/castawaylabs/semaphore/util"
"github.com/gin-gonic/gin"
"strings"
"github.com/ansible-semaphore/semaphore/util"
"github.com/gin-gonic/gin"
)
// Declare all routes

View File

@ -4,10 +4,11 @@ import (
"encoding/json"
"flag"
"fmt"
"os"
"github.com/bugsnag/bugsnag-go"
"github.com/gin-gonic/gin"
"github.com/mattbaird/gochimp"
"os"
)
var mandrillAPI *gochimp.MandrillAPI
@ -93,7 +94,7 @@ func init() {
ReleaseStage: stage,
NotifyReleaseStages: []string{"production"},
AppVersion: Version,
ProjectPackages: []string{"github.com/castawaylabs/semaphore/**"},
ProjectPackages: []string{"github.com/ansible-semaphore/semaphore/**"},
})
}