niv icon indicating copy to clipboard operation
niv copied to clipboard

niv update doesn't update the description and homepage

Open akshaymankar opened this issue 3 years ago • 1 comments

Sometimes forks use descriptions in github which explain the need for the fork, when the need is over one can go back to using the upstream repository by running niv update <name> -o <upstream> -b <upstream-branch>. This does not update the description and the homepage field in nix/sources.json. It would be nice if niv took care of these things when the owner was changed.

akshaymankar avatar Nov 08 '22 08:11 akshaymankar

Thanks for the report!

Updating description and homepage requires calls to the GitHub API, which niv tries to avoid as much as possible (instead using only git calls when possible). I think it could make sense though! I'm not actively working on niv anymore but if someone's willing to submit the feature I'm happy to give pointers.

nmattia avatar Nov 08 '22 09:11 nmattia