Skip to content

installation fails on existing project #24

@technoweenie

Description

@technoweenie

I'm trying to use Nut with Git LFS. All I did was take the current master, add the toml file, and move the .vendor/src path to vendor/_nuts.

$ nut install
Downloading github.com/technoweenie/go-contentaddressable@38171def3cd15e3b76eb156219b3d48704643899
Downloading github.com/kr/pty@5cf931ef8f76dccd0910001d74a58a7fca84a83d
Downloading github.com/spf13/cobra@864687ae689edc28688c67edef47e3d2ad651a1b
Downloading github.com/rubyist/tracerx@f6aa9369b3277bc21384878e8279642da722f407
Downloading github.com/cheggaaa/pb@bd14546a551971ae7f460e6d6e527c5b56cd38d7
Downloading github.com/kr/text@6807e777504f54ad073ecef66747de158294b639
Downloading github.com/olekukonko/ts@ecf753e7c962639ab5a1fb46f7da627d4c0a04b8
Downloading github.com/spf13/pflag@463bdc838f2b35e9307e91d480878bda5fff7232
Downloading github.com/bmizerany/assert@e17e99893cb6509f428e1728281c2ad60a6b31e3
Downloading github.com/kr/pretty@088c856450c08c03eb32f7a6c221e6eefaa10e6f
Vendoring dependencies
package assert: unrecognized import path "assert"
exit status 1

Here's my toml file:

[application]

name = "git-lfs"
version = "0.5.1"
authors = [
  "Rick Olson <technoweenie@gmail.com>",
]

[dependencies]

"github.com/bmizerany/assert"                   = "e17e99893cb6509f428e1728281c2ad60a6b31e3"
"github.com/cheggaaa/pb"                        = "bd14546a551971ae7f460e6d6e527c5b56cd38d7"
"github.com/kr/pretty"                          = "088c856450c08c03eb32f7a6c221e6eefaa10e6f"
"github.com/kr/pty"                             = "5cf931ef8f76dccd0910001d74a58a7fca84a83d"
"github.com/kr/text"                            = "6807e777504f54ad073ecef66747de158294b639"
"github.com/olekukonko/ts"                      = "ecf753e7c962639ab5a1fb46f7da627d4c0a04b8"
"github.com/spf13/cobra"                        = "864687ae689edc28688c67edef47e3d2ad651a1b"
"github.com/spf13/pflag"                        = "463bdc838f2b35e9307e91d480878bda5fff7232"
"github.com/technoweenie/go-contentaddressable" = "38171def3cd15e3b76eb156219b3d48704643899"
"github.com/rubyist/tracerx"                    = "f6aa9369b3277bc21384878e8279642da722f407"

Do I have to rewrite all the import paths myself? I thought Nut was supposed to handle that for me.

EDIT: Git LFS PR: git-lfs/git-lfs#331

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions