Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
133a58d9
Commit
133a58d9
authored
Apr 25, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X t/ -> go/
parent
5d695090
Changes
57
Hide whitespace changes
Inline
Side-by-side
Showing
57 changed files
with
29 additions
and
29 deletions
+29
-29
go/.gitignore
go/.gitignore
+0
-0
go/NOTES
go/NOTES
+0
-0
go/NOTES-go
go/NOTES-go
+0
-0
go/neo/client/client.go
go/neo/client/client.go
+0
-0
go/neo/cmd/neostorage-go/neostorage.go
go/neo/cmd/neostorage-go/neostorage.go
+2
-2
go/neo/connection.go
go/neo/connection.go
+0
-0
go/neo/connection_test.go
go/neo/connection_test.go
+0
-0
go/neo/marshal.go
go/neo/marshal.go
+1
-1
go/neo/neo.go
go/neo/neo.go
+1
-1
go/neo/packed.go
go/neo/packed.go
+0
-0
go/neo/pkt.go
go/neo/pkt.go
+0
-0
go/neo/proto.go
go/neo/proto.go
+1
-1
go/neo/proto_test.go
go/neo/proto_test.go
+1
-1
go/neo/protogen.go
go/neo/protogen.go
+3
-3
go/neo/server.go
go/neo/server.go
+0
-0
go/neo/storage.go
go/neo/storage.go
+1
-1
go/xcommon/xbufio/seqbuf_ioat.go
go/xcommon/xbufio/seqbuf_ioat.go
+0
-0
go/xcommon/xbufio/seqbuf_ioat_test.go
go/xcommon/xbufio/seqbuf_ioat_test.go
+0
-0
go/xcommon/xbufio/xbufio.go
go/xcommon/xbufio/xbufio.go
+0
-0
go/xcommon/xcommon.go
go/xcommon/xcommon.go
+0
-0
go/xcommon/xio/xio.go
go/xcommon/xio/xio.go
+0
-0
go/zodb/cmd/zodb/.gitignore
go/zodb/cmd/zodb/.gitignore
+0
-0
go/zodb/cmd/zodb/zodb.go
go/zodb/cmd/zodb/zodb.go
+1
-1
go/zodb/open.go
go/zodb/open.go
+0
-0
go/zodb/storage/fs1/cmd/fstail/.gitignore
go/zodb/storage/fs1/cmd/fstail/.gitignore
+0
-0
go/zodb/storage/fs1/cmd/fstail/fstail.go
go/zodb/storage/fs1/cmd/fstail/fstail.go
+2
-2
go/zodb/storage/fs1/cmd/fstail/fstail_test.go
go/zodb/storage/fs1/cmd/fstail/fstail_test.go
+0
-0
go/zodb/storage/fs1/cmd/fstail/testdata/1.fsdump.ok
go/zodb/storage/fs1/cmd/fstail/testdata/1.fsdump.ok
+0
-0
go/zodb/storage/fs1/filestorage.go
go/zodb/storage/fs1/filestorage.go
+2
-2
go/zodb/storage/fs1/filestorage_test.go
go/zodb/storage/fs1/filestorage_test.go
+1
-1
go/zodb/storage/fs1/fsb/cmp.go
go/zodb/storage/fs1/fsb/cmp.go
+1
-1
go/zodb/storage/fs1/fsb/fsbtree.go
go/zodb/storage/fs1/fsb/fsbtree.go
+1
-1
go/zodb/storage/fs1/fsb/fsbtree_util.go
go/zodb/storage/fs1/fsb/fsbtree_util.go
+0
-0
go/zodb/storage/fs1/fsb/gen-fsbtree
go/zodb/storage/fs1/fsb/gen-fsbtree
+1
-1
go/zodb/storage/fs1/fsb/gen.go
go/zodb/storage/fs1/fsb/gen.go
+0
-0
go/zodb/storage/fs1/index.go
go/zodb/storage/fs1/index.go
+3
-3
go/zodb/storage/fs1/index_test.go
go/zodb/storage/fs1/index_test.go
+1
-1
go/zodb/storage/fs1/notes_io.txt
go/zodb/storage/fs1/notes_io.txt
+0
-0
go/zodb/storage/fs1/py/gen-testdata
go/zodb/storage/fs1/py/gen-testdata
+1
-1
go/zodb/storage/fs1/py/indexcmp
go/zodb/storage/fs1/py/indexcmp
+0
-0
go/zodb/storage/fs1/testdata/.gitignore
go/zodb/storage/fs1/testdata/.gitignore
+0
-0
go/zodb/storage/fs1/testdata/1.fs
go/zodb/storage/fs1/testdata/1.fs
+0
-0
go/zodb/storage/fs1/testdata/1.fs.index
go/zodb/storage/fs1/testdata/1.fs.index
+0
-0
go/zodb/storage/fs1/testdata_expect_test.go
go/zodb/storage/fs1/testdata_expect_test.go
+1
-1
go/zodb/storage/fs1/url.go
go/zodb/storage/fs1/url.go
+1
-1
go/zodb/str.go
go/zodb/str.go
+0
-0
go/zodb/str_test.go
go/zodb/str_test.go
+0
-0
go/zodb/time.go
go/zodb/time.go
+0
-0
go/zodb/time_test.go
go/zodb/time_test.go
+0
-0
go/zodb/wks/wks.go
go/zodb/wks/wks.go
+1
-1
go/zodb/zodb.go
go/zodb/zodb.go
+0
-0
go/zodb/zodbtools/command.go
go/zodb/zodbtools/command.go
+0
-0
go/zodb/zodbtools/dump.go
go/zodb/zodbtools/dump.go
+0
-0
go/zodb/zodbtools/dump_test.go
go/zodb/zodbtools/dump_test.go
+2
-2
go/zodb/zodbtools/help.go
go/zodb/zodbtools/help.go
+0
-0
go/zodb/zodbtools/info.go
go/zodb/zodbtools/info.go
+0
-0
go/zodb/zodbtools/testdata/1.zdump.pyok
go/zodb/zodbtools/testdata/1.zdump.pyok
+0
-0
No files found.
t/ne
o/.gitignore
→
g
o/.gitignore
View file @
133a58d9
File moved
t
/NOTES
→
go
/NOTES
View file @
133a58d9
File moved
t/NOTES.
go
→
go/NOTES-
go
View file @
133a58d9
File moved
t
/neo/client/client.go
→
go
/neo/client/client.go
View file @
133a58d9
File moved
t
/neo/cmd/neostorage-go/neostorage.go
→
go
/neo/cmd/neostorage-go/neostorage.go
View file @
133a58d9
...
...
@@ -14,8 +14,8 @@ import (
//_ "../../storage" // XXX rel ok?
neo
"../.."
zodb
"../../zodb"
_
"../../zodb/wks"
zodb
"../../
../
zodb"
_
"../../
../
zodb/wks"
)
...
...
t
/neo/connection.go
→
go
/neo/connection.go
View file @
133a58d9
File moved
t
/neo/connection_test.go
→
go
/neo/connection_test.go
View file @
133a58d9
File moved
t
/neo/marshal.go
→
go
/neo/marshal.go
View file @
133a58d9
...
...
@@ -7,7 +7,7 @@ import (
"reflect"
"sort"
"./zodb"
".
.
/zodb"
)
// packets marshalling
...
...
t
/neo/neo.go
→
go
/neo/neo.go
View file @
133a58d9
...
...
@@ -5,7 +5,7 @@
package
neo
import
(
"./zodb"
".
.
/zodb"
)
const
(
...
...
t
/neo/packed.go
→
go
/neo/packed.go
View file @
133a58d9
File moved
t
/neo/pkt.go
→
go
/neo/pkt.go
View file @
133a58d9
File moved
t
/neo/proto.go
→
go
/neo/proto.go
View file @
133a58d9
...
...
@@ -6,7 +6,7 @@ package neo
// XXX move imports out of here
import
(
"./zodb"
".
.
/zodb"
"encoding/binary"
"errors"
...
...
t
/neo/proto_test.go
→
go
/neo/proto_test.go
View file @
133a58d9
...
...
@@ -24,7 +24,7 @@ import (
"testing"
"unsafe"
"./zodb"
".
.
/zodb"
)
// decode string as hex; panic on error
...
...
t
/neo/protogen.go
→
go
/neo/protogen.go
View file @
133a58d9
...
...
@@ -105,7 +105,7 @@ type localImporter struct {
}
func
(
li
*
localImporter
)
Import
(
path
string
)
(
*
types
.
Package
,
error
)
{
xpath
:=
strings
.
TrimPrefix
(
path
,
".
/"
)
//
./zodb -> zodb
xpath
:=
strings
.
TrimPrefix
(
path
,
".
./"
)
// .
./zodb -> zodb
pkg
:=
pkgMap
[
xpath
]
if
pkg
!=
nil
{
return
pkg
,
nil
...
...
@@ -146,7 +146,7 @@ func main() {
log
.
SetFlags
(
0
)
// go through proto.go and AST'ify & typecheck it
loadPkg
(
"zodb"
,
"zodb/zodb.go"
)
loadPkg
(
"zodb"
,
"
../
zodb/zodb.go"
)
loadPkg
(
"neo"
,
"proto.go"
,
"neo.go"
)
neoQualifier
=
types
.
RelativeTo
(
pkgMap
[
"neo"
])
...
...
@@ -161,7 +161,7 @@ import (
"reflect"
"sort"
"./zodb"
".
.
/zodb"
)`
)
pktTypeRegistry
:=
map
[
int
]
string
{}
// pktCode -> typename
...
...
t
/neo/server.go
→
go
/neo/server.go
View file @
133a58d9
File moved
t
/neo/storage.go
→
go
/neo/storage.go
View file @
133a58d9
...
...
@@ -19,7 +19,7 @@ import (
"context"
"fmt"
"./zodb"
".
.
/zodb"
)
// NEO Storage application
...
...
t/ne
o/xcommon/xbufio/seqbuf_ioat.go
→
g
o/xcommon/xbufio/seqbuf_ioat.go
View file @
133a58d9
File moved
t/ne
o/xcommon/xbufio/seqbuf_ioat_test.go
→
g
o/xcommon/xbufio/seqbuf_ioat_test.go
View file @
133a58d9
File moved
t/ne
o/xcommon/xbufio/xbufio.go
→
g
o/xcommon/xbufio/xbufio.go
View file @
133a58d9
File moved
t/ne
o/xcommon/xcommon.go
→
g
o/xcommon/xcommon.go
View file @
133a58d9
File moved
t/ne
o/xcommon/xio/xio.go
→
g
o/xcommon/xio/xio.go
View file @
133a58d9
File moved
t/ne
o/zodb/cmd/zodb/.gitignore
→
g
o/zodb/cmd/zodb/.gitignore
View file @
133a58d9
File moved
t/ne
o/zodb/cmd/zodb/zodb.go
→
g
o/zodb/cmd/zodb/zodb.go
View file @
133a58d9
...
...
@@ -23,7 +23,7 @@ import (
"fmt"
"os"
"../../zodbtools"
"../../
../zodb/
zodbtools"
_
"../../../zodb/wks"
)
...
...
t/ne
o/zodb/open.go
→
g
o/zodb/open.go
View file @
133a58d9
File moved
t/neo
/storage/fs1/cmd/fstail/.gitignore
→
go/zodb
/storage/fs1/cmd/fstail/.gitignore
View file @
133a58d9
File moved
t/neo
/storage/fs1/cmd/fstail/fstail.go
→
go/zodb
/storage/fs1/cmd/fstail/fstail.go
View file @
133a58d9
...
...
@@ -29,9 +29,9 @@ import (
"log"
"os"
"../../../../storage/fs1"
"../../../../
../zodb/
storage/fs1"
"../../../../xcommon/xbufio"
"../../../../
../
xcommon/xbufio"
"lab.nexedi.com/kirr/go123/xbytes"
"lab.nexedi.com/kirr/go123/xfmt"
...
...
t/neo
/storage/fs1/cmd/fstail/fstail_test.go
→
go/zodb
/storage/fs1/cmd/fstail/fstail_test.go
View file @
133a58d9
File moved
t/neo
/storage/fs1/cmd/fstail/testdata/1.fsdump.ok
→
go/zodb
/storage/fs1/cmd/fstail/testdata/1.fsdump.ok
View file @
133a58d9
File moved
t/neo
/storage/fs1/filestorage.go
→
go/zodb
/storage/fs1/filestorage.go
View file @
133a58d9
...
...
@@ -22,8 +22,8 @@ import (
"io"
"os"
"../../zodb"
"../../xcommon/xbufio"
"../../
../
zodb"
"../../
../
xcommon/xbufio"
"lab.nexedi.com/kirr/go123/xbytes"
)
...
...
t/neo
/storage/fs1/filestorage_test.go
→
go/zodb
/storage/fs1/filestorage_test.go
View file @
133a58d9
...
...
@@ -19,7 +19,7 @@ import (
"reflect"
"testing"
"../../zodb"
"../../
../
zodb"
"lab.nexedi.com/kirr/go123/exc"
)
...
...
t/neo
/storage/fs1/fsb/cmp.go
→
go/zodb
/storage/fs1/fsb/cmp.go
View file @
133a58d9
package
fsb
import
"../../../zodb"
import
"../../../
../
zodb"
// comparison function for fsbTree
// kept short & inlineable
...
...
t/neo
/storage/fs1/fsb/fsbtree.go
→
go/zodb
/storage/fs1/fsb/fsbtree.go
View file @
133a58d9
...
...
@@ -8,7 +8,7 @@
package
fsb
import
"../../../zodb"
import
"../../../
../
zodb"
import
(
"fmt"
...
...
t/neo
/storage/fs1/fsb/fsbtree_util.go
→
go/zodb
/storage/fs1/fsb/fsbtree_util.go
View file @
133a58d9
File moved
t/neo
/storage/fs1/fsb/gen-fsbtree
→
go/zodb
/storage/fs1/fsb/gen-fsbtree
View file @
133a58d9
...
...
@@ -19,7 +19,7 @@ echo "// KEY=$KEY VALUE=$VALUE" >>$out
echo
"// ---- 8< ----"
>>$
out
echo
>>$
out
make
-
s
-
C
$
Bdir
generic
|
sed
\
-
e
'/package b/a \\nimport "../../../zodb"'
\
-
e
'/package b/a \\nimport "../../../
../
zodb"'
\
-
e
's/package b/package fsb/g'
\
-
e
"s/KEY/$KEY/g"
\
-
e
"s/VALUE/$VALUE/g"
\
...
...
t/neo
/storage/fs1/fsb/gen.go
→
go/zodb
/storage/fs1/fsb/gen.go
View file @
133a58d9
File moved
t/neo
/storage/fs1/index.go
→
go/zodb
/storage/fs1/index.go
View file @
133a58d9
...
...
@@ -25,15 +25,15 @@ import (
"os"
"strconv"
"../../zodb"
"../../
../
zodb"
"./fsb"
pickle
"github.com/kisielk/og-rek"
"lab.nexedi.com/kirr/go123/mem"
"../../xcommon/xbufio"
"../../xcommon/xio"
"../../
../
xcommon/xbufio"
"../../
../
xcommon/xio"
)
// fsIndex is Oid -> Data record position mapping used to associate Oid with
...
...
t/neo
/storage/fs1/index_test.go
→
go/zodb
/storage/fs1/index_test.go
View file @
133a58d9
...
...
@@ -25,7 +25,7 @@ import (
"strings"
"testing"
"../../zodb"
"../../
../
zodb"
"./fsb"
)
...
...
t/neo
/storage/fs1/notes_io.txt
→
go/zodb
/storage/fs1/notes_io.txt
View file @
133a58d9
File moved
t/neo
/storage/fs1/py/gen-testdata
→
go/zodb
/storage/fs1/py/gen-testdata
View file @
133a58d9
...
...
@@ -182,7 +182,7 @@ def main():
print
>>
f
,
v
emit
(
"// DO NOT EDIT - AUTOGENERATED (by py/gen-testdata)"
)
emit
(
"package fs1
\
n
"
)
emit
(
"import
\
"
../../zodb
\
"
\
n
"
)
emit
(
"import
\
"
../../
../
zodb
\
"
\
n
"
)
# index
emit
(
"const _1fs_indexTopPos = %i"
%
stor
.
_pos
)
...
...
t/neo
/storage/fs1/py/indexcmp
→
go/zodb
/storage/fs1/py/indexcmp
View file @
133a58d9
File moved
t/neo
/storage/fs1/testdata/.gitignore
→
go/zodb
/storage/fs1/testdata/.gitignore
View file @
133a58d9
File moved
t/neo
/storage/fs1/testdata/1.fs
→
go/zodb
/storage/fs1/testdata/1.fs
View file @
133a58d9
File moved
t/neo
/storage/fs1/testdata/1.fs.index
→
go/zodb
/storage/fs1/testdata/1.fs.index
View file @
133a58d9
File moved
t/neo
/storage/fs1/testdata_expect_test.go
→
go/zodb
/storage/fs1/testdata_expect_test.go
View file @
133a58d9
// DO NOT EDIT - AUTOGENERATED (by py/gen-testdata)
package
fs1
import
"../../zodb"
import
"../../
../
zodb"
const
_1fs_indexTopPos
=
12226
var
_1fs_indexEntryv
=
[
...
]
indexEntry
{
...
...
t/neo
/storage/fs1/url.go
→
go/zodb
/storage/fs1/url.go
View file @
133a58d9
...
...
@@ -21,7 +21,7 @@ package fs1
import
(
"net/url"
"../../zodb"
"../../
../
zodb"
)
// TODO read-only support
...
...
t/ne
o/zodb/str.go
→
g
o/zodb/str.go
View file @
133a58d9
File moved
t/ne
o/zodb/str_test.go
→
g
o/zodb/str_test.go
View file @
133a58d9
File moved
t/ne
o/zodb/time.go
→
g
o/zodb/time.go
View file @
133a58d9
File moved
t/ne
o/zodb/time_test.go
→
g
o/zodb/time_test.go
View file @
133a58d9
File moved
t/ne
o/zodb/wks/wks.go
→
g
o/zodb/wks/wks.go
View file @
133a58d9
...
...
@@ -25,5 +25,5 @@
package
wks
import
(
_
"../../storage/fs1"
_
"../../
zodb/
storage/fs1"
)
t/ne
o/zodb/zodb.go
→
g
o/zodb/zodb.go
View file @
133a58d9
File moved
t/ne
o/zodb/zodbtools/command.go
→
g
o/zodb/zodbtools/command.go
View file @
133a58d9
File moved
t/ne
o/zodb/zodbtools/dump.go
→
g
o/zodb/zodbtools/dump.go
View file @
133a58d9
File moved
t/ne
o/zodb/zodbtools/dump_test.go
→
g
o/zodb/zodbtools/dump_test.go
View file @
133a58d9
...
...
@@ -25,7 +25,7 @@ import (
"regexp"
"testing"
"../../storage/fs1"
"../../
zodb/
storage/fs1"
"../../zodb"
"github.com/sergi/go-diff/diffmatchpatch"
...
...
@@ -72,7 +72,7 @@ func loadZdumpPy(t *testing.T, path string) string {
func
withTestdata1Fs
(
t
testing
.
TB
,
f
func
(
fs
*
fs1
.
FileStorage
))
{
// XXX -> zodb.OpenURL
fs
,
err
:=
fs1
.
Open
(
"../../storage/fs1/testdata/1.fs"
)
// XXX read-only, path?
fs
,
err
:=
fs1
.
Open
(
"../../
zodb/
storage/fs1/testdata/1.fs"
)
// XXX read-only, path?
if
err
!=
nil
{
t
.
Fatal
(
err
)
}
...
...
t/ne
o/zodb/zodbtools/help.go
→
g
o/zodb/zodbtools/help.go
View file @
133a58d9
File moved
t/ne
o/zodb/zodbtools/info.go
→
g
o/zodb/zodbtools/info.go
View file @
133a58d9
File moved
t/ne
o/zodb/zodbtools/testdata/1.zdump.pyok
→
g
o/zodb/zodbtools/testdata/1.zdump.pyok
View file @
133a58d9
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment