• Jordan Petridis's avatar
    Pipeline: Avoid spamming stderr when not needed · b40c12ef
    Jordan Petridis authored
    This commit add a new DataError Variant for feeds that return 304.
    Its expected behaviror and the current API of Source::into_feed
    is kinda limiting the return type to make it easier to handle.
    
    Up till now 304 was returning an Error to early return. Ideally
    Source::into_feed will return a Multi variant Result Enum.
    
    example:
    
    enum FeedResult {
        Ok(Success(feed)),
        Ok(NotModified),
        Err(err),
    }
    
    Hopefully in a refactor in the near Future
    
    Till then we will just have to match and ignore
    DataError::FeedNotModified.
    b40c12ef
Name
Last commit
Last update
.gitlab Loading commit data...
podcasts-data Loading commit data...
podcasts-downloader Loading commit data...
podcasts-gtk Loading commit data...
screenshots Loading commit data...
scripts Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIBUTING.md Loading commit data...
Cargo.lock Loading commit data...
Cargo.toml Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
TODO.md Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
org.gnome.PodcastsDevel.json Loading commit data...
podcasts.doap Loading commit data...
rustfmt.toml Loading commit data...