OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: barrahome on December 04, 2019, 04:32:23 pm

Title: Plugins and repos
Post by: barrahome on December 04, 2019, 04:32:23 pm
There is a way to load my github as a plugin repo? If so, steps to do it?

I want to test what i'm developing and i need something like this to work. I made a simple hello world plugin based on the examples provided by the docs.
Title: Re: Plugins and repos
Post by: mimugmail on December 04, 2019, 04:58:34 pm
Better on the test machine:

git clone https://github.com/youruser/plugins
cd plugins/xx/xx
make upgrade

When you do some updates on GH the just a git pull && make upgrade in directory
Title: Re: Plugins and repos
Post by: barrahome on December 04, 2019, 05:26:04 pm
I want to bundle it with the iso... Or having an option to pull from my server
Title: Re: Plugins and repos
Post by: mimugmail on December 04, 2019, 08:01:02 pm
Then just edit the configs in tools.git
Title: Re: Plugins and repos
Post by: barrahome on December 05, 2019, 01:00:39 am
I tried to add it using ADDITIONS="package_name" and renamed the normal hello world and didn't work.