-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move the examples to a separate repo #3565
Conversation
Also of note:
That's a 3-3.5x faster build time. |
Deploy preview for redux-docs ready! Built with commit 4cb4a5e |
Thoughts and concerns:
|
Out of curiosity, what about the examples is slowing down the build process? |
There are so many of them and they all require separate |
But why are we even building / testing them at all as part of the main lib? Where are they getting kicked off? |
Oh. Well, at a minimum, we should remove those lines from Travis. No reason to be checking those on every commit. |
Redid the examples repo with history intact: https://github.com/reduxjs/examples |
I'm still really not seeing a point to this. If we're concerned about Travis build times for some reason, let's just configure Travis to not worry about the examples on every build or something. |
I tried to figure out how to conditionally build certain examples based on the changed files using Travis' environment variables, but unfortunately it seems difficult to do this consistently. For example Here are the alternatives I'm thinking of:
Also note that the docs rebuild on Netlify even when they aren't changed, but it's separate from the Travis build configuration. |
We never did move these out, and tbh I'd like to keep them in here. Closing. |
I'd like to move the examples out of the repo. They add a lot of time to the build process and generally don't change significantly. They also don't require the source copy of Redux, so it's not like they are a canary for changes we make on master.
Moving them to their own home means it's more reasonable to accept new additions, which is something we've been hesitant to do for a long while (years!).
I've set them up in a new repo: reduxjs/examples
Is this a terrible idea? Anything we should do besides updating the docs and creating a new README in the
examples
path (which is temporarily gone at the moment).