Feature #4479

.kamaki.history recommendations

Added by Dionysis Grigoropoulos over 6 years ago. Updated about 6 years ago.

Status:Resolved Start date:10/16/2013
Priority:High Due date:11/01/2013
Assignee:Stavros Sachtouris % Done:

100%

Category:kamaki Spent time: 18.00 hours
Target version:v0.12 Estimated time:6.00 hours

Description

There should be a setting for the maximum allowed file size of .kamaki.history. Like .bash_history, it could be configured to store 100 lines by default and be able to change on demand.

Moreover, 'kamaki config set cloud.cloudname.token <t0k3n>' shouldn't be recorded in .kamaki.history for security reasons. A user could easily give away his history file for debugging reasons, the file by default has read permissions by all users, etc.

Associated revisions

Revision 2d1f5058
Added by Stavros Sachtouris over 6 years ago

Remove token from history

Refs: #4479

Revision edaf3ba6
Added by Stavros Sachtouris about 6 years ago

Rename method in kamaki.cli.history

Refs: #4479

retrieve --> getitem
clean --> empty

Revision a44a9d97
Added by Stavros Sachtouris about 6 years ago

Simplify history _match and get

Refs: #4479

Revision ddc97a10
Added by Stavros Sachtouris about 6 years ago

Use slice notation in history show

Refs: #4479

Revision bbd7762c
Added by Stavros Sachtouris about 6 years ago

Remove history run

Refs: #4479

Revision 5e383dd4
Added by Stavros Sachtouris about 6 years ago

Add a limit in number of history lines

Refs: #4479

Revision 50a32c37
Added by Stavros Sachtouris about 6 years ago

Only two cmds in history, use history_limit

Refs: #4479

Revision a313f923
Added by Stavros Sachtouris about 6 years ago

Do not record config set commands in history

Refs: #4479

History

#1 Updated by Stavros Sachtouris over 6 years ago

  • Due date set to 11/01/2013
  • Priority changed from Medium to High
  • Estimated time set to 6.00

#2 Updated by Stavros Sachtouris over 6 years ago

  • Status changed from New to Resolved

#3 Updated by Stavros Sachtouris over 6 years ago

  • % Done changed from 0 to 100

Also available in: Atom PDF