You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "pksilen (via GitHub)" <gi...@apache.org> on 2025/06/17 06:47:58 UTC
[I] [SIP] Proposal for naming the assets in export [superset]
pksilen opened a new issue, #33784:
URL: https://github.com/apache/superset/issues/33784
## [SIP] Proposal for naming the assets in export
### Motivation
Currently when I export a dashboard and related assets like charts, the dashboard and chart files names seem to have a random number as the suffix of the filename. This number can change even if the actual chart or dashboard is the same. This constant changing of the asset file names creates a problem when storing the assets in a version control system like Git.
### Proposed Change
Name the exported assets in the following manner: <asset-name>_<asset-uuid>.yaml
### New or Changed Public Interfaces
### New dependencies
### Migration Plan and Compatibility
### Rejected Alternatives
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-172] Proposal for naming the assets in export [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on issue #33784:
URL: https://github.com/apache/superset/issues/33784#issuecomment-3002336209
short-uuid, I think 8+ characters is plenty in general (GitHub often represents and supports partial uuid). Odds of collision by number of characters:
<img width="815" alt="Image" src="https://github.com/user-attachments/assets/7f1c3e75-e195-459f-b427-1f92a2309f86" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-172] Proposal for naming the assets in export [superset]
Posted by "betodealmeida (via GitHub)" <gi...@apache.org>.
betodealmeida commented on issue #33784:
URL: https://github.com/apache/superset/issues/33784#issuecomment-3002280843
We could add the UUID in place of the ID, but that would make the filenames much bigger. But at least they would be stable.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-172] Proposal for naming the assets in export [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #33784:
URL: https://github.com/apache/superset/issues/33784#issuecomment-3137124271
Seems this is more than ready for a DISCUSS thread on the dev@ mailing list. @pksilen let me know here or on Slack if you want help with that process. Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-172] Proposal for naming the assets in export [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #33784:
URL: https://github.com/apache/superset/issues/33784#issuecomment-3607923801
Anyone still planning to take this on? If so, please start a DISCUSS thread, otherwise it may soon be closed as abandoned.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-172] Proposal for naming the assets in export [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #33784:
URL: https://github.com/apache/superset/issues/33784#issuecomment-3001986535
CC @abhinav-1305 regarding the linked PR
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-172] Proposal for naming the assets in export [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on issue #33784:
URL: https://github.com/apache/superset/issues/33784#issuecomment-3002341383
Noticed a little while back that all these links work:
- full uuid: https://github.com/apache/superset/commit/6876a1e6843cd1f28f4206ca2dd75342dfddcf26
- same uuid, 8 chars: https://github.com/apache/superset/commit/6876a1e6
- same uuid, 6 chars: https://github.com/apache/superset/commit/6876a1
- - same uuid, 4 chars: https://github.com/apache/superset/commit/6876
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-172] Proposal for naming the assets in export [superset]
Posted by "betodealmeida (via GitHub)" <gi...@apache.org>.
betodealmeida commented on issue #33784:
URL: https://github.com/apache/superset/issues/33784#issuecomment-3002001617
> Currently when I export a dashboard and related assets like charts, the dashboard and chart files names seem to have a random number as the suffix of the filename.
This is because dashboard and chart names are not unique, so we add the ID as a suffix to prevent collisions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-172] Proposal for naming the assets in export [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #33784:
URL: https://github.com/apache/superset/issues/33784#issuecomment-4748000708
Closing as abandoned... happy to revisit if anyone wants to take it up.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-172] Proposal for naming the assets in export [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on issue #33784:
URL: https://github.com/apache/superset/issues/33784#issuecomment-2997394421
Not sure if this qualifies as a SIP (SIP are used where consensus can't be implicit, or where there's a significant change that could be controversial), but tagging @betodealmeida who might know more about the id in the filename. I noticed there's a PR related to this, is it coming from the same place? https://github.com/apache/superset/pull/33852
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-172] Proposal for naming the assets in export [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #33784: [SIP-172] Proposal for naming the assets in export
URL: https://github.com/apache/superset/issues/33784
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org