Replies: 1 comment
-
Since posting my question, I found this incredibly helpful video by @yousoph and @rusackas demoing the tagging system and describing how to go about suggesting a feature. I don't think this is a big enough effort to warrant a SIP, but I think the first two topics in the SIP template are relevant for small changes as well so I've provided that information below. I would like to get feedback before contributing to make we aren't overlooking something important. MotivationWe have adopted the tagging functionality and it is working quite well for us for dashboards and and charts. Our use case and process requires us to build dashboards on a development server, export the dashboards, commit the YAMLs to source control, and finally import the ZIPs to our production server. We would like the tags we assign on the development server to be captured in the export so they are replicated to our production server. Proposed ChangeUI elements are not affected by this change. All changes are related to updated logic/processing of the existing export and import functionality. Only tags of type "custom" are exported. Other tags that exist but are not exported are "type" and "owner". Export Logic
Because tags have additional information (for example, a description), a new file is needed to hold this information. The file is called "tags.yaml" and lives in the top level of the zip file. For example:
The format of the tags.yaml file is an array of tags
Import Logic Details
Existing Superset behavior: When importing objects that already exist, the user is prompted whether it is ok to overwrite. If no, the import process aborts. If yes, the old object is replaced with the new object.
It is important to note that in this proposal, imported tags are not added to existing tags Thank you to anyone taking the time to read and comment! |
Beta Was this translation helpful? Give feedback.
-
Is there any discussion yet on being able to export tags with superset objects?
We rely heavily on tags and would like to see that information included when exporting objects. What is the best way to get that going? If we have a proposal on how that functionality would work (assuming something doesn't already exist), where is the right place to get that vetted?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions