git::repository::log::iterator(3pm) [debian man page]
Git::Repository::Log::Iterator(3pm) User Contributed Perl Documentation Git::Repository::Log::Iterator(3pm)NAME
Git::Repository::Log::Iterator - Split a git log stream into records
SYNOPSIS
use Git::Repository::Log::Iterator;
# use a default Git::Repository context
my $iter = Git::Repository::Log::Iterator->new('HEAD~10..');
# or provide an existing instance
my $iter = Git::Repository::Log::Iterator->new( $r, 'HEAD~10..' );
# get the next log record
while ( my $log = $iter->next ) {
...;
}
DESCRIPTION
"Git::Repository::Log::Iterator" initiates a git log command from a list of paramaters and parses its output to produce
"Git::Repository::Log" objects represening each log item.
METHODS
new( @args )
Create a new git log stream from the parameter list in @args and return a iterator on it.
"new()" will happily accept any parameters, but note that "Git::Repository::Log::Iterator" expects the output to look like that of
"--pretty=raw", and so will force the the "--pretty" option (in case "format.pretty" is defined in the Git configuration).
Extra output (like patches) will be stored in the "extra" parameter of the "Git::Repository::Log" object. Decorations will be lost.
When unsupported options are recognized in the parameter list, "new()" will "croak()" with a message advising to use "run( 'log' => ... )"
to parse the output yourself.
next()
Return the next log item as a "Git::Repository::Log" object, or nothing if the stream has ended.
AUTHOR
Philippe Bruhat (BooK), "<book at cpan.org>"
COPYRIGHT
Copyright 2010 Philippe Bruhat (BooK), all rights reserved.
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-12-28 Git::Repository::Log::Iterator(3pm)
Check Out this Related Man Page
Git::PurePerl(3pm) User Contributed Perl Documentation Git::PurePerl(3pm)NAME
Git::PurePerl - A Pure Perl interface to Git repositories
SYNOPSIS
my $git = Git::PurePerl->new(
directory => '/path/to/git/'
);
$git->master->committer;
$git->master->comment;
$git->get_object($git->master->tree);
DESCRIPTION
This module is a Pure Perl interface to Git repositories.
It was mostly based on Grit <http://grit.rubyforge.org/>.
METHODS
master
get_object
get_object_packed
get_object_loose
create_object
all_sha1s
MAINTAINANCE
This module is maintained in git at http://github.com/bobtfish/git-pureperl/ <http://github.com/bobtfish/git-pureperl/>.
Patches are welcome, please come speak to one of the Gitalist team on "#gitalist".
AUTHOR
Leon Brocard <acme@astray.com>
CONTRIBUTORS
Chris Reinhardt
Tomas (t0m) Doran
Dan (broquaint) Brook
Alex Vandiver
Dagfinn Ilmari Mannsaaker
COPYRIGHT
Copyright (C) 2008, Leon Brocard and the above mentioned contributors.
LICENSE
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
perl v5.14.2 2011-07-15 Git::PurePerl(3pm)
Hello all,
I am pretty new and UNIX scripting. I am trying to write a script that will caputure some information from a log, without opening a log. Can you please point me in the right direction.
Thanks,
Keyur (5 Replies)
I have a incoming print stream from a Open Vms server that I need to redirect to a log file. The print stream comes in via a IP address and port onto the Unix server. Does anyone know the command and syntax that I will need to use to achieve this?
Thanks (3 Replies)
hi all, i'm a student and managing lab at my insti. there in one application in which log file has to be maintaine the number of bytes transferred and received. but after certain entries these two attributes stop getting updated and holds same values for rest of the session. This happens one time... (4 Replies)
Hi,
I am trying to run some SQL scripts under the UNIX server using BTEQ. When I try to create a log file, the file gets populated only to the point where I log into BTEQ.
The log file for the running of the actual script does not seem to be stored.
Would any one know ehy this could be... (3 Replies)
Hello all,
I've got what I'm pretty sure is a simple problem, but I just can't seem to work past it. I'm trying to use awk to pretty up a log file, and calculate a percentage.
The log file looks like this:
# tail strtovrUsage
20090531-18:15:45 RSreq - 24, RSsuc - 24, RSrun - 78, RSerr -... (4 Replies)
So I'm pretty green still at this, and right now I don't even have the IF statements in just trying to get this part to work. I want to basically click optino 1,2,3,4 for which logs I want to search, and then be able to put in the variable I want to grep out? Sounds easy just not clear in my mind... (4 Replies)
Hi ,
I am running a backgorund process called hello.sh
./hello &
Now i need to capture the log file as it produces the output .
i am not able to use " >> " nor " tee " to capture the output file / log file .
Please let me know how can i do it ?
Regards,
Deepak Konnur (3 Replies)
Hi Gurus of UNIX, Can you tell me what are the best Repository in Unix:
In Internet I found the following:
sunfreeware
pkg set-authority -O http://pkg.sunfreeware.com:9000 sunfreeware.com The popular sunfreeware collection in the IPS format
blastwave
pkg set-authority -O... (5 Replies)
Hi All,
Below is my requirement.
I need to pick the certain content from log file and display. for example log file consist of following information
project1
project2
project3
filename1, size1, ower1, datecreated
filename2, size2, ower2, datecreated
filename3, size3, ower3,... (6 Replies)
I am having a big problem with lost internet connections with my DSL.
I would like to create a log to be able to show the technician when he comes next week.
I would like for it to only log pings that generate 100% packet loss. Thanks..
This script generates all ping attempts including... (4 Replies)