aboutsummaryrefslogtreecommitdiff
path: root/grecs
AgeCommit message (Collapse)AuthorFiles
2018-03-15Upgrade grecsSergey Poznyakoff1
* grecs: pull * configure.ac: Enable json * lib/Makefile.am (AM_CPPFLAGS): Use @GRECS_INCLUDES@ (libeclat_a_SOURCES): Remove json sources. * src/Makefile.am (AM_CPPFLAGS): Use @GRECS_INCLUDES@ * tests/Makefile.am: Likewise. * lib/json.h: Remove. * lib/jsongrm.y: Remove. * lib/jsonlex.l: Remove. * tests/tjson.c: Remove. * src/config.c (eclat_kw): Mark statically initialized memory locations as such. * src/mktags.c (process_tags): Use wordsplit to process quoted arguments. * lib/bidimap.c (bidimap_config): Fill allocated memory with 0's * lib/filemap.c (filemap_config): Likewise. * lib/gdbmmap.c (gdbm_map_config): Likewise. * lib/seqmap.c (seqmap_config): Likewise.
2015-01-22Improve setting UserData attribute. Change lsistat defaults.Sergey Poznyakoff1
* NEWS: Update. * doc/eclat-setiattr.1: Document new options. * doc/eclat-lsistat.1: Update. * etc/describe-instance-attribute.fln: Decode userData. * grecs: Upgrade. * src/setiattr-cl.opt: New file. * src/Makefile.am (OPTFILES): Add setiattr-cl.opt * src/setiattr.c: Encode UserData. * src/eclat.h (read_file): New proto. * src/lsistat-cl.opt: New option -r (--running). * src/lsistat.c: Change default to show all instances, no matter their state. * src/mkinst-cl.opt (read_user_data): Remove. Use read_file instead. * src/sg.c: Add missing include. * src/util.c (read_file): New function.
2015-01-21Improve ispeekSergey Poznyakoff1
* doc/ispeek.1: Update. * grecs: Upgrade * src/ispeek-cl.opt: New options. * src/ispeek.c: Optionally print variable types, quote strings, etc. Add heuristics to determine whether the obtained data are a directory listing or a text.
2015-01-15BugfixesSergey Poznyakoff1
* grecs: Upgrade * src/sg.c (add_source_cidr): Accept /0 mask; improve error detection.
2013-12-20Version 1.0Sergey Poznyakoff1
2013-12-17Upgrade grecs.Sergey Poznyakoff1
2013-11-28Upgrade grecsSergey Poznyakoff1
2013-11-15Upgrade grecsSergey Poznyakoff1
2013-04-25Improve help and usage output.Sergey Poznyakoff1
* NEWS: Version 0.9.90 * configure.ac: Likewise. * grecs: Upgrade. * src/allocaddr-cl.opt: Use OPTIONS_COMMAND_BEGIN to declare subcommand. Remove the nousage flag. * src/cpimg-cl.opt: Likewise. * src/cpsnap-cl.opt: Likewise. * src/asscaddr-cl.opt: Likewise. * src/detvol-cl.opt: Likewise. * src/disasaddr-cl.opt: Likewise. * src/freeaddr-cl.opt: Likewise. * src/lsaddr-cl.opt: Likewise. * src/lsattr-cl.opt: Likewise. * src/lsimg-cl.opt: Likewise. * src/lsistat-cl.opt: Likewise. * src/lssg-cl.opt: Likewise. * src/lssnap-cl.opt: Likewise. * src/lstag-cl.opt: Likewise. * src/mkimg-cl.opt: Likewise. * src/mkinst-cl.opt: Likewise. * src/mktags-cl.opt: Likewise. * src/mkvol-cl.opt: Likewise. * src/generic-cl.opt (generic_parse_options): Change signature. Use subcmd member of struct grecs_proginfo. * src/eclat.h (eclat_do_command): New proto. (generic_parse_options): Change signature. * src/atvol.c: Update call to generic_parse_options. * src/deimg.c: Likewise. * src/getconout.c: Likewise. * src/lsiattr.c: Likewise. * src/lsinst.c: Likewise. * src/lsreg.c: Likewise. * src/lssattr.c: Likewise. * src/lsvol.c: Likewise. * src/lszon.c: Likewise. * src/mksnap.c: Likewise. * src/rmsnap.c: Likewise. * src/rmvol.c: Likewise. * src/setiattr.c: Likewise. * src/startstop.c: Likewise. * src/util.c (translate_ids): Remove unused variable.
2013-04-24Document cpimg and cpsnapSergey Poznyakoff1
2013-04-24Upgrade grecsSergey Poznyakoff1
2013-04-22Minor doc-related changes.Sergey Poznyakoff1
* doc/.gitignore: Add webdoc * doc/Makefile.am: Include Makefile.inc * doc/Makefile.inc: New file. * grecs: Update. * todostat.awk: Print short command names.
2013-04-20Implement new command - lsattr. Improve docs.Sergey Poznyakoff1
The lsattr command combines the functionality of lsiattr and lssattr.
2013-02-09Make all tag-related subcommands accept the same set of options.Sergey Poznyakoff1
* src/dscrtags-cl.opt: New file. * src/Makefile.am (OPTFILES): Add dscrtags-cl.opt * src/cretags.c (process_tags): New parameter "require_tags". All uses updated. * src/dscrtags.c: Include dscrtags-cl.h. (eclat_describe_tags): Accept the same set of arguments as eclat_create_tags and eclat_delete_tags. * src/eclat.h (describe_query_update): New proto. * src/util.c (describe_query_update): New function. (describe_query_create): Rewrite as an entry point to describe_query_update. * doc/eclat-delete-tags.1: Update. * doc/eclat-describe-tags.1: Update * grecs: Upgrade * src/dscrsnapattr.c (eclat_modify_snapshot_attribute) (eclat_reset_snapshot_attribute): Remove unused locals.
2013-01-23Some housekeeping.Sergey Poznyakoff1
* grecs: Updgrade. * todostat.awk: New file.
2012-10-14Improve the sort function.Sergey Poznyakoff1
* grecs: Upgrade. * lib/forlan.c (strtots): New function. (func_sort): Rewrite. The "sort" built-in takes two optional arguments: a path to the node to use as a key, and a string of flags that set the comparison function and sorting order. * lib/forlangrm.y: Bugfix in argument verification code. * src/dscrsnap-cl.opt: Document filters. * tests/sortnum.at: New file. * tests/sortrevnum.at: New file. * tests/sortstring.at: New file. * tests/sortts.at: New file. * tests/Makefile.am: Add new test cases. * tests/testsuite.at: Likewise.
2012-10-14Implement snapshot-management commands.Sergey Poznyakoff1
* TODO: Update. * configure.ac: Update. * doc/eclat.1: Update. * etc/create-snapshot.fln: New file. * etc/delete-snapshot.fln: New file. * etc/describe-snapshots.fln: New file. * etc/Makefile.am: Add new files. * lib/forlan.c (eval_func): Set return type according to that of the called function. (empty,timestamp): New built-in functions. * src/Makefile.am: Add new files. * src/cresnap.c: New file. * src/delsnap.c: New file. * src/dscrsnap-cl.opt: New file. * src/dscrsnap.c: New file. * src/eclat.c: Register new commands. * src/eclat.h: Add new prototypes. * tests/create-snapshot.at: New file. * tests/Makefile.am: Add new file. * tests/testsuite.at: Likewise.
2012-10-12Upgrade grecsSergey Poznyakoff1
2012-10-11Trivial fixes.Sergey Poznyakoff1
2012-10-08Improve configuration syntax help.Sergey Poznyakoff1
* grecs: Upgrade. * lib/filemap.c: Revamp configuration routine. Provide configuration syntax help. * lib/gdbmmap.c: Likewamp. * lib/ldapmap.c: Provide configuration syntax help. * lib/libeclat.h (eclat_map_drv) <map_confhelp>: New member. (eclat_map_confhelp): New proto. * lib/map.c (eclat_map_confhelp): New function. * src/config.c (config_help): Call eclat_map_confhelp.
2012-09-27Implement describe-instances and some bugfixes.Sergey Poznyakoff1
* configure.ac: Change bug-reporting email. * grecs: Upgrade. * lib/forlan.c (eval_comp0): Set root. * lib/xmltree.c (eclat_partial_tree_end_handler): Set type to grecs_node_block for empty blocks. * src/Makefile.am: Add new files. * src/eclat.c: Rewrite and simplify command name matcher. Implement describe-instances. * src/eclat.conf (DescribeInstances): New format. * src/eclat.h (eclat_describe_instances): New proto.
2012-09-26Change command line syntax.Sergey Poznyakoff1
The new syntax is: eclat [GLOBAL-OPTIONS] COMMAND [COMMAND-OPTIONS] [ARGS] * grecs: Upgrade. * lib/forlan.c: New forlan function: sort(). * src/.gitignore: Update. * src/Makefile.am: Update. * src/cmdline.opt: Use the nopermute option. * src/dscrtags-cl.opt: New file. * src/descrtags.c: Rename to src/dscrtags.c * src/eclat.c (command): Revamp structure. (eclat_command): Remove. (command_tab): Remove. (cmdtab,cmdcnt): New globals. (main): Change command line syntax. * src/eclat.h (eclat_command): Remove. (eclat_command): Remove. * src/startinst-cl.opt: New file. * src/startinst.c: Include startinst-cl.h. Process the command line options.
2012-09-25Upgrade grecs.Sergey Poznyakoff1
2012-09-19Initial commitSergey Poznyakoff1

Return to:

Send suggestions and report system problems to the System administrator.