nmattia / nmattia/niv

commitBuffer: invalid arguments with funky characters in description

Open
#136 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Haskell
Stars
1.9k
Forks
75
Avg merge
7m
Merged PRs (30d)
5

Description

/tmp/tmp.7L1hIRcwlq$ niv add spacchetti/spago
Adding package spacchetti/spago
  Reading sources file
  Writing new sources file
Done: Adding package spacchetti/spago
/tmp/tmp.7L1hIRcwlq$ niv show spago
Showing package spago
Reading sources file
  homepage: 
  url: https://github.com/spacchetti/spago/archive/8ce19ea5648f8bd65d6db88428bac56e66cf2560.tar.gz
  owner: spacchetti
  branch: master
  url_template: https://github.com/<owner>/<repo>/archive/<rev>.tar.gz
  repo: spago
  type: tarball
  sha256: 1mnx4y4298q94iq6x613ijak16a2i0chrp5qvrv2wzl2za63p8kb
  description: niv: <stdout>: commitBuffer: invalid argument (invalid character)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with niv add spacchetti/spago followed by niv show spago, using the command output in the issue as the starting point. Trace the handling of the package description and commitBuffer; done means the package can be added and shown without the invalid-character error.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.