Skip to content

Conversation

@henhuy
Copy link
Contributor

@henhuy henhuy commented Jun 25, 2024

Summary of the discussion

Fix inconsistent metadata structure

Type of change (CHANGELOG.md)

Changes

  • Metadata order when downloading from data view

Workflow checklist

Automation

Closes #1696

PR-Assignee

Reviewer

  • 🐙 Follow the Reviewer Guidelines
  • 🐙 Provided feedback and show sufficient appreciation for the work done

@henhuy henhuy requested review from christian-rli and jh-RLI June 25, 2024 12:02
@henhuy henhuy self-assigned this Jun 25, 2024
Copy link
Contributor

@jh-RLI jh-RLI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have agreed that branch names should only contain "-" and no "/" or "_" :) but don't change this here, just as an information for future branch names.

# Metadata related #
##############################################

def order_metadata(metadata: dict) -> dict:
Copy link
Contributor

@jh-RLI jh-RLI Jul 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 If you agree that this is good enough. There is still a slight difference (1. download while using the oemetabuilde 2. download while viewing the table detail page) because this only sorts the "top" level key´s. I think it's fine.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could adapt this also, so that key order is preserved recursively

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, that could be a quick solution. Then I would vote for implementing it : in favour of everything being as similar as possible.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistens Metadata returns

3 participants