Skip to content

Sorted object dumps #1186

@RenoMeyer

Description

@RenoMeyer

Checklist

Describe the problem you'd like to have solved

Hey guys, I noticed that some of the outputs from your export command are sorted in various manners.

For example the custom-text.json is sorted based on the enabled_locales in the tenant.json. As I have a multi-tenant project with different default locales, the exports differ depending on which tenant I use (while the translations should be the same except some keyword replacements).

Another example is that action secrets which are listed in the order they've been added/edited. Since this is a manual process (as far as I understand), the order can easily differ from tenant to tenant.

Describe the ideal solution

I think both these examples could be easily solved by running an alphabetical sort over the json files before outputting from the export. The partial.json already seem to follow such a pattern if I'm not mistaken.

Thanks for your consideration and your awesome product!

Alternatives and current workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions