Skip to content

Non-deterministic order of migrations makes reproducable builds impossible #441

Description

@stevenroose

I'm trying to make a reproducable build of a binary that uses refinery. It seems that the order the migrations are encoded by refinery::embed_migrations is system-dependent (filesystem read order, which is salted on ext4).

This means that it's impossible to make the build reproducible.

I'm currently writing the module manually using a build.rs script, but it would be nice if the macro would fix the ordering.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions