Skip to content

Conversation

@heesung-sohn
Copy link
Contributor

Motivation

As commented here, moving this instruction, how to run Pulsar CI from fork, to the contribution page in order to make it more accessible for new contributors.

Modifications

Added instructions about how to run Pulsar CI from forked github repositories in the contribution page.

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API: (yes / no)
  • The schema: (yes / no / don't know)
  • The default values of configurations: (yes / no)
  • The wire protocol: (yes / no)
  • The rest endpoints: (yes / no)
  • The admin cli options: (yes / no)
  • Anything that affects deployment: (yes / no / don't know)

Documentation

Check the box below or label this PR directly.

Need to update docs?

  • doc-required
    (Your PR needs to update docs and you will update later)

  • no-need-doc
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-added
    (Docs have been already added)

@heesung-sohn heesung-sohn changed the title gi[improve][doc] added instructions about how to run ci from fork [improve][doc] added instructions about how to run ci from fork May 10, 2022
@github-actions github-actions bot added the doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. label May 10, 2022
limit-access-to-actor: true
```
and inline composite action [implementation](https://github.com/apache/pulsar/blob/master/.github/actions/ssh-access/action.yml).
The ssh acccess is secured with the ssh key registered in Github.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
The ssh acccess is secured with the ssh key registered in Github.
The ssh access is secured with the ssh key registered in GitHub.

Copy link
Member

Choose a reason for hiding this comment

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

+1

and "SSH, SSH key", please pay attention to the capitalization for proper nouns

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated.

and inline composite action [implementation](https://github.com/apache/pulsar/blob/master/.github/actions/ssh-access/action.yml).
The ssh acccess is secured with the ssh key registered in Github.
For example, your public keys are https://github.com/horizonzy.keys.
You will first have to register a ssh public key in GitHub for that to work.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
You will first have to register a ssh public key in GitHub for that to work.
You will first have to register an ssh public key in GitHub for that to work.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated.

```
B.) You can also create a PR to your own fork in the GitHub UI when opening
a new PR. To do so, first click on "compare across forks" and then choose
your own fork as both the fork repository and head repository.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
your own fork as both the fork repository and head repository.
your own fork as both the forked repository and head repository.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated.


Here's one way to sync your fork's master branch with apache/pulsar's
master branch:
Let's say if you have git remotes called "upstream" for apache/pulsar and
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Let's say if you have git remotes called "upstream" for apache/pulsar and
Let's say you have git remotes called "upstream" for apache/pulsar and

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated.

@heesung-sohn
Copy link
Contributor Author

Thank you for checking this PR. I resolved the above comments.

@heesung-sohn heesung-sohn requested a review from Anonymitaet May 12, 2022 00:22
@Anonymitaet Anonymitaet added this to the 2.11.0 milestone May 12, 2022
@Anonymitaet Anonymitaet merged commit a65babe into apache:master May 12, 2022
@lhotari
Copy link
Member

lhotari commented Jun 13, 2022

@heesung-sn @Anonymitaet It looks like these instructions have been dropped and aren't on the new website. Would it be possible to get the content to the new website too?

@heesung-sohn
Copy link
Contributor Author

@heesung-sn @Anonymitaet It looks like these instructions have been dropped and aren't on the new website. Would it be possible to get the content to the new website too?

Raised a PR to the new website repo, apache/pulsar-site#111
@Anonymitaet could you check this by any chance?

@Anonymitaet
Copy link
Member

@heesung-sn @Anonymitaet It looks like these instructions have been dropped and aren't on the new website. Would it be possible to get the content to the new website too?

Raised a PR to the new website repo, apache/pulsar-site#111 @Anonymitaet could you check this by any chance?

sure, commented in your new PR.

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

Labels

doc Your PR contains doc changes, no matter whether the changes are in markdown or code files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants