summaryrefslogtreecommitdiff
path: root/src/cli_shell_api.cpp
AgeCommit message (Collapse)Author
2011-05-26remove unneeded stderr messageAn-Cheng Huang
2011-05-16reimplement commit hooks mechanismAn-Cheng Huang
* do NOT reinvent the wheel (directory traversal, sorting, script execution, etc.) when the functionality is already provided by the system. * eliminate hard-coded hook directory in various feastures. everyone should obtain the directory path from the config backend.
2011-05-10preliminary implementation of new commitAn-Cheng Huang
(cherry picked from commit 1b2a0fd1ae1e6dfc18e4f75f73cd7befb47cf538)
2011-04-15add validation to config file APIAn-Cheng Huang
2011-04-15initial implementation of "config file" shell APIAn-Cheng Huang
* this API allows shell scripts to "query" the "config" represented by a config file in a way similar to how they query the active/working config.
2011-04-13fix for bug 6996An-Cheng Huang
* add "ignore-edit" option for config output. * ignore "edit level" when saving config file.
2011-03-17remove debug outputAn-Cheng Huang
2011-03-17add config path abstraction and high-level cachingAn-Cheng Huang
* part of the config backend cleanup/optimization work. * improves the performance of "load" (w/o commit) by ~55% and "show" by ~15%.
2011-02-18namespace reorgAn-Cheng Huang
2011-01-20add comments for showConfigAn-Cheng Huang
2011-01-20export config output algorithms through shell APIAn-Cheng Huang
2011-01-18have caller handle edit level for context diffAn-Cheng Huang
2011-01-18initial implementation of context diffAn-Cheng Huang
2011-01-05fix for bug 6641An-Cheng Huang
* change shell API to only use "edit level" when needed. * add factory functions for cstore creation to simplify code. (cherry picked from commit 2208bfef1004295d3227492c6a3e9d7b36903db5)
2010-12-02implement load function in new config input/output infrastructure.An-Cheng Huang
* add "commands diff" functionality to config input/output infrastructure. * consolidate similar logic in "commands diff" and "show diff". * add loadFile functionality to cstore using "commands diff". * export loadFile through shell API.
2010-11-24use exit code 1 to ease init script usageAn-Cheng Huang
2010-11-18Add --show-working-only option to showCfg.Stig Thormodsrud
2010-11-10switch to new output frameworkAn-Cheng Huang
* change showCfg to use new code. * remove old files.
2010-08-26new implementation for config outputAn-Cheng Huang
* replace the original ConfigOutput perl module. * simplify logic and fix bugs in original code.
2010-08-12add more functions to shell APIAn-Cheng Huang
2010-08-12add more functions to shell APIAn-Cheng Huang
2010-08-11document equivalent perl API functions for shell API.An-Cheng Huang
2010-08-11add comments to document shell API usageAn-Cheng Huang
2010-08-11add functions to shell APIAn-Cheng Huang
2010-08-10further simplify shell API extension and add more functions.An-Cheng Huang
2010-08-10simplify extension of shell APIAn-Cheng Huang
2010-08-10add functions to shell APIAn-Cheng Huang
2010-07-28add cstore-specific header fileAn-Cheng Huang
2010-07-28add new cstore libraryAn-Cheng Huang