line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# This file is part of Dist-Zilla-Plugin-Git |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# This software is copyright (c) 2009 by Jerome Quelin. |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
# This is free software; you can redistribute it and/or modify it under |
7
|
|
|
|
|
|
|
# the same terms as the Perl 5 programming language system itself. |
8
|
|
|
|
|
|
|
# |
9
|
1
|
|
|
1
|
|
656883
|
use 5.008; |
|
1
|
|
|
|
|
3
|
|
10
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
11
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
69
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
package Dist::Zilla::Plugin::Git; # git description: v2.047-4-g1da1f49 |
14
|
|
|
|
|
|
|
# ABSTRACT: Update your git repository after release |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
our $VERSION = '2.048'; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__END__ |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=pod |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=encoding UTF-8 |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 NAME |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Dist::Zilla::Plugin::Git - Update your git repository after release |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 VERSION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
version 2.048 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 DESCRIPTION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
This set of plugins for L<Dist::Zilla> can do interesting things for |
37
|
|
|
|
|
|
|
module authors using Git (L<https://git-scm.com>) to track their work. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
You need Git 1.5.4 or later to use these plugins. Some plugins |
40
|
|
|
|
|
|
|
require a more recent version of Git for certain features. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head2 The @Git Bundle |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
The most commonly used plugins are part of the |
45
|
|
|
|
|
|
|
L<@Git bundle|Dist::Zilla::PluginBundle::Git>. They are: |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=over 4 |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=item * L<Git::Check|Dist::Zilla::Plugin::Git::Check> |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Before a release, check that the repo is in a clean state |
52
|
|
|
|
|
|
|
(you have committed your changes). |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=item * L<Git::Commit|Dist::Zilla::Plugin::Git::Commit> |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
After a release, commit updated files. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=item * L<Git::Tag|Dist::Zilla::Plugin::Git::Tag> |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
After a release, tag the just-released version. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=item * L<Git::Push|Dist::Zilla::Plugin::Git::Push> |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
After a release, push the released code & tag to your public repo. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=back |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head2 Non-Bundled Plugins |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
The other plugins in this distribution are not included in the @Git |
71
|
|
|
|
|
|
|
bundle, either because they conflict with L<Dist::Zilla>'s |
72
|
|
|
|
|
|
|
L<@Basic bundle|Dist::Zilla::PluginBundle::Basic> or because they |
73
|
|
|
|
|
|
|
have more specialized uses. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=over 4 |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=item * L<Git::CommitBuild|Dist::Zilla::Plugin::Git::CommitBuild> |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Commits the released files to a separate branch of your repo. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=item * L<Git::GatherDir|Dist::Zilla::Plugin::Git::GatherDir> |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
A replacement for Dist::Zilla's standard |
84
|
|
|
|
|
|
|
L<GatherDir|Dist::Zilla::Plugin::GatherDir> plugin that gathers |
85
|
|
|
|
|
|
|
files based on whether they are tracked by Git (conflicts with @Basic |
86
|
|
|
|
|
|
|
because that includes GatherDir). |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=item * L<Git::Init|Dist::Zilla::Plugin::Git::Init> |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
Can be used in a minting profile |
91
|
|
|
|
|
|
|
(L<http://dzil.org/tutorial/minting-profile.html>) |
92
|
|
|
|
|
|
|
to initialize and configure your Git repo automatically |
93
|
|
|
|
|
|
|
when you do S<C<dzil new>>. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=item * L<Git::NextVersion|Dist::Zilla::Plugin::Git::NextVersion> |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
Calculates the version number of your distribution from your Git tags |
98
|
|
|
|
|
|
|
using L<Version::Next>. |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=back |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head1 SUPPORT |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
Bugs may be submitted through L<the RT bug tracker|https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Git> |
105
|
|
|
|
|
|
|
(or L<bug-Dist-Zilla-Plugin-Git@rt.cpan.org|mailto:bug-Dist-Zilla-Plugin-Git@rt.cpan.org>). |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
There is also a mailing list available for users of this distribution, at |
108
|
|
|
|
|
|
|
L<http://dzil.org/#mailing-list>. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
There is also an irc channel available for users of this distribution, at |
111
|
|
|
|
|
|
|
L<C<#distzilla> on C<irc.perl.org>|irc://irc.perl.org/#distzilla>. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head1 AUTHOR |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
Jerome Quelin |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=head1 CONTRIBUTORS |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=for stopwords Christopher J. Madsen Jérôme Quelin Karen Etheridge Kent Fredric Yanick Champoux Ricardo Signes David Golden Graham Knop Mike Friedman Chris Weyl Stephen R. Scaffidi Apocalypse Curtis Jewell Barr Doherty Randy Stauner Alessandro Ghedini Alexandr Ciornii Brendan Byrd Brian Phillips Steinbrunner Geoffrey Broadwell Harley Pig Jesse Luehrs Matt Follett Michael McClimon Schout Nigel Metheringham Olivier Mengué Sean Whitton Tatsuhiko Miyagawa Tuomas Jormola |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=over 4 |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=item * |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
Christopher J. Madsen <perl@cjmweb.net> |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=item * |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
Jérôme Quelin <jquelin@gmail.com> |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=item * |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
Karen Etheridge <ether@cpan.org> |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=item * |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
Kent Fredric <kentfredric@gmail.com> |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=item * |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
Yanick Champoux <yanick@babyl.dyndns.org> |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
=item * |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
Ricardo Signes <rjbs@cpan.org> |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=item * |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
David Golden <dagolden@cpan.org> |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=item * |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
Graham Knop <haarg@haarg.org> |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=item * |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
Mike Friedman <friedo@friedo.com> |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=item * |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
Chris Weyl <cweyl@alumni.drew.edu> |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=item * |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
Stephen R. Scaffidi <sscaffid@akamai.com> |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=item * |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
Apocalypse <perl@0ne.us> |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=item * |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
Curtis Jewell <CSJEWELL@cpan.org> |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
=item * |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
Graham Barr <gbarr@pobox.com> |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=item * |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
Mike Doherty <doherty@cs.dal.ca> |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=item * |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
Randy Stauner <randy@magnificent-tears.com> |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
=item * |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
Alessandro Ghedini <al3xbio@gmail.com> |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=item * |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
Alexandr Ciornii <alexchorny@gmail.com> |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
=item * |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
Brendan Byrd <Perl@ResonatorSoft.org> |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
=item * |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
Brian Phillips <bphillips@digitalriver.com> |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
=item * |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
David Steinbrunner <dsteinbrunner@pobox.com> |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
=item * |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
Geoffrey Broadwell <geoffb@corp.sonic.net> |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
=item * |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
Harley Pig <harleypig@gmail.com> |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
=item * |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
Jesse Luehrs <doy@tozt.net> |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
=item * |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
Matt Follett <matt.follett@gmail.com> |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
=item * |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
Michael McClimon <michael@mcclimon.org> |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
=item * |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
Michael Schout <mschout@gkg.net> |
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
=item * |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
Nigel Metheringham <nigel.metheringham@dev.intechnology.co.uk> |
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
=item * |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
Olivier Mengué <dolmen@cpan.org> |
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
=item * |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
Sean Whitton <spwhitton@spwhitton.name> |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
=item * |
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
Tatsuhiko Miyagawa <miyagawa@bulknews.net> |
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
=item * |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
Tuomas Jormola <tj@solitudo.net> |
250
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
=back |
252
|
|
|
|
|
|
|
|
253
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENCE |
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
This software is copyright (c) 2009 by Jerome Quelin. |
256
|
|
|
|
|
|
|
|
257
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
258
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
=cut |