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 (
...
@@ -22,9 +22,9 @@ import (
"context"
"context"
"net/url"
"net/url"
"
../..
/neo"
"
lab.nexedi.com/kirr/neo/go
/neo"
"
../..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
"
../..
/xcommon/xnet"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xnet"
)
)
// Client talks to NEO cluster and exposes access it via ZODB interfaces
// 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 (
...
@@ -23,7 +23,7 @@ import (
"fmt"
"fmt"
"os"
"os"
"
../../..
/neo/neotools"
"
lab.nexedi.com/kirr/neo/go
/neo/neotools"
)
)
func
usage
()
{
func
usage
()
{
...
...
go/neo/connection.go
View file @
da44885f
...
@@ -29,7 +29,7 @@ import (
...
@@ -29,7 +29,7 @@ import (
"sync"
"sync"
"sync/atomic"
"sync/atomic"
"
..
/xcommon/xnet"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xnet"
)
)
// NodeLink is a node-node link in NEO
// NodeLink is a node-node link in NEO
...
...
go/neo/neo.go
View file @
da44885f
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
package
neo
package
neo
import
(
import
(
"
..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
)
)
const
(
const
(
...
...
go/neo/neotools/command.go
View file @
da44885f
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
package
neotools
package
neotools
// registry of all commands & help topics
// registry of all commands & help topics
import
"
../..
/zodb/zodbtools"
import
"
lab.nexedi.com/kirr/neo/go
/zodb/zodbtools"
var
Commands
=
zodbtools
.
CommandRegistry
{
var
Commands
=
zodbtools
.
CommandRegistry
{
{
"master"
,
masterSummary
,
masterUsage
,
masterMain
},
{
"master"
,
masterSummary
,
masterUsage
,
masterMain
},
...
...
go/neo/neotools/master.go
View file @
da44885f
...
@@ -26,8 +26,8 @@ import (
...
@@ -26,8 +26,8 @@ import (
"io"
"io"
"os"
"os"
"
../..
/neo/server"
"
lab.nexedi.com/kirr/neo/go
/neo/server"
"
../..
/xcommon/xnet"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xnet"
)
)
const
masterSummary
=
"run master node"
const
masterSummary
=
"run master node"
...
...
go/neo/neotools/storage.go
View file @
da44885f
...
@@ -27,9 +27,9 @@ import (
...
@@ -27,9 +27,9 @@ import (
"os"
"os"
"strings"
"strings"
"
../..
/neo/server"
"
lab.nexedi.com/kirr/neo/go
/neo/server"
"
../..
/zodb/storage/fs1"
"
lab.nexedi.com/kirr/neo/go
/zodb/storage/fs1"
"
../..
/xcommon/xnet"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xnet"
)
)
const
storageSummary
=
"run storage node"
const
storageSummary
=
"run storage node"
...
...
go/neo/protogen.go
View file @
da44885f
...
@@ -166,7 +166,7 @@ import (
...
@@ -166,7 +166,7 @@ import (
"reflect"
"reflect"
"sort"
"sort"
"
..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
)`
)
)`
)
msgTypeRegistry
:=
map
[
int
]
string
{}
// msgCode -> typename
msgTypeRegistry
:=
map
[
int
]
string
{}
// msgCode -> typename
...
...
go/neo/server/master.go
View file @
da44885f
...
@@ -26,9 +26,9 @@ import (
...
@@ -26,9 +26,9 @@ import (
"math"
"math"
"sync"
"sync"
"
../..
/neo"
"
lab.nexedi.com/kirr/neo/go
/neo"
"
../..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
"
../..
/xcommon/xnet"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xnet"
"lab.nexedi.com/kirr/go123/xerr"
"lab.nexedi.com/kirr/go123/xerr"
)
)
...
...
go/neo/server/server.go
View file @
da44885f
...
@@ -23,7 +23,7 @@ import (
...
@@ -23,7 +23,7 @@ import (
"fmt"
"fmt"
"net"
"net"
"
../..
/neo"
"
lab.nexedi.com/kirr/neo/go
/neo"
"lab.nexedi.com/kirr/go123/xerr"
"lab.nexedi.com/kirr/go123/xerr"
)
)
...
...
go/neo/server/storage.go
View file @
da44885f
...
@@ -24,9 +24,9 @@ import (
...
@@ -24,9 +24,9 @@ import (
"sync"
"sync"
"time"
"time"
"
../..
/neo"
"
lab.nexedi.com/kirr/neo/go
/neo"
"
../..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
"
../..
/xcommon/xnet"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xnet"
)
)
// XXX fmt -> log
// XXX fmt -> log
...
...
go/neo/server/trace.go
View file @
da44885f
...
@@ -19,8 +19,8 @@ package server
...
@@ -19,8 +19,8 @@ package server
// tracepoints
// tracepoints
import
(
import
(
"
../..
/neo"
"
lab.nexedi.com/kirr/neo/go
/neo"
"
../..
/xcommon/tracing"
"
lab.nexedi.com/kirr/neo/go
/xcommon/tracing"
_
"unsafe"
_
"unsafe"
)
)
...
...
go/neo/trace.go
View file @
da44885f
...
@@ -21,7 +21,7 @@ package neo
...
@@ -21,7 +21,7 @@ package neo
import
(
import
(
"unsafe"
"unsafe"
"
..
/xcommon/tracing"
"
lab.nexedi.com/kirr/neo/go
/xcommon/tracing"
)
)
// XXX put under 'build +tracedef'
// XXX put under 'build +tracedef'
...
...
go/xcommon/xbufio/xbufio.go
View file @
da44885f
...
@@ -22,7 +22,7 @@ import (
...
@@ -22,7 +22,7 @@ import (
"bufio"
"bufio"
"io"
"io"
"
..
/xio"
"
lab.nexedi.com/kirr/neo/go/xcommon
/xio"
)
)
// Reader is a bufio.Reader + bell & whistles
// Reader is a bufio.Reader + bell & whistles
...
...
go/xcommon/xnet/pipenet/pipenet.go
View file @
da44885f
...
@@ -43,7 +43,7 @@ import (
...
@@ -43,7 +43,7 @@ import (
"strconv"
"strconv"
"sync"
"sync"
"
../../..
/xcommon/xnet"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xnet"
)
)
const
NetPrefix
=
"pipe"
// pipenet package creates only "pipe*" networks
const
NetPrefix
=
"pipe"
// pipenet package creates only "pipe*" networks
...
...
go/zodb/cmd/zodb/zodb.go
View file @
da44885f
...
@@ -23,9 +23,9 @@ import (
...
@@ -23,9 +23,9 @@ import (
"fmt"
"fmt"
"os"
"os"
"
../../..
/zodb/zodbtools"
"
lab.nexedi.com/kirr/neo/go
/zodb/zodbtools"
_
"
../../..
/zodb/wks"
_
"
lab.nexedi.com/kirr/neo/go
/zodb/wks"
)
)
func
usage
()
{
func
usage
()
{
...
...
go/zodb/storage/fs1/cmd/fstail/fstail.go
View file @
da44885f
...
@@ -34,9 +34,9 @@ import (
...
@@ -34,9 +34,9 @@ import (
"log"
"log"
"os"
"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/xbytes"
"lab.nexedi.com/kirr/go123/xfmt"
"lab.nexedi.com/kirr/go123/xfmt"
...
...
go/zodb/storage/fs1/filestorage.go
View file @
da44885f
...
@@ -28,8 +28,8 @@ import (
...
@@ -28,8 +28,8 @@ import (
"io"
"io"
"os"
"os"
"
../../..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
"
../../..
/xcommon/xbufio"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xbufio"
"lab.nexedi.com/kirr/go123/xbytes"
"lab.nexedi.com/kirr/go123/xbytes"
)
)
...
...
go/zodb/storage/fs1/fsb/fsb.go
View file @
da44885f
...
@@ -4,7 +4,7 @@ package fsb
...
@@ -4,7 +4,7 @@ package fsb
//go:generate ./gen-fsbtree
//go:generate ./gen-fsbtree
import
"
../../../..
/zodb"
import
"
lab.nexedi.com/kirr/neo/go
/zodb"
// comparison function for fsbTree
// comparison function for fsbTree
// kept short & inlineable
// kept short & inlineable
...
...
go/zodb/storage/fs1/fsb/fsbtree.go
View file @
da44885f
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
package
fsb
package
fsb
import
"
../../../..
/zodb"
import
"
lab.nexedi.com/kirr/neo/go
/zodb"
import
(
import
(
"fmt"
"fmt"
...
...
go/zodb/storage/fs1/fsb/gen-fsbtree
View file @
da44885f
...
@@ -19,7 +19,7 @@ echo "// KEY=$KEY VALUE=$VALUE" >>$out
...
@@ -19,7 +19,7 @@ echo "// KEY=$KEY VALUE=$VALUE" >>$out
echo
"// ---- 8< ----"
>>$
out
echo
"// ---- 8< ----"
>>$
out
echo
>>$
out
echo
>>$
out
make
-
s
-
C
$
Bdir
generic
|
sed
\
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/package b/package fsb/g'
\
-
e
"s/KEY/$KEY/g"
\
-
e
"s/KEY/$KEY/g"
\
-
e
"s/VALUE/$VALUE/g"
\
-
e
"s/VALUE/$VALUE/g"
\
...
...
go/zodb/storage/fs1/index.go
View file @
da44885f
...
@@ -30,15 +30,15 @@ import (
...
@@ -30,15 +30,15 @@ import (
"os"
"os"
"strconv"
"strconv"
"
../../..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
"
.
/fsb"
"
lab.nexedi.com/kirr/neo/go/zodb/storage/fs1
/fsb"
pickle
"github.com/kisielk/og-rek"
pickle
"github.com/kisielk/og-rek"
"lab.nexedi.com/kirr/go123/mem"
"lab.nexedi.com/kirr/go123/mem"
"
../../..
/xcommon/xbufio"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xbufio"
"
../../..
/xcommon/xio"
"
lab.nexedi.com/kirr/neo/go
/xcommon/xio"
)
)
// fsIndex is Oid -> Data record position mapping used to associate Oid with
// 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 (
...
@@ -22,7 +22,7 @@ import (
"context"
"context"
"net/url"
"net/url"
"
../../..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
)
)
// TODO read-only support
// TODO read-only support
...
...
go/zodb/wks/wks.go
View file @
da44885f
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
package
wks
package
wks
import
(
import
(
_
"
../..
/zodb/storage/mem"
_
"
lab.nexedi.com/kirr/neo/go
/zodb/storage/mem"
_
"
../..
/zodb/storage/fs1"
_
"
lab.nexedi.com/kirr/neo/go
/zodb/storage/fs1"
_
"
../..
/neo/client"
_
"
lab.nexedi.com/kirr/neo/go
/neo/client"
)
)
go/zodb/zodbtools/catobj.go
View file @
da44885f
...
@@ -26,7 +26,7 @@ import (
...
@@ -26,7 +26,7 @@ import (
"log"
"log"
"os"
"os"
"
../..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
)
)
...
...
go/zodb/zodbtools/dump.go
View file @
da44885f
...
@@ -47,7 +47,7 @@ import (
...
@@ -47,7 +47,7 @@ import (
"lab.nexedi.com/kirr/go123/xfmt"
"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 (
...
@@ -27,7 +27,7 @@ import (
"log"
"log"
"os"
"os"
"
../..
/zodb"
"
lab.nexedi.com/kirr/neo/go
/zodb"
)
)
// paramFunc is a function to retrieve 1 storage parameter
// 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