xdrm-brackets
|
d88b053dc5
|
update readme for nginx parser
|
2018-11-12 19:40:57 +01:00 |
xdrm-brackets
|
c27ab45bc2
|
update cnf/parser/nginx encoder+decoder to read the last line even if no newline '\n' char
|
2018-11-12 19:38:24 +01:00 |
xdrm-brackets
|
78d8d9a7a2
|
update/fix cnf/nginx (encoder, decoder, cnf/nginx) | add cnf/nginx tests
|
2018-11-12 19:22:24 +01:00 |
xdrm-brackets
|
ac5a7dbbfd
|
remove cnf/confl parser | add cnf/nginx conf parser using cnf/parser/nginx | implement cnf/nginx.Get()
|
2018-11-12 17:43:01 +01:00 |
xdrm-brackets
|
217cad09e0
|
update nginx/decoder to read nginx-location sections (location ~ *.php {}) | update encoder | update tests
|
2018-11-12 17:07:30 +01:00 |
xdrm-brackets
|
02bf3d9103
|
fix decoder + tests
|
2018-11-12 16:50:50 +01:00 |
xdrm-brackets
|
0d6067dda5
|
implement nginx/encoder + decode->encode test
|
2018-11-12 16:42:24 +01:00 |
xdrm-brackets
|
69f7cb47b8
|
remove trim() on comments (to keep comment indentation)
|
2018-11-12 15:38:43 +01:00 |
xdrm-brackets
|
73b953c35b
|
moved Line into line.go | remove unused fields (Number, Indent)
|
2018-11-12 15:35:45 +01:00 |
xdrm-brackets
|
14f68cbf8e
|
lint
|
2018-11-12 12:09:10 +01:00 |
xdrm-brackets
|
194b5647ee
|
update nginx/decoder (working for simplest case) | add tests for all line types + nested sections
|
2018-11-12 12:00:41 +01:00 |
xdrm-brackets
|
08b8cf8493
|
create nginx decoder (not fully working, but first step is ok)
|
2018-11-12 08:41:00 +01:00 |
xdrm-brackets
|
1df8f9df9e
|
create os/exec generic interface (internal/exec) with 'Default' wrapping os/exec + make tests do not use it
|
2018-11-11 21:41:02 +01:00 |
xdrm-brackets
|
2901a4edd4
|
add readme status about config formats
|
2018-11-11 19:12:42 +01:00 |
xdrm-brackets
|
76cc1eec53
|
update readme to remove 'upd' command
|
2018-11-11 19:07:50 +01:00 |
xdrm-brackets
|
235e30aeb7
|
unexport ser/systemd | fixes (golint)
|
2018-11-11 19:03:05 +01:00 |
xdrm-brackets
|
798a847ca7
|
update readme : add note why no TOML support yet
|
2018-11-11 18:27:31 +01:00 |
xdrm-brackets
|
052bfed769
|
add support for YAML format cnf/yaml + tests
|
2018-11-11 18:07:29 +01:00 |
xdrm-brackets
|
a6eb82102c
|
add support for CONFL format cnf/confl
|
2018-11-11 16:31:43 +01:00 |
xdrm-brackets
|
40d6526b64
|
unexport cnf/Json to json and cnf/Ini to ini
|
2018-11-11 15:34:00 +01:00 |
xdrm-brackets
|
f094254acc
|
fix clifmt/symbols (forgot the '\r')
|
2018-11-11 15:12:31 +01:00 |
xdrm-brackets
|
20245a9955
|
remove debug
|
2018-11-11 15:10:00 +01:00 |
xdrm-brackets
|
011c09d6ce
|
fix mispelled words
|
2018-11-11 01:11:46 +01:00 |
xdrm-brackets
|
87f983d018
|
unexport private package managers (internal/pkg)
|
2018-11-11 01:10:30 +01:00 |
xdrm-brackets
|
7475f0bd24
|
add readme badges
|
2018-11-11 01:08:54 +01:00 |
xdrm-brackets
|
cdd4b29334
|
update cnf/common interface to implement io.ReaderFrom + io.WriterTo | tested ini+json file update
|
2018-11-11 01:05:14 +01:00 |
xdrm-brackets
|
151ebce573
|
'cnf' working with INI files + loader + instruction executor now works
|
2018-11-10 19:04:16 +01:00 |
xdrm-brackets
|
340fe26d81
|
update Align() method to add '...' at the end when too long | managing special characters
|
2018-11-10 18:36:30 +01:00 |
xdrm-brackets
|
cafd4063a0
|
update cfg/common interface to add Parse()->Read() and Write() methods | add 'ini' format + tests
|
2018-11-10 17:33:27 +01:00 |
xdrm-brackets
|
ea4dfef5e9
|
update cli ui
|
2018-11-10 13:21:07 +01:00 |
xdrm-brackets
|
1705ff54d8
|
make buildfile.reader.Execute() execute each instruction + log errors
|
2018-11-10 13:08:00 +01:00 |
xdrm-brackets
|
b4a0f14907
|
move /cmd into current dir
|
2018-11-10 12:58:59 +01:00 |
xdrm-brackets
|
cc33786c6b
|
minmod
|
2018-11-10 12:58:08 +01:00 |
xdrm-brackets
|
8e6a3457b1
|
repo migration from git.xdrm.io/xdrm-brackets to git.xdrm.io/go
|
2018-11-10 12:48:45 +01:00 |
xdrm-brackets
|
464b2539d2
|
add dry-run cli argument | add buildfile.Reader.Execute() error
|
2018-11-10 12:45:58 +01:00 |
xdrm-brackets
|
ff06cccb89
|
udpdate main program | simplify loaders (no more meta table for distro/package) | add default loader (pkg, ser) values | manage context creation : instruction.CreateContext() | fix tests | no more -distro parameter, only -package
|
2018-11-10 12:37:38 +01:00 |
xdrm-brackets
|
f7d930b588
|
update 'buildfile' using 'instruction'
|
2018-11-09 22:37:05 +01:00 |
xdrm-brackets
|
1577808844
|
init /cmd script
|
2018-11-08 14:09:32 +01:00 |
xdrm-brackets
|
34cdb761e4
|
add clifmt from 'git.xdrm.io/go/aicra'
|
2018-11-08 14:09:19 +01:00 |
xdrm-brackets
|
f763dd50b3
|
minfix
|
2018-11-08 13:42:27 +01:00 |
xdrm-brackets
|
85ecf2d20a
|
create generic service manager (systemd only, TODO:init)
|
2018-11-08 13:42:13 +01:00 |
xdrm-brackets
|
274d8af1f7
|
minfix
|
2018-11-08 13:41:44 +01:00 |
xdrm-brackets
|
9f1d2923ba
|
create instruction with common interface for all available commands + loader (reader.go)
|
2018-11-08 13:41:07 +01:00 |
xdrm-brackets
|
ee73fee310
|
create internal/cnf generic loader
|
2018-11-08 13:40:36 +01:00 |
xdrm-brackets
|
9fda317ad0
|
internal/pkg now returns 'error' instead of 'bool' for easier failure understanding
|
2018-11-08 12:57:45 +01:00 |
xdrm-brackets
|
5d4a47c704
|
move instruction def + builder out | update reader accordingly | tests pass
|
2018-11-07 22:54:33 +01:00 |
xdrm-brackets
|
b355ac5bf5
|
create internal/buildfile reader+errors | tests for reader [only check syntax and extract without command-specific splitting]
|
2018-11-07 22:13:47 +01:00 |
xdrm-brackets
|
54f8003135
|
add gitignore for tests + vscode
|
2018-11-07 20:44:49 +01:00 |
xdrm-brackets
|
204144bbd8
|
fix cnf/json set() method not to override already existing keys on same object level | update tests accordingly
|
2018-11-07 16:09:43 +01:00 |
xdrm-brackets
|
fa647530ea
|
add cnf/json set() + tests pass
|
2018-11-07 15:51:54 +01:00 |