Skip to content

Rename metadata to package? #129

Description

@lwjohnst86

Since metadata could also be about the data for Propagate (e.g. the internal structs). So maybe to make it clearer it is the package e.g. read_package(). We already name the struct Package, not Metadata, so we would be aligning on that.

Activity

  1. self-assigned this
    on Aug 27, 2026
  2. moved this from Todo to In Review in Product developmenton Aug 27, 2026
  3. joelostblom commented on Aug 28, 2026

    @joelostblom
    Contributor

    Hmm, personally I find that package is more general than metadata and therefore could mean more different things. If the goal is to clarify which metadata is being referred to, isn't a prefixed a cleaner solution? E.g. if we think data_package_metadata is too long, how about dp_metadata?

    As a more general point: Did I miss a discussion about why we decided to go with metadata internally in this repo instead of properties which we use internally in sprout, flower, and soil? While I personally thing metadata easier to understand than properties like I mentioned previously, I value consistency with those other repo higher unless we are intentionally trying to make a distinction from what properties is referring to internally in sprout, flower, and soil.

  4. lwjohnst86 commented on Aug 28, 2026

    @lwjohnst86
    MemberAuthor

    We don't use properties in Flower in public facing things, we call it metadata. Flower was the start of switching to metadata, since properties is a very Data Package thing and we wanted to be more generic and a bit more precise (and use a term that is more commonly used).

  5. lwjohnst86 commented on Aug 28, 2026

    @lwjohnst86
    MemberAuthor

    And yea, maybe read_package_metadata is fine. 👍

  6. lwjohnst86 commented on Aug 28, 2026

    @lwjohnst86
    MemberAuthor

    But we still call it Package for the struct, so 🤔 🤔 this isn't urgent, we can think about it more.

  7. DanMazJen commented on Sep 1, 2026

    @DanMazJen
    Contributor

    Looking at the function named read_package(), I would be unsure whether it would read all aspects of the package or only the metadata. Therefore, I think read_package_metadata() is clearer. A package may require more read functions in order to open all its content e.g., reading the resources – read_package_resource() – although that function will be in another program.

  8. removed their assignment
    on Sep 30, 2026
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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions