- Loading...
Info |
---|
Repository
Mailing List Issues IRC
|
Table of Contents |
---|
The goal of Project Skara is was to investigate alternative SCM and code review options for the OpenJDK source code, including options based upon Git rather than Mercurial, and including options hosted by third parties. That part of the project has now concluded and all active OpenJDK projects have migrated to GitHub. The continuation of project Skara is now about operating and maintaining the infrastructure necessary to support the current development processes of the OpenJDK organization.
The technical parts of project Skara includes several server-side tools (also called "bots") aiding contributors during code reviews. The Skara technical tooling also includes several command-line utilities for interacting with Git source code hosting providers from the command-line.
Using an external Git source code hosting provider comes with several benefits, including:
Many, if not all, external Git source code hosting services available have excellent performance, not only with regards to network performance but also when it comes to availability (uptime). The largest Git source code hosting providers also offer the OpenJDK community to tap into large, existing, communities of developers and potential contributors. An additional benefit of using an external Git source code hosting provider is getting access to an API. These APIs enables programs to interact with developers on the external Git source code hosting provider. Although not impossible to achieve today by interacting with developers over email, it is considerably harder to implement programs that interpret free form text in emails compared to using a structured API.
A significant risk when using an external source code hosting provider is to become dependent on the external source code hosting provider. The version control data itself will always be independent of source code hosting provider due to the distributed architecture of Git itself. However there is a large risk in metadata such as code review comments becoming "locked in" on a particular external source code hosting provider. Mitigating this risk is a large part of Project Skara and the following work have been done so far:
setting up to the domain http://git.openjdk.java.net/to redirect to OpenJDK's current external source code hosting provider to avoid polluting JBS and mailing lists with direct links to an external Git source code hosting provider
Support for multiple external source code hosting provider has been a strict requirement for all server-side and client-side tooling to avoid the issue of having any tooling take on a dependency on a particular external source code hosting provider's API. All tooling is also required to work with the GitLab Community Edition (GitLab CE) which is an open source project.
Another large part of Project Skara has been to ensure that there are multiple workflows available when interacting with a Git external source code provider, including one that preservers preserves as much as possible of the OpenJDK community's current workflow. The Skara tooling currently supports the following workflows:
All workflows can be used interchangeably and different contributors can use different workflows at the same time (even while working on the same change). The support of multiple workflows comes from the APIs provided by the external Git source control hosting provider. Examples of the work done to support multiple concurrent workflows include:
The following sections will get you started with Git and the external Git source code hosting provider GitHub.
Code Block | ||
---|---|---|
| ||
$ sudo yum install git |
Code Block | ||
---|---|---|
| ||
$ sudo apt install git |
Code Block | ||
---|---|---|
| ||
$ sudo dnf install git |
There are two ways to install Git on macOS: using Homebrew or using a direct download.
brew install git
Install Git For Windows (maintained by Microsoft): https://gitforwindows.org
Git requires that you configure a username and an email. Use your full name as your username and your regular email address for the email. Make sure you select the option to always use unix line endings. The OpenJDK build system does not work if the source code has Windows line endings. If you missed this during installation, you can correct it like this:
Code Block | ||
---|---|---|
| ||
$ git config --global usercore.name 'Your Full Name' $ git config --global user.email 'your.name@host.com'autocrlf false |
The OpenJDK build system runs best in Cygwin and while you may use Git from Cygwin for most Git operations, it will not work well with the Skara tools. The native Windows Git works well enough in Cygwin as long as you do not feed it Cygwin style absolute paths and keep the autocrlf setting as instructed above.
Git requires that you configure a username and an email. Use your full name as your username and your regular email address for the emailFor example my name is "Erik Duveblad" and my email is "erik.helin@oracle.com". Therefore I would run:
Code Block | ||
---|---|---|
| ||
$ git config --global user.name 'ErikYour Full DuvebladName' $ git config --global user.email 'erikyour.helin@oraclename@host.com' |
You will also want to setup the editor that Git will use whenever you need to enter multiple lines of input, for example when writing a commit message or doing an interactive rebase. I use vim
as my editor and therefore I For example my name is "Erik Duveblad" and my email is "erik.helin@oracle.com". Therefore I would run:
Code Block | ||
---|---|---|
| ||
$ git config --global core.editor 'vim' user.name 'Erik Duveblad' $ git config --global user.email 'erik.helin@oracle.com' |
You will also want to setup the editor that Git will use whenever you need to enter multiple lines of input, for example when writing a commit message or doing an interactive rebase. I use vim
as my editor and therefore I would run:
Code Block | ||
---|---|---|
| ||
$ git config --global core.editor 'vim' |
There are several additional clients available for Git that can be used instead of (or in combination with) the Git CLI tool. Please see the following subsections for how to interact with Git from the desktop, mobile, tablet, IDE or a text editor.
DesktopThe following desktop CLI applications can all interact with Git repositories:
The following desktop applications can all interact with Git repositories:
The following mobile/tablet applications can all interact with Git repositories:
The following integrated develop environments (IDEs) all have Git support built-in:
The following text editors either have Git support built-in or as part of a plugin:
There are a lot blogs blog posts, tutorials, tweets and material about Git on the internet. Unfortunately much of this material is outdated since Git was created back in 2005. We strongly recommend the online or e-book version of the "Pro Git" book by Scott Chacon and Ben Straub available at https://git-scm.com/book/en/v2 for learning more about Git (the print version is not up-to-date). The book is available online in HTML or can be downloaded in pdf, epub and/or mobi formats. The book is available under the CC BY-NC-SA 3.0 license and a community keep it continuously up-to-date by contributing to the book's Git repository.
For more information about a particular git
command, see the online reference or the man page for the command (git help <commmand>
)
If you want to learn more about the inner workings of Git and how it can be implemented then the online book "Write yourself a Git!" by Thibault Polge is a good resource: https://wyag.thb.lt/
GitHub is an external Git source code hosting provider at https://github.com/.
To create an account and get started, follow the instructions at https://github.com/join. We strongly recommend that all All OpenJDK contributors enable must enable two-factor authentication (2FA) on GitHub. To enable 2FA for your account on GitHub, follow the instructions at https://help.github.com/en/articles/securing-your-account-with-two-factor-authentication-2fa.
If you are an OpenJDK Author, Committer or Reviewer then in any OpenJDK project (if in doubt, look for your name in the OpenJDK census), you can associate your GitHub account with your OpenJDK username by opening an issue at at https://bugs.openjdk.java.net/secure/CreateIssue.jspa?pid=11300&issuetype=13 (Component: admin, type: Task). As a title for the issue, please use "Add GitHub user <YOUR-GITHUB-USERNAME>". This way the server-side tooling (the "bots") will recognize you on GitHub as an OpenJDK Author, Committer or Reviewer.
The GitHub Guides provides a good introduction to many of the concepts on GitHub. For more information about a particular topic, see the GitHub reference documentation. If you prefer watching a video over reading an article then there are a number of good introduction videos on GitHub Guide's YouTube channel. If you want to learn using a more hands-on approach, then we recommend trying out the GitHub Learning Lab.
Note: Skara makes some slight changes to parts of the GitHub workflow, see the Workflows section for more details
As mentioned in the "Introduction" there are several workflows available depending on a contributor's preference, but they all have two things in common:
The following two sections will describe the concepts of a personal fork and a pull request in more details. If you are new to Git then we recommend that you read at least chapter 2 (Git Basics) and chapter 3 (Git Branching) in the Pro Git book before proceeding.
A personal fork is a copy of another repository with one major difference:
There are several advantages to each contributor having a personal fork of the original OpenJDK repository they want contribute to:
There is also one drawback of each contributor having a personal fork:
This single drawback is fortunately remedied with the help of tools that reduce the overhead of syncing a personal fork with the original repository to almost nothing.
An example of a personal fork is edvbld/jdk which is a personal fork of the openjdk/jdk repository.
The concept of a personal fork is present in almost all external Git source code hosting providers.
. Please do not file a request unless you are already showing up in the OpenJDK census.
After you have filed the issue and it has been handled by the Skara administrators you will get an e-mail from GitHub with an invitation to join the OpenJDK organization on GitHub. The OpenJDK organization on GitHub is just a mirror of the OpenJDK census, it is not used to control access rights to repositories etc. If you want your GitHub profile to show that you are a member of the OpenJDK organization, please see the GitHub documentation for how to enable this.
When you integrate changes to an OpenJDK repository, the author will be "Your Name <openjdk user at openjdk.org>". After completing the steps above, this email should start forwarding to the address you have registered with OpenJDK. If you add this email to your Github account, Github will automatically link your OpenJDK commits with your Github user.
The GitHub Guides provides a good introduction to many of the concepts on GitHub. For more information about a particular topic, see the GitHub reference documentation. If you prefer watching a video over reading an article then there are a number of good introduction videos on GitHub Guide's YouTube channel. If you want to learn using a more hands-on approach, then we recommend trying out the GitHub Learning Lab.
Note: Skara makes some slight changes to parts of the GitHub workflow, see the Workflows section for more details
As mentioned in the "Introduction" there are several tools a contributor can use based on their preference, but all tools realize an abstract workflow that has two distinct features:
The following two sections will describe the concepts of a personal fork and a pull request in more details. If you are new to Git then we recommend that you read at least chapter 2 (Git Basics) and chapter 3 (Git Branching) in the Pro Git book before proceeding.
The last two sections give an overview of the abstract workflow and the services and commands that Skara's server-side tooling (bots) provide.
A personal fork is a copy of another repository with one major difference:
Pull requests are most commonly created from a branch in a personal fork and are said to be targeting a branch in the original repository the fork was created from. For example Jorn has created a pull request targeting the foreign-jextract branch of the OpenJDK panama-foreign repository from the ErrorCode branch in his personal fork of the panama-foreign repository.
Reviewers can leave comments on a pull request for the author. The author can use the feedback from the reviewers to update the pull request. The pull request is updated by pushing commits to the branch in the author's personal fork that the pull request was created from.
The outcome of a pull request that has been approved by reviewers is a commit on the branch that the pull request is targeting. The pull request has then been integrated.
With the concepts of personal forks and pull requests the abstract workflow for a contributor looks like:
Note that the contributor only has to create a personal fork once, the same personal fork can be re-used for multiple pull requests. Note also that all steps in the above abstract workflow might not be needed depending on which tools the contributor choose to use to realize this workflow.
The following sections there are external links for those wishing to setup e.g. desktop applications, mobile apps and/or IDEs to integrate with a Git external source code hosting provider.
The last section will cover the Skara CLI tools which, combined with the OpenJDK mailing lists, offers a workflow similar to the traditional OpenJDK workflow.
The following desktop applications has integrations with one or more Git external source code hosting providers:
The following mobile and tablet applications integrates with one or more Git external source code hosting providers:
The following integrated development environments (IDEs) integrates with one or more Git external source code hosting providers:
The following text editors integrates with one or more Git external source code hosting providers:
The following command-line interface applications integrates with one or more Git external source code hosting providers:
The Skara tooling enables a CLI driven workflow where reviews are made either via the mailing lists or in an web browser using an external Git source code hosting provider's web application. The following CLI tools are currently available as part of project Skara:
git-jcheck - a backwards compatible Git port of jcheck
git-webrev - a backwards compatible Git port of webrev
git-defpath - a backwards compatible Git port of defpath
git-fork - fork a project on an external Git source code hosting provider to your personal space and optionally clone it
git-pr - interact with pull requests for a project on an external Git source code hosting provider
git-info - show OpenJDK information about commits, e.g. issue links, authors, contributors, etc.
git-token - interact with a Git credential manager for handling personal access tokens
git-translate - translate between Mercurial and Git hashes
git-skara - learn about and update the Skara CLI tools
As mentioned in the "Introduction", all tools support multiple external Git source code hosting providers.
It is not necessary to use the Skara tools to contribute changes. Contributors that prefer to use e.g. desktop applications, web browsers and/or IDEs that integrate with applicable external Git source code hosting providers are free to do so. See the Workflow section for other clients.
The following steps has to be once (the initial setup):
The following steps has to be done once per repository you want to contribute to:
The following steps has to be done for each change you want to make:
Every once in a while you will probably want to:
After you have used the tools for a while you will probably want to:
To install the Skara tooling, simply clone the Skara repository and include the Skara Git configuration file:
Code Block | ||
---|---|---|
| ||
$ git clone http://git.openjdk.java.net/skara
$ git config --global include.path "$PWD/skara/skara.gitconfig" |
The Skara tooling will build itself the first time you use any of the Skara commands. To check that everything works run git skara help
.
To update the Skara tooling run git skara update
. This will pull eventual updates and rebuild the tooling if necessary.
Some of the Skara tools requires a "Personal Access Token" (PAT) to authenticate against an external Git source code hosting provider's API. These tools include:
If you do not intend to use the above tools, then there is no need to set up a PAT and you can skip this section. If you want to make use of the above tools, then please read on.
The first step is to ensure you have a Git credential manager to store your PAT once it has been generated. See the subsections below for how to set up a Git credential manager for you operating system.
Windows
If you installed Git via https://gitforwindows.org/ then you already have a credential manager from Microsoft installed (it is bundled with "Git for Windows"). If you installed Git via some other mechanism, then install https://github.com/Microsoft/Git-Credential-Manager-for-Windows.
macOS
You already have a Git credential manager in Keychain, there is nothing to install or configure.
GNU/Linux
On GNU/Linux the recommended setup is to use libsecret and the "libsecret credential helper" in order to use GNOME Keyring as the Git credential manager. If you are using a desktop environment or distribution without support for GNOME Keyring, please see the "Manual" section.
Fedora
Fedora 29 and 30 (the only two currently supported versions of Fedora) comes with libsecret and GNOME Keyring installed by default. When you install the git package you also get the libsecret credential helper installed. To configure git to use the libsecret credential helper run:
Code Block | ||
---|---|---|
| ||
$ git config --global credential.helper /usr/libexec/git-core/git-credential-libsecret |
If you want to have a graphical utility to inspect the GNOME Keyring we recommend that you install GNOME Seahorse:
Code Block | ||
---|---|---|
| ||
sudo dnf install seahorse |
Ubuntu
Ubuntu 19.04 and 18.04.2 (LTS) (the only two currently supported versions of desktop Ubuntu) comes with libsecret and GNOME Keyring installed by default. Unfortunately even if you install the Git package you will not get a binary version of the libsecret credential helper installed (you only get the source). This means you have to compile the libsecret credential helper yourself. This is easy to do, it just requires two extra commands:
Code Block | ||
---|---|---|
| ||
$ sudo apt install libsecret-1-dev
$ sudo make --directory=/usr/share/doc/git/contrib/credential/libsecret |
Once you have compiled the libsecret credential helper you must configure Git to use it:
Code Block | ||
---|---|---|
| ||
$ git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret |
If you want to have a graphical utility to inspect the GNOME Keyring we recommend that you install GNOME Seahorse:
Code Block | ||
---|---|---|
| ||
$ sudo apt install seahorse |
Manual
If you are using a desktop environment or distribution without support for GNOME Keyring, or if you want to use your own scheme for storing the PAT, then that is also supported. You can store non-sensitive data such as your username and the URL of the Git source code hosting provider in your ~/.gitconfig
file in the "credential" section:
Code Block | ||
---|---|---|
| ||
[credential "https://github.com"]
username = foobar |
For the PAT itself, all Skara tools interacting with an external Git source code hosting provider's API supports the GIT_TOKEN
environment variable. This means that instead of storing your PAT in a Git credential manager you can store it e.g. encrypted on disk using gpg
and then set the GIT_TOKEN
environment variable to the decrypted value when using applicable Skara tools. For example:
Code Block | ||
---|---|---|
| ||
GIT_TOKEN=$(gpg --decrypt ~/pat.gpg) git pr list |
To create a a Personal Access Token on GitHub go to https://github.com/settings/tokens and and click on "Generate new token". You only need to select the "repo" scope (permission). After you have generated your token, store it in your credential manager using git token store
Code Block | ||
---|---|---|
| ||
$ git token store https://github.com
Username: <insert your Github username>
Password: <insert your "Personal Access Token", not your GitHub password> |
The first step in the Skara workflow is to create a personal fork of an existing OpenJDK repository. Your personal fork is a copy of the original OpenJDK repository. Having a personal fork allows you to experiment with changes without affecting the original OpenJDK project. Having a personal fork also enables you to create pull requests targeted towards the original OpenJDK repository.
Creating a personal fork is easy. Either use the GitHub web UI or use use the Skara CLI tooling. The following command will for example create a personal fork of the jdk repository.
Code Block |
---|
$ git fork https://github.com/openjdk/jdk |
The above Skara CLI command git fork
will also clone your personal fork to a local repository on your computer. One common way of structuring your local repositories is by following the domainname and path convention. This is not a requirement, but has proven to be a useful way of keeping track of multiple repositories. For an example, see below:
Code Block | ||
---|---|---|
| ||
$ tree
.
├── git
│ └── github.com
│ ├── edvbld
│ │ ├── jdk
│ │ └── loom
│ └── openjdk
│ ├── jdk
│ ├── loom
│ └── valhalla
└── hg
└── hg.openjdk.java.net
├── code-tools
│ └── jtreg
└── jdk
└── jdk |
In the above example you can see that I have two personal forks of the openjdk/jdk and openjdk/loom repositories:
For convenience I also have local clones of three upstream OpenJDK repositories: jdk, loom and valhalla.
To be able to work on mulitple changes concurrently you will want to create a local Git branch per change. Creating a local branch in Git is very easy:
Code Block | ||
---|---|---|
| ||
$ git checkout -b <branch-name> |
If you are using Git 2.24 or newer then you can also use the more recent git switch
command which reads a bit more natural:git switch --create <branch-name>
A common way of structuring your local branches is to name them after the issue they correspond to, for example JDK-8237566 (or just 8237566). After making a few changes you will start to have a couple of local branches. You can list your local branches with git branch
:
Code Block | ||
---|---|---|
| ||
$ git branch
JDK-8237566
* JDK-8149128
JDK-8077146
master |
A perhaps nicer way to visualize your branches is to view them in all a commit graph with the help of git log
:
Code Block | ||
---|---|---|
| ||
$ git log --format=oneline --graph --all |
You can switch between local branches using:
Code Block | ||
---|---|---|
| ||
$ git checkout <branch-name> |
If you are using Git 2.24 or newer then you can also use the more recent git switch
command: git switch <branch-name>
If you are used to having one local clone of a repository for each change you are working on then that is also supported. The only difference is that you first create a local clone of your personal fork, then create a local branch in that local clone. Fortunately the Skara git fork
command is idempotent - if you already have a personal fork then you will just get that one. Therefore the following commands can be run by those preferring to have one local repository per change they are working on:
language | bash |
---|
There are several advantages to each contributor having a personal fork of the original OpenJDK repository they want contribute to:
There is also one drawback of each contributor having a personal fork:
This single drawback is fortunately remedied with the help of tools that reduce the overhead of syncing a personal fork with the original repository to almost nothing.
An example of a personal fork is edvbld/jdk which is a personal fork of the openjdk/jdk repository.
The concept of a personal fork is present in almost all external Git source code hosting providers.
A pull request is a way to suggest that some changes from a personal fork should be incorporated into the original repository the personal fork was created from. Reviewers can comment upon and need to approve a pull request before it can be integrated. The concept of a pull request is very similar to OpenJDK's concept of "RFR" emails - both are used to suggest changes and offer a way for reviewers to provide feedback on the suggested changes.
Pull requests are most commonly created from a branch in a personal fork and are said to be targeting a branch in the original repository the fork was created from. For example Jorn has created a pull request targeting the foreign-jextract branch of the OpenJDK panama-foreign repository from the ErrorCode branch in his personal fork of the panama-foreign repository.
Reviewers can leave comments on a pull request for the author. The author can use the feedback from the reviewers to update the pull request. The pull request is updated by pushing commits to the branch in the author's personal fork that the pull request was created from.
The outcome of a pull request that has been approved by reviewers is a commit on the branch that the pull request is targeting. The pull request has then been integrated.
Project Skara provides contributors and reviewers with additional pull request commands that enable additional functionality. A pull request command is a comment made to a pull request that starts with a slash ("/"), for example "/integrate". This is a example where the Skara workflow differs slightly from the workflow offered by most external Git source code hosting providers - almost all external Git source code hosting providers require that a reviewer/maintainer integrates a pull request into a repository. Skara instead enables the contributor to integrate the pull request with the "/integrate" command, but the contributor can only issue the "/integrate" command once the pull request passes all pre-integration checks (e.g. jcheck).
For more information about available commands and what they do, please see the reference.
If contributor has two or more changes that internally depend on each other, it's possible to submit separate pull requests for each change using the dependent pull request feature. This makes it possible to start the review process for the dependent change before the dependency has been integrated. In a repository where this feature is active, every open pull request gets an automatically updated branch that mirrors the contents of the pull request source branch. The branch is named pr/<ID>
. To create a pull request that depends on another pull request, make the dependent pull request target the pr/X branch of the dependency. Once the parent pull request has been integrated, any dependent pull requests are automatically retargeted to the same target as the dependency was. The dependent pull request is also blocked from integrating as long as it's targeting a pr/X branch.
Note that not all repositories have this feature enabled. If you own a project repository and would like this feature enabled, please file a Skara admin ticket.
With the concepts of personal forks and pull requests the abstract and high-level workflow for a contributor looks like:
Note that the contributor only has to create a personal fork once, the same personal fork can be re-used for multiple pull requests. Note also that all steps in the above abstract workflow might not be needed depending on which tools the contributor choose to use to realize this workflow.
A contributor can choose between multiple different tools to achieve a workflow suited to their personal preferences. Some contributors might prefer a close integration with their IDE of choice while others might work on servers not even having a graphical environment. A contributor can also choose to combine multiple different tools to great effect. We can not in detail cover all possible setups, but the most common ones will be covered in the section Recommended Setups.
The following sections provides external links for those wishing to setup e.g. desktop applications, mobile apps and/or IDEs to integrate with a Git external source code hosting provider.
The following desktop applications has integrations with one or more external Git source code hosting providers:
The following mobile and tablet applications integrates with one or more external Git source code hosting providers:
The following integrated development environments (IDEs) integrates with one or more external Git source code hosting providers:
The following text editors integrates with one or more external Git source code hosting providers:
The following command-line interface applications integrates with one or more Git external source code hosting providers:
The following web applications (web sites) can be used from a web browser:
Skara enables two-way synchronization between the OpenJDK mailing lists and external Git source soure code hosting providers. This enables contributors and reviewers to use the OpenJDK mailing lists for discussing pull requests. The following email clients are recommended to interact with OpenJDK mailing lists:
The following sections describe recommended setups and provide a good starting to point for further exploration of other tools. For contributors who are completely new to Git and external Git source code hosting providers we recommend starting out with using the Git CLI client and a web application via a web browser. Many other tools assume a familiarity with this setup and it is also the most well documented. For contributors who are new to Git and not as used to the command-line we recommended starting out with a Git desktop client and a web application via web browser. For a bit more experienced contributors primarily using CLI applications we recommend using the Skara CLI tools and the OpenJDK mailing lists.
This setup uses the Git CLI client in combination with a web browser to use the external Git source code hosting provider's web application. To use this setup contributors must have the following applications installed:
Contributors will start out by creating a personal fork of the upstream OpenJDK repository they want to contribute to. The contributor will then use a terminal emulator and the Git CLI client to clone the personal fork to local repository on their computer (see chapter 2 "Git Basics" for how to do this). The contributor will create a local branch and then continue to make a number of local commits on that local branch. Finally, when the contributor is ready to propose the change, they will push their local branch (with the local commits) to their personal fork. The following is an example of Erik cloning his personal fork of the OpenJDK Skara repository, making a branch, making a commit and finally pushing the branch and commit to his personal fork:
Code Block | ||
---|---|---|
| ||
$ git clone https://github.com/edvbld/skara
cloning into 'skara'...
remote: Enumerating objects: 48, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 13764 (delta 5), reused 40 (delta 3), pack-reused 13716
Receiving objects: 100% (13764/13764), 2.18 MiB | 941.00 KiB/s, done.
Resolving deltas: 100% (4565/4565), done.
$ cd skara
$ git checkout -b SKARA-296
Switched to a new branch 'SKARA-296'
$ # hack, hack
$ git add <paths/to/files/that/have/changed>
$ git commit -m skara-296
[SKARA-296 88d7b01] skara-296
1 file changed, 17 insertions(+), 4 deletions(-)
$ git push --set-upstream origin SKARA-296
Enumerating objects: 25, done.
Counting objects: 100% (25/25), done.
Delta compression using up to 8 threads
Compressing objects: 100% (8/8), done.
Writing objects: 100% (13/13), 1.11 KiB | 1.11 MiB/s, done.
Total 13 (delta 3), reused 0 (delta 0)
remote: Resolving deltas: 100% (3/3), completed with 3 local objects.
remote:
remote: Create a pull request for 'SKARA-296' on GitHub by visiting:
remote: https://github.com/edvbld/skara/pull/new/SKARA-296
remote:
To https://github.com/edvbld/skara
* [new branch] SKARA-296 -> SKARA-296 |
The contributor will create the pull request by clicking on the link shown in the output of the command git push --set-upstream origin SKARA-296
. The contributor will then continue to interact with reviewers and making pull request commands via the web browser and the external Git source code hosting provider's web application.
Note that withthis setup the terminal session does not have to be on the same computer as the web browser - it is perfectly fine to have the Git repository on a server that the contributor SSH into and then have the web browser on another machine.
Once the contributor has created a couple of pull requests they will probably want to do some additional configuration to speed up parts of the workflow. We would recommend exploring the following items:
This setup is very similar to Git CLI Client + Web Browser but instead of using the Git CLI client for interacting with a local and/or remote Git repository, you use a desktop application. If you are using macOS or Windows as your operating system, then we recommend the SourceTree Git desktop application. If you want a Git desktop application that is more integrated with GitHub, then we recommend GitHub Desktop.
This setup is the one with the most in common with the traditional OpenJDK workflow. Contributors will use the Skara CLI tools to create, list, update and integrate pull requests while using the OpenJDK mailing lists to interact with reviewers and add comments to pull requests (thanks to Skara prodiving bi-directional synchronization between mailing lists and external Git source code hosting providers). See the Skara CLI tools page for more information about this setup.
To report any issues, please file a bug on the Skara project in the JDK Bug System (JBS). If you have any questions and/or comments, then you can also send an e-mail to project Skara's mailing list.