Remove legacy INI-to-JSON config conversion utility #90
Labels
No labels
bug
contribution welcome
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/feed2fedi#90
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
feed2fedi originally used a config file format. When JSON configs were introduced, a conversion utility ( / ) was added to do a one-time migration.
That INI format has been gone for several major versions. Anyone still on it would be upgrading from a very old release where a multi-step process is already required. The tool also silently hardcodes
max_attachments=1per feed and drops any templates, so it was never a complete migration path anyway.The code lives in
src/feed2fedi/utils.py(convert_app,convert_config_json,start_conversion) and thefeed2fedi_convert_configentry inpyproject.toml.Plan: remove as part of the Jinja2 template migration PR (#89), since it is also a removal of legacy infrastructure.
Changes:
The test for the convert-config CLI help will also be removed from test_cli_apps.py.
Addressed as part of version 4.0.0... which is a breaking change! The config file has subtley changed, however there is a migration helper included (
feed2fedi-migrate-templates)