-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Convert Library references from submodule to upstream #4102
Conversation
LGTM though I feel like the script could use some improvements like using a heredoc instead of all the echoes. Maybe @thaJeztah can provide some input since he's really good at this. Though you may not be able to use the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do think on the individual pages, it might be better to make the page title something like " image reference" or even "company/imagename image reference".
@mstanleyjones Let's think about what we want to do here and iterate. Merging since the guts work and we need the infra fix. |
Thanks for the feedback! |
This reverts commit 1c5153b.
* Step 1 of getting to upstream-based model * Upstream part 2 * Working front-matter generation * Pages generating * TOC fixes, autogen fixes, test>prod script * Boilerplate fix * Switch to cat, redundancy removals
Pulling in Library refs via shell script and using Jekyll collections will save a lot of grief over using the submodule system.
To test, run
docker build -t doctest .
and thendocker run -p 4000:4000 -ti doctest
Netlify can complete builds created with this system; generation time on this PR was 7.35 minutes, well within the timeout range of 15 minutes.
jekyll build
run locally from a normal authoring clone (which grabs nothing from upstream) is 3.89 minutes.docker build
run locally from this branch (which grabs everything from upstream) finishes generation in 5.4 minutes.This also ensures that our copy of "library" is up to date and kills the dependency between shell files and upstream files, which was always bound to break. The library is very active and now we can just use what they have, whatever that is.