Re: Ship a git .bundle in .dsc and .deb
On Wed, Aug 14, 2024 at 11:43:54PM +0200, Agathe Porte wrote:
> Note that the qmk tool does require a git repository to work, so I did
> not consider shipping only the code.
Is there any reason qmk couldn't be patched to accept a plain directory
as an alternative to a git repository? It looks like it's just using it
as a way to transport a bunch of files, rather than really needing to
provide a locally-editable version-controlled environment.
In fact, to me it looks as though the "setup" subcommand is pretty close
to this already. is_qmk_firmware will be quite happy with a plain
directory as long as it has the right files in it, and it doesn't need a
.git subdirectory. It seems as though you'd just need to have QMK_HOME
fall back to /usr/share/qmk-firmware (or whatever) if it isn't
explicitly set. Am I missing something?
--
Colin Watson (he/him) [cjwatson@debian.org]
Reply to: