GitXplorerGitXplorer
j

hoe-git

public
25 stars
13 forks
5 issues

Commits

List of commits on branch master.
Unverified
f29fa4fc26c3f90fbe19db8103da43b6607ad904

Merge pull request #12 from PuzzleFlow/master

zzenspider committed 10 years ago
Unverified
03a459c55982770c8fad1d6429fbabfcf4640d59

Fix shell escaping on Windows

committed 10 years ago
Unverified
1030031db62b439784ddbc7eb23deea44c1a2040

Update CHANGELOG for 1.6.0

ddrbrain committed 11 years ago
Unverified
2269001c3f0894c131dca80265a7642cdf0962a1

Set license in gemspec

ddrbrain committed 11 years ago
Unverified
b23d1bfe8cea042f62123cae76fb1813e43394a6

+ Added signed tag support to hoe-git

ddrbrain committed 12 years ago
Unverified
a430873506a29570612db5e7427c77e9fffbd534

hoe-git docs are now published on docs.seattlerb.org

ddrbrain committed 13 years ago

README

The README file for this repository.

= Hoe Loves Git

== Description

A set of Hoe plugins for tighter Git integration. Provides tasks to automate release tagging and pushing and changelog generation. I expect it'll learn a few more tricks in the future.

== Examples

# in your Rakefile
Hoe.plugin :git

If this plugin doesn't see a .git directory at the root of your project, it'll silently deactivate itself.

=== Autogenerating the Changelog

$ rake git:changelog

This takes all the commit messages since your last release and formats 'em into a nice RDoc fragment. If you specify VERSION, it'll be used in the changelog fragment. If you specify FROM, it'll be used as a starting point for the changelog instead of your last tagged release.

The rdoc is automatically formatted into sections by using "annotated commit messages" by using a simple format for multi-line commit messages:

! major change description.
+ minor change description.
- bug fix description.
un-logged description (for minor stuff like re-formatting).

=== Generating the Manifest

$ rake git:manifest

This will regenerate Manifest.txt using git ls-files. It respects Hoe's manifest sort order and excludes.

=== Tagging and Sanity Checking a Release

$ rake release VERSION=1.0.0

In addition to the normal RubyForge release process, this will create and push a v1.0.0 tag. It'll also abort the release if your index is dirty, or if there are untracked files present.

=== git-svn

The git:changelog and git:tag tasks understand git-svn repositories, and will adjust their behavior accordingly.

== Dependencies

Hoe and Git, obviously. I wouldn't be surprised if things don't quite work for git < 1.6.3.

== Installation

$ gem install hoe-git

== TODO

  • Release tags are sorted lexicographically right now, which won't work for long.

== License

Copyright 2009 John Barnette (jbarnette@rubyforge.org)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.