November 2022

Manage files in one place and distribute them using gget

Robert Stoll

gget -- g(it)get -- is a bash based tool to pull files from git repositories including an automatic file integrity check via GPG. It is licensed under the Apache License v2.0.

Maybe you are in the same situation as we were (well... still a bit are). Many files in projects are duplicated across a lot of repositories. Starting from license files, CODE_OF_CONDUCT.md over to configuration files (such as .editorconfig), to workflow files and scripts. Some of them you might never touch again (at least you think so right now) others you're changing once a year (such as a year bump) and for some you are pretty sure that you will change things frequently.

In all those situtations it makes sense to maintain those files at one place, i.e. in one repository and distribute them somehow. gget is a bit like a light weight package manager, without dependency management but with a strong sense for file integrity. You can gget remote add any git repository and gget pull one or multiple files from it into yours. Whether you commit those files or put them onto your .gitignore-list and let co-contributorsgget re-pull them is up to you.

gget update lets you update already pulled files to the latest or a particular version. A corresponding GitHub workflow (which yougget of course) looks out for updates periodically and creates a corresponding pull request.

We hope gget will simplify the distribution of your files as well and we are looking forward to any feedback from you.

Related technologies

Bash / Shell
Loading...
Loading...
© 2023 Tegonal Cooperativeimprint & privacy statement