Changeset 189 for trunk


Ignore:
Timestamp:
05/13/09 16:28:14 (15 years ago)
Author:
bas
Message:

Preparing for new release 3.2

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CHANGES

    r187 r189  
    1 =========== 3.0.2
     1=========== 3.2.0
     2        - PBSQuery:
     3          New data structure. In the old structure it is a dictionary
     4          with a value and the value is a string. This is changed
     5          that dictionary values are now of type list or dictionary depends
     6          on the value of the keyword, eg for a node:
     7            - np = 2:
     8              * node['np'] = [ '2' ] 
     9
     10            - properties = cores2, mem4gb, parallel
     11              * node['properties'] = [ 'cores2', 'mem4gb', 'parallel' ]
     12
     13            - status = arch=x86_64,sessions=22599,,size=70627864kb, ...
     14              * node['status']['arch'] = [ 'x86_64' ]
     15              * node['status']['sessions'] = [ '222599' ]
     16              * ...
     17
     18         The data structure is activated by the function:
     19          * new_data_structure()
     20
     21        In a future release it will be come the default.
     22        example:
     23                p = PBSQuery()
     24                p.new_data_structure()
     25
     26                nodes = p.getnodes()
     27                print nodes.np, nodes['np']
     28
     29        Author: Bas van der Vlies
     30
     31        - PBSQuery
     32          For old and new data structure we now can use another syntax:
     33           * node['np'] and node.np are equivalent
     34
     35          This new syntax works for all keywords.
     36
     37        Author: Bas van der Vlies
     38       
    239        - New build system for rpm packages, make -f Makefile.rpm
    340          Author: Michel Jouvin <jouvin add lal dot in2p3 dot fr>
  • trunk/debian/changelog

    r186 r189  
     1pbs-python (3.2.0-1) intrepid; urgency=low
     2
     3  *  PBSQuery:
     4         New data structure. In the old structure it is a dictionary
     5         with a value and the value is a string. This is changed that
     6         dictionary values are now of type list or dictionary depends
     7         on the value of keyword, eg for a node:
     8          - np = 2:
     9                - node['np'] = [ '2' ] 
     10          - properties = cores2, mem4gb, parallel
     11                - node['properties'] = [ 'cores2', 'mem4gb', 'parallel' ]
     12          - status = arch=x86_64,sessions=22599,,size=70627864kb, ...                                                                                   
     13                - node['status']['arch'] = [ 'x86_64' ]
     14                - node['status']['sessions'] = [ '222599' ]
     15                - ...
     16
     17         The data structure is activated by the function:
     18          - new_data_structure()
     19
     20         In a future release it will be come the default.
     21         example:
     22                p = PBSQuery()
     23                p.new_data_structure()
     24
     25                nodes = p.getnodes()
     26                print nodes.np, nodes['np']
     27
     28         Author: Bas van der Vlies
     29
     30  * PBSQuery
     31        For old and new data structure we now can use another syntax:
     32         - node['np'] and node.np are equivalent
     33
     34        This new syntax works for all keywords. 
     35        Author: Bas van der Vlies
     36
     37 -- Bas van der Vlies <basv@sara.nl>  Wed, 13 May 2009 16:20:27 +0200
     38
    139pbs-python (3.0.1-2) intrepid; urgency=low
    240
Note: See TracChangeset for help on using the changeset viewer.