Skip to content

Commit 09bee59

Browse files
authored
Merge pull request #87 from snprajwal/deprecate-stats
deprecate: replace stats and rpc with crit
2 parents dbed379 + ebb8f80 commit 09bee59

27 files changed

+75
-3131
lines changed

Makefile

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,6 @@ coverage:
2121
codecov:
2222
$(MAKE) -C test codecov
2323

24-
rpc/rpc.proto:
25-
curl -sSL https://raw.githubusercontent.com/checkpoint-restore/criu/master/images/rpc.proto -o $@
26-
27-
stats/stats.proto:
28-
curl -sSL https://raw.githubusercontent.com/checkpoint-restore/criu/master/images/stats.proto -o $@
29-
30-
rpc/rpc.pb.go: rpc/rpc.proto
31-
protoc --go_out=. --go_opt=M$^=rpc/ $^
32-
33-
stats/stats.pb.go: stats/stats.proto
34-
protoc --go_out=. --go_opt=M$^=stats/ $^
35-
3624
vendor:
3725
GO111MODULE=on $(GO) mod tidy
3826
GO111MODULE=on $(GO) mod vendor

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ The following table shows the relation between go-criu and criu versions:
5858

5959
| Major version | Latest release | CRIU version |
6060
| -------------- | -------------- | ------------ |
61-
| v5             | 5.2.0         | 3.16         |
61+
| v6             | 6.0.0         | 3.17         |
62+
| v5             | 5.3.0         | 3.16         |
6263
| v5             | 5.0.0         | 3.15         |
6364
| v4             | 4.1.0         | 3.14         |
6465

crit/cmd/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"log"
88
"os"
99

10-
"github.com/checkpoint-restore/go-criu/v5/crit"
10+
"github.com/checkpoint-restore/go-criu/v6/crit"
1111
"github.com/spf13/cobra"
1212
)
1313

crit/decode-extra.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"io"
99
"os"
1010

11-
"github.com/checkpoint-restore/go-criu/v5/crit/images"
11+
"github.com/checkpoint-restore/go-criu/v6/crit/images"
1212
"google.golang.org/protobuf/encoding/protojson"
1313
"google.golang.org/protobuf/proto"
1414
)

crit/decode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"io"
88
"os"
99

10-
"github.com/checkpoint-restore/go-criu/v5/crit/images"
10+
"github.com/checkpoint-restore/go-criu/v6/crit/images"
1111
"google.golang.org/protobuf/proto"
1212
)
1313

crit/encode-extra.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"encoding/binary"
66
"encoding/json"
77

8-
"github.com/checkpoint-restore/go-criu/v5/crit/images"
8+
"github.com/checkpoint-restore/go-criu/v6/crit/images"
99
"google.golang.org/protobuf/encoding/protojson"
1010
"google.golang.org/protobuf/proto"
1111
)

crit/encode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"fmt"
88
"os"
99

10-
"github.com/checkpoint-restore/go-criu/v5/magic"
10+
"github.com/checkpoint-restore/go-criu/v6/magic"
1111
"google.golang.org/protobuf/proto"
1212
)
1313

crit/explore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"strconv"
66

7-
"github.com/checkpoint-restore/go-criu/v5/crit/images"
7+
"github.com/checkpoint-restore/go-criu/v6/crit/images"
88
)
99

1010
// PsTree represents the process tree

crit/image.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"strings"
77

8-
"github.com/checkpoint-restore/go-criu/v5/crit/images"
8+
"github.com/checkpoint-restore/go-criu/v6/crit/images"
99
"google.golang.org/protobuf/encoding/protojson"
1010
"google.golang.org/protobuf/proto"
1111
)

crit/utils.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"os"
99
"strconv"
1010

11-
"github.com/checkpoint-restore/go-criu/v5/crit/images"
12-
"github.com/checkpoint-restore/go-criu/v5/magic"
11+
"github.com/checkpoint-restore/go-criu/v6/crit/images"
12+
"github.com/checkpoint-restore/go-criu/v6/magic"
1313
)
1414

1515
// Helper to decode magic name from hex value

0 commit comments

Comments
 (0)