fix OPML import crash with missing config file
Somehow it's possible that load_first_config returns None, exactly in the case when there is no pre-existing configuration file. We duct-tape a fix that looks up in the default directory, but this is...
View Articlesplit code of conduct and contribution guide
While they do relate to each other, one is somewhat boilerplate and people may have read it before, while the other is specific to this project. Furthermore, some sites like GitHub expect to see a...
View Articlepush issues up in contribution guide
It is more likely people send issues than patches, unfortunately
View Articleadd security disclosure guidelines and contact
This was inspired by some statistics published in this report: https://snyk.io/stateofossecurity/ * 2.89 years is the median time from when a vulnerability was introduced to when it was publicly...
View Articlefactor out project-specific links in a single document
We favor the include over a `rst_prolog` configuration because the latter "hides" the fact that we need an include at all, which may mean it will break on PyPI or plain rst2html used on GitLab or...
View Articlerefactor storage classes to force explicit path
Our hacks to forcibly set a class-level path then reuse it in instances was not working. It seems cleaner to explicitly force callers to provide the path to the file we are trying to manipulate in the...
View ArticleAPI: shorten and explicit variable names
config because conf_path and database becomes db_path. those are shorter and more explicit config_storage becomes conf_storage, to harmonize with the above.
View Articlefinally add a regression test for issue #1
After all this refactoring, we can finally add a regression test for issue #1. This requires us to monkeypatch the xdg module because it doesn't respect environment changes:...
View Articlecount lines of code without tests
It is unfair to compare out line count with the others because we have a much larger test suite, which has exploded in recent releases. Count without the test suite instead.
View Articlepositive feedback encouragement
inspired by https://joeyh.name/blog/entry/two_holiday_stories/
View Articlebugfix: wayback machine missing content-location
It seems the wayback machine sometimes fails to return a Content-Location header altogether. It is unclear why or how it happens, but it did here on my personal setup: Subject: Cron...
View Articlefix documentation for catchup flag
catchup actually calls output plugins, but tells them to behave, since 0.10
View Articlemake the echo plugin more manifest when debugging
especially useful to figure out if catchup works, from a user perspective
View Articlefix planet test failure on older html2text
The test suite was failing on my laptop for some mysterious reason. After investigation, it turns out I still had an older version of html2text there which triggered a change in the output. We had...
View Articleadd failing test for issue #5
We do not need to see the output of that feed, actually: we just want to parse it. Therefore, make sure we can test any .xml file provided even if it does not have a matching .mbx. It is a little...
View Articlefix parsing of empty links
For some obscure reason, with the test feed provided in #5, the resulting link is no available in the feed at all, which crashes the normalize routine. That is because urlparse.urlsplit returns a...
View Article
More Pages to Explore .....