cc-cli (4) unstable; urgency=low * Matthieu Gonnet (4): Fix fd argument allocation in out and err Printer methods Fix clear function in Printer Clean exit in time command Fix blink in watch command * Seblu (26): bump dev version 4 remove arch packaging Add clear function to the Printer Fix fatal traceback Recursive alias subsitution watch interval is now limited to 0.5 alias printed list is now sorted alphabatically delrights allow multiple rule deletion in one command Add a new _list option to TqlCommand rpccall Fix new list option of rpccall conflict with list option of migrate command by default undefine remove storage Implement tag ignoring New command source rpccall now use class option var to transmit its options Print count of object when displaying it Restore options only if already exists Set default conn timeout to 5s fix exception raising with new syntax Use two timeout (connection and command) update debian package dependancy fix jobs using old index args fix bad object status displaying don't print object count if there is less than 2 objects smart merge of args for list command Introduce debug command fix traceback when empty call to list -- Sebastien Luttringer <sebastien.luttringer@smartjog.com> Thu, 07 Jul 2011 12:47:44 +0200 cc-cli (3) unstable; urgency=low * Gaëtan Déléaz (6): fix manpage installation and update manpage remove bug section and fix title translation Add mikrotick display in list command Add vertical display in list command Modify the display list_table Modify the display list_align * Matthieu Gonnet (2): Add watch command Add time command * Seblu (23): bump dev version update new tql tag add new tag chaserial and chaasset fix delright with * index fix list -l and -r bug with empty objectlist add command undefine add tag p and fix typo make date/time tagdisplay convertion only if decimal Update debian source format to 3.0 (native) and new buildd makefile rules Fix trailing whitespace and path of manpage fix typo in migrate command Remove p tag and get back his first value to hv tag New migrate -l output Add clone command Remove OptionCommand from account Check remote functions in local command Fix history saving from server disconnect RemoteCommand needs to set a non-empty list of remote functions Fix trailing whitespaces Alias substitution is now handled in alias manager Change command loading schema fix typo in cancel command doc Improve commands loading * gaetan deleaz (3): add man page cc-cli.1.ex add man page cc-cli.1 man page update -- Sebastien Luttringer <sebastien.luttringer@smartjog.com> Mon, 23 May 2011 19:48:07 +0200 cc-cli (2) unstable; urgency=low * Seblu (18): Start v2 dev fix delright don't use type index as integer fix missing command module in setup.py fix bad default string to unicode in list command and tagdisplay func TqlCommand now handle index option New rights display. Fix too many filter. Disable TQL indexing indexing in list -l and list -t fix bug in TqlCommand callback call. Fix exec command doesn't works. rename command exec to execute Split shutdown and execute in separate files fix default shutdown option to reboot Add command jobs add command cancel Add migrate command fix bad alignment in list -l new tagdisplay type date,time,datetime fix time display in datetime time displaytag type version 2 -- Sebastien Luttringer <sebastien.luttringer@smartjog.com> Thu, 03 Mar 2011 14:40:23 +0100 cc-cli (1) unstable; urgency=low * Seblu (181): Initial commit - Merge from vmcontrol global repository Rome was not built in one day Live free or die hard add config file example command auto expansion Command are now callable with a part of it. e.g. a, al, ali,alia, call alias fix unalias usage Bug fixes * command ? traceback * display warning report bug * traceback when no alias * traceback when no pass * argline was not parsed correctly * bad displaying of usage * fix lots of traceback with options handling * fix displaying of help * implement timeout on sjrpc connection and add timeout param (need v6) Add answer to server tag request (version tag) naive implementation of stop command fix execute command from argline Allow server to terminate properly a cli connect by calling quit method add history system by default list show accouts trivial start implementation change debian packaging to native one implement start/stop/pause/resume/destroy update tag list global cleaning / bug fixes * printer and history merged * printer now handle raw_input and getpass function * clierror module to cccli.exception * lot of reorganisation * history saving of question is disable * split tql spec and readme * update tql spec and readme content lexer handle quoting read from argline like stdin fix bug on debuging remplace , by as in exception TQL spec update fix traceback on empty line in parser fix traceback when typing enter with history disable (method Printer().ask()) clean quit on server disconnect prompt in color add login in prompt new cli exceptions class proper handle auth failure catch connecion error fix alias subs fix somes exception issues list vm $toto -> list vm$toto fix bad color length calculation by readline fix command history traceback add option --force-yes to handle asking when not interactive command clear better list display command uptime fix roxterm bad handling \0001 and \0002 new tag in TQL better list displaying better start display fix ctrl+d bug in cmd start (and others) remove dangling print better connection and auth failure message command settag command deltag rename settag to addtag command addaccount command delaccount command passwd fix addtag command addaccount must take a role argument command tags fix addtag and deltag usage Use RPC connection directlty instead of proxy. I change this because Proxy Remove RPCError exception in some case and this create a complex exception handling command expert Implement http://standards.freedesktop.org/basedir-spec/0.6/ typo on vm related command TQL now support sorting of argument with % Add profile support fix bug on ! fix prompt editon in expert mode command whoami better tags display new start/stop/pause/resume commands remove global --force-yes options command rights command addright command delright new tql spec use a raw config parser New profile system better handling of bad exceptions handle EOF in command disable history inside ask expert has its own history command passwd take a tql new initialization process new profile loading schema command tags take tql command close / declose printer getpass no longer use module getpass new function to get term size fix exception on invalid profile name as command line argument add reserved tags concept to tql simple completion on command command uptime take tql multiple command cleaning Add a completion class to handle completion better exception display of cliError in program entrance Abstract readline completer by a simple completer which take a list of choice Add alias to completion of command correctly handle ? and ! completion and execution Debug printing in grey fix ? completion New command list display (aligned by line) fix loading history file command kill catch exception in command remote Makefile now sexy handle source and binary debien pakage creation add command exec add command shutdown update usage of addright fix bug in command passwd handle ttl and resolving in get_tags method get_tags handle correctly None as tags args fix syntaxt error on get_tags review of tag answer system now export tag uname default listing is now empty add os tag to cli handler tql update: con is now set only on host which are online CliHandler class has now its own module add hanlder for tag uptime add os tql tag new get_tags api (again) minor syntax improvment add cli gramar grammar fixes add --no-debug (-D) option --list-profile (-l) to list available profile quickly --login short become -L only one profile loaded at a time Global command refactoring add a new OptionCommand class which add option parser to command class fix some usage displaying fix missing \n after password asking add command cache add command restart improve vm commands improve tags command update tql in vm command rigths use OptionCommand printer fatal user signal module Implement tagdisplay. This allow per tag coloring and typing. import * only allowed at module level fix File "/home/seblu/scm/cc-cli/cccli/command/list.py", line 70, in _list_align tags[t] = max(len(self.td(t, v)), tags.get(t, len(str(t)))) TypeError: object of type 'int' has no len() tag glob in tagdisplay new command server which merge cache and remote tagdisplay command fix tagdisplay bug. command tags use tagdisplay new color theme better tagdisplay type patter matching. Better match is selected tag maching in tadisplay color server now report server version Implement option in shutdown command delright can take a list of index or delete all with * addright take index optional argument fix bad regexp escaping new TqlCommand class which handle command with tql server must send tags with string format fix bad getpass removing history Big rewrite of a lot of command by using new OptionCommand and TqlCommand Starting support of title color in tagdisplay system fix some unicode issue fix tags bad using of OptionCommand addacount now use OptionCommand command passwd use now TqlCommand status is now printer everytime when asked check args for quit command check args for version command add default usage for OptionCommand fix args check for command clear and history args check in expert command option exec and shutdown use TqlCommand fix options conflict in shutdown command strict arg check in whoami command command kill and uptime now use TqlCommand Alias now use OptionCOmmand usage check if command exist before request usage fix alias issue VmCommand now use TqlCommand tagdisplay command handle titlecolor definition list now use TqlCommand addacount now take a password argument and so use TqlCommand update alias examples Aliases remplace Aliase update way of saving history and tagdisplay settings handler uptime return time in seconds Remove command uptime commands tags use TqlCommand command list use rpccall function no -s option in TqlCommand when no needs (list, rights, tags) change f to g in tagdisplay for si and bit types Improve doc and examples server -l become server -f Big improving of TqlCommands (direct,raw,status) Command start,stop,pause,resume,destroy use now TqlCommand Don't print status if it's None fix traceback when index in addright server -f now ask server functions and not list_command ctrl+d and ctrl+c in ask don't ask like typing enter fix TQL tag Introduce new object and tags API with server Remove restart command Command tags now use generic tag display func command exec use new callback args TqlCommand now handle --no-color option list -l and list -t use new objects convention fix bad list of ignoring tags for status display command rights display using tagdisplay color system print tag without order, alpha ordered by default add tag vncport version 1 -- Sebastien Luttringer <sebastien.luttringer@smartjog.com> Wed, 08 Dec 2010 12:11:18 +0100