Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
da44885f
Commit
da44885f
authored
Jun 19, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X stop using local imports -> lab.nexedi.com/kirr/neo/go/*
parent
bbbf9091
Changes
27
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
45 additions
and
45 deletions
+45
-45
go/neo/client/client.go
go/neo/client/client.go
+3
-3
go/neo/cmd/neo/neo.go
go/neo/cmd/neo/neo.go
+1
-1
go/neo/connection.go
go/neo/connection.go
+1
-1
go/neo/neo.go
go/neo/neo.go
+1
-1
go/neo/neotools/command.go
go/neo/neotools/command.go
+1
-1
go/neo/neotools/master.go
go/neo/neotools/master.go
+2
-2
go/neo/neotools/storage.go
go/neo/neotools/storage.go
+3
-3
go/neo/protogen.go
go/neo/protogen.go
+1
-1
go/neo/server/master.go
go/neo/server/master.go
+3
-3
go/neo/server/server.go
go/neo/server/server.go
+1
-1
go/neo/server/storage.go
go/neo/server/storage.go
+3
-3
go/neo/server/trace.go
go/neo/server/trace.go
+2
-2
go/neo/trace.go
go/neo/trace.go
+1
-1
go/xcommon/xbufio/xbufio.go
go/xcommon/xbufio/xbufio.go
+1
-1
go/xcommon/xnet/pipenet/pipenet.go
go/xcommon/xnet/pipenet/pipenet.go
+1
-1
go/zodb/cmd/zodb/zodb.go
go/zodb/cmd/zodb/zodb.go
+2
-2
go/zodb/storage/fs1/cmd/fstail/fstail.go
go/zodb/storage/fs1/cmd/fstail/fstail.go
+2
-2
go/zodb/storage/fs1/filestorage.go
go/zodb/storage/fs1/filestorage.go
+2
-2
go/zodb/storage/fs1/fsb/fsb.go
go/zodb/storage/fs1/fsb/fsb.go
+1
-1
go/zodb/storage/fs1/fsb/fsbtree.go
go/zodb/storage/fs1/fsb/fsbtree.go
+1
-1
go/zodb/storage/fs1/fsb/gen-fsbtree
go/zodb/storage/fs1/fsb/gen-fsbtree
+1
-1
go/zodb/storage/fs1/index.go
go/zodb/storage/fs1/index.go
+4
-4
go/zodb/storage/fs1/url.go
go/zodb/storage/fs1/url.go
+1
-1
go/zodb/wks/wks.go
go/zodb/wks/wks.go
+3
-3
go/zodb/zodbtools/catobj.go
go/zodb/zodbtools/catobj.go
+1
-1
go/zodb/zodbtools/dump.go
go/zodb/zodbtools/dump.go
+1
-1
go/zodb/zodbtools/info.go
go/zodb/zodbtools/info.go
+1
-1
No files found.
go/neo/client/client.go
View file @
da44885f
...
...
@@ -22,9 +22,9 @@ import (
"context"
"net/url"
"
../..
/neo"
"
../..
/zodb"
"
../..
/xcommon/xnet"
"
lab.nexedi.com/kirr/neo/go
/neo"
"
lab.nexedi.com/kirr/neo/go
/zodb"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xnet"
)
// Client talks to NEO cluster and exposes access it via ZODB interfaces
...
...
go/neo/cmd/neo/neo.go
View file @
da44885f
...
...
@@ -23,7 +23,7 @@ import (
"fmt"
"os"
"
../../..
/neo/neotools"
"
lab.nexedi.com/kirr/neo/go
/neo/neotools"
)
func
usage
()
{
...
...
go/neo/connection.go
View file @
da44885f
...
...
@@ -29,7 +29,7 @@ import (
"sync"
"sync/atomic"
"
..
/xcommon/xnet"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xnet"
)
// NodeLink is a node-node link in NEO
...
...
go/neo/neo.go
View file @
da44885f
...
...
@@ -23,7 +23,7 @@
package
neo
import
(
"
..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
)
const
(
...
...
go/neo/neotools/command.go
View file @
da44885f
...
...
@@ -18,7 +18,7 @@
package
neotools
// registry of all commands & help topics
import
"
../..
/zodb/zodbtools"
import
"
lab.nexedi.com/kirr/neo/go
/zodb/zodbtools"
var
Commands
=
zodbtools
.
CommandRegistry
{
{
"master"
,
masterSummary
,
masterUsage
,
masterMain
},
...
...
go/neo/neotools/master.go
View file @
da44885f
...
...
@@ -26,8 +26,8 @@ import (
"io"
"os"
"
../..
/neo/server"
"
../..
/xcommon/xnet"
"
lab.nexedi.com/kirr/neo/go
/neo/server"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xnet"
)
const
masterSummary
=
"run master node"
...
...
go/neo/neotools/storage.go
View file @
da44885f
...
...
@@ -27,9 +27,9 @@ import (
"os"
"strings"
"
../..
/neo/server"
"
../..
/zodb/storage/fs1"
"
../..
/xcommon/xnet"
"
lab.nexedi.com/kirr/neo/go
/neo/server"
"
lab.nexedi.com/kirr/neo/go
/zodb/storage/fs1"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xnet"
)
const
storageSummary
=
"run storage node"
...
...
go/neo/protogen.go
View file @
da44885f
...
...
@@ -166,7 +166,7 @@ import (
"reflect"
"sort"
"
..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
)`
)
msgTypeRegistry
:=
map
[
int
]
string
{}
// msgCode -> typename
...
...
go/neo/server/master.go
View file @
da44885f
...
...
@@ -26,9 +26,9 @@ import (
"math"
"sync"
"
../..
/neo"
"
../..
/zodb"
"
../..
/xcommon/xnet"
"
lab.nexedi.com/kirr/neo/go
/neo"
"
lab.nexedi.com/kirr/neo/go
/zodb"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xnet"
"lab.nexedi.com/kirr/go123/xerr"
)
...
...
go/neo/server/server.go
View file @
da44885f
...
...
@@ -23,7 +23,7 @@ import (
"fmt"
"net"
"
../..
/neo"
"
lab.nexedi.com/kirr/neo/go
/neo"
"lab.nexedi.com/kirr/go123/xerr"
)
...
...
go/neo/server/storage.go
View file @
da44885f
...
...
@@ -24,9 +24,9 @@ import (
"sync"
"time"
"
../..
/neo"
"
../..
/zodb"
"
../..
/xcommon/xnet"
"
lab.nexedi.com/kirr/neo/go
/neo"
"
lab.nexedi.com/kirr/neo/go
/zodb"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xnet"
)
// XXX fmt -> log
...
...
go/neo/server/trace.go
View file @
da44885f
...
...
@@ -19,8 +19,8 @@ package server
// tracepoints
import
(
"
../..
/neo"
"
../..
/xcommon/tracing"
"
lab.nexedi.com/kirr/neo/go
/neo"
"
lab.nexedi.com/kirr/neo/go
/xcommon/tracing"
_
"unsafe"
)
...
...
go/neo/trace.go
View file @
da44885f
...
...
@@ -21,7 +21,7 @@ package neo
import
(
"unsafe"
"
..
/xcommon/tracing"
"
lab.nexedi.com/kirr/neo/go
/xcommon/tracing"
)
// XXX put under 'build +tracedef'
...
...
go/xcommon/xbufio/xbufio.go
View file @
da44885f
...
...
@@ -22,7 +22,7 @@ import (
"bufio"
"io"
"
..
/xio"
"
lab.nexedi.com/kirr/neo/go/xcommon
/xio"
)
// Reader is a bufio.Reader + bell & whistles
...
...
go/xcommon/xnet/pipenet/pipenet.go
View file @
da44885f
...
...
@@ -43,7 +43,7 @@ import (
"strconv"
"sync"
"
../../..
/xcommon/xnet"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xnet"
)
const
NetPrefix
=
"pipe"
// pipenet package creates only "pipe*" networks
...
...
go/zodb/cmd/zodb/zodb.go
View file @
da44885f
...
...
@@ -23,9 +23,9 @@ import (
"fmt"
"os"
"
../../..
/zodb/zodbtools"
"
lab.nexedi.com/kirr/neo/go
/zodb/zodbtools"
_
"
../../..
/zodb/wks"
_
"
lab.nexedi.com/kirr/neo/go
/zodb/wks"
)
func
usage
()
{
...
...
go/zodb/storage/fs1/cmd/fstail/fstail.go
View file @
da44885f
...
...
@@ -34,9 +34,9 @@ import (
"log"
"os"
"
../../../../..
/zodb/storage/fs1"
"
lab.nexedi.com/kirr/neo/go
/zodb/storage/fs1"
"
../../../../..
/xcommon/xbufio"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xbufio"
"lab.nexedi.com/kirr/go123/xbytes"
"lab.nexedi.com/kirr/go123/xfmt"
...
...
go/zodb/storage/fs1/filestorage.go
View file @
da44885f
...
...
@@ -28,8 +28,8 @@ import (
"io"
"os"
"
../../..
/zodb"
"
../../..
/xcommon/xbufio"
"
lab.nexedi.com/kirr/neo/go
/zodb"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xbufio"
"lab.nexedi.com/kirr/go123/xbytes"
)
...
...
go/zodb/storage/fs1/fsb/fsb.go
View file @
da44885f
...
...
@@ -4,7 +4,7 @@ package fsb
//go:generate ./gen-fsbtree
import
"
../../../..
/zodb"
import
"
lab.nexedi.com/kirr/neo/go
/zodb"
// comparison function for fsbTree
// kept short & inlineable
...
...
go/zodb/storage/fs1/fsb/fsbtree.go
View file @
da44885f
...
...
@@ -8,7 +8,7 @@
package
fsb
import
"
../../../..
/zodb"
import
"
lab.nexedi.com/kirr/neo/go
/zodb"
import
(
"fmt"
...
...
go/zodb/storage/fs1/fsb/gen-fsbtree
View file @
da44885f
...
...
@@ -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 "
lab.nexedi.com/kirr/neo/go
/zodb"'
\
-
e
's/package b/package fsb/g'
\
-
e
"s/KEY/$KEY/g"
\
-
e
"s/VALUE/$VALUE/g"
\
...
...
go/zodb/storage/fs1/index.go
View file @
da44885f
...
...
@@ -30,15 +30,15 @@ import (
"os"
"strconv"
"
../../..
/zodb"
"
.
/fsb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
"
lab.nexedi.com/kirr/neo/go/zodb/storage/fs1
/fsb"
pickle
"github.com/kisielk/og-rek"
"lab.nexedi.com/kirr/go123/mem"
"
../../..
/xcommon/xbufio"
"
../../..
/xcommon/xio"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xbufio"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xio"
)
// fsIndex is Oid -> Data record position mapping used to associate Oid with
...
...
go/zodb/storage/fs1/url.go
View file @
da44885f
...
...
@@ -22,7 +22,7 @@ import (
"context"
"net/url"
"
../../..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
)
// TODO read-only support
...
...
go/zodb/wks/wks.go
View file @
da44885f
...
...
@@ -25,7 +25,7 @@
package
wks
import
(
_
"
../..
/zodb/storage/mem"
_
"
../..
/zodb/storage/fs1"
_
"
../..
/neo/client"
_
"
lab.nexedi.com/kirr/neo/go
/zodb/storage/mem"
_
"
lab.nexedi.com/kirr/neo/go
/zodb/storage/fs1"
_
"
lab.nexedi.com/kirr/neo/go
/neo/client"
)
go/zodb/zodbtools/catobj.go
View file @
da44885f
...
...
@@ -26,7 +26,7 @@ import (
"log"
"os"
"
../..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
)
...
...
go/zodb/zodbtools/dump.go
View file @
da44885f
...
...
@@ -47,7 +47,7 @@ import (
"lab.nexedi.com/kirr/go123/xfmt"
"
../..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
)
...
...
go/zodb/zodbtools/info.go
View file @
da44885f
...
...
@@ -27,7 +27,7 @@ import (
"log"
"os"
"
../..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
)
// paramFunc is a function to retrieve 1 storage parameter
...
...
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