Commit Graph

19 Commits

Author SHA1 Message Date
Adrien Marquès fa8a0a5ae5 fix DryRun() for instruction/copy : create/remove file if does not exist, else try to open in WRITE mode 2018-11-14 20:21:34 +01:00
Adrien Marquès 1a7e1c2db0 add DryRun() method for instruction common interface | add DryRun() method to all instructions | TODO: tests + install/delete 2018-11-14 20:11:07 +01:00
Adrien Marquès 48600584a0 add copy command (instruction) 2018-11-13 14:21:36 +01:00
Adrien Marquès 3c0f4e0476 migrate to github 2018-11-13 13:13:32 +01:00
xdrm-brackets b60b03539f add alias use in 'run' and 'set' instructions (has priority over real path) 2018-11-13 00:41:42 +01:00
xdrm-brackets 492835a67a create alias instruction 2018-11-13 00:29:57 +01:00
xdrm-brackets 8a08f429d2 update cli UI/UX with elapsed time on success | add run command (issue with indentation) 2018-11-12 23:46:10 +01:00
xdrm-brackets 1095283be7 rename instruction/* packages according to command renaming 2018-11-12 22:56:41 +01:00
xdrm-brackets 7d50d2d252 rename commands : ins -> install, del -> delete, ser -> service, cnf -> set | readme add 'alias' command description 2018-11-12 22:54:37 +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 235e30aeb7 unexport ser/systemd | fixes (golint) 2018-11-11 19:03:05 +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 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 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 9f1d2923ba create instruction with common interface for all available commands + loader (reader.go) 2018-11-08 13:41:07 +01:00