Skip to content

Commit

Permalink
Change package path to github
Browse files Browse the repository at this point in the history
bitbucket was the private hosting, now it's public on github
  • Loading branch information
timabell committed Sep 4, 2019
1 parent c51ea6d commit b86fbb3
Show file tree
Hide file tree
Showing 24 changed files with 85 additions and 85 deletions.
2 changes: 1 addition & 1 deletion build-mac.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

echo running mac build
env GOOS=darwin GOARCH=amd64 go build -ldflags "-X bitbucket.org/timabell/sql-data-viewer/about.gitVersion=`git rev-parse HEAD`" -o bin/mac/schemaexplorer
env GOOS=darwin GOARCH=amd64 go build -ldflags "-X github.com/timabell/schema-explorer/about.gitVersion=`git rev-parse HEAD`" -o bin/mac/schemaexplorer
cp -r templates static config bin/mac/

# also tried gox https://github.com/mitchellh/gox
Expand Down
2 changes: 1 addition & 1 deletion build-win.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
# https://github.com/mattn/go-sqlite3/issues/106#issuecomment-240179249

echo running windows build, this takes a while...
env CGO_ENABLED=1 GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc go build -ldflags "-X bitbucket.org/timabell/sql-data-viewer/about.gitVersion=`git rev-parse HEAD`" -o bin/windows/schemaexplorer.exe
env CGO_ENABLED=1 GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc go build -ldflags "-X github.com/timabell/schema-explorer/about.gitVersion=`git rev-parse HEAD`" -o bin/windows/schemaexplorer.exe
cp -r templates static config bin/windows/
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
go build -ldflags "-X bitbucket.org/timabell/sql-data-viewer/about.gitVersion=`git rev-parse HEAD`" -o bin/linux/schemaexplorer sse.go
go build -ldflags "-X github.com/timabell/schema-explorer/about.gitVersion=`git rev-parse HEAD`" -o bin/linux/schemaexplorer sse.go
cp -r templates static config bin/linux/
4 changes: 2 additions & 2 deletions driver_interface/driverInterface.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package driver_interface

import (
"bitbucket.org/timabell/sql-data-viewer/params"
"bitbucket.org/timabell/sql-data-viewer/schema"
"github.com/timabell/schema-explorer/params"
"github.com/timabell/schema-explorer/schema"
"database/sql"
)

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

import (
"bitbucket.org/timabell/sql-data-viewer/schema"
"github.com/timabell/schema-explorer/schema"
"fmt"
)

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

import "bitbucket.org/timabell/sql-data-viewer/driver_interface"
import "github.com/timabell/schema-explorer/driver_interface"

