-
-
Notifications
You must be signed in to change notification settings - Fork 704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed argh from watchmedo and replaced with argparse #836
Conversation
It seems promising 👍 Could you also remove Line 81 in 5a7022c
|
Done 👍 |
If we merge that PR, do we loose commands or arguments? I am thinking about aliases that are commented. |
You were right @BoboTiG about aliases, I was missing them. I think that all the commands should be okay now. |
Yes :) |
Thanks a lot @AndreaRe9 🍾 |
Thanks! Would you mind shipping a new release to PyPI with this change? |
@ktdreyer will do tonight or tomorrow 👍 (French timezone). |
v2.1.6 released 🍾 |
Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 2.1.5 to 2.1.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/gorakhargosh/watchdog/releases">watchdog's releases</a>.</em></p> <blockquote> <h2>2.1.6</h2> <ul> <li>[bsd] Fixed returned paths in kqueue.py and restored the overall results of the test suite. (<a href="https://github-redirect.dependabot.com/gorakhargosh/watchdog/issues/842">#842</a>)</li> <li>[bsd] Updated FreeBSD CI support .(<a href="https://github-redirect.dependabot.com/gorakhargosh/watchdog/issues/841">#841</a>)</li> <li>[watchmedo] Removed the <code>argh</code> dependency in favor of the builtin <code>argparse</code> module. (<a href="https://github-redirect.dependabot.com/gorakhargosh/watchdog/issues/836">#836</a>)</li> <li>[watchmedo] Removed unexistant <code>WindowsApiAsyncObserver</code> references and <code>--debug-force-winapi-async</code> arguments.</li> <li>[watchmedo] Improved the help output.</li> </ul> <p>:heart_decoration: Thanks to our beloved contributors: <a href="https://github.com/knobix"><code>@knobix</code></a>, <a href="https://github.com/AndreaRe9"><code>@AndreaRe9</code></a>, <a href="https://github.com/BoboTiG"><code>@BoboTiG</code></a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst">watchdog's changelog</a>.</em></p> <blockquote> <p>2.1.6</p> <pre><code> 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ <ul> <li>[bsd] Fixed returned paths in <code>kqueue.py</code> and restored the overall results of the test suite. (<code>[#842](gorakhargosh/watchdog#842) &lt;https://github.com/gorakhargosh/watchdog/pull/842&gt;</code>_)</li> <li>[bsd] Updated FreeBSD CI support .(<code>[#841](gorakhargosh/watchdog#841) &lt;https://github.com/gorakhargosh/watchdog/pull/841&gt;</code>_)</li> <li>[watchmedo] Removed the <code>argh</code> dependency in favor of the builtin <code>argparse</code> module. (<code>[#836](gorakhargosh/watchdog#836) &lt;https://github.com/gorakhargosh/watchdog/pull/836&gt;</code>_)</li> <li>[watchmedo] Removed unexistant <code>WindowsApiAsyncObserver</code> references and <code>--debug-force-winapi-async</code> arguments.</li> <li>[watchmedo] Improved the help output.</li> <li>Thanks to our beloved contributors: <a href="https://github.com/knobix"><code>@knobix</code></a>, <a href="https://github.com/AndreaRe9"><code>@AndreaRe9</code></a>, <a href="https://github.com/BoboTiG"><code>@BoboTiG</code></a> </code></pre></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/gorakhargosh/watchdog/commit/c6f3eade231f285549bd2d0703a378fd0fba30af"><code>c6f3ead</code></a> Release 2.1.6</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/63eab27de4d4db73c646a7d88242139412bf713e"><code>63eab27</code></a> NEWs entry for <a href="https://github-redirect.dependabot.com/gorakhargosh/watchdog/issues/836">#836</a></li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/3d72fd1b447dc3ae1f314099991aa17dd1ea96a0"><code>3d72fd1</code></a> [watchmedo] Improve the help output</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/9c61301b1dae9284403a3a459d891c4f2aa7b165"><code>9c61301</code></a> s/Mac OS X/macOS/</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/2325b006b1a2dff12b8cdcafd113eab24970e67f"><code>2325b00</code></a> [watchmedo] Removed unexistant WindowsApiAsyncObserver references</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/0191c4013c9a4f7e3a7962fc92f49fddfd62fec0"><code>0191c40</code></a> Removed argh from watchmedo and replaced with argparse (<a href="https://github-redirect.dependabot.com/gorakhargosh/watchdog/issues/836">#836</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/b9774e9e6e8dcbb7d2e0786eb13ab30848ed1514"><code>b9774e9</code></a> Fix test suite on FreeBSD (<a href="https://github-redirect.dependabot.com/gorakhargosh/watchdog/issues/842">#842</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/d444b4a42db65110c2b18d36bc47366c3a8bafdd"><code>d444b4a</code></a> Update tests for FreeBSD and make these more visible by adding a badge (<a href="https://github-redirect.dependabot.com/gorakhargosh/watchdog/issues/841">#841</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/5a7022cf8d1a5b0ba1e52882e9424cdf7167e829"><code>5a7022c</code></a> Use is_alive() instead of isAlive()</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/43f79828a1438f0d6aefd59a2ea240e5ce4acf15"><code>43f7982</code></a> Add project URLs such as changelog and docs (<a href="https://github-redirect.dependabot.com/gorakhargosh/watchdog/issues/833">#833</a>)</li> <li>Additional commits viewable in <a href="https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=watchdog&package-manager=pip&previous-version=2.1.5&new-version=2.1.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`openembedded#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`openembedded#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`openembedded#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2.1.6 ~~~~~ 2021-10-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.1.5...v2.1.6>`__ - [bsd] Fixed returned paths in ``kqueue.py`` and restored the overall results of the test suite. (`#842 <https://github.com/gorakhargosh/watchdog/pull/842>`_) - [bsd] Updated FreeBSD CI support .(`#841 <https://github.com/gorakhargosh/watchdog/pull/841>`_) - [watchmedo] Removed the ``argh`` dependency in favor of the builtin ``argparse`` module. (`#836 <https://github.com/gorakhargosh/watchdog/pull/836>`_) - [watchmedo] Removed unexistant ``WindowsApiAsyncObserver`` references and ``--debug-force-winapi-async`` arguments. - [watchmedo] Improved the help output. - Thanks to our beloved contributors: @knobix, @AndreaRe9, @BoboTiG Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Hello everyone!
Starting from what was suggested by @BoboTiG in a comment regarding issue #824 , I modified the code of
watchmedo.py
in order to replace argh with argparse.To implement the argument parser with
argparse
, I used a code snippet that I found here, which was quite useful to get things done more elegantly.I did some very basic tests using the
log
command, but in-depth tests are certainly required for all the commands, maybe from more experienced users of this tool.Note: Please note that this PR is not ready to be merged yet. Feedback is needed.