This website requires JavaScript.
5998bd7b29
Merge branch 'master' of gogs:go/nix-amer
master
Adrien Marquès
2019-11-18 14:33:49 +0100
27ace57523
Update CI and do not use github import path anymore
Adrien Marquès
2018-11-18 22:49:11 +0100
a3b513a23b
update readme
Adrien Marquès
2018-11-18 22:49:11 +0100
b752906d15
add minimal test to test ANY lines in bash decoder/encoder
Adrien Marquès
2018-11-18 21:56:50 +0100
3331970eb5
fix cnf/parser/bash to restore ANY-typed lines + restore comments at the end of assignment lines properly
Adrien Marquès
2018-11-18 21:50:02 +0100
bca2b145bc
fix tests
Adrien Marquès
2018-11-18 19:09:28 +0100
0059dd90ea
add bash (environment variable export) file format
Adrien Marquès
2018-11-18 19:08:18 +0100
f13c25c7d3
fix
circleci/multi-env
Adrien Marquès
2018-11-16 08:30:09 +0100
bd522bde3a
try adding 2 go versions
Adrien Marquès
2018-11-16 08:28:41 +0100
c37893c209
lint
Adrien Marquès
2018-11-16 06:57:57 +0100
5f229709ad
circle-ci add go fmt + go vet
Adrien Marquès
2018-11-16 06:55:45 +0100
3c598ea419
circle-ci upload tests
Adrien Marquès
2018-11-16 06:54:02 +0100
bf391fd5a0
fix: cnf make cnf/* configuration formats more strict and not to include themselves (to really find out the good format) | add tests | TODO: json is a subset of yaml, create my own YAML parser that is strict to the 'well-known' YAML syntax
Adrien Marquès
2018-11-15 17:26:11 +0100
b26dec8576
FIX: find config format from content : seek start of file before each
0.1.1
Adrien Marquès
2018-11-15 14:48:02 +0100
8c3b300ab5
fix cnf/nginx | udpate tests
Adrien Marquès
2018-11-15 12:04:45 +0100
2e3700786d
fix/upd instruction/copy | add tests
Adrien Marquès
2018-11-14 22:10:31 +0100
fa8a0a5ae5
fix DryRun() for instruction/copy : create/remove file if does not exist, else try to open in WRITE mode
Adrien Marquès
2018-11-14 20:21:34 +0100
1a7e1c2db0
add DryRun() method for instruction common interface | add DryRun() method to all instructions | TODO: tests + install/delete
Adrien Marquès
2018-11-14 20:11:07 +0100
2f95acb851
fix tests
0.1.0
Adrien Marquès
2018-11-14 11:38:21 +0100
a6207e0a34
add parallelism [pre] section run before all other | update readme accordingly
feature/parallelism
Adrien Marquès
2018-11-14 11:34:27 +0100
5fd41cae67
add parallelism with sections | todo: add [pre] section executed before all
Adrien Marquès
2018-11-14 11:07:46 +0100
7e8b45d750
fix buildfile/reader to read last line (without NEWLINE)
Adrien Marquès
2018-11-14 09:58:51 +0100
361c3f6c25
update shields
Adrien Marquès
2018-11-13 21:50:10 +0100
87bf394536
lint tests
Adrien Marquès
2018-11-13 21:36:19 +0100
a9a69a5728
add cnf/parser/nginx/decoder receiver/syntax/writer error
tests
Adrien Marquès
2018-11-13 21:33:16 +0100
a77923a686
add cnf/parser/nginx/encoder writer error
Adrien Marquès
2018-11-13 21:11:15 +0100
685da832df
test default prefix/indent values + encoder errors
Adrien Marquès
2018-11-13 20:58:19 +0100
9d2219c3e4
fix readme set coveralls.io MASTER branch
Adrien Marquès
2018-11-13 17:29:16 +0100
73a0bfdadb
fix symbols DisplaySize() + Align() + tests
Adrien Marquès
2018-11-13 17:26:04 +0100
6cdbf07d37
test clifmt/Title + Warn + Info
Adrien Marquès
2018-11-13 16:22:57 +0100
b4d6b8d8ff
add clifmt/colors minimal test
Adrien Marquès
2018-11-13 16:03:57 +0100
d4daa435e5
readme: add 'copy' command
feature/copy-command
Adrien Marquès
2018-11-13 14:23:36 +0100
48600584a0
add copy command (instruction)
Adrien Marquès
2018-11-13 14:21:36 +0100
c548e6a5e8
minmod
Adrien Marquès
2018-11-13 14:08:49 +0100
d9bbbfeea3
update readme : add installation instructions
Adrien Marquès
2018-11-13 14:06:33 +0100
7ddc9a3006
update readme : add toc (Table Of Contents)
Adrien Marquès
2018-11-13 13:50:33 +0100
3c0f4e0476
migrate to github
meta/circle-ci
Adrien Marquès
2018-11-13 13:10:55 +0100
b60b03539f
add alias use in 'run' and 'set' instructions (has priority over real path)
xdrm-brackets
2018-11-13 00:41:42 +0100
492835a67a
create alias instruction
xdrm-brackets
2018-11-13 00:29:57 +0100
ff458d83da
fix symbols with a *consistent* method (regexp) | add debug method escape(string) string
xdrm-brackets
2018-11-13 00:20:05 +0100
8a08f429d2
update cli UI/UX with elapsed time on success | add run command (issue with indentation)
xdrm-brackets
2018-11-12 23:38:37 +0100
1095283be7
rename instruction/* packages according to command renaming
xdrm-brackets
2018-11-12 22:56:41 +0100
7d50d2d252
rename commands : ins -> install, del -> delete, ser -> service, cnf -> set | readme add 'alias' command description
xdrm-brackets
2018-11-12 22:54:37 +0100
7ceaf81ee5
update cnf/loader to infer parser (config format) from content
xdrm-brackets
2018-11-12 20:01:07 +0100
aa3c8e472d
lint
xdrm-brackets
2018-11-12 19:45:30 +0100
d88b053dc5
update readme for nginx parser
xdrm-brackets
2018-11-12 19:40:57 +0100
c27ab45bc2
update cnf/parser/nginx encoder+decoder to read the last line even if no newline '\n' char
xdrm-brackets
2018-11-12 19:38:24 +0100
78d8d9a7a2
update/fix cnf/nginx (encoder, decoder, cnf/nginx) | add cnf/nginx tests
xdrm-brackets
2018-11-12 19:22:24 +0100
ac5a7dbbfd
remove cnf/confl parser | add cnf/nginx conf parser using cnf/parser/nginx | implement cnf/nginx.Get()
xdrm-brackets
2018-11-12 17:43:01 +0100
217cad09e0
update nginx/decoder to read nginx-location sections (location ~ *.php {}) | update encoder | update tests
xdrm-brackets
2018-11-12 17:07:30 +0100
02bf3d9103
fix decoder + tests
xdrm-brackets
2018-11-12 16:50:50 +0100
0d6067dda5
implement nginx/encoder + decode->encode test
xdrm-brackets
2018-11-12 16:42:24 +0100
69f7cb47b8
remove trim() on comments (to keep comment indentation)
xdrm-brackets
2018-11-12 15:38:43 +0100
73b953c35b
moved Line into line.go | remove unused fields (Number, Indent)
xdrm-brackets
2018-11-12 15:35:45 +0100
14f68cbf8e
lint
xdrm-brackets
2018-11-12 12:08:54 +0100
194b5647ee
update nginx/decoder (working for simplest case) | add tests for all line types + nested sections
xdrm-brackets
2018-11-12 12:00:41 +0100
08b8cf8493
create nginx decoder (not fully working, but first step is ok)
xdrm-brackets
2018-11-12 08:41:00 +0100
1df8f9df9e
create os/exec generic interface (internal/exec) with 'Default' wrapping os/exec + make tests do not use it
xdrm-brackets
2018-11-11 21:38:16 +0100
2901a4edd4
add readme status about config formats
xdrm-brackets
2018-11-11 19:10:11 +0100
76cc1eec53
update readme to remove 'upd' command
xdrm-brackets
2018-11-11 19:06:00 +0100
235e30aeb7
unexport ser/systemd | fixes (golint)
xdrm-brackets
2018-11-11 19:01:00 +0100
798a847ca7
update readme : add note why no TOML support yet
xdrm-brackets
2018-11-11 18:27:31 +0100
052bfed769
add support for YAML format cnf/yaml + tests
xdrm-brackets
2018-11-11 18:07:29 +0100
a6eb82102c
add support for CONFL format cnf/confl
xdrm-brackets
2018-11-11 16:31:43 +0100
40d6526b64
unexport cnf/Json to json and cnf/Ini to ini
xdrm-brackets
2018-11-11 15:34:00 +0100
f094254acc
fix clifmt/symbols (forgot the '\r')
xdrm-brackets
2018-11-11 15:12:31 +0100
20245a9955
remove debug
xdrm-brackets
2018-11-11 15:10:00 +0100
011c09d6ce
fix mispelled words
xdrm-brackets
2018-11-11 01:11:46 +0100
87f983d018
unexport private package managers (internal/pkg)
xdrm-brackets
2018-11-11 01:10:30 +0100
7475f0bd24
add readme badges
xdrm-brackets
2018-11-11 01:08:33 +0100
cdd4b29334
update cnf/common interface to implement io.ReaderFrom + io.WriterTo | tested ini+json file update
xdrm-brackets
2018-11-11 01:05:14 +0100
151ebce573
'cnf' working with INI files + loader + instruction executor now works
xdrm-brackets
2018-11-10 19:04:16 +0100
340fe26d81
update Align() method to add '...' at the end when too long | managing special characters
xdrm-brackets
2018-11-10 18:35:00 +0100
cafd4063a0
update cfg/common interface to add Parse()->Read() and Write() methods | add 'ini' format + tests
xdrm-brackets
2018-11-10 17:33:27 +0100
ea4dfef5e9
update cli ui
xdrm-brackets
2018-11-10 13:20:10 +0100
1705ff54d8
make buildfile.reader.Execute() execute each instruction + log errors
xdrm-brackets
2018-11-10 13:01:59 +0100
b4a0f14907
move /cmd into current dir
xdrm-brackets
2018-11-10 12:58:59 +0100
cc33786c6b
minmod
xdrm-brackets
2018-11-10 12:58:08 +0100
8e6a3457b1
repo migration from git.xdrm.io/xdrm-brackets to git.xdrm.io/go
xdrm-brackets
2018-11-10 12:48:45 +0100
464b2539d2
add dry-run cli argument | add buildfile.Reader.Execute() error
xdrm-brackets
2018-11-10 12:45:58 +0100
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
xdrm-brackets
2018-11-10 12:37:31 +0100
f7d930b588
update 'buildfile' using 'instruction'
xdrm-brackets
2018-11-09 22:37:05 +0100
1577808844
init /cmd script
xdrm-brackets
2018-11-08 14:09:32 +0100
34cdb761e4
add clifmt from 'git.xdrm.io/go/aicra'
xdrm-brackets
2018-11-08 14:09:19 +0100
f763dd50b3
minfix
xdrm-brackets
2018-11-08 13:42:27 +0100
85ecf2d20a
create generic service manager (systemd only, TODO:init)
xdrm-brackets
2018-11-08 13:42:13 +0100
274d8af1f7
minfix
xdrm-brackets
2018-11-08 13:41:44 +0100
9f1d2923ba
create instruction with common interface for all available commands + loader (reader.go)
xdrm-brackets
2018-11-08 13:41:07 +0100
ee73fee310
create internal/cnf generic loader
xdrm-brackets
2018-11-08 13:40:36 +0100
9fda317ad0
internal/pkg now returns 'error' instead of 'bool' for easier failure understanding
xdrm-brackets
2018-11-08 12:52:14 +0100
5d4a47c704
move instruction def + builder out | update reader accordingly | tests pass
xdrm-brackets
2018-11-07 22:54:02 +0100
b355ac5bf5
create internal/buildfile reader+errors | tests for reader [only check syntax and extract without command-specific splitting]
xdrm-brackets
2018-11-07 22:13:47 +0100
54f8003135
add gitignore for tests + vscode
xdrm-brackets
2018-11-07 20:44:49 +0100
204144bbd8
fix cnf/json set() method not to override already existing keys on same object level | update tests accordingly
xdrm-brackets
2018-11-07 16:09:43 +0100
fa647530ea
add cnf/json set() + tests pass
xdrm-brackets
2018-11-07 15:51:54 +0100
ad7c79d2f9
add cnf/json parse() and get() + minimal tests
xdrm-brackets
2018-11-07 14:03:54 +0100
05e6b5a847
update common config interface
xdrm-brackets
2018-11-07 14:03:30 +0100
ac3732d318
add minimal test for 'pkg/loader' + update loader to let 'lsb_release -is' command for its caller
xdrm-brackets
2018-11-07 12:52:59 +0100
82d694b7cb
remove configuration path table + edit README accordingly
xdrm-brackets
2018-11-07 12:41:34 +0100
c787dccfa7
readme: list of parser libraries
xdrm-brackets
2018-11-07 11:56:53 +0100