Statistics
| Branch: | Tag: | Revision:

root / README.Upgrade @ 4c3bae3b

History | View | Annotate | Download (1.7 kB)

1
This document describes changes and steps to upgrade from kamaki 0.7.X to kamaki 0.8
2

    
3
This document refers to users who:
4
- use the kamaki command line
5
- load configuration options with the kamaki.cli.config
6

    
7
Notable changes:
8
- Make progress (>= 1.1) module a requirement (was a suggestion)
9
- Rename some command groups:
10
    store --> file
11
    astakos --> user
12
- Rename some mandatory configuration options:
13
    astakos.url --> user.url,
14
    store.url --> file.url
15
- Do not require <cmd group>.cli (cli specification) field in configuration file, use it only to override default values.
16
- Change the naming convention for cli specifications by loosing the _cli suffix:
17
    <cmd group>_cli --> <cmd group>
18
- Seperate kamaki image commands based on whether they make requests to Plankton or Cyclades.
19
    Plankton image commands: kamaki image <action>
20
    Cyclades image commands: kamaki image compute <action>
21
- Rename: kamaki image public --> kamaki image list
22
- Change letter case for recursive download runtime argument:
23
    kamaki store download -r <container>:<path> [local destination]
24
    -->
25
    kamaki file download -R <container>:<path> [local destination]
26

    
27

    
28
Suggested upgrade method:
29
1. Backup the .kamakirc file (usually stored as ~/.kamakirc). E.g.:
30
    cp ~/.kamakirc ~/tmp/.kamakirc.bu
31
2. Upgrade kamaki (refer to your installation method). E.g. if installed from pypi:
32
    pip install --upgrade kamaki
33
3. Download the script bellow:
34
    For Linux, OS X, *nix, systems that run bash:
35
        https://code.grnet.gr/attachments/download/2493/kamaki0.7to0.8.sh
36
    For windows:
37
        https://code.grnet.gr/attachments/download/2497/kamaki0.7to0.8.bat
38
and run it from command line. This script will modify the default .kamakirc file in order to comply with version 0.8