Cot

Latest version: v2.2.0

Safety actively analyzes 682532 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 8

1.4.1

---------------------

**Fixed**

- `41`_ - symlinks were not dereferenced when writing out to OVA.

1.4.0

---------------------

**Added**

- `24`_ - ``cot deploy esxi`` now creates serial ports after deployment using
`pyVmomi`_ library.

- Serial port connectivity must be specified either via entries in the OVF
(which can be defined using ``cot edit-hardware ... -S``) or at deployment
time using the new ``-S`` / ``--serial-connection`` parameter to
``cot deploy``.
- The syntax for serial port connectivity definition is based
on that of QEMU's ``--serial`` CLI option.
- Currently only "telnet", "tcp", and "device" connection types are supported.

- `38`_ - ``cot edit-product`` can now set product and vendor information.
- flake8_ validation now includes pep257_ to validate docstring compliance to
`PEP 257`_ as well.
- Added changelog file.
- Added ``COT.file_reference`` submodule in support of `39`_.

**Changed**

- Split ESXi-specific logic out of ``COT.deploy`` module and into new
``COT.deploy_esxi`` module.
- UT for ``COT.deploy_esxi`` now requires ``mock`` (standard library in Python 3.x,
install via pip on Python 2.x).

**Fixed**

- `39`_ - avoid unnecessary file copies to save time and disk space.

1.3.3

---------------------

**Fixed**

- `10`_ - When changing network mapping, delete no longer needed networks
- `31`_ - Added ``--delete-all-other-profiles`` option to
``cot edit-hardware``
- `32`_ - ``cot edit-hardware`` network names can now use wildcards
- `34`_ - ``cot add-disk`` can now be used to replace a CD-ROM drive with a
hard disk, or vice versa.

1.3.2

---------------------

**Fixed**

- Adapt to changes to the Travis-CI testing environment.

1.3.1

---------------------

**Fixed**

- `30`_ - ``cot install-helpers`` can now install ``fatdisk`` and ``vmdktool``
under Python 3.

1.3.0

---------------------

**Added**

- Installation of helper programs is now provided by a ``cot
install-helpers`` subcommand rather than a separate script.
- COT now has man pages (``man cot``, ``man cot-edit-hardware``, etc.)
The man pages are also installed by ``cot install-helpers``.
- Improved documentation of the CLI on readthedocs.org as well.

**Changed**

- Refactored ``COT.helper_tools`` module into ``COT.helpers`` subpackage.
This package has an API (``COT.helpers.api``) for the rest of COT to
access it; the helper-specific logic (qemu-img, fatdisk, etc.) is split
into individual helper modules that are abstracted away by the API.
- Similarly, logic from ``COT.tests.helper_tools`` has been refactored and
enhanced under ``COT.helpers.tests``.
- Renamed all test code files from "foo.py" to "test_foo.py" to
facilitate test case discovery.
- CLI help strings are dynamically rendered to ReST when docs are built,
providing cleaner output for both readthedocs.org and the manpages.

**Removed**

- COT no longer supports Python 3.2.
- ``cot_unittest`` is no more - use ``tox`` or ``unit2 discover`` to run tests.
- As noted above, the installation script ``check_and_install_helpers.py``
no longer exists - this functionality is now provided by the
``COT.install_helpers`` module.

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.