Bug 1416455 - Review Request: python-easywatch - super simple directory monitoring
Summary: Review Request: python-easywatch - super simple directory monitoring
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE-DEADREVIEW 1416458
TreeView+ depends on / blocked
 
Reported: 2017-01-25 14:42 UTC by Fabio Alessandro Locati
Modified: 2021-08-08 00:45 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-08-08 00:45:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fabio Alessandro Locati 2017-01-25 14:42:31 UTC
Spec URL: https://fale.fedorapeople.org/rpms/python-easywatch.spec
SRPM URL: https://fale.fedorapeople.org/rpms/python-easywatch-0.0.3-1.fc25.src.rpm
Description: super simple directory monitoring
Fedora Account System Username: fale

Comment 1 Athos Ribeiro 2017-02-08 00:12:53 UTC
Hello Fabio,

The summary for the python3 package is the summary of another package. You could use the summary macro to avoid that.

It would be nice ask upstream to add tags to avoid getting sources from the commits (of course this is not a blocker).

rpmlint has this warning, would you fix it (not a blocker)?
python2-easywatch.noarch: W: summary-not-capitalized C super simple directory monitoring


This is the docstring for easywatch/easywatch.py
"""
Simple static page generator.
Uses jinja2 to compile templates.
Templates should live inside `./templates` and will be compiled in '.'.
"""

It would be nice to patch it and send it upstream.

python3 package fails importing watchdog function (see __init__.py), here is the  error message:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.6/site-packages/easywatch/__init__.py", line 1, in <module>
    from easywatch import watch
ImportError: cannot import name 'watch'

This happens because __init__.py has a relative import (see https://www.python.org/dev/peps/pep-0404/). I'd say the package is not python3 compatible yet (probably just because of that import)


Finally, there are Requires: missing, as you can see below:

in easywatch/easywatch.py we have:
from watchdog.observers import Observer
from watchdog.events import FileSystemEventHandler

importing the python2 package results in:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'watchdog'

Comment 2 Fabian Affolter 2019-05-29 19:51:15 UTC
0.0.4 was released.

Comment 3 Athos Ribeiro 2020-07-12 08:17:42 UTC
Hi Fabio, still interested on this one?

Comment 4 Fabian Affolter 2020-07-13 05:52:52 UTC
(In reply to Athos Ribeiro from comment #3)
> Hi Fabio, still interested on this one?

Hmm, I'm not the reporter.

Looks like that this review is not going on (-> You can't ask Fabio Alessandro Locati <fale> because that account is disabled.).

Comment 5 Athos Ribeiro 2020-08-07 22:51:58 UTC
Sorry for the mistake, Fabian. I will just drop this then

Comment 6 Package Review 2021-08-08 00:45:18 UTC
This is an automatic action taken by review-stats script.

The submitter account doesn't exist anymore, therefore this ticket will be closed.


Note You need to log in before you can comment on or make changes to this bug.