Skip to content

Releases: camptocamp/marabunta

0.6.2

12 Dec 13:10
Compare
Choose a tag to compare

Bugfixes

  • Autocommit the operations done in the marabunta_version table. Previously,
    after an exception, the changes to marabunta_version were rollbacked, which
    is not the expected behavior (it makes the migration restart ceaseless).
    As a side effect, Marabunta now opens 2 connections. The connection opened
    for the adsivory lock cannot commit before the end because it would release
    the lock.

0.6.1

25 Nov 07:41
Compare
Choose a tag to compare

Important bugfix! The changes in the marabunta_version were never
committed, so migration would run again.

Bugfixes

  • Commit the connection so changes are not rollbacked.

0.6.0

21 Nov 10:17
Compare
Choose a tag to compare

Improvements

  • Rework of the database connections:
    • The advisory lock is acquired in a cursor in a thread, this cursor
      periodically executes a dummy 'SELECT 1' to be sure that the connection
      stay alive (not killed with a timeout) when a long-running subprocess is
      run.
    • The operations in database are executed in short-lived cursors. This
      prevents an issue we had when the open cursor was locking
      'ir_module_module', preventing odoo to install/update properly.
  • Try to disable colors in output if the term does not support colors

0.5.1

21 Nov 10:16
Compare
Choose a tag to compare
  • Fix: marabunta processes run concurrently all tried to run the migration, this is better handled with a PostgreSQL advisory lock now

0.5.0

20 Oct 17:56
Compare
Choose a tag to compare

Features
Odoo 10 Support

  • Switch the default command line for running odoo to odoo instead of
    odoo.py (renamed in Odoo 10). For usage with previous version, you must
    specify the install_command in the migration.yml file.

0.4.2

19 Aug 07:25
Compare
Choose a tag to compare

Bugfixes

  • Prevent error (25, 'Inappropriate ioctl for device') when
    stdout is not a tty by disabling the interactive mode.

0.4.1

27 Jul 06:47
Compare
Choose a tag to compare

Bugfixes

  • Do not print on stdout the result of operations twice

0.4.0

26 Jul 13:57
Compare
Choose a tag to compare

Improvements

  • New dependency on pexpect. Used to create a pseudo-tty to execute the
    operations. It enables line buffering and interactivity for pdb in the
    children processes.

Fixes

  • Noop operations are really considered as such

0.3.3

26 Jul 13:57
Compare
Choose a tag to compare

Fixes

  • Encode print's outputs to the stdout's encoding or to utf8 by default

0.3.2

26 Jul 13:56
Compare
Choose a tag to compare

Fixes

  • Failure when there are no version to process