factor 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 Articlewayback machine API change: HEAD not supported anymore
This unfortunately makes the API slower, but there's nothing else I can do. I tried to report this upstream, went unanswered.
View Articlefix strange crash in wayback plugin
Not sure what `extra` was for but it was crashing now.
View Articleinclude post timestamp in ikiwiki GUIDs
The recent changes page can include multiple posts with the same GUID, as the GUID is simply the URL of the page. In blog posts, that's usually fine because we don't want to act every time a blog post...
View Articlecomply with new feedparser deprecation warning
Somewhere after 5.1.3, feedparser started warning about updated_parsed usage, without any possibility of compliance: https://github.com/kurtmckee/feedparser/issues/151 We properly added defaults but...
View Articledisable cov which crashes on sqlite3.IntegrityError
see https://github.com/pytest-dev/pytest-cov/issues/215
View Article