Commit graph

268 commits

Author SHA1 Message Date
Ariadne Conill
36f0930c27 gitignore: ignore .lock files generated by testsuite 2020-08-13 00:36:50 -06:00
Ariadne Conill
db57f7c07c readme: mention irc channel 2020-08-13 00:36:23 -06:00
Ariadne Conill
0999347dab
Merge pull request #22 from ifupdown-ng/feature/configurable-applets
build: configurable applets
2020-08-12 22:39:38 -06:00
Ariadne Conill
196c000161 build: further cleanup 2020-08-12 17:09:14 -06:00
Ariadne Conill
b30e0223d0 multicall: only enable applets actually compiled in 2020-08-12 16:57:40 -06:00
Ariadne Conill
ff4822cf05 build: allow for applets to be customized 2020-08-12 16:57:40 -06:00
Ariadne Conill
4e3d2dbbc3
Merge pull request #18 from ifupdown-ng/feature/if-option-group
Feature/if option group
2020-08-11 23:35:45 -06:00
Ariadne Conill
f7d21d4b46 ifupdown: port to use option groups 2020-08-11 23:14:55 -06:00
Ariadne Conill
fda7bfae57 ifquery: use generic_usage() instead of ifquery_usage() 2020-08-11 23:10:35 -06:00
Ariadne Conill
f6d9f65248 ifquery: port to use option groups 2020-08-11 23:03:55 -06:00
Ariadne Conill
fdfe8ac080 multicall: migrate execution options to common code 2020-08-11 22:52:15 -06:00
Ariadne Conill
52509c508c multicall: migrate match options to shared collection 2020-08-11 22:37:36 -06:00
Ariadne Conill
f871002ecc multicall: add self_applet 2020-08-11 22:37:10 -06:00
Ariadne Conill
2be5add47b multicall: split option handling routines out to multicall-options.c 2020-08-11 22:15:52 -06:00
Ariadne Conill
b817bdb999 multicall: move match_options to a common include 2020-08-11 22:12:37 -06:00
Ariadne Conill
b481db6c20 multicall: add support for unified option handling 2020-08-11 22:07:32 -06:00
Ariadne Conill
ebd04cafda commands: refactor applet_usage functions to take a status code (ref #16) 2020-08-11 20:44:04 -06:00
Ariadne Conill
f96a74f232 makefile: clarify some things 2020-08-11 20:40:22 -06:00
Ariadne Conill
41e9751ac0
Merge pull request #17 from AdelieLinux/full-clean
Makefile: Ensure built libs are removed in `clean`
2020-08-11 19:23:25 -06:00
Ariadne Conill
a547ab2825
Merge pull request #13 from AdelieLinux/bugurl
Makefile: Update bug reporting URL
2020-08-11 18:11:31 -06:00
A. Wilcox
ff65bd53b5
Makefile: Ensure built libs are removed in clean
This commit ensures that `${LIBIFUPDOWN_LIB}` is removed when `make
clean` is run.
2020-08-11 10:21:02 -05:00
A. Wilcox
b87a0df83d
Makefile: Update bug reporting URL
It should point to the GitHub organisation for ifupdown-ng.
2020-08-11 09:56:22 -05:00
Ariadne Conill
3205a89840 ifupdown-ng 0.7.0. 2020-08-04 13:20:26 -06:00
Ariadne Conill
5bf6c84464 add some helper stubs for split ifupdown1-addon setups 2020-08-04 13:18:36 -06:00
Ariadne Conill
d9fd545ad1 build: add infrastructure for installing stub executors
this enables the split setup with ifupdown1 addons and core
executors as will be implemented in Alpine 3.13.
2020-08-04 13:14:06 -06:00
Ariadne Conill
0de4a3f6f9 tests: add ifup/ifdown/ifquery tests for vlans 2020-08-04 13:08:30 -06:00
Ariadne Conill
b27caaedf6 tests: add mock vlan executor and vlan fixture 2020-08-04 12:38:05 -06:00
Ariadne Conill
072c1ea148 ifquery: build full dependency tree when in dot mode 2020-08-04 12:36:38 -06:00
Ariadne Conill
049af8b9fb interface: if an interface name contains a period, treat it as a vlan device 2020-08-04 12:29:31 -06:00
Ariadne Conill
66e6a09bbe ifupdown-ng 0.6.0. 2020-08-04 12:11:06 -06:00
Ariadne Conill
8b00727370 interfaces.5: note that we are compatible with legacy ifupdown1 syntax 2020-08-04 12:09:57 -06:00
Ariadne Conill
369f3ff3c2 interfaces.5: document inherit option 2020-08-04 12:08:58 -06:00
Ariadne Conill
49dd8942f2 tests: add inheritance tests
we only need to test ifquery, as this is just a merge
operation.
2020-08-04 12:06:39 -06:00
Ariadne Conill
8615cf62ef interface: properly sync parent-child state when inheriting 2020-08-04 12:01:06 -06:00
Ariadne Conill
df2519c1ec dict: cleanups 2020-08-04 11:59:36 -06:00
Ariadne Conill
0d6b9d5d17 build: fix "ln: file exists" that pops up sometimes 2020-08-04 11:48:55 -06:00
Ariadne Conill
6728d2febe interface: add inherit property when inheriting 2020-08-04 11:48:22 -06:00
Ariadne Conill
6c7fa2919d interface-file: add support for inherit/inherits keyword 2020-08-04 11:46:56 -06:00
Ariadne Conill
3d5ca9050e interface: add lif_interface_collection_inherit() (ref #2) 2020-08-04 11:46:10 -06:00
Ariadne Conill
0eb25f1d62 interface file: simplify scanning iface directives for relevant keywords 2020-08-04 11:32:34 -06:00
Ariadne Conill
1964a99e5d lifecycle: don't insert a requires entry if it would be empty 2020-07-31 17:12:13 -06:00
Ariadne Conill
ed56d2b33b build: actually install ifupdown-executor.7 2020-07-29 03:51:57 -06:00
Ariadne Conill
7a4c16c665 ifupdown-ng 0.5.0. 2020-07-29 03:19:19 -06:00
Ariadne Conill
58bc969bbb ifupdown: only show granular locking errors in verbose mode 2020-07-29 03:18:12 -06:00
Ariadne Conill
ef3bdd79da clean up locking-related errors further 2020-07-29 03:17:12 -06:00
Ariadne Conill
c71c01862d ifupdown: make the locking errors more useful 2020-07-29 03:13:34 -06:00
Ariadne Conill
0ca8e42ee6 refactoring locking, make it per-interface to avoid deadlocks 2020-07-29 03:10:55 -06:00
Ariadne Conill
91115edeee ifupdown: use fcntl advisory locks to serialize state changes (closes #8) 2020-07-29 03:01:49 -06:00
Ariadne Conill
2fecbfc7e9 tests: add tests for learned executors 2020-07-29 02:37:14 -06:00
Ariadne Conill
2be1fa5b0b tests: add a set of more complicated dependency learning tests 2020-07-29 02:33:00 -06:00