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 2020/02/25 23:59:58 UTC
[GitHub] [incubator-superset] ktmud opened a new pull request #9201: [WIP]
Frontend monorepo
ktmud opened a new pull request #9201: [WIP] Frontend monorepo
URL: https://github.com/apache/incubator-superset/pull/9201
### CATEGORY
- [x] Build / Development Environment
### SUMMARY
@kristw @rusackas This is what I meant in [#9187](https://github.com/apache/incubator-superset/issues/9187#issuecomment-589912159). Frontend packages will be organized as such:
```text
├── lerna.json
├── package-lock.json
├── package.json
├── packages
│ ├── superset-app
│ ├── superset-ui-demo
│ └── superset-ui-plugins-demo
├── superset-ui
│ ├── chart
│ ├── chart-composition
│ ├── color
│ ├── connection
│ ├── core
│ ├── dimension
│ ├── generator-superset
│ ├── number-format
│ ├── preset-chart-xy
│ ├── query
│ ├── superset-ui
│ ├── time-format
│ └── translation
└── superset-ui-plugins
├── egacy-rose
├── icicle-event
├── legacy-calendar
├── legacy-chord
├── legacy-country-map
├── legacy-event-flow
├── legacy-force-directed
├── legacy-heatmap
├── legacy-histogram
├── legacy-horizon
├── legacy-iframe
├── legacy-map-box
├── legacy-markup
├── legacy-paired-t-test
├── legacy-parallel-coordinates
├── legacy-partition
├── legacy-pivot-table
├── legacy-plugin-world-map
├── legacy-preset-chart-big-number
├── legacy-preset-chart-nvd3
├── legacy-sankey
├── legacy-sankey-loop
├── legacy-sunburst
├── legacy-table
├── legacy-treemap
├── legacy-word-cloud
├── table
└── word-cloud
```
There's enough isolation for optional plugins, but development imports and plugin update workflows can be made very easy... There's obviously more work needed to actually make this work, but I think it's a direction worth pursuing. What do you think?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] ktmud commented on issue #9201: [WIP] Frontend
monorepo
Posted by GitBox <gi...@apache.org>.
ktmud commented on issue #9201: [WIP] Frontend monorepo
URL: https://github.com/apache/incubator-superset/pull/9201#issuecomment-604262564
I'm still not liking the double PR workflow and the manual process of going back and forth editing package versions while maintaining two open PRs. But I guess that's a small price to pay to get the benefits that motivated the split in the first place.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] rusackas commented on issue #9201: [WIP]
Frontend monorepo
Posted by GitBox <gi...@apache.org>.
rusackas commented on issue #9201: [WIP] Frontend monorepo
URL: https://github.com/apache/incubator-superset/pull/9201#issuecomment-604230709
@ktmud Now that your (amazing) `npm link` work is in, I guess we can close this one? Up to you :D
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] kristw commented on issue #9201: [WIP]
Frontend monorepo
Posted by GitBox <gi...@apache.org>.
kristw commented on issue #9201: [WIP] Frontend monorepo
URL: https://github.com/apache/incubator-superset/pull/9201#issuecomment-592388885
@rusackas
> 1) this is a step away from having an ecosystem of plugins from 3rd party repos
Right. A 3rd party repo will run into the same problem and we need to build dev tools to support anyway. Better dogfood that.
> 2) I think that one of the reasons these were moved to their own repo in the first place had to do with isolating the licenses of certain packages from the core Apache release. I worry that this'll be another difficult thing to unwind later, but concede that it may make life easier for today.
+1
Another reason of moving out is we are using most (if not all) of the quota for running multiple ci jobs in parallel per repo. We spent lots of effort in cutting down ci time at one point to improve the developer experience in this repo. If we bring all these packages into it, it will bring a few more ci jobs along.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] rusackas commented on issue #9201: [WIP]
Frontend monorepo
Posted by GitBox <gi...@apache.org>.
rusackas commented on issue #9201: [WIP] Frontend monorepo
URL: https://github.com/apache/incubator-superset/pull/9201#issuecomment-591807826
On the one hand, it might make life easier, as I don't love the double-PR flow needed to make changes right now, and this resolves at least that issue. On the other hand, there are two potential issues that jump to the top of my mind: 1) this is a step away from having an ecosystem of plugins from 3rd party repos, and 2) I _think_ that one of the reasons these were moved to their own repo in the first place had to do with isolating the licenses of certain packages from the core Apache release. I worry that this'll be another difficult thing to unwind later, but concede that it may make life easier for today. I'm curious what @kristw and @mistercrunch think of the idea.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] rusackas commented on issue #9201: [WIP]
Frontend monorepo
Posted by GitBox <gi...@apache.org>.
rusackas commented on issue #9201: [WIP] Frontend monorepo
URL: https://github.com/apache/incubator-superset/pull/9201#issuecomment-604659467
> I'm still not liking the double PR workflow and the manual process of going back and forth editing package versions while maintaining two open PRs. But I guess that's a small price to pay to get the benefits that motivated the split in the first place.
Agreed... hopefully we can get ALL of the plugins' parts into their own repo, and remove/reduce double-PR pains.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] ktmud closed pull request #9201: [WIP]
Frontend monorepo
Posted by GitBox <gi...@apache.org>.
ktmud closed pull request #9201: [WIP] Frontend monorepo
URL: https://github.com/apache/incubator-superset/pull/9201
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org