doc/changes/3.26.rst
author Laurent Peuch <cortex@worlddomination.be>
Mon, 22 Jul 2019 11:21:10 +0200
changeset 12696 eb83daa69495
parent 12269 f607080b82a9
permissions -rw-r--r--
[cubicweb-ctl] respect sys.exit status code when aborting a command When exploring the stack of all calls to a cubicweb-ctl command, it has been discovered than on a KeyboardInterrupt and on a SystemExit exception the base class InstanceCommand (for commands that works on one instance) will always set the return code of cubicweb-ctl to 8: this mean that if another command do a `sys.exit(some_code)` the exit code will be ignored and overwritten by '8'. This behavior is not intuitive, apparently not documented and doesn't seems to have any justification. It also prevent commands from exciting with different return codes which could be a desired behavior in the situation of scripting.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12264
cc83524263a9 [doc] Set release date of 3.26
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 12245
diff changeset
     1
3.26 (1 February 2018)
cc83524263a9 [doc] Set release date of 3.26
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 12245
diff changeset
     2
======================
12245
cd760c411242 [pyramid] Let logging be configured through .ini file
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     3
cd760c411242 [pyramid] Let logging be configured through .ini file
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     4
New features
cd760c411242 [pyramid] Let logging be configured through .ini file
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     5
------------
cd760c411242 [pyramid] Let logging be configured through .ini file
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     6
cd760c411242 [pyramid] Let logging be configured through .ini file
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     7
* For ``pyramid`` instance configuration kind, logging is not handled anymore
cd760c411242 [pyramid] Let logging be configured through .ini file
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     8
  by CubicWeb but should be configured through ``development.ini`` file
cd760c411242 [pyramid] Let logging be configured through .ini file
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
diff changeset
     9
  following https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html.
12269
f607080b82a9 [cwconfig] Drop shared_dir method
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 12264
diff changeset
    10
f607080b82a9 [cwconfig] Drop shared_dir method
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 12264
diff changeset
    11
Backwards incompatible changes
f607080b82a9 [cwconfig] Drop shared_dir method
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 12264
diff changeset
    12
------------------------------
f607080b82a9 [cwconfig] Drop shared_dir method
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 12264
diff changeset
    13
f607080b82a9 [cwconfig] Drop shared_dir method
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 12264
diff changeset
    14
* CubicWebConfiguration method 'shared_dir' got dropped.