Skip to content

Reverse order of publishing files #27

@hagenw

Description

@hagenw

In audmodel.publish() we have take care if publishing fails and remove files from the backend in that case.
But this does not work if we loose the internet connection in between.

At the moment we start uploading the header, followed by the metadata and then the actual data:

    try:
        put_header(
            short_id,
            version,
            header,
            backend_interface,
            verbose,
        )
        put_meta(
            short_id,
            version,
            meta,
            backend_interface,
            verbose,
        )
        put_archive(
            short_id,
            version,
            name,
            subgroup,
            root,
            backend_interface,
            verbose,
        )

We should revert that order.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions