Adding a feed from the CLI and from the page are the same steps written twice #161
Reference in New Issue
Block a user
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?
Found in a code audit on 2026-10-09.
ipx add(add,src/main.rs:746-781) and the page's Add feed (add_feed,src/web.rs:1455-1488) are the same steps written twice:find_feed, look for a feed already in the catalogue bysame_feed,add_one, store. They have drifted (the CLI can list a feed in the Directory or give it a category; the web subscribes you), and a fix to one has to be made to the other by hand, such as #153's lock.Wanted: one function both call, each keeping its own output.
Done in
6ddd644: add_to_catalogue() does the shared part under the lock;ipx addand the page's Add feed each find the feed and then do their own part. Deployed as 0.10.3-dev on 2026-10-09.