elcritch / figuro

Experimental UI Library for Nim
62 stars 1 forks source link

Installing with nimble gives git error #16

Closed enthus1ast closed 10 months ago

enthus1ast commented 10 months ago
$ nimble install https://github.com/elcritch/figuro
Downloading https://github.com/elcritch/figuro using git
   Warning: The package has no tagged releases, downloading HEAD instead.
   Warning: Package 'figuro' has an incorrect structure. It should contain a single directory hierarchy for source files, named 'figuro', but file 'ttext.nim' is in a directory named 'tests' instead. This will be an error in the future.
      Hint: If 'tests' contains source files for building 'figuro', rename it to 'figuro'. Otherwise, prevent its installation by adding `skipDirs = @["tests"]` to the .nimble file.
Downloading https://github.com/beef331/nimscripter using git
       Tip: 19 messages have been suppressed, use --verbose to show them.
tools.nim(62)            tryDoCmdEx

    Error:  Execution of 'git -C /tmp/nimble_238750/githubcom_beef331nimscripter_1.1.2_70897c85805ac4765e2f8290c01261ff5b8d8118 fetch --depth 1 origin 70897c85805ac4765e2f8290c01261ff5b8d8118' failed with an exit code 128.
        ... Details: fatal: remote error: upload-pack: not our ref 70897c85805ac4765e2f8290c01261ff5b8d8118
elcritch commented 10 months ago

Thanks for the report. Currently I don't support Nimble as there's still too much churn. I do try and keep the nimble.lock updated, which if you clone the repo and run do a nimble install -d might work.