You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/12/06 12:51:33 UTC

[GitHub] [superset] EBoisseauSierra opened a new issue #17662: Track dashboard's “draft/published” status in CLI import/export

EBoisseauSierra opened a new issue #17662:
URL: https://github.com/apache/superset/issues/17662


   ## Problem
   
   I build dashboards on a “dev” instance, export them, and import the archive on the “prod” one; all via CLI.
   On dev, I change the status of some of the dashboards from draft to published.
   
   However, **the dashboard's YAML file in the export does not include any mention of the dashboard “draft/published” status**.
   
   So I then need to manually publish the imported dashboards on prod again.
    
   ## Wished solution
   
   I would like that **the imported dashboards have the same “draft/published” status as their exported counterpart**.
   
   Practically, this means that I would like to:
   
   - be able to track the “draft/published” status of a dashboard in its YAML file in the export,
   - be able to set the “draft/published” status of an imported dashboard, based on the imported YAML file data.
   
   ## Alternative
   
   Manual work… but I'm afraid I'm lazy :wink: 
   
   ## Additional context
   
   Both dev and prod are running Superset 1.3.2, alongside the following feature flags:
   
   ```python
   FEATURE_FLAGS = {
       "VERSIONED_EXPORT": True,
   }
   ```


-- 
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


[GitHub] [superset] srinify commented on issue #17662: Track dashboard's “draft/published” status in CLI import/export

Posted by GitBox <gi...@apache.org>.
srinify commented on issue #17662:
URL: https://github.com/apache/superset/issues/17662#issuecomment-991822581


   FWIW @EBoisseauSierra it looks like the Superset API will return the published status for the `GET /dashboard/` route for example:
   
   https://superset.apache.org/docs/rest-api
   
   


-- 
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


[GitHub] [superset] EBoisseauSierra commented on issue #17662: Track dashboard's “draft/published” status in CLI import/export

Posted by GitBox <gi...@apache.org>.
EBoisseauSierra commented on issue #17662:
URL: https://github.com/apache/superset/issues/17662#issuecomment-986747947


   I understand that this may not always be wanted (e.g. to proof review imported dashboards prior to publication on prod)… so this feature could be activated as an optional flag in the export and/or import CLI.


-- 
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


[GitHub] [superset] srinify commented on issue #17662: Track dashboard's “draft/published” status in CLI import/export

Posted by GitBox <gi...@apache.org>.
srinify commented on issue #17662:
URL: https://github.com/apache/superset/issues/17662#issuecomment-991822581


   FWIW @EBoisseauSierra it looks like the Superset API will return the published status for the `GET /dashboard/` route for example:
   
   https://superset.apache.org/docs/rest-api
   
   


-- 
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