type Driver struct {
Name string
Expand Down
2 changes: 1 addition & 1 deletion licensing/licensing.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package licensing

import (
"bitbucket.org/timabell/sql-data-viewer/about"
"github.com/timabell/schema-explorer/about"
"fmt"
"log"
"time"
Expand Down
12 changes: 6 additions & 6 deletions mssql/mssql.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
package mssql

import (
"bitbucket.org/timabell/sql-data-viewer/about"
"bitbucket.org/timabell/sql-data-viewer/driver_interface"
"bitbucket.org/timabell/sql-data-viewer/drivers"
"bitbucket.org/timabell/sql-data-viewer/params"
"bitbucket.org/timabell/sql-data-viewer/reader"
"bitbucket.org/timabell/sql-data-viewer/schema"
"github.com/timabell/schema-explorer/about"
"github.com/timabell/schema-explorer/driver_interface"
"github.com/timabell/schema-explorer/drivers"
"github.com/timabell/schema-explorer/params"
"github.com/timabell/schema-explorer/reader"
"github.com/timabell/schema-explorer/schema"
"database/sql"
"errors"
"fmt"
Expand Down
10 changes: 5 additions & 5 deletions mysql/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
package mysql

import (
"bitbucket.org/timabell/sql-data-viewer/driver_interface"
"bitbucket.org/timabell/sql-data-viewer/drivers"
"bitbucket.org/timabell/sql-data-viewer/params"
"bitbucket.org/timabell/sql-data-viewer/reader"
"bitbucket.org/timabell/sql-data-viewer/schema"
"github.com/timabell/schema-explorer/driver_interface"
"github.com/timabell/schema-explorer/drivers"
"github.com/timabell/schema-explorer/params"
"github.com/timabell/schema-explorer/reader"
"github.com/timabell/schema-explorer/schema"
"database/sql"
"errors"
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion options/SseOptions.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package options

import (
"bitbucket.org/timabell/sql-data-viewer/drivers"
"github.com/timabell/schema-explorer/drivers"
"flag"
"fmt"
"os"
Expand Down
2 changes: 1 addition & 1 deletion params/params.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package params

import (
"bitbucket.org/timabell/sql-data-viewer/schema"
"github.com/timabell/schema-explorer/schema"
"fmt"
"html/template"
"net/url"
Expand Down
10 changes: 5 additions & 5 deletions pg/pg.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
package pg

import (
"bitbucket.org/timabell/sql-data-viewer/driver_interface"
"bitbucket.org/timabell/sql-data-viewer/drivers"
"bitbucket.org/timabell/sql-data-viewer/params"
"bitbucket.org/timabell/sql-data-viewer/reader"
"bitbucket.org/timabell/sql-data-viewer/schema"
"github.com/timabell/schema-explorer/driver_interface"
"github.com/timabell/schema-explorer/drivers"
"github.com/timabell/schema-explorer/params"
"github.com/timabell/schema-explorer/reader"
"github.com/timabell/schema-explorer/schema"
"database/sql"
"errors"
"fmt"
Expand Down
12 changes: 6 additions & 6 deletions reader/dbReader.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package reader

import (
"bitbucket.org/timabell/sql-data-viewer/driver_interface"
"bitbucket.org/timabell/sql-data-viewer/drivers"
"bitbucket.org/timabell/sql-data-viewer/options"
"bitbucket.org/timabell/sql-data-viewer/params"
"bitbucket.org/timabell/sql-data-viewer/resources"
"bitbucket.org/timabell/sql-data-viewer/schema"
"github.com/timabell/schema-explorer/driver_interface"
"github.com/timabell/schema-explorer/drivers"
"github.com/timabell/schema-explorer/options"
"github.com/timabell/schema-explorer/params"
"github.com/timabell/schema-explorer/resources"
"github.com/timabell/schema-explorer/schema"
"bufio"
"database/sql"
"errors"
Expand Down
16 changes: 8 additions & 8 deletions render/render.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package render

import (
"bitbucket.org/timabell/sql-data-viewer/about"
"bitbucket.org/timabell/sql-data-viewer/driver_interface"
"bitbucket.org/timabell/sql-data-viewer/drivers"
"bitbucket.org/timabell/sql-data-viewer/params"
"bitbucket.org/timabell/sql-data-viewer/reader"
"bitbucket.org/timabell/sql-data-viewer/resources"
"bitbucket.org/timabell/sql-data-viewer/schema"
"bitbucket.org/timabell/sql-data-viewer/trail"
"github.com/timabell/schema-explorer/about"
"github.com/timabell/schema-explorer/driver_interface"
"github.com/timabell/schema-explorer/drivers"
"github.com/timabell/schema-explorer/params"
"github.com/timabell/schema-explorer/reader"
"github.com/timabell/schema-explorer/resources"
"github.com/timabell/schema-explorer/schema"
"github.com/timabell/schema-explorer/trail"
"fmt"
"html/template"
"log"
Expand Down
14 changes: 7 additions & 7 deletions serve/host.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package serve

import (
"bitbucket.org/timabell/sql-data-viewer/about"
"bitbucket.org/timabell/sql-data-viewer/browser"
"bitbucket.org/timabell/sql-data-viewer/driver_interface"
"bitbucket.org/timabell/sql-data-viewer/licensing"
"bitbucket.org/timabell/sql-data-viewer/options"
"bitbucket.org/timabell/sql-data-viewer/reader"
"bitbucket.org/timabell/sql-data-viewer/render"
"github.com/timabell/schema-explorer/about"
"github.com/timabell/schema-explorer/browser"
"github.com/timabell/schema-explorer/driver_interface"
"github.com/timabell/schema-explorer/licensing"
"github.com/timabell/schema-explorer/options"
"github.com/timabell/schema-explorer/reader"
"github.com/timabell/schema-explorer/render"
"fmt"
"github.com/gorilla/mux"
"log"
Expand Down
2 changes: 1 addition & 1 deletion serve/router.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package serve

import (
"bitbucket.org/timabell/sql-data-viewer/resources"
"github.com/timabell/schema-explorer/resources"
"github.com/gorilla/mux"
"net/http"
)
Expand Down
8 changes: 4 additions & 4 deletions serve/setup-handlers.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package serve

import (
"bitbucket.org/timabell/sql-data-viewer/drivers"
"bitbucket.org/timabell/sql-data-viewer/options"
"bitbucket.org/timabell/sql-data-viewer/reader"
"bitbucket.org/timabell/sql-data-viewer/render"
"github.com/timabell/schema-explorer/drivers"
"github.com/timabell/schema-explorer/options"
"github.com/timabell/schema-explorer/reader"
"github.com/timabell/schema-explorer/render"
"fmt"
"github.com/gorilla/mux"
"net/http"
Expand Down
10 changes: 5 additions & 5 deletions serve/table-handlers.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package serve

import (
"bitbucket.org/timabell/sql-data-viewer/options"
"bitbucket.org/timabell/sql-data-viewer/params"
"bitbucket.org/timabell/sql-data-viewer/reader"
"bitbucket.org/timabell/sql-data-viewer/render"
"bitbucket.org/timabell/sql-data-viewer/schema"
"github.com/timabell/schema-explorer/options"
"github.com/timabell/schema-explorer/params"
"github.com/timabell/schema-explorer/reader"
"github.com/timabell/schema-explorer/render"
"github.com/timabell/schema-explorer/schema"
"fmt"
"github.com/gorilla/mux"
"io"
Expand Down
2 changes: 1 addition & 1 deletion serve/trail-cookies.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package serve

import (
"bitbucket.org/timabell/sql-data-viewer/trail"
"github.com/timabell/schema-explorer/trail"
"net/http"
"strings"
"time"
Expand Down
6 changes: 3 additions & 3 deletions serve/trail.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package serve

import (
"bitbucket.org/timabell/sql-data-viewer/reader"
"bitbucket.org/timabell/sql-data-viewer/render"
"bitbucket.org/timabell/sql-data-viewer/trail"
"github.com/timabell/schema-explorer/reader"
"github.com/timabell/schema-explorer/render"
"github.com/timabell/schema-explorer/trail"
"fmt"
"github.com/gorilla/mux"
"net/http"
Expand Down
10 changes: 5 additions & 5 deletions sqlite/sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ package sqlite
// Sqlite doesn't support schema so table.schema is ignored throughout

import (
"bitbucket.org/timabell/sql-data-viewer/driver_interface"
"bitbucket.org/timabell/sql-data-viewer/drivers"
"bitbucket.org/timabell/sql-data-viewer/params"
"bitbucket.org/timabell/sql-data-viewer/reader"
"bitbucket.org/timabell/sql-data-viewer/schema"
"github.com/timabell/schema-explorer/driver_interface"
"github.com/timabell/schema-explorer/drivers"
"github.com/timabell/schema-explorer/params"
"github.com/timabell/schema-explorer/reader"
"github.com/timabell/schema-explorer/schema"
"database/sql"
"errors"
"fmt"
Expand Down
16 changes: 8 additions & 8 deletions sse.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ defined in the database's schema.
package main

import (
"bitbucket.org/timabell/sql-data-viewer/about"
"bitbucket.org/timabell/sql-data-viewer/licensing"
_ "bitbucket.org/timabell/sql-data-viewer/mssql"
_ "bitbucket.org/timabell/sql-data-viewer/mysql"
"bitbucket.org/timabell/sql-data-viewer/options"
_ "bitbucket.org/timabell/sql-data-viewer/pg"
"bitbucket.org/timabell/sql-data-viewer/serve"
_ "bitbucket.org/timabell/sql-data-viewer/sqlite"
"github.com/timabell/schema-explorer/about"
"github.com/timabell/schema-explorer/licensing"
_ "github.com/timabell/schema-explorer/mssql"
_ "github.com/timabell/schema-explorer/mysql"
"github.com/timabell/schema-explorer/options"
_ "github.com/timabell/schema-explorer/pg"
"github.com/timabell/schema-explorer/serve"
_ "github.com/timabell/schema-explorer/sqlite"
"log"
)

Expand Down
20 changes: 10 additions & 10 deletions sse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ aren't silently missing any of the supported data types.
*/

import (
"bitbucket.org/timabell/sql-data-viewer/driver_interface"
_ "bitbucket.org/timabell/sql-data-viewer/mssql"
_ "bitbucket.org/timabell/sql-data-viewer/mysql"
"bitbucket.org/timabell/sql-data-viewer/options"
"bitbucket.org/timabell/sql-data-viewer/params"
_ "bitbucket.org/timabell/sql-data-viewer/pg"
"bitbucket.org/timabell/sql-data-viewer/reader"
"bitbucket.org/timabell/sql-data-viewer/schema"
"bitbucket.org/timabell/sql-data-viewer/serve"
_ "bitbucket.org/timabell/sql-data-viewer/sqlite"
"github.com/timabell/schema-explorer/driver_interface"
_ "github.com/timabell/schema-explorer/mssql"
_ "github.com/timabell/schema-explorer/mysql"
"github.com/timabell/schema-explorer/options"
"github.com/timabell/schema-explorer/params"
_ "github.com/timabell/schema-explorer/pg"
"github.com/timabell/schema-explorer/reader"
"github.com/timabell/schema-explorer/schema"
"github.com/timabell/schema-explorer/serve"
_ "github.com/timabell/schema-explorer/sqlite"
"fmt"
"github.com/gorilla/mux"
"log"
Expand Down
2 changes: 1 addition & 1 deletion trail/trail.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package trail

import (
"bitbucket.org/timabell/sql-data-viewer/schema"
"github.com/timabell/schema-explorer/schema"
"strings"
)

Expand Down

0 comments on commit b86fbb3

Please sign in to comment.