Commit Graph

69 Commits

Author SHA1 Message Date
forenta
8cd30e8b9e
config.yml: Template for filter_strings added
Relates to #32, combined #32 and #31 into one PR.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2024-04-10 22:42:45 +01:00
forenta
5e931082e4
rssingle.py: Filter items with filter_strings from config.yml
Relates to #31, combined #31 and #32 into one PR.

NOTE: Edited to remove typo fix, this will be committed later on.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2024-04-10 22:42:30 +01:00
dependabot[bot]
62d93c43b9
Bump the python-deps group with 2 updates (#41)
Bumps the python-deps group with 2 updates: [listparser](https://github.com/kurtmckee/listparser) and [lxml](https://github.com/lxml/lxml).


Updates `listparser` from 0.19.0 to 0.20
- [Release notes](https://github.com/kurtmckee/listparser/releases)
- [Changelog](https://github.com/kurtmckee/listparser/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/kurtmckee/listparser/compare/v0.19...v0.20)

Updates `lxml` from 5.1.0 to 5.2.1
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-5.1.0...lxml-5.2.1)

---
updated-dependencies:
- dependency-name: listparser
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-deps
- dependency-name: lxml
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 22:41:02 +01:00
Dom Rodriguez
e17c396fb2
fix(typo): Fix typo in script 2024-04-10 22:40:37 +01:00
dependabot[bot]
768ca68241
Bump the python-deps group with 1 update (#39)
Bumps the python-deps group with 1 update: [pyinstaller](https://github.com/pyinstaller/pyinstaller).


Updates `pyinstaller` from 6.4.0 to 6.5.0
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.4.0...v6.5.0)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 19:09:12 +00:00
dependabot[bot]
34b4ae3e2b
Bump the python-deps group with 1 update (#38)
Bumps the python-deps group with 1 update: [python-dateutil](https://github.com/dateutil/dateutil).


Updates `python-dateutil` from 2.8.2 to 2.9.0.post0
- [Release notes](https://github.com/dateutil/dateutil/releases)
- [Changelog](https://github.com/dateutil/dateutil/blob/master/NEWS)
- [Commits](https://github.com/dateutil/dateutil/compare/2.8.2...2.9.0.post0)

---
updated-dependencies:
- dependency-name: python-dateutil
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 16:42:24 +00:00
dependabot[bot]
4ab9bc864f
Bump the python-deps group with 1 update (#37)
Bumps the python-deps group with 1 update: [pyinstaller](https://github.com/pyinstaller/pyinstaller).


Updates `pyinstaller` from 6.3.0 to 6.4.0
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.3.0...v6.4.0)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 19:43:52 +00:00
dependabot[bot]
8e5e7646ce
Bump the python-deps group with 1 update (#36)
Bumps the python-deps group with 1 update: [lxml](https://github.com/lxml/lxml).


Updates `lxml` from 5.0.1 to 5.1.0
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-5.0.1...lxml-5.1.0)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 19:34:40 +00:00
dependabot[bot]
ab3c1b4610
Bump the python-deps group with 1 update (#35)
Bumps the python-deps group with 1 update: [lxml](https://github.com/lxml/lxml).


Updates `lxml` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-5.0.0...lxml-5.0.1)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 17:42:16 +00:00
dependabot[bot]
e9980668c4
Bump the python-deps group with 1 update (#33)
Bumps the python-deps group with 1 update: [lxml](https://github.com/lxml/lxml).


Updates `lxml` from 4.9.4 to 5.0.0
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.9.4...lxml-5.0.0)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-01 19:08:10 +00:00
Andros Fenollosa
c1aa3e59d1
Merge pull request #3 from shymega/shymega/prs/ci
Initial version of CI for RSSingle
2023-12-29 11:54:45 +01:00
Andros Fenollosa
6be4933a9a
Merge pull request #30 from tanrax/dependabot/pip/python-deps-0d001ee384
Bump the python-deps group with 5 updates
2023-12-29 11:54:10 +01:00
Andros Fenollosa
cfd6bddafc
Merge pull request #5 from shymega/shymega/prs/docker
Add Docker support for RSSingle, and a workflow for builds
2023-12-29 11:53:56 +01:00
dependabot[bot]
4b5c774324
Bump the python-deps group with 5 updates
Bumps the python-deps group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [feedgen](https://github.com/lkiesow/python-feedgen) | `0.9.0` | `1.0.0` |
| [feedparser](https://github.com/kurtmckee/feedparser) | `6.0.10` | `6.0.11` |
| [lxml](https://github.com/lxml/lxml) | `4.9.3` | `4.9.4` |
| [pyyaml](https://github.com/yaml/pyyaml) | `6.0` | `6.0.1` |
| [pyinstaller](https://github.com/pyinstaller/pyinstaller) | `6.0.0` | `6.3.0` |


Updates `feedgen` from 0.9.0 to 1.0.0
- [Release notes](https://github.com/lkiesow/python-feedgen/releases)
- [Commits](https://github.com/lkiesow/python-feedgen/compare/v0.9.0...v1.0.0)

Updates `feedparser` from 6.0.10 to 6.0.11
- [Changelog](https://github.com/kurtmckee/feedparser/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/kurtmckee/feedparser/compare/6.0.10...6.0.11)

Updates `lxml` from 4.9.3 to 4.9.4
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.9.3...lxml-4.9.4)

Updates `pyyaml` from 6.0 to 6.0.1
- [Changelog](https://github.com/yaml/pyyaml/blob/main/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/6.0...6.0.1)

Updates `pyinstaller` from 6.0.0 to 6.3.0
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.0.0...v6.3.0)

---
updated-dependencies:
- dependency-name: feedgen
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-deps
- dependency-name: feedparser
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-deps
- dependency-name: lxml
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-deps
- dependency-name: pyyaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-deps
- dependency-name: pyinstaller
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-29 10:52:44 +00:00
Andros Fenollosa
e03fff3a42
Merge pull request #29 from shymega/shymega/prs/group-dependabot-updates
feat(CI/dependabot): Group Dependabot PRs
2023-12-29 11:51:02 +01:00
Dom Rodriguez
b7cfae13e1
feat(CI/dependabot): Group Dependabot PRs
To reduce maintainer workload, I've made this PR for Dependabot to
automatically group related PRs together into one PR.

We could also enable a workflow to automatically merge Dependabot PRs,
on the condition that the code continues to compile and produce a
unified RSS XML feed.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2023-12-25 20:25:35 +00:00
Dom Rodriguez
57ed8aef3a
Start testing release packager 2023-12-25 20:25:23 +00:00
Dom Rodriguez
b526fc582f
Initial version of CI for RSSingle
Hi @tanrax!

As part of our new collaboration, I've made an initial version for
automated CI for RSSingle.

It needs macOS to work first, so I've commented out a draft version of
the `pyinstaller` aspect, so I'll make this PR a draft for now when we
can discuss further, preferably in a GH issue for transparency (unless
you want it private?), but this workflow tests on PRs and pushes to any
branch, with flake8 across multiple Python versions. The pyinstaller
aspect only runs if the flake8 check passes.

What do you think?

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2023-12-25 20:25:23 +00:00
Andros Fenollosa
f7a2c2417e
Merge pull request #16 from tanrax/add-limit-entries
Add limit entries
2023-10-26 14:53:37 +02:00
Andros Fenollosa
0dfb71de00
Merge branch 'master' into add-limit-entries 2023-10-26 14:53:27 +02:00
Andros Fenollosa
124a57c033
Merge pull request #18 from tanrax/fix-format-error
Fix format error
2023-10-26 14:52:35 +02:00
Andros Fenollosa
16e80795cd
Merge pull request #19 from tanrax/dependabot/pip/lxml-4.9.3
Bump lxml from 4.9.2 to 4.9.3
2023-10-26 14:52:05 +02:00
Andros Fenollosa
4cd87527bd
Merge pull request #23 from tanrax/dependabot/pip/pyinstaller-6.0.0
Bump pyinstaller from 5.13.0 to 6.0.0
2023-10-26 14:51:30 +02:00
dependabot[bot]
0a075bbdc9
Bump pyinstaller from 5.13.0 to 6.0.0
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 5.13.0 to 6.0.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.13.0...v6.0.0)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 04:44:00 +00:00
dependabot[bot]
62f24bb204
Bump lxml from 4.9.2 to 4.9.3
Bumps [lxml](https://github.com/lxml/lxml) from 4.9.2 to 4.9.3.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.9.2...lxml-4.9.3)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 04:25:27 +00:00
Andros Fenollosa
e8c77f3398
Add general exception
Co-authored-by: Dom Rodriguez <shymega@shymega.org.uk>
2023-07-06 18:17:37 +01:00
Andros Fenollosa
dd16696103
Add var config max entries
Use `max_entries` as YAML key.

Co-authored-by: Dom Rodriguez <shymega@shymega.org.uk>
2023-07-06 18:11:15 +01:00
Andros Fenollosa
846de90642
Merge pull request #7 from shymega/shymega/prs/remove-unused-var
Remove unused variables, and duplicate assignments
2023-07-06 11:36:48 +02:00
Andros Fenollosa
e101803091
Merge pull request #12 from tanrax/dependabot/pip/pyinstaller-5.13.0
Bump pyinstaller from 5.11.0 to 5.13.0
2023-07-06 11:35:33 +02:00
dependabot[bot]
c3708e8899
Bump pyinstaller from 5.11.0 to 5.13.0
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 5.11.0 to 5.13.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.11.0...v5.13.0)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 05:12:43 +00:00
Andros Fenollosa
cf60155018
Merge pull request #9 from tanrax/dependabot/pip/pyinstaller-5.11.0
Bump pyinstaller from 5.1 to 5.11.0
2023-05-16 16:38:43 +02:00
Andros Fenollosa
82b3ff5cfd
Merge pull request #10 from tanrax/dependabot/pip/lxml-4.9.2
Bump lxml from 4.9.0 to 4.9.2
2023-05-16 16:38:31 +02:00
dependabot[bot]
f64d68fb8f
Bump lxml from 4.9.0 to 4.9.2
Bumps [lxml](https://github.com/lxml/lxml) from 4.9.0 to 4.9.2.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.9.0...lxml-4.9.2)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 14:37:28 +00:00
dependabot[bot]
d2813ee689
Bump pyinstaller from 5.1 to 5.11.0
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 5.1 to 5.11.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.1...v5.11.0)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-16 14:37:24 +00:00
Andros Fenollosa
9014c78d29
Merge pull request #4 from shymega/shymega/prs/dependabot
Add Dependabot dependency GH support
2023-05-16 16:36:56 +02:00
Andros Fenollosa
758733d025
Merge pull request #6 from shymega/shymega/prs/exceptions
Improve Exception handling, and catch explicit Exceptions
2023-05-16 16:36:22 +02:00
Andros Fenollosa
bbe24f6364
Merge pull request #8 from shymega/shymega/prs/fix-get_url_from_feed-func-sig
Explicitly define the return type of get_url_from_feed(config)
2023-05-16 16:33:39 +02:00
Dom Rodriguez
52ccc2e676
Explicitly define the return type of get_url_from_feed(config)
This commit explicitly defines the return type of the
get_url_from_feed(config) function.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2022-09-13 20:19:03 +01:00
Dom Rodriguez
df52406dfe
Improve Exception handling, and catch explicit Exceptions
This commit improves Exception handling, and made some changes to
try/catch blocks, where the `KeyError` is now explicitly caught. If in
the future, we have reports of other Exceptions being caught, we can
include those in the handling.

For now, I've used BaseException for two try/catch blocks. I need to
check what exceptions can happen there.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2022-09-13 19:43:58 +01:00
Dom Rodriguez
3347b233de
Remove unused variables, and duplicate assignments
This commit removes an unused variable, and the duplicate assignments in
the main entrypoint.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2022-09-13 19:30:36 +01:00
Dom Rodriguez
1f36dea889
Adjust branch, assumed the branch - use master
I didn't realise you were using `master` as the branch name, so this
wouldn't run if the PR was accepted.

Now fixed.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2022-09-12 23:45:26 +01:00
Dom Rodriguez
daf79338b5
Add Docker support for RSSingle, and a workflow for builds
This commit adds a Dockerfile, .dockerignore, and a GH Action for
pushing container images to - and this is by default, other registries
can be used - Docker Hub (you need to generate a token and install it in
the repo), and GitHub Registry, which doesn't require a manual token.

The workflow won't build until #3 is merged, as it relies on successful
builds from that workflow before a container image is pushed. Once we use unit
tests, this will ensure container images aren't broken when pushed to a
remote registry.

I have marked this PR as draft for that reason.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2022-09-12 22:09:57 +01:00
Dom Rodriguez
ff30f5807b
Add Dependabot dependency GH support
This commit adds support for Dependabot, which will alert the maintainer
when things are out of date, including GH Actions and Python packages.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2022-09-12 21:57:38 +01:00
Andros Fenollosa
1460f92f02
Update README.md 2022-06-28 05:57:07 -07:00
Andros Fenollosa
8f499d4c22
Delete rss.service 2022-06-25 13:04:41 +02:00
Andros Fenollosa
1a94b51f1a
Delete rss.timer 2022-06-25 13:04:34 +02:00
Andros Fenollosa
7a8721f6a1
Delete crontab 2022-06-25 13:04:21 +02:00
Andros Fenollosa
d622931090
Create FUNDING.yml 2022-06-25 13:03:35 +02:00
Andros Fenollosa
6eeda374da
Update README.md 2022-06-25 13:02:11 +02:00
Andros Fenollosa
cafef51765
Add files via upload 2022-06-25 13:00:47 +02:00