Merge branch 'for-master' into 'master'
move default database path to `~/.local/share` Closes #16 See merge request anarcat/feed2exec!9
View Articleuse a variable for the data dir as well to clarify the code
This makes the code prettier, at the cost of wasting more time joining strings.
View Articlefix default log level value
The patch in !8 made it so the log level was ERROR by default, which is what the author fundamentally wanted, but it's not actually what the behavior originally was. Restore the previous behavior by...
View Articleuse warnings instead of logging in guess_path
This seems more natural anyways: we want to warn about Deprecation and that's typically the way to do it. We have to revert to some crazy hacking to make it work here, but it works.
View Articlefix crash in feed2exec parse
For some reason, I was getting this backtrace here when running a test feed: plugin generated exception: expected str, bytes or os.PathLike object, not NoneType, skipping Traceback (most recent call...
View Articleleave Freenode for oftc.net
This is becoming a long story, but basically Freenode was hijacked, policies were changed to allow racism and bigotry, trolls have been promoted to opers, and opers are hijacking channels. It's a...
View ArticleTrim trailing whitespace.
Changes-By: lintian-brush Fixes: lintian: trailing-whitespace See-also: https://lintian.debian.org/tags/trailing-whitespace.html
View ArticleUse secure copyright file specification URI.
Changes-By: lintian-brush Fixes: lintian: insecure-copyright-format-uri See-also: https://lintian.debian.org/tags/insecure-copyright-format-uri.html
View ArticleUse canonical URL in Vcs-Git.
Changes-By: lintian-brush Fixes: lintian: vcs-field-not-canonical See-also: https://lintian.debian.org/tags/vcs-field-not-canonical.html
View ArticleUpdate standards version to 4.5.1, no changes needed.
Changes-By: lintian-brush Fixes: lintian: out-of-date-standards-version See-also: https://lintian.debian.org/tags/out-of-date-standards-version.html
View ArticleMerge branch 'lintian-fixes' into 'main'
Fix some issues reported by lintian See merge request anarcat/feed2exec!10
View Articleenable SAST audit on GitLab.com
Let's see what this does. See https://docs.gitlab.com/ee/user/application_security/sast/index.html
View Articledisable eslint analyser
This is not (currently) a web app, and the eslint analyser currently just fails to run.
View Articleexclude dependencies from scan
We're getting a *lot* of noise from the .eggs directory, unfortunately. Just one example: > Use of insecure MD2, MD4, MD5, or SHA1 hash function. .eggs/requests-2.26.0-py3.7.egg/requests/auth.py:154
View ArticleAdd support for saving page resources to the Wayback Machine too
The SPN2 API used by this is not well documented and does not return proper status codes or easily usable error text, so make it enabled by default but add an option to disable it and disable it in...
View ArticleMerge branch 'spn2' into 'main'
Add support for saving page resources to the Wayback Machine too See merge request anarcat/feed2exec!11
View Articlefix feedparser dependencies for newer python
As @pabs3 found out in MR !12, newer feedparser (6.0.0) releases dropped support for older Python releases, which broke our CI significantly. We were avoiding 6.0.0 because of a change in the data...
View Articlecatchup with html2text again (2020.1.16)
This was generated by copying the file from: /tmp/pytest-of-anarcat/pytest-1/planet0/Mail/planet-debian.mbx And just committing it. We change the User-Agent now because I am tired of patching this,...
View Articlefix another test failure in newer feedparser
It seems like feedparser found a new way to default certain dates. We were previously correctly parsing that date before, but for some obscure reason feedparser is now defaulting to the feed's...
View Articleavoid dateparser bug workaround in newer versions
This is unrelated with the previous commit: dateparser does not parse the date better or worse with or without this. It's just glue so that we use the upstream code correctly and so that we can...
View ArticleRevert "fix another test failure in newer feedparser"
I cannot reproduce those test failures in GitLab CI nor inside a Python 3.9 Docker container. I have no idea what is going on here, but I'm going to pretend this problem does not exist and move on....
View ArticleRevert "enable SAST audit on GitLab.com"
We don't look at the results and there are too many false positives. This reverts commit ad66dde1.
View Articleenforce black in tox, but not in CI
This will show that black fails to pass in CI, while keeping pipelines green for now.
View Articlefirst pass at type checking with mypy
We use a pyproject.toml even though we have a setup.cfg because (a) it seems everyone is converging towards that, for better or for worse and (b) the mypy in debian doesn't find my overrides in the...
View Articleswitch to setup.cfg as much as possible
This mostly builds with `python -m build` now, but it's unclear if metadata (or content!) is correct, needs further testing but test.pypi.org is down.....
View Articleallow failures on mypy
It turns out it actually fails on a clean repo right now, because of this error: feed2exec/__init__.py:6: error: Cannot find implementation or library stub for module named "feed2exec._version" I...
View ArticleRequire feedparser 5 as minimum version for Python 3
Earlier feedparser versions crash when using Python 3.
View ArticleWrap and sort Debian packaging
Makes diffs easier to read and makes dependencies easier to write. Use trailing commas instead of prefixed commas, which are uglier. Changes-by: wrap-and-sort --short-indent --wrap-always...
View Article
More Pages to Explore .....