Skip to content

Commit f97c57c

Browse files
authored
Announce the 2.0.0 pre-release (#682)
* Announce the 2.0.0 pre-release * Instruct JRuby on Windows users to stay with the 1.x release line Signed-off-by: James Couball <jcouball@yahoo.com>
1 parent b588e66 commit f97c57c

File tree

2 files changed

+43
-14
lines changed

2 files changed

+43
-14
lines changed

README.md

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,41 @@
55

66
# The Git Gem
77

8-
The Git Gem provides an API that can be used to create, read, and manipulate
9-
Git repositories by wrapping system calls to the `git` binary. The API can be
10-
used for working with Git in complex interactions including branching and
11-
merging, object inspection and manipulation, history, patch generation and
12-
more.
8+
[![Gem Version](https://badge.fury.io/rb/git.svg)](https://badge.fury.io/rb/git)
9+
[![Documentation](https://img.shields.io/badge/Documentation-Latest-green)](https://rubydoc.info/gems/git/)
10+
[![Change Log](https://img.shields.io/badge/CHANGELOG-Latest-green)](https://rubydoc.info/gems/git/file/CHANGELOG.md)
11+
[![Build Status](https://github.com/ruby-git/ruby-git/workflows/CI/badge.svg?branch=master)](https://github.com/ruby-git/ruby-git/actions?query=workflow%3ACI)
12+
[![Code Climate](https://codeclimate.com/github/ruby-git/ruby-git.png)](https://codeclimate.com/github/ruby-git/ruby-git)
13+
14+
The [git gem](https://rubygems.org/gems/git) provides an API that can be used to
15+
create, read, and manipulate Git repositories by wrapping system calls to the `git`
16+
command line. The API can be used for working with Git in complex interactions
17+
including branching and merging, object inspection and manipulation, history, patch
18+
generation and more.
19+
20+
## v2.0.0 pre-release
21+
22+
git 2.0.0 is available as a pre-release version for testing! Please give it a try.
23+
24+
**JRuby on Windows is not yet supported by the 2.x release line. Users running JRuby
25+
on Windows should continue to use the 1.x release line.**
26+
27+
The changes coming in this major release include:
28+
29+
* Create a policy of supported Ruby versions to support only non-EOL Ruby versions
30+
* Create a policy of supported Git CLI versions (released 2020-12-25)
31+
* Update the required Ruby version to at least 3.0 (released 2020-07-27)
32+
* Update the required Git command line version to at least 2.28
33+
* Update how CLI commands are called to use the [process_executer](https://github.com/main-branch/process_executer)
34+
gem which is built on top of [Kernel.spawn](https://ruby-doc.org/3.3.0/Kernel.html#method-i-spawn).
35+
See [PR #617](https://github.com/ruby-git/ruby-git/pull/617) for more details
36+
on the motivation for this implementation.
37+
38+
The tentative plan is to release `2.0.0` near the end of March 2024 depending on
39+
the feedback received during the pre-release period.
40+
41+
The `master` branch will be used for `2.x` development. If needed, fixes for `1.x`
42+
version will be done on the `v1` branch.
1343

1444
## Homepage
1545

@@ -41,9 +71,6 @@ sudo gem install git
4171

4272
## Code Status
4373

44-
* [![Build Status](https://github.com/ruby-git/ruby-git/workflows/CI/badge.svg?branch=master)](https://github.com/ruby-git/ruby-git/actions?query=workflow%3ACI)
45-
* [![Code Climate](https://codeclimate.com/github/ruby-git/ruby-git.png)](https://codeclimate.com/github/ruby-git/ruby-git)
46-
* [![Gem Version](https://badge.fury.io/rb/git.svg)](https://badge.fury.io/rb/git)
4774

4875
## Major Objects
4976

git.gemspec

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,19 @@ Gem::Specification.new do |s|
99
s.name = 'git'
1010
s.summary = 'An API to create, read, and manipulate Git repositories'
1111
s.description = <<~DESCRIPTION
12-
The Git Gem provides an API that can be used to create, read, and manipulate
13-
Git repositories by wrapping system calls to the `git` binary. The API can be
14-
used for working with Git in complex interactions including branching and
15-
merging, object inspection and manipulation, history, patch generation and
16-
more.
12+
The git gem provides an API that can be used to
13+
create, read, and manipulate Git repositories by wrapping system calls to the git
14+
command line. The API can be used for working with Git in complex interactions
15+
including branching and merging, object inspection and manipulation, history, patch
16+
generation and more.
1717
DESCRIPTION
1818
s.version = Git::VERSION
1919

20+
2021
s.metadata['homepage_uri'] = s.homepage
2122
s.metadata['source_code_uri'] = s.homepage
22-
s.metadata['changelog_uri'] = 'http://rubydoc.info/gems/git/file.CHANGELOG.html'
23+
s.metadata['changelog_uri'] = "https://rubydoc.info/gems/#{s.name}/#{s.version}/file/CHANGELOG.md"
24+
s.metadata['documentation_uri'] = "https://rubydoc.info/gems/#{s.name}/#{s.version}"
2325

2426
s.require_paths = ['lib']
2527
s.required_ruby_version = '>= 2.3'

0 commit comments

Comments
 (0)