Commit 89fd60bf authored by cznic's avatar cznic

Make modernc.org the repository root

parent 0757a223
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package sqlite
package sqlite // import "modernc.org/sqlite"
import (
"bytes"
......@@ -286,7 +286,7 @@ func BenchmarkNextMemory(b *testing.B) {
}
}
// https://github.com/cznic/sqlite/issues/11
// https://gitlab.com/cznic/sqlite/issues/11
func TestIssue11(t *testing.T) {
const N = 6570
dir, db := tempDB(t)
......@@ -314,7 +314,7 @@ func TestIssue11(t *testing.T) {
}
}
// https://github.com/cznic/sqlite/issues/12
// https://gitlab.com/cznic/sqlite/issues/12
func TestMemDB(t *testing.T) {
// Verify we can create out-of-the heap memory DB instance.
db, err := sql.Open(driverName, "file::memory:")
......
......@@ -18,7 +18,7 @@
// import (
// "database/sql"
//
// _ "github.com/cznic/sqlite"
// _ "modernc.org/sqlite"
// )
//
// ...
......@@ -38,10 +38,10 @@
//
// Supported platforms and architectures
//
// See http://github.com/cznic/ccir. To add a newly supported os/arch
// See http://modernc.org/ccir. To add a newly supported os/arch
// combination to this package try running 'go generate'.
//
// Sqlite documentation
//
// See https://sqlite.org/docs.html
package sqlite
package sqlite // import "modernc.org/sqlite"
......@@ -4,4 +4,4 @@
//go:generate go run generator.go
package sqlite
package sqlite // import "modernc.org/sqlite"
......@@ -24,12 +24,12 @@ import (
"log"
"github.com/cznic/cc"
"github.com/cznic/ccgo"
"github.com/cznic/ccir"
"github.com/cznic/internal/buffer"
"github.com/cznic/strutil"
"github.com/cznic/xc"
"modernc.org/cc"
"modernc.org/ccgo"
"modernc.org/ccir"
"modernc.org/internal/buffer"
"modernc.org/strutil"
"modernc.org/xc"
)
var (
......@@ -69,7 +69,7 @@ import (
"runtime"
"unsafe"
"github.com/cznic/ccgo/crt"
"modernc.org/ccgo/crt"
)
func ftrace(s string, args ...interface{}) {
......@@ -90,8 +90,8 @@ import (
"os"
"unsafe"
"github.com/cznic/ccgo/crt"
"github.com/cznic/sqlite/internal/bin"
"modernc.org/ccgo/crt"
"modernc.org/sqlite/internal/bin"
)
var argv []*int8
......
......@@ -51,7 +51,7 @@ uncontaminated with licensed code from other projects.
// ** language. The code for the "sqlite3" command-line shell is also in a
// ** separate file. This file contains only code for the core SQLite library.
// */
package bin
package bin // import "modernc.org/sqlite/internal/bin"
import (
"fmt"
......@@ -61,7 +61,7 @@ import (
"runtime"
"unsafe"
"github.com/cznic/ccgo/crt"
"modernc.org/ccgo/crt"
)
func ftrace(s string, args ...interface{}) {
......@@ -51,7 +51,7 @@ uncontaminated with licensed code from other projects.
// ** language. The code for the "sqlite3" command-line shell is also in a
// ** separate file. This file contains only code for the core SQLite library.
// */
package bin
package bin // import "modernc.org/sqlite/internal/bin"
import (
"fmt"
......@@ -61,7 +61,7 @@ import (
"runtime"
"unsafe"
"github.com/cznic/ccgo/crt"
"modernc.org/ccgo/crt"
)
func ftrace(s string, args ...interface{}) {
......@@ -30,7 +30,7 @@ uncontaminated with licensed code from other projects.
// Code generated by ccgo DO NOT EDIT.
package bin
package bin // import "modernc.org/sqlite/internal/bin"
import (
"fmt"
......@@ -40,7 +40,7 @@ import (
"runtime"
"unsafe"
"github.com/cznic/ccgo/crt"
"modernc.org/ccgo/crt"
)
var inf = math.Inf(1)
......@@ -30,7 +30,7 @@ uncontaminated with licensed code from other projects.
// Code generated by ccgo DO NOT EDIT.
package bin
package bin // import "modernc.org/sqlite/internal/bin"
import (
"fmt"
......@@ -40,7 +40,7 @@ import (
"runtime"
"unsafe"
"github.com/cznic/ccgo/crt"
"modernc.org/ccgo/crt"
)
var inf = math.Inf(1)
......@@ -43,8 +43,8 @@ import (
"os"
"unsafe"
"github.com/cznic/ccgo/crt"
"github.com/cznic/sqlite/internal/bin"
"modernc.org/ccgo/crt"
"modernc.org/sqlite/internal/bin"
)
var argv []*int8
......
......@@ -43,8 +43,8 @@ import (
"os"
"unsafe"
"github.com/cznic/ccgo/crt"
"github.com/cznic/sqlite/internal/bin"
"modernc.org/ccgo/crt"
"modernc.org/sqlite/internal/bin"
)
var argv []*int8
......
......@@ -31,8 +31,8 @@ import (
"os"
"unsafe"
"github.com/cznic/ccgo/crt"
"github.com/cznic/sqlite/internal/bin"
"modernc.org/ccgo/crt"
"modernc.org/sqlite/internal/bin"
)
var argv []*int8
......
......@@ -31,8 +31,8 @@ import (
"os"
"unsafe"
"github.com/cznic/ccgo/crt"
"github.com/cznic/sqlite/internal/bin"
"modernc.org/ccgo/crt"
"modernc.org/sqlite/internal/bin"
)
var argv []*int8
......
// Code generated by ccgo. DO NOT EDIT.
modernc.orgd by ccgo. DO NOT EDIT.
// threadtest2
// /*
......@@ -25,8 +25,8 @@ import (
"os"
"unsafe"
"github.com/cznic/ccgo/crt"
"github.com/cznic/sqlite/internal/bin"
"modernc.org/ccgo/crt"
"modernc.org/sqlite/internal/bin"
)
var argv []*int8
......
......@@ -25,8 +25,8 @@ import (
"os"
"unsafe"
"github.com/cznic/ccgo/crt"
"github.com/cznic/sqlite/internal/bin"
"modernc.org/ccgo/crt"
"modernc.org/sqlite/internal/bin"
)
var argv []*int8
......
......@@ -45,8 +45,8 @@ import (
"os"
"unsafe"
"github.com/cznic/ccgo/crt"
"github.com/cznic/sqlite/internal/bin"
"modernc.org/ccgo/crt"
"modernc.org/sqlite/internal/bin"
)
var argv []*int8
......
......@@ -45,8 +45,8 @@ import (
"os"
"unsafe"
"github.com/cznic/ccgo/crt"
"github.com/cznic/sqlite/internal/bin"
"modernc.org/ccgo/crt"
"modernc.org/sqlite/internal/bin"
)
var argv []*int8
......
......@@ -38,8 +38,8 @@ import (
"os"
"unsafe"
"github.com/cznic/ccgo/crt"
"github.com/cznic/sqlite/internal/bin"
"modernc.org/ccgo/crt"
"modernc.org/sqlite/internal/bin"
)
var argv []*int8
......
......@@ -38,8 +38,8 @@ import (
"os"
"unsafe"
"github.com/cznic/ccgo/crt"
"github.com/cznic/sqlite/internal/bin"
"modernc.org/ccgo/crt"
"modernc.org/sqlite/internal/bin"
)
var argv []*int8
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package sqlite
package sqlite // import "modernc.org/sqlite"
import (
"bytes"
......@@ -17,9 +17,9 @@ import (
"time"
"unsafe"
"github.com/cznic/ccgo/crt"
"github.com/cznic/sqlite/internal/bin"
"golang.org/x/net/context"
"modernc.org/ccgo/crt"
"modernc.org/sqlite/internal/bin"
)
var (
......
......@@ -4,7 +4,7 @@
//+build go1.8
package sqlite
package sqlite // import "modernc.org/sqlite"
import (
"context"
......
......@@ -4,7 +4,7 @@
//+build go1.8
package sqlite
package sqlite // import "modernc.org/sqlite"
import (
"database/sql"
......
......@@ -4,6 +4,6 @@
// +build !sqlite.trace
package sqlite
package sqlite // import "modernc.org/sqlite"
const trace = false
......@@ -4,6 +4,6 @@
// +build sqlite.trace
package sqlite
package sqlite // import "modernc.org/sqlite"
const trace = true
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package sqlite
package sqlite // import "modernc.org/sqlite"
import (
"bytes"
......@@ -40,7 +40,7 @@ func TestMP(t *testing.T) {
t.Fatal(err)
}
if out, err := exec.Command("go", "build", "-o", "mptest", "github.com/cznic/sqlite/internal/mptest").CombinedOutput(); err != nil {
if out, err := exec.Command("go", "build", "-o", "mptest", "modernc.org/sqlite/internal/mptest").CombinedOutput(); err != nil {
t.Fatalf("go build mptest: %s\n%s", err, out)
}
......@@ -92,7 +92,7 @@ func TestThread1(t *testing.T) {
t.Fatal(err)
}
if out, err := exec.Command("go", "build", "-o", "threadtest1", "github.com/cznic/sqlite/internal/threadtest1").CombinedOutput(); err != nil {
if out, err := exec.Command("go", "build", "-o", "threadtest1", "modernc.org/sqlite/internal/threadtest1").CombinedOutput(); err != nil {
t.Fatalf("go build mptest: %s\n%s", err, out)
}
......@@ -130,7 +130,7 @@ func TestThread2(t *testing.T) {
t.Fatal(err)
}
if out, err := exec.Command("go", "build", "-o", "threadtest2", "github.com/cznic/sqlite/internal/threadtest2").CombinedOutput(); err != nil {
if out, err := exec.Command("go", "build", "-o", "threadtest2", "modernc.org/sqlite/internal/threadtest2").CombinedOutput(); err != nil {
t.Fatalf("go build mptest: %s\n%s", err, out)
}
......@@ -176,7 +176,7 @@ func TestThread3(t *testing.T) {
if *memTrace {
s = append(s, "-tags", "memory.trace", "-race")
}
if out, err := exec.Command("go", append(s, "github.com/cznic/sqlite/internal/threadtest3")...).CombinedOutput(); err != nil {
if out, err := exec.Command("go", append(s, "modernc.org/sqlite/internal/threadtest3")...).CombinedOutput(); err != nil {
t.Fatalf("go build mptest: %s\n%s", err, out)
}
......@@ -242,7 +242,7 @@ func TestThread4(t *testing.T) {
if *memTrace {
s = append(s, "-tags", "memory.trace", "-race")
}
if out, err := exec.Command("go", append(s, "github.com/cznic/sqlite/internal/threadtest4")...).CombinedOutput(); err != nil {
if out, err := exec.Command("go", append(s, "modernc.org/sqlite/internal/threadtest4")...).CombinedOutput(); err != nil {
t.Fatalf("go build mptest: %s\n%s", err, out)
}
......
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