joshburnsxyz
Re:Show HN: My plugin system/package manager for Git
on Wednesday November 24, 2021 @10:36PM (#29338002)
I do plan on implementing Updating/versioning of the plugins. As mentioned previous - This is still a massive WIP and I am still working on fleshing the basics out.
Re:Show HN: My plugin system/package manager for Git
on Wednesday November 24, 2021 @09:18PM (#29337580)
I 100% agree with you, but as i've stated a couple times here now. Once i've got the base of the system solid and working I will then implement proper security measures on-top of that. If you want to jump on-board and help out that'd be great! If you've already got an idea of how all this works then i'd be more than happy to use your expertise to make this project better. After all I am only one person so any help is welcome.
Re:Show HN: My plugin system/package manager for Git
on Wednesday November 24, 2021 @09:14PM (#29337559)
At the moment i've chosen to go with the hard coded JSON approach purely to get things off the ground, and keep control over what the program is actually doing, accepting generic URLs will require security which is out of scope at the moment.
Re:Show HN: My plugin system/package manager for Git
on Wednesday November 24, 2021 @09:06PM (#29337517)
At the moment, the only packages being distributed are hand-coded into the repository feed. If/when it comes to blindly distributing users code, security measures would be implemented.
Re:Show HN: My plugin system/package manager for Git
on Wednesday November 24, 2021 @08:19PM (#29337241)
Correct, as this is the software equivalent of a rough first draft, This is the kind of feedback im looking for. The choice to enforce a format for plugins was done purely to streamline the fetching of metadata (names, authors, links, etc.). If you have any more ideas on what I can do to improve the project, and If you wanted to contribute some of your own ideas, please by all means, open an issue on github.
Re:Show HN: My plugin system/package manager for Git
on Wednesday November 24, 2021 @07:36PM (#29336955)
So at the moment I maintain a registry in the form of a JSON file on github (joshburnsxyz/git-plugins-repo) the CLI command parses the raw JSON from that file and then the plugins have a Makefile with the build/install instructions there is also a dummy (joshburnsxyz/git-plugin-dummy) that exists to demonstrate what a plugin looks like and as a template.