Skip to content

Add option to skip fetching source repos #544

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

Merged
merged 1 commit into from
Jan 17, 2019
Merged

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Jan 17, 2019

Sometimes it is difficult to experiment with changes to the docs build
because we always fetch changes from the source repositories and those
changes can get mixed up in the changes from the experiment. This adds a
--no_fetch option to skip fetching changes from the source
repositories. We still fetch changes from the destination repo if there
is one, but the docs that we build are then based on whatever changes
we've pulled locally.

I suspect this'll never get used in CI, but I'll use it fairly
frequently when experimenting locally.

Sometimes it is difficult to experiment with changes to the docs build
because we always fetch changes from the source repositories and those
changes can get mixed up in the changes from the experiment. This adds a
`--no_fetch` option to skip fetching changes from the source
repositories. We still fetch changes from the destination repo if there
is one, but the docs that we build are then based on whatever changes
we've pulled locally.

I suspect this'll never get used in CI, but I'll use it fairly
frequently when experimenting locally.
@nik9000 nik9000 requested a review from ddillinger January 17, 2019 14:00
@nik9000
Copy link
Member Author

nik9000 commented Jan 17, 2019

Thanks for reviewing @ddillinger!

@nik9000 nik9000 merged commit ed785e5 into elastic:master Jan 17, 2019
bmorelli25 pushed a commit to bmorelli25/docs that referenced this pull request Feb 15, 2019
Sometimes it is difficult to experiment with changes to the docs build
because we always fetch changes from the source repositories and those
changes can get mixed up in the changes from the experiment. This adds a
`--no_fetch` option to skip fetching changes from the source
repositories. We still fetch changes from the destination repo if there
is one, but the docs that we build are then based on whatever changes
we've pulled locally.

I suspect this'll never get used in CI, but I'll use it fairly
frequently when experimenting locally.
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