Add Modules Repo & Custom Repo Scripts?
I am refactoring how Neuhub gets installed. I noticed that you can install addons, widgets, and themes via a repository using the command line. For example:
util/add_addon_repo https://framagit.org/hubzilla/addons.git hzaddons
util/add_widget_repo https://framagit.org/hubzilla/widgets.git hzwidgets
util/add_theme_repo https://framagit.org/hubzilla/themes.git hzthemes
Is there something similar for modules? Or do modules have to be turned into addons?
The reason I ask is that some of my sites have modules that are unique to them, and it seems overkill to create an addon, when I just need a module.
And what about custom code placed in the
/custom
directory or other non-Hubzilla directory? Instead of using the
/custom
directory, I could just
git clone
a repo into its own directory for custom code. Would that be an acceptable way to upload custom files?
I am trying to figure out how to install everything via git.