Skip to content
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

Merged
merged 7 commits into from
Aug 8, 2017

Conversation

johndmulhausen
Copy link

@johndmulhausen johndmulhausen commented Aug 5, 2017

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 then docker 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.

@johndmulhausen johndmulhausen changed the title Convert Library references from submodule to upstream (WIP) Convert Library references from submodule to upstream Aug 8, 2017
@mdlinville
Copy link

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 heredoc if you are on Alpine and stuck with /bin/sh...

Copy link

@mdlinville mdlinville left a 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".

@johndmulhausen johndmulhausen merged commit 1c5153b into master Aug 8, 2017
@johndmulhausen
Copy link
Author

@mstanleyjones Let's think about what we want to do here and iterate. Merging since the guts work and we need the infra fix.

@johndmulhausen
Copy link
Author

Thanks for the feedback!

mdlinville pushed a commit that referenced this pull request Aug 8, 2017
@johndmulhausen johndmulhausen deleted the upstream branch August 10, 2017 22:18
shin- pushed a commit to shin-/docker.github.io that referenced this pull request Aug 19, 2017
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants