3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-01 11:43:47 +01:00
dft_tools/doc/changelog.rst

39 lines
1.1 KiB
ReStructuredText
Raw Normal View History

.. _changelog:
Changelog
=========
2013-09-02 17:13:36 +02:00
This document describes the main changes in TRIQS.
From TRIQS 0.x to TRIQS 1.0
---------------------------
There have been changes from versions 0.x to 1.0 that will most likely have
consequences for your scripts and archives.
Python classes
2013-09-02 17:13:36 +02:00
~~~~~~~~~~~~~~
The number of python classes in the old 0.x releases was increasing with no
clear naming convention. In TRIQS 1.0 we have unified the naming of the classes
following the `PEP naming conventions
<http://www.python.org/dev/peps/pep-0008/#naming-conventions>`_:
* Package and module names: lowercase with underscores
* Class names: CapWords
2013-09-02 17:13:36 +02:00
* Function names: lowercase with underscores
* Function and method arguments: lowercase with underscores
Archives
2013-09-02 17:13:36 +02:00
~~~~~~~~
We provide :download:`an update script <scripts/update_archive.py>` which should
help you upgrade your archive. The usage is very simple::
2013-09-02 17:13:36 +02:00
$ python update_archive.py old_archive new_archive
2013-09-02 17:13:36 +02:00
where ``old_archive`` is your old archive to be upgraded and ``new_archive`` is
the name of the new archive. If you encounter problems please post an
issue with a copy of your archive.