• Michael Tremer's avatar
    importer: Change download behaviour · 85e44d9a
    Michael Tremer authored
    The downloader used to open a connection to the web server hosting our
    content which would have been decompressed (if necessary) on the fly and
    also been parsed on the fly so that it could have been fed into the
    database easily.
    
    Some webservers do not seem to be patient enough to keep the connection
    open if things take a little bit longer than usual. That caused the
    import to fail.
    
    This patch changes the behaviour that we would download all content
    first, store it locally, and then start processing it.
    
    Fixes: #12852
    Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
    Cc: Peter Müller <peter.mueller@ipfire.org>
    85e44d9a
importer.py 6.68 KB