Skip to content

Fixing issue https://github.com/openshift/openshift-docs/issues/25135#26697

Merged
bergerhoffer merged 1 commit intoopenshift:masterfrom
rounaksarda:master
Oct 29, 2020
Merged

Fixing issue https://github.com/openshift/openshift-docs/issues/25135#26697
bergerhoffer merged 1 commit intoopenshift:masterfrom
rounaksarda:master

Conversation

@rounaksarda
Copy link
Contributor

@rounaksarda rounaksarda commented Oct 25, 2020

Issue raise by @hupiper

Fixing the below issue :
#25135

an changed to and.

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 25, 2020
Copy link
Contributor Author

@rounaksarda rounaksarda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixing the issue:
#25814

Earlier the sentence was "In this document, this document" -> "In this, document might"

@vikram-redhat
Copy link
Contributor

@rounaksarda thanks! I will accept this for review by the team. In the future, please open a separate PR for each issue.

@vikram-redhat
Copy link
Contributor

@openshift/team-documentation PTAL.

Copy link
Contributor

@bergerhoffer bergerhoffer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rounaksarda Thanks for submitting these fixes!

I commented with one update that needs to be made.

And then before this can be merged, you'll need to squash your commits so that the PR only has 1 commit. Let me know if you need any help with how to do this. Thanks!


ifndef::virt-logging[]
In this document, this document might refer to log store or Elasticsearch, visualization or Kibana, collection or Fluentd, interchangeably, except where noted.
In this, document might refer to log store or Elasticsearch, visualization or Kibana, collection or Fluentd, interchangeably, except where noted.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This still doesn't read very well. Suggest changing it to say simply "This document might..."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bergerhoffer ok, suggested change is made

Copy link
Contributor Author

@rounaksarda rounaksarda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bergerhoffer I have changed as you have suggested, let me know if something is still not quite expected.

@bergerhoffer
Copy link
Contributor

Hi @rounaksarda we still need you to squash your commits. Right now there are 3 (you can see them listed in the "Commits" tab), but there should only be 1.

There are some instructions here: https://github.com/edx/edx-platform/wiki/How-to-Rebase-a-Pull-Request#squash-your-changes

But feel free to reach out if you need help on how to do it. Thanks!

@rounaksarda
Copy link
Contributor Author

Hello @bergerhoffer , I have gone through the link that you shared but in my case things are quite complicated .
First I forked this repo and directly added the changes to the file(without cloning or making other branch) and raised the pull request .
second I again made some changes and raise a pull request .
third time I made a branch new and added the change there and raised a pull request.

I can settle this in easy way by deleting all of this and follow the the fork then clone and then make a branch and commit all together and raise a single pull request.

OR

Please you guide me how can I make it right. I have gone through the link that you shared but was not able to set up.

@bergerhoffer
Copy link
Contributor

Hello @bergerhoffer , I have gone through the link that you shared but in my case things are quite complicated .
First I forked this repo and directly added the changes to the file(without cloning or making other branch) and raised the pull request .
second I again made some changes and raise a pull request .
third time I made a branch new and added the change there and raised a pull request.

I can settle this in easy way by deleting all of this and follow the the fork then clone and then make a branch and commit all together and raise a single pull request.

OR

Please you guide me how can I make it right. I have gone through the link that you shared but was not able to set up.

So if it's easier for you to just create a new branch to make the updates, that's totally fine. I just don't want you to miss your Hacktoberfest acknowledgement if that's what you were working toward.

But if you'd like to try to squash the commits, I've outlined the steps of how to do so below:

  1. In the branch in your terminal, use this command to squash your 3 commits into 1:
$  git rebase -i HEAD~3
  1. In the file that pops up, change the "pick" to "squash" for all but the first entry, like below:
