Re:Nvui: A NeoVim GUI written in C++ and Qt
by Santosh83 on Monday August 30, 2021 @03:12AM
(#28353381)
Forgive me if I'm missing something here, but can't you just add media files to .gitignore?
[ Parent
| on HN ]
Re:Nvui: A NeoVim GUI written in C++ and Qt
by chrismorgan on Monday August 30, 2021 @03:15AM
(#28353390)
The author deliberately added the files to the repository. That’s (part of) the problem. .gitignore is about saying “I don’t want to add matching files to the repository, so stop telling me they’re not in the repository”.
Re:Nvui: A NeoVim GUI written in C++ and Qt
by yawaramin on Monday August 30, 2021 @09:24AM
(#28355399)
What problem? It’s their repo—they can add what they like…
Re:Nvui: A NeoVim GUI written in C++ and Qt
by emi2k01 on Monday August 30, 2021 @11:17AM
(#28356461)
If it's not a problem, then I would say it's rude for potential users and bad practice for developers.
The README transfers almost 100mb. If I'm on my phone with no wifi and I see an interesting repo as I'm a neovim user, I will just lose 100mb from my data plan with no warning. One doesn't expect that when visiting the README of a code repository.
Then what happens when they change something that makes the gifs obsolete? Will they add a commit with updated gifs that doubles the size of the repository? Most developers use
git clone $URL
which copies the entire repo history, instead of using `--depth 1`. So now if someone wants to contribute a small change, they have to download hundreds of MBs of gifs.
Re:Nvui: A NeoVim GUI written in C++ and Qt
by rohit-px2 on Monday August 30, 2021 @03:08PM
(#28359629)
Hi! I'm the developer of nvui. You were definitely right about the readme bloat. I've removed the GIFs in favor of videos uploaded to Github and links to them, although the GIFs may be stuck in the history.