Skip to content

Reducing feedpaser scope step1

thigg requested to merge thigg/podqast:reducing_feedpaser_scope_step1 into master

The goal of this MR is to reduce the places where feedparser is used. This is step 1 with a focus on the podcast class.

  • I eliminated the feed object in favor of storing the relevant data directly

  • The episode id's are stored now in order of the feed in the podcast object directly

  • added a versioning and migration mechanism to the podcast instance. This allows migration of old data.

  • introduced logging in python

  • added type hints to podcast and podpost

  • preliminary work in podpost during debugging

  • make sure tests are running, migrate tests, find/add documentation on how to run tests

  • recheck type hints

  • add more feeds as testdata

  • test migration

  • add migration page with backup buttons

  • make migration page look good

  • inform the user about migrationerrors when they happen

  • test backup buttons

Step 2 will focus on the podpost object if this MR is accepted

Because this MR includes data migrations you might want to backup your data first.

Edited by thigg

Merge request reports