pick 8f95fae21 Fixing issue https://github.com/openshift/openshift-docs/issues/25135
squash 58ed8b8df Update cluster-logging-about-components.adoc
squash 73d28bbe4 Update cluster-logging-about-components.adoc
  1. Save and quit the file (if it's vim, enter :wq).

  2. In the next file that pops up, you can remove the extra 2 commit messages, like below

# This is a combination of 3 commits.
# This is the 1st commit message:

Fixing issue https://github.com/openshift/openshift-docs/issues/25135

# This is the commit message #1:

Update cluster-logging-about-components.adoc                                 <---- Remove this line
# This is the commit message #2:

Update cluster-logging-about-components.adoc                                 <---- Remove this line
  1. Save and quit the file (if it's vim, enter :wq).

  2. Force push the changes to this PR.

$ git push -f origin HEAD

When you look at this PR again, you should only see 1 commit in the "Commits" tab.

Let me know if that works for you, or if you have any issues in squashing. Thanks!

@rounaksarda
Copy link
Contributor Author

rounaksarda commented Oct 29, 2020

Hello, @bergerhoffer I am not here looking for hacktoberfest, I want to try this squash method and followed all steps that you send. It results, the commit become 5. Any comments are welcome.
Thanks for the earlier learning.

@bergerhoffer
Copy link
Contributor

Okay great. I'm not sure how you ended up with 5 commits, but let's try another method for squashing. We'll basically undo your 5 commits (but not undo your changes), and reset to the commit before yours, and then have you commit again.

In the terminal in your branch:

  1. Do a soft reset to the commit before your first. Looking at git log, it is commit ID 05a9ec2460f0a3ab1bb1010786b1da3e9d826cbf:
$ git reset --soft 05a9ec2460f0a3ab1bb1010786b1da3e9d826cbf
  1. Commit your changes:
$ git commit -m "Fixing issue #25135"
  1. Force push the changes to this PR.
$ git push -f origin HEAD

If this doesn't end up working for you, let me know if you'd like me to try to squash for you in this PR.

Thanks again for working on this!

@rounaksarda
Copy link
Contributor Author

rounaksarda commented Oct 29, 2020

Hey, It worked @bergerhoffer, thanks. it is wonderful learning and fun contribution actually.
If you care-The problem I got 5 commits earlier because I opened the original downloaded repo not one that I forked, while committing this time I checked the commit log and there was someone else's commit too. So I basically got the idea.... It was silly mistake by me.

Thank you!!

@bergerhoffer
Copy link
Contributor

Great, I'm glad that worked for you! This looks great now, thanks for sticking with us to get this completed. I'm glad you enjoyed it, and we appreciate the contribution!

Merging now :)

@bergerhoffer bergerhoffer merged commit d070fed into openshift:master Oct 29, 2020
@bergerhoffer
Copy link
Contributor

bergerhoffer commented Oct 29, 2020

/cherrypick enterprise-4.7

@bergerhoffer
Copy link
Contributor

bergerhoffer commented Oct 29, 2020

/cherrypick enterprise-4.6

@bergerhoffer
Copy link
Contributor

bergerhoffer commented Oct 29, 2020

/cherrypick enterprise-4.5

@bergerhoffer
Copy link
Contributor

bergerhoffer commented Oct 29, 2020

/cherrypick enterprise-4.4

@openshift-cherrypick-robot
Copy link

openshift-cherrypick-robot commented Oct 29, 2020

@bergerhoffer: new pull request created: #26886

Details

In response to this:

/cherrypick enterprise-4.7

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-cherrypick-robot
Copy link

openshift-cherrypick-robot commented Oct 29, 2020

@bergerhoffer: #26697 failed to apply on top of branch "enterprise-4.4":

Applying: Fixing issue #25135
Using index info to reconstruct a base tree...
M	modules/cluster-logging-about-components.adoc
Falling back to patching base and 3-way merge...
Auto-merging modules/cluster-logging-about-components.adoc
CONFLICT (content): Merge conflict in modules/cluster-logging-about-components.adoc
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Fixing issue #25135
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

Details

In response to this:

/cherrypick enterprise-4.4

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-cherrypick-robot
Copy link

openshift-cherrypick-robot commented Oct 29, 2020

@bergerhoffer: new pull request created: #26887

Details

In response to this:

/cherrypick enterprise-4.6

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-cherrypick-robot
Copy link

openshift-cherrypick-robot commented Oct 29, 2020

@bergerhoffer: new pull request created: #26888

Details

In response to this:

/cherrypick enterprise-4.5

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants