Dose

Latest version: v1.2.3

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

Scan your dependencies

Page 2 of 2

1.0.1

------

* Add compatibility with wxPython 3.0 (classic), it's the first
release compatible with both wxPython 2.8 and 3.0.

* The event information header for each job is processed to show just
the file/directory name and whether it was created, modified or
deleted, e.g.::

*** File created: mypackage/mymodule.py ***

* The unicode characters in file/directory names appears themselves in
the event headers instead of an escaped representation, e.g.::

*** Directory deleted: CAS Proofs/λ Calculus ***

with ``λ`` instead of the raw event representation escaped with
``\xce\xbb``::

***<DirDeletedEvent: src_path='./CAS Proofs/\xce\xbb Calculus'>***

1.0.0

------

* First beta release. From now on, Dose releases comply with the
semantic versioning conventions. Environments with an alpha version
installed should remove it and reinstall dose to upgrade it
properly.

* The CLI arguments (``sys.argv``) are used as the default test
command, passing the remaining parameters to the test command
itself. For example, one can call dose with something like this
directly::

dose.py py.test -k TestSomething

When the test command is provided like so, dose already starts
running the first test job and watching for filesystem events.

* The test command can be any shell command with pipes/redirections,
e.g. one can call::

dose.py "cat my_input.txt | my_test_script.sh"

* The default opacity/transparency is slightly more opaque.

* The wxPython package isn't included as a requirement anymore as it
requires an external installation procedure (e.g. the package
manager of a Linux distribution or an installer for Windows).

* New logging header for each test job, showing the raw watchdog
information about the event that triggered the test command, like::

***<FileCreatedEvent: src_path='./mypackage/mymodule.py'>***

and this message for the only event that have nothing to do with
watchdog::

*** First call ***

* Bug fix: the "skip"/ignore pattern can be customized. That was
already an option in the GUI, but it was updating the test command
instead, rendering it unusable.

* Bug fix: the test command can include quoted arguments if it's
passed as a single CLI argument or filled using the "call string"
dialog box.

* Updated the default "skip"/ignore pattern to ignore ``__pycache__``
directories.

Intended to address the same issue regarding multiple test jobs for
a single action, the test command runs one second after the watchdog
event, instead of a half. This seems like a residual from experiments
that happened before the event logging header was implemented.

* License fix: consistently using GPLv3 instead of GPLv3+.


alpha-2012.10.04
----------------

* Use setuptools_ instead of just distutils_ in the setup script,
allowing it to look for and install the watchdog_ requirement and
its dependencies, recursively. It can be installed using ``pip`` or
``easy_install``, as long as the wxPython 2.8 (classic) was
previously installed.

* Customizable file/directory name "skip"/ignore pattern that
defaults to ``*.pyc; *.pyo; .git/*``. This was done mainly to deal
with the "bounce" issue (multiple events for a single action), as
the ignore pattern "debounces" a new event that would otherwise
happen after a compilation.

Another approach used to attenuate that issue was a sleep of half a
second to trigger the test command. Watchdog drops consecutive
events that are duplicated, and used to drop non-consecutive
duplicate events from its internal queue as well (watchdog commit
2d14857_\ ).

* Force UTF-8 encoding on the watched directory name, this might have
been an issue when handling non-ascii paths (watchdog issues 104_
and 157_\ , now fixed in watchdog itself). Taking the opportunity,
this alpha release switched the string literals to unicode.


alpha-2012.10.02
----------------

* First version!

It's a language-agnostic borderless "traffic light/signal/semaphore"
GUI for TDD (Test Driven Development), mainly intended for use in
Coding Dojos, hence its name: it's a *Dojo Semaphore*\ , a name that
has the same leading syllables in both English and Portuguese.

* Written in Python 2 using the wxPython 2.8 GUI library.

* Compatibility with both Linux and Windows.

* It recursively watches a working directory (defaults to the current
directory) for every file/subdirectory creation, modification and
deletion that happens inside it, triggering a test job.

* Avoids file/directory polling whenever possible, using the watchdog_
package for that.

* The test command can be any customizable shell command, like
``python -m doctest``, ``py.test -k test_my_new_feature``,
``tox -e py34,pypy``, ``./run_tests.sh``, etc..

* It's always on top and doesn't show in the taskbar.

* The window is transparent and has a customizable transparency when
dragging it with the "Shift" key pressed. That requires a
compositing window manager.

* Fully resizable when dragging it with the "Ctrl" key pressed.

* The window can be flipped and adjusts itself to vertical/horizontal
when resized.

* Works fine with file/directory names that includes whitespace or
unicode.


.. _colorama: https://pypi.python.org/pypi/colorama
.. _wheel: http://wheel.readthedocs.io
.. _pip: https://pip.pypa.io
.. _flake8: https://pypi.python.org/pypi/flake8
.. _docutils: https://pypi.python.org/pypi/docutils
.. _setuptools: https://pypi.python.org/pypi/setuptools
.. _distutils: https://docs.python.org/2/library/distutils.html
.. _2d14857: https://github.com/gorakhargosh/watchdog/commit/2d14857c
.. _104: https://github.com/gorakhargosh/watchdog/issues/104
.. _157: https://github.com/gorakhargosh/watchdog/issues/157
.. _watchdog: https://pypi.python.org/pypi/watchdog

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.