----------------------------------------
1.320 2016-06-12 BOOK
[ENHANCEMENTS]
- Rewrite Git::Repository::Command's final_output() using
System::Command's loop_on()
[TESTS]
- Fix a test that failed with Git versions with "comments" (Samit Badle)
- BUILD_DEPENDS+= added for make test
p5-namespace-autoclean-[0-9]*:../../devel/p5-namespace-autoclean
p5-Test-Requires-Git-[0-9]*:../../devel/p5-Test-Requires-Git
(upstream)
- Updated devel/p5-Git-Repository to 1.319
----------------------------------------
1.319 2016-05-18 BOOK
[DEPRECATION]
- The has_git() test function from Test::Git is now obsoleted by
Test::Requires::Git. It will issue a warning for now, and will be
removed in a future version.
[DOCUMENTATION]
- Added tutorial entry "Initialize a test repository with a bundle"
- Updated the "Sort git versions" tutorial entry with Git::Version::Compare
[TESTS]
- Use Test::Requires::Git instead of has_git to check if git is available
- Fix a number of failing tests related to an incorrect plan (oops)
or local git commit hooks.
Update DEPENDS
Upstream changes:
1.318 2016-03-12 BOOK
[ENHANCEMENTS]
- Extend version support to all existing version
- Let Git::Version::Compare handle all version comparison code
- eg/build-git can now build all Git versions since 1.0.0
[DOCUMENTATION]
- Minor documentation updates
- URL corrections by DOLMEN
1.317 2016-02-13 BOOK
[ENHANCEMENTS]
- improved git binary detection in Git::Repository::Command
- fixed version comparisons for 1.0.0a and 1.0.0b under Perl 5.6
- test_repository( clone => ... ) now dies with a useful message
when trying to call it with a broken Git
- Git::Repository::Util provides utility functions for Git stuff
- eg/build-git: a utility to build and install any Git version
[DOCUMENTATION]
- Tutorial entry: "Ignore the system and global configuration files"
- spelling fix (RT #110027 by Gregor Herrmann)
[TEST]
- fix RT #89086 (reported by Alex Raguero)
- new test: t/test-all-git.t to run the test suite against a directory
full of git builds (if available)
- tested against 513 versions of git (including all RC),
from 1.0.0 to 2.7.1
1.316 2015-12-02 BOOK
[ENHANCEMENTS]
- avoid a warning if the filehandles have already been closed
(related to System::Command 1.114 'interactive' option)
[DOCUMENTATION]
- add examples for `git log` and using callbacks with `$r->run`
in Git::Repository::Tutorial
[TESTS]
- git-2.5.2 test suite compatibility fix (Petr �abata)
Issues found with existing distfiles:
distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
distfiles/fortran-utils-1.1.tar.gz
distfiles/ivykis-0.39.tar.gz
distfiles/enum-1.11.tar.gz
distfiles/pvs-3.2-libraries.tgz
distfiles/pvs-3.2-linux.tgz
distfiles/pvs-3.2-solaris.tgz
distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
---------------------
1.315 Wed Jul 29 2015
[ENHANCEMENTS]
- Show exit status in 'unknown git error' message (TIMB)
1.314 Sat May 23 2015
[ENHANCEMENTS]
- simplified the internals of version comparisons
- give the correct result for comparisons involving 1.0.0a and 1.0.0b
---------------
1.313 Sat Mar 21 2015
[DOCUMENTATION]
- add a section about Git::Raw in the SEE ALSO (written by its author)
- document the availability of Git.pm on CPAN
- added the list of contributors to the META file
---------------------
1.312 Sun Aug 3 2014
[ENHANCEMENTS] - test_repository() uses `git init-db` for init under older git
versions (although the test suite hasn't yet been adapted to
support really old versions of git)
- fixed a typo in the error message for test_repository()
[TESTS]
- made some tests for failure a little more lax when looking for
the "fatal:" string in the errput (i.e. look for it at the beginning
of any line, not just the firts)
[DOCUMENTATION]
- various minor documentation improvements
- the "OTHER GIT WRAPPERS" is really a "SEE ALSO" section
1.311 Sun Mar 9 2014
[ENHANCEMENTS]
- avoid warnings from _is_git() when we get nothing out of "git"
[DOCUMENTATION]
- pod syntax fix
- fix typo in Todd Rinaldo's name
- acknowledge Nathan Nutter's help in designing the clone option
to test_repository()
1.310 Fri Jan 17 2014
[ENHANCEMENTS]
- add support for a 'clone' option in test_repository()
[DOCUMENTATION]
- better document the test_repository() options
- better document the options hash
- make method names easier to link to throughout the documentation
[TESTS]
- tested against 350 versions of git (including all RC),
from 1.5.0.rc0 to 1.8.5.3
1.309 Sat Nov 2 2013
[TESTS]
- replace use_ok by simply running perl -M$module -e1
[DOCUMENTATION]
- some guidelines for naming attributes in plugins
[PACKAGING]
- split Git::Repository::Plugin::Log and its supporting modules
(Git::Repository::Log and Git::Repository::Log::Iterator) out
in their own distribution (Git-Repository-Plugin-Log) as of
version 1.309 of both distributions
1.308 Thu Aug 8 2013
[ENHANCEMENTS]
- require System-Command 1.103, since 1.102 was somewhat broken
[DOCUMENTATION]
- new tutorial item based on RT#87334
1.307 Fri Jul 26 2013
[ENHANCEMENTS]
- avoid creating zombie processes in _is_git
- require the latest System-Command, as it properly works with
FCGI, Plack et al.
[DOCUMENTATION]
- various minor documentation improvements
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
Upstream changes:
1.306 Tue Jul 2 2013
[DOCUMENTATION]
- document how to run git from cwd in Git::Repository::Tutorial
(follow-up of RT #86154, thanks to Daniel B. Boorstein (DANBOO))
- document how to avoid the translation of Git messages by using
LC_ALL=C in Git::Repository::Tutorial
[TESTS]
- made tests more robust no matter which locale is defined
(thanks to Lars Dieckow (DAXIM))
1.305 Sun Jun 16 2013
[DOCUMENTATION]
- list the 'fatal' option in the documentation for run()
[TESTS]
- various fixes for t/24-errors.t
(mostly for Win32, thanks to Christian Walde (MITHALDU))
1.304 Sat May 25 2013
[ENHANCEMENTS]
- the new 'fatal' option makes it possible to define in detail
which exit status codes will make run() die, in addition to
the defaults 128 and 129 (many thanks to Grant McLean for
a great discussion about this, which inspired the feature)
[DOCUMENTATION]
- add a section about 'fatal' in Git::Repository::Tutorial
[TESTS]
- let Dist::Zilla manage the author tests
- fixed tests with older gits, and also moved requirements
for some tests a little bit further in the past
- tested against 326 versions of git (including all RC),
from 1.5.0.rc0 to 1.8.3.rc3
1.303 Sun Apr 28 2013
[ENHANCEMENTS]
- now depends on System::Command 1.100 for proper Win32 support
- thanks to a lot of testing help from Christian Walde (MITHALDU)
the test suite passes on Win32 (by skipping tests of little
importance)
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
Upstream changes:
1.302 Fri Mar 1 2013
[ENHANCEMENTS]
- Git::Repository::Plugin::Log is now able to parse commits
with completely empty log messages
- Git::Repository::Plugin::Log is now able to parse commits
containing multiline headers (like gpgsig and mergetag)
1.301 Mon Jan 21 2013
[DEPRECATION]
- the following Git::Repository methods are obsolete,
and will die when called: create, wc_path, repo_path
- the following parameters to Git::Repository->new are obsolete,
and will cause the constructor to die: repository, working_copy
[PACKAGING]
- switch to Dist::Zilla for maintaining the distribution
1.300 Mon Jan 7 2013
[ENHANCEMENTS]
- fixed support for overloaded objects (e.g. Path::Class objects)
in Git::Repository::Command (RT #82373)
- fixed Git::Repository::Log::Iterator to work with older gits
when disabling colored output (thanks to Dominic Humphries)
- fixed some cases where Git::Repository::Command and Git::Repository
new() methods ignored some of their parameters. They now die when
passed ambiguous or unexpected parameters.
(follow-up of RT #82373, thanks to Michael G. Schwern)
1.29 Tue Dec 4 2012
[ENHANCEMENTS]
- added support for callbacks in run()
[DOCUMENTATION]
- minor documentation improvements
1.28 Sun Nov 4 2012
[ENHANCEMENTS]
- disabled colored output from logs in Git::Repository::Log::Iterator
- wc_path() and repo_path() accessors are deprecated and now warn
- improved the inter-documentation links by liberal use of L<>
[TESTS]
- ignore commit hooks that may be included with templates (RT #80593)
- test for quiet won't fail if no identity is defined (RT #80321)
Upstream changes:
1.27 Thu Oct 11 2012
[ENHANCEMENTS]
- Git::Repository::Command skips non-executable files when searching
for a git command in the PATH
[TEST]
- Fixed tests failing with a directory named git in the PATH (RT #80117)
from 1.25 to 1.26.
pkgsrc changes:
1.26 Tue Aug 1 2012
[ENHANCEMENTS]
- added a 'quiet' option to silence warnings
- improved carp level for the run() method
[DOCUMENTATION]
- provide an example for the 'quiet' option in
Git::Repository::Tutorial
devel/p5-Git-Repository from 1.22 to 1.25
Upstream changes:
1.25 Tue Dec 27 23:07:11 CET 2011
[ENHANCEMENTS]
- None. It's as good as 1.24, without the stupid test fail.
[TESTS]
- fixed a test plan when a git binary is not available
1.24 Mon Dec 26 14:51:36 CET 2011
[ENHANCEMENTS]
- the command cache for _is_git() is now properly populated
when the git option is a command with options (e.g. sudo)
- _is_git() still finds git when the PATH contains a directory
named git in a better position (RT #72154)
- Fix spelling errors fixed in Debian (RT #73079)
- Defend against changes to $/ (RT #71621)
1.23 Sun Dec 4 16:06:08 CET 2011
[TESTS]
- made t/07-version.t pass when /tmp is mounted noexec (RT #72610)
devel/p5-Git-Repository.
Git::Repository is an interface to Git for the Perl programming language,
for scripted interactions with repositories. It's a low-level interface
that allows calling any Git command, whether porcelain or plumbing,
including bidirectional commands such as git commit-tree.
A Git::Repository object simply provides context to the git commands being
run. It is possible to call the command() and run() methods against the
class itself, and the context (typically current working directory) will
be obtained from the options and environment.