Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gx: update to use extracted go-ipfs-files #125

Merged
merged 2 commits into from
Oct 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gx/lastpubver
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.1: QmXTmUCBtDUrzDYVzASogLiNph7EBuYqEgPL7QoHNMzUnz
2.0.2: QmVy9gWXWJB8GrQG85Sq7hCknC6ANqZjJCZkRo8Y6sk5tx
2 changes: 1 addition & 1 deletion cli/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

osh "github.com/Kubuxu/go-os-helper"
"github.com/ipfs/go-ipfs-cmdkit"
"github.com/ipfs/go-ipfs-cmdkit/files"
"github.com/ipfs/go-ipfs-files"
logging "github.com/ipfs/go-log"
)

Expand Down
5 changes: 3 additions & 2 deletions http/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ import (
"net/url"
"strings"

"github.com/ipfs/go-ipfs-cmdkit"
"github.com/ipfs/go-ipfs-cmdkit/files"
cmds "github.com/ipfs/go-ipfs-cmds"

"github.com/ipfs/go-ipfs-cmdkit"
"github.com/ipfs/go-ipfs-files"
)

const (
Expand Down
5 changes: 3 additions & 2 deletions http/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ import (
"strconv"
"strings"

"github.com/ipfs/go-ipfs-cmdkit"
"github.com/ipfs/go-ipfs-cmdkit/files"
cmds "github.com/ipfs/go-ipfs-cmds"

"github.com/ipfs/go-ipfs-cmdkit"
"github.com/ipfs/go-ipfs-files"
)

// parseRequest parses the data in a http.Request and returns a command Request object
Expand Down
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"version": "1.2.8"
},
{
"hash": "QmSP88ryZkHSRn1fnngAaV2Vcn63WUJzAavnRM9CVdU1Ky",
"hash": "Qmde5VP1qUkyQXKCfmEUA7bP64V2HAptbJ7phuPp7jXWwg",
"name": "go-ipfs-cmdkit",
"version": "1.1.3"
"version": "1.2.0"
},
{
"author": "texttheater",
Expand All @@ -40,13 +40,19 @@
"hash": "QmXuBJ7DR6k3rmUEKtvVMhwjmXDuJgXXPUt4LQXKBMsU93",
"name": "go-os-helper",
"version": "0.0.0"
},
{
"author": "magik6k",
"hash": "QmPPTbdBVPWgSwtDzL4ftVc5E3TH32oUtnov3RFNwbEoR4",
"name": "go-ipfs-files",
"version": "1.0.0"
}
],
"gxVersion": "0.10.0",
"language": "go",
"license": "MIT",
"name": "go-ipfs-cmds",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"version": "2.0.1"
"version": "2.0.2"
}

2 changes: 1 addition & 1 deletion request.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"reflect"

"github.com/ipfs/go-ipfs-cmdkit"
"github.com/ipfs/go-ipfs-cmdkit/files"
"github.com/ipfs/go-ipfs-files"
)

// Request represents a call to a command from a consumer
Expand Down