-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
When using --output-dir, should not check for html files in source directory #29
Comments
Hmm yes, this does sound like a bug. |
Ah, I missed all the existing file checks while reviewing #20. I have a fix, and a unit test that doesn't fail when it should, so uhh this will take a little bit. |
Can you test whether the fix in git master works for you? I'm planning to publish a new release soon, and it would be good to have verification. |
Thanks for fixing it so quickly.
Sure. I'll try to do later tonight. |
I'm sorry, I tried to test from Git, but didn't manage to build the script following instructions in HACKING.rst. When I run make, I get
I don't know how to fix that. |
Ah, sorry about that, the zc.buildout-based development setup is rather obsolete and I should probably rip it out entirely to avoid confusion. It should be enough to try Or I could just publish the new release and hope the unit test I wrote matches your problem sufficiently well. |
2.17.3 released to PyPI. |
Thanks for the hint with pip Setup worked perfectly with I (somewhat belatedly) confirm that your fix addresses the problem. Many thanks ! |
Yeah, Python packaging is a whole thing. (I've started using pipx myself for installable Python command-line tools, which makes it easier to install/remove/upgrade them than installing everything into one bucket with |
Consider source directory with some log files and matching html files generated by running logs2html in place:
Now run the script with a target directory:
Now delete one of the html files in source and repeat
Notice some files have been generated
Update a log file in source
Modified file is generated too
Expected behavior, would be to ignore any html files in source directory, and check the ones in target directory instead.
The text was updated successfully, but these errors were encountered: