Franco Fichtner
e2c417656e
Framework: provide test and style-python targets
...
(cherry picked from commit ee900ac77a )
2018-04-06 07:45:53 +02:00
Franco Fichtner
ab78ed9e20
devel/debug: native PLUGIN_PHP via build
...
(cherry picked from commit 21ac524c56 )
(cherry picked from commit 3456baafd0 )
2018-03-20 08:24:13 +01:00
Franco Fichtner
20d124737f
Framwork: allow package conflicts
...
(cherry picked from commit 129acfd8ed )
(cherry picked from commit 23035f1955 )
2018-01-08 23:05:01 +01:00
Franco Fichtner
1dc4b414a5
Framework: pass update type on configure; closes #473
...
(cherry picked from commit 058b9c8579 )
2018-01-08 22:30:45 +01:00
Franco Fichtner
4fc3f369fe
Framwork: this is a stable branch
2018-01-04 17:02:59 +01:00
Franco Fichtner
badb1430ee
Framework: add/update copyrights
2018-01-03 06:36:15 +00:00
Franco Fichtner
afcdb85f44
Framework: slightly adapt style checks
2018-01-03 06:16:39 +00:00
Franco Fichtner
64c8f55cdb
pkg: tweak previous, need this on post-deinstall too
...
PR: https://github.com/opnsense/core/commit/a1c114c670
2017-12-17 15:36:55 +01:00
Franco Fichtner
893f0ba130
Framework: clean doesn't work if src is not found
2017-11-24 07:43:38 +00:00
Franco Fichtner
4897e78790
Framework: proper reset here as well
2017-09-23 15:14:34 +02:00
Franco Fichtner
1b5212365e
Framework: bail on missing pkg-descr, we want this always
2017-09-18 20:43:12 +02:00
Franco Fichtner
08a1145670
Framework: bring back dropped check
2017-09-16 18:15:04 +02:00
Franco Fichtner
06cbde40e2
Framework: more often than not, plugins are not installed
...
So in order to bootstrap a plugin during an upgrade we allow
the upgrade without the package in place.
2017-09-16 18:12:27 +02:00
Franco Fichtner
15269f55da
Framework: only reload configd once in upgrade case
2017-08-21 10:02:08 +02:00
Franco Fichtner
64d1af52e1
Framework: hooray, the `upgrade' target is here \o/
...
Repair a bit of my previous code splatter while here.
2017-08-15 18:55:53 +02:00
Franco Fichtner
6169d290b8
Framework: add a migration argument
...
This is for future use, right now it's not supported.
2017-08-10 08:25:07 +02:00
Franco Fichtner
dcd571e0ac
Framework: migration auto-hook for model-provider
...
Of course, models are polluted with ACL and Menu so this becomes
a kind of a given step. ;(
2017-08-09 15:27:08 +02:00
Franco Fichtner
372bf687c8
Framework: more tools.git-friendly approach to previous
2017-08-03 15:39:13 +02:00
Franco Fichtner
6c95a32340
Framework: tweak previous
2017-07-28 21:04:51 +02:00
Franco Fichtner
22dbe9eacd
Framework: try to install missing packages on package target
2017-07-28 16:54:33 +02:00
Franco Fichtner
b3d88ed912
Framework: add whitespace cleanup for plugin root dir
2017-07-17 06:25:12 +02:00
Franco Fichtner
2974fb9d6c
Framework: annotate this branch as permanently PLUGIN_DEVEL
2017-04-03 06:32:41 +02:00
Franco Fichtner
7d82710418
Framework: because XML in shell scripts is so modern...
2017-03-27 22:30:41 +02:00
Franco Fichtner
aa69b4fde7
Mk: add descriptions via pkg-descr and start with quagga
2017-03-15 01:57:38 +01:00
Franco Fichtner
b0d2fd38ef
Framework: register version file; closes #78
2017-02-16 09:15:03 +01:00
Franco Fichtner
47aa039454
Framework: allow PLUGIN_DEVEL switch
2017-02-07 10:33:28 +01:00
Franco Fichtner
981823b4a6
Framework: allow PLUGIN_NO_ABI setting; closes #73
2017-02-06 12:46:49 +01:00
Franco Fichtner
cea4c84913
tweak to improve on previous as discussed with @evbevz; closes #56
2016-11-28 13:07:04 +01:00
evbevz
471686158e
change places of scripts-auto and scripts-manual
2016-11-28 12:51:40 +01:00
Franco Fichtner
4888ae9d72
make: style(-fix) hangs when directory is not there
2016-11-12 08:27:13 +01:00
Franco Fichtner
c10d7d3d87
make: non-empty directories are ok to leave as is
2016-11-09 09:34:00 +01:00
Franco Fichtner
99f5775a98
tempate slash notation adaption, better print
...
PR: https://github.com/opnsense/core/issues/1238
2016-10-28 14:58:14 +02:00
Franco Fichtner
633a22ff3a
automate the template regeneration for provided templates for #46
...
Unfortunately, we need to reload all subdirs (minus the vendor
directory). The "*" matcher is not very clever and cannot be
coerced to match sub directories without potentially matching any
directories longer than their name, e.g. "Sample*" vs "Sample2".
Problem is when these are installed and the templates are wrongly
regenerated. In theory this doesn't have any bad side effects,
but it may be a potential pitfall to avoid now rather than later.
2016-10-26 16:00:33 +02:00
Franco Fichtner
d1885b47e6
add style and style-fix targets
2016-10-21 19:59:26 +02:00
Franco Fichtner
c730b321eb
make: whitespace sweep target and execution
2016-09-27 09:25:24 +02:00
Franco Fichtner
fa74c7ed0f
Mk: auto generate rc.syshook.d scripts; closes #35
...
This obsoletes the need to manually set package scripts, which
is still possible but fewer mistakes can be made now as the
scripts automatically adapt to the package's changing content.
2016-09-23 07:47:14 +02:00
Franco Fichtner
65c75ad1fe
Templates: make this easier on the eyes
2016-09-23 07:28:09 +02:00
Franco Fichtner
b4385511ab
Mk: reorder automatic script hooks, annotate TODO
2016-09-22 23:55:29 +02:00
Franco Fichtner
5bd397642a
Mk: automate configd restart
2016-09-22 23:48:46 +02:00
Franco Fichtner
6554c8cf9e
Mk: automate scripting loader.conf
2016-09-22 23:39:08 +02:00
Franco Fichtner
ff7d4da7a5
make: tweak previous
2016-08-29 17:14:27 +02:00
Franco Fichtner
b885be004d
make: allow to make use of WRKSRC and PKGDIR
2016-08-29 20:06:36 +02:00
Franco Fichtner
c1096904e7
Mk: add lint target and change list print to one-per-line
2016-06-03 11:17:02 +02:00
Franco Fichtner
00ec2e0c17
Mk: if our first action is cp to dir, make sure we treat it as dir
2016-05-26 09:14:02 +02:00
Franco Fichtner
65ba45662f
Mk: adapt metadata generation target
2016-05-26 08:19:43 +02:00
Franco Fichtner
0489e3bcd0
Mk: add PLUGIN_REVISION, net to categories, tweaks
2016-04-20 07:45:08 +02:00
Franco Fichtner
095af4c651
Mk: inline package target and some manifest prettification; closes #8
2016-04-18 02:18:39 +02:00
Franco Fichtner
642898d8c8
Framework: mark plugins private so they don't install from GUI; closes #7
2016-04-18 01:34:29 +02:00
Franco Fichtner
432a5f10df
Mk: properly error out on missing vars
2015-11-20 00:35:36 +01:00
Franco Fichtner
578c761d7b
plugins: switch PLUGIN_DESC and PLUGIN_COMMENT
2015-08-19 09:31:04 +02:00