[pkg-perl-tools] 04/05: Update Debian::PkgPerl::GitHub

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch fallback-for-github-pull-requests
in repository pkg-perl-tools.

commit 230242f360da27f81c018553757495dcdd48a2dd
Author: Alex Muntada 
Date:   Sat Dec 3 04:54:41 2016 +0100

Update Debian::PkgPerl::GitHub

- Add support for Debian::PkgPerl::Message
- Remove bug method.
- Remove patch method.
---
 lib/Debian/PkgPerl/GitHub.pm | 200 ---
 scripts/forward  |  26 ++
 t/github.t   |  36 +---
 3 files changed, 82 insertions(+), 180 deletions(-)

diff --git a/lib/Debian/PkgPerl/GitHub.pm b/lib/Debian/PkgPerl/GitHub.pm
index 34c52d1..c4d41bd 100644
--- a/lib/Debian/PkgPerl/GitHub.pm
+++ b/lib/Debian/PkgPerl/GitHub.pm
@@ -10,18 +10,42 @@ Debian::PkgPerl::GitHub - Help forwarding a bug or a patch 
to GitHub
 
 =head1 SYNOPSIS
 
+use Debian::PkgPerl::Bug;
+use Debian::PkgPerl::Patch;
+use Debian::PkgPerl::Message;
 use Debian::PkgPerl::GitHub;
 
-my $url = 'https://github.com/foo/bar/issues';
-my $gh  = Debian::PkgPerl::GitHub->new(tracker => $url);
-
 my %params = (
-subject => $summary,
-body=> $comment,
+url => 'https://github.com/foo/bar/issues',
+tracker => 'github',
+dist=> 'Foo-Bar',
+name=> 'My Name',
+email   => 'my.n...@example.com',
+mailto  => 'your.n...@example.com',
+);
+
+my %bug_info = Debian::PkgPerl::Bug
+->new( bug => 123 )
+->retrieve_bug_info();
+my $bug_msg = Debian::PkgPerl::Message->new(
+%params,
+info => \%bug_info,
 );
+print Debian::PkgPerl::GitHub->new(
+message => $bug_msg,
+ticket  => 456,
+)->forward();
 
-my $pull  = $gh->patch($file)->forward(%params);
-my $issue = $gh->bug($ticket)->forward(%params);
+my %patch_info = Debian::PkgPerl::Patch
+->new( patch => 'foo-bar.patch' )
+->retrieve_patch_info();
+my $patch_msg = Debian::PkgPerl::Message->new(
+%params,
+info => \%patch_info,
+);
+print Debian::PkgPerl::GitHub->new(
+message  => $patch_msg,
+)->forward();
 
 =head1 DESCRIPTION
 
@@ -44,9 +68,9 @@ use Cwd 'realpath';
 
 =over
 
-=item * tracker
+=item * message
 
-Issue tracker URL for an upstream project.
+Message to be forwarded to an upstream project.
 
 =back
 
@@ -83,17 +107,17 @@ sub new {
 unless $ENV{DPT_GITHUB_OAUTH};
 
 die "Unable to determine github issue tracker URL.\n"
-unless $params{tracker};
+unless $params{message} and $params{message}->get_url();
 
 my ( $owner, $repo, $opts )
-= $params{tracker}
+= $params{message}->get_url()
 =~ m{^https?://github.com/([^/]+)/([^/]+)/issues(?:/?|\?(.*))$};
 
 my @labels;
 @labels = split /,/, $1 if $opts and $opts =~ m{labels=([^;&]+)};
 
 die "Unable to determine github user and repository\n"
-. "from $params{tracker}"
+. "from " . $params{message}->get_url()
 unless $owner and $repo;
 
 my $github = Net::GitHub::V3->new(
@@ -101,6 +125,7 @@ sub new {
 );
 
 my %obj = (
+%params,
 github  => $github,
 owner   => $owner,
 repo=> $repo,
@@ -154,22 +179,12 @@ sub create_fork {
 return $gh->repos->create_fork($orgname);
 }
 
-=head2 clone_branch_patch_push(%params)
+=head2 clone_branch_patch_push()
 
 Clones a repository in a temporary directory, creates a new branch,
 applies the patch, commits the change, pushes it and removes the
 temporary working copy.
 
-=head3 Parameters:
-
-=over
-
-=item * subject
-
-Message used in the commit.
-
-=back
-
 =head3 Returns:
 
 Nothing.
@@ -184,8 +199,8 @@ sub clone_branch_patch_push {
 my $user= $self->{owner};
 my $repo= $self->{repo};
 my $branch  = $self->{branch};
-my $comment = $params{subject};
-my $patch   = $self->{patch};
+my $comment = $self->{message}->get_subject();
+my $patch   = $self->{message}->get_patch();
 
 # Clone
 my $workdir = tempdir( CLEANUP => 1 );
@@ -218,21 +233,7 @@ sub clone_branch_patch_push {
 return;
 }
 
-=head2 create_pull_request(%params)
-
-=head3 Parameters:
-
-=over
-
-=item * subject
-
-Title used in the pull request.
-
-=item * body
-
-Comment used as the body of the pull request message.
-
-=back
+=head2 create_pull_request()
 
 =head3 Returns:
 
@@ -242,7 +243,6 @@ Pull request URL on success, nothing otherwise.
 
 sub create_pull_request {
 my $self = shift;
-my %params = @_;
 
 my $gh   = $self->{github};
 my $user = $self->{owner};
@@ -251,8 +251,8 @@ sub create_pull_request {
 $gh->pull_request->set_default_user_repo($user, $repo);
 
 my $pull = $gh->pull_request->create_pull({
-title  => $params{subject},
-body   => $params{body},
+

[pkg-perl-tools] 01/05: Save bug number in Debian::PkgPerl::Bug

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch fallback-for-github-pull-requests
in repository pkg-perl-tools.

commit c216ca9a188cd0380ec68121132794cd458ae9a9
Author: Alex Muntada 
Date:   Sat Dec 3 04:38:06 2016 +0100

Save bug number in Debian::PkgPerl::Bug
---
 lib/Debian/PkgPerl/Bug.pm | 1 +
 t/bug.t   | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/Debian/PkgPerl/Bug.pm b/lib/Debian/PkgPerl/Bug.pm
index 6046173..4108089 100644
--- a/lib/Debian/PkgPerl/Bug.pm
+++ b/lib/Debian/PkgPerl/Bug.pm
@@ -38,6 +38,7 @@ sub retrieve_bug_info {
 my $opt_offline_test = $self->{offline};
 my $opt_force= $self->{force};
 
+$bug_info{bug} = $bug;
 $bug_info{url} = "https://bugs.debian.org/$bug;;
 
 if ($opt_offline_test) {
diff --git a/t/bug.t b/t/bug.t
index a26422b..7b0631d 100644
--- a/t/bug.t
+++ b/t/bug.t
@@ -33,8 +33,10 @@ my $bug_nr = $bug_list[0];
 my $bug = new_ok( 'Debian::PkgPerl::Bug', [ bug => $bug_nr ]);
 
 my %info = $bug->retrieve_bug_info();
+ok( exists $info{bug}, "retrieve bug number" );
+is( $info{bug}, $bug_nr, "verify bug number" );
 ok( exists $info{Subject}, "retrieve bug $bug_nr info" );
 like( $info{Subject}, qr/\w+/, "bug $bug_nr subject is not empty" );
-note("bug $bug_nr: $info{Subject}");
 
+note("bug $info{bug}: $info{Subject}");
 done_testing();

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[pkg-perl-tools] branch fallback-for-github-pull-requests created (now 410cf68)

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a change to branch fallback-for-github-pull-requests
in repository pkg-perl-tools.

at  410cf68   Add fallback for GitHub pull-requests

This branch includes the following new commits:

   new  c216ca9   Save bug number in Debian::PkgPerl::Bug
   new  b3100a0   Save patch name in Debian::PkgPerl::Patch
   new  8942c59   Update Debian::PkgPerl::Message
   new  230242f   Update Debian::PkgPerl::GitHub
   new  410cf68   Add fallback for GitHub pull-requests

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[pkg-perl-tools] 05/05: Add fallback for GitHub pull-requests

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch fallback-for-github-pull-requests
in repository pkg-perl-tools.

commit 410cf68909f7bfff28cae5dfdcabb36c853d2e1c
Author: Alex Muntada 
Date:   Sat Dec 3 04:57:17 2016 +0100

Add fallback for GitHub pull-requests
---
 lib/Debian/PkgPerl/GitHub.pm | 49 +++-
 scripts/forward  |  8 
 2 files changed, 56 insertions(+), 1 deletion(-)

diff --git a/lib/Debian/PkgPerl/GitHub.pm b/lib/Debian/PkgPerl/GitHub.pm
index c4d41bd..74375f5 100644
--- a/lib/Debian/PkgPerl/GitHub.pm
+++ b/lib/Debian/PkgPerl/GitHub.pm
@@ -45,6 +45,7 @@ Debian::PkgPerl::GitHub - Help forwarding a bug or a patch to 
GitHub
 );
 print Debian::PkgPerl::GitHub->new(
 message  => $patch_msg,
+fallback => 0,
 )->forward();
 
 =head1 DESCRIPTION
@@ -72,6 +73,11 @@ use Cwd 'realpath';
 
 Message to be forwarded to an upstream project.
 
+=item * fallback
+
+Enables fallback to forwarding a patch as an issue if pull-request
+fails for any reason. Default is false.
+
 =back
 
 =head3 Environment:
@@ -278,6 +284,46 @@ sub forward_patch_as_pull_request {
 return $issue_url;
 }
 
+=head2 forward_patch_as_ticket()
+
+Fallback to forwarding a patch as a bug.
+
+=head3 Returns:
+
+Issue URL on success, nothing otherwise.
+
+=cut
+
+sub forward_patch_as_ticket {
+my $self = shift;
+
+# Do nothing unless fallback is enabled.
+return unless $self->{fallback};
+
+my $gh  = $self->{github};
+my $owner   = $self->{owner};
+my $repo= $self->{repo};
+my $ticket  = $self->{ticket};
+my $title   = $self->{message}->get_subject();
+my $comment = $self->{message}->prepare_body();
+
+$gh->set_default_user_repo( $owner, $repo );
+my $issue;
+if ($ticket) {
+$issue = $gh->issue->issue($ticket);
+$gh->issue->create_comment( $ticket, { body => $comment } );
+}
+else {
+$issue = $gh->issue->create_issue({
+title  => $title,
+body   => $comment,
+labels => $self->{labels},
+});
+}
+
+return $issue && $issue->{html_url};
+}
+
 =head2 forward_bug_as_issue()
 
 =cut
@@ -320,7 +366,8 @@ sub forward {
 my $self = shift;
 
 my $issue_url = $self->{message}->get_patch()
-? $self->forward_patch_as_pull_request()
+? eval { $self->forward_patch_as_pull_request() }
+  || $self->forward_patch_as_ticket()
 : $self->forward_bug_as_issue()
 ;
 
diff --git a/scripts/forward b/scripts/forward
index 711da35..8d9af8e 100755
--- a/scripts/forward
+++ b/scripts/forward
@@ -106,6 +106,11 @@ This option sets the e-mail address to forward to. The 
default
 is determined from the C<< resources->bugtracker->mailto >>
 field of F or CPAN RT bug address if that field is not present.
 
+=item B<--fallback>
+
+Enable fallback to forwarding patches as bug reports when pull requests
+fail for any reason. Defaults to false.
+
 =back
 
 =cut
@@ -122,6 +127,7 @@ my $opt_meta_file;
 my $opt_ticket;
 my $opt_use_mail;
 my $opt_mailto;
+my $opt_fallback;
 
 GetOptions(
 'd|dist=s'=> \$opt_dist,
@@ -134,6 +140,7 @@ GetOptions(
 'ticket=s'=> \$opt_ticket,
 'use-mail!'   => \$opt_use_mail,
 'mailto=s'=> \$opt_mailto,
+'fallback!'   => \$opt_fallback,
 ) or exit 1;
 
 die
@@ -381,6 +388,7 @@ sub submit_github {
 my $gh = Debian::PkgPerl::GitHub->new(
 ticket   => $opt_ticket,
 message  => $message,
+fallback => $opt_fallback,
 );
 
 my $issue_url = $opt_offline_test ? $gh->test() : $gh->forward();

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[pkg-perl-tools] 02/05: Save patch name in Debian::PkgPerl::Patch

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch fallback-for-github-pull-requests
in repository pkg-perl-tools.

commit b3100a03e2515db5516103c32d1287380d49a23c
Author: Alex Muntada 
Date:   Sat Dec 3 04:39:41 2016 +0100

Save patch name in Debian::PkgPerl::Patch
---
 lib/Debian/PkgPerl/Patch.pm | 2 ++
 t/patch.t   | 5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/lib/Debian/PkgPerl/Patch.pm b/lib/Debian/PkgPerl/Patch.pm
index 1326b27..b6182d7 100644
--- a/lib/Debian/PkgPerl/Patch.pm
+++ b/lib/Debian/PkgPerl/Patch.pm
@@ -38,6 +38,8 @@ sub retrieve_patch_info {
 my $patch = $self->{patch};
 my $opt_force = $self->{force};
 
+$patch_info{patch} = $patch;
+
 open( my $in, "<", $patch );
 my $line_no = 1;
 while ( $line_no <= 10 ) {
diff --git a/t/patch.t b/t/patch.t
index 6d61168..fbe6e22 100644
--- a/t/patch.t
+++ b/t/patch.t
@@ -20,10 +20,11 @@ my $patch = 
"$ENV{DPT_PACKAGES}/pkg-perl-tools/t/dummy.txt.patch";
 my $bug = new_ok( 'Debian::PkgPerl::Patch', [ patch => $patch ] );
 
 my %info = $bug->retrieve_patch_info();
+ok( exists $info{patch}, "retrieve patch name" );
+is( $info{patch}, $patch, "verify patch name" );
 ok( exists $info{Subject}, "retrieve patch info" );
 like( $info{Subject}, qr/\w+/, "subject in patch is not empty" );
-note("Subject: $info{Subject}");
 like( $info{From}, qr/\w+/, "from in patch is not empty" );
-note("From: $info{From}");
 
+note("$info{patch} ($info{Subject}) by $info{From}");
 done_testing();

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[pkg-perl-tools] 03/05: Update Debian::PkgPerl::Message

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch fallback-for-github-pull-requests
in repository pkg-perl-tools.

commit 8942c5909fde9530ffbfb37b36eb167dddf43cad
Author: Alex Muntada 
Date:   Sat Dec 3 04:45:19 2016 +0100

Update Debian::PkgPerl::Message

- Update bug number retrieval.
- Update patch name retrieval.
- Add get_url method.
- Add get_patch method.
---
 lib/Debian/PkgPerl/Message.pm | 20 
 t/message.t   |  3 ---
 2 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/lib/Debian/PkgPerl/Message.pm b/lib/Debian/PkgPerl/Message.pm
index f1c4d81..d0ff1df 100644
--- a/lib/Debian/PkgPerl/Message.pm
+++ b/lib/Debian/PkgPerl/Message.pm
@@ -50,7 +50,7 @@ sub get_subject {
 my $self = shift;
 
 my $info= $self->{info};
-my $patch   = $self->{patch};
+my $patch   = $self->{info}{patch};
 my $opt_tracker = $self->{tracker};
 
 my $default = $info->{Subject} // '';
@@ -96,10 +96,10 @@ sub prepare_body {
 my $self = shift;
 my $body;
 
-my $bug = $self->{bug};
+my $bug = $self->{info}{bug};
 my $opt_dist= $self->{dist};
 my $info= $self->{info};
-my $patch   = $self->{patch};
+my $patch   = $self->{info}{patch};
 my $opt_tracker = $self->{tracker};
 my $name= $self->{name};
 
@@ -183,7 +183,7 @@ sub send_by_mail {
 my $name= $self->{name};
 my $email   = $self->{email};
 my $opt_mailto  = $self->{mailto};
-my $patch   = $self->{patch};
+my $patch   = $self->{info}{patch};
 my $opt_tracker_url = $self->{url};
 
 my $from= "$name <$email>";
@@ -229,6 +229,18 @@ sub send_by_mail {
 }
 }
 
+sub get_url {
+my $self = shift;
+
+return $self->{url};
+}
+
+sub get_patch {
+my $self = shift;
+
+return $self->{info}{patch};
+}
+
 =head1 LICENSE AND COPYRIGHT
 
 =over
diff --git a/t/message.t b/t/message.t
index 07082af..e62e5cf 100644
--- a/t/message.t
+++ b/t/message.t
@@ -46,7 +46,6 @@ subtest 'Test bug message' => sub {
 
 my $msg = new_ok( 'Debian::PkgPerl::Message', [
 %params,
-bug => $bug,
 info=> \%info,
 tracker => 'github',
 ]);
@@ -67,7 +66,6 @@ subtest 'Test patch message to GitHub' => sub {
 
 my $msg = new_ok( 'Debian::PkgPerl::Message', [
 %params,
-patch   => $patch,
 info=> \%info,
 tracker => 'github',
 url => 'https://github.com/alexm/pkg-perl-dummy/issues',
@@ -90,7 +88,6 @@ subtest 'Test patch message to CPAN' => sub {
 
 my $msg = new_ok( 'Debian::PkgPerl::Message', [
 %params,
-patch   => $patch,
 info=> \%info,
 tracker => 'cpan',
 url => 'https://rt.cpan.org/Public/Dist/Display.html?Name=DUMMY',

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[liblwp-useragent-progressbar-perl] annotated tag debian/1.100810-2 created (now 343ca7c)

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a change to annotated tag debian/1.100810-2
in repository liblwp-useragent-progressbar-perl.

at  343ca7c   (tag)
   tagging  2c4c4727ca9428c32787d77af99fae49915ee870 (commit)
  replaces  debian/1.100810-1
 tagged by  gregor herrmann
on  Sat Dec 3 04:48:16 2016 +0100

- Log -
tagging package liblwp-useragent-progressbar-perl version debian/1.100810-2
-BEGIN PGP SIGNATURE-

iQKTBAABCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAlhCQIBfFIAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgYGxw/6A6HhHDO8x4LGq62e348/p1HMXtWpU71Bt1Tcw0YXZ3aSFPm2ryKfg1Mg
b6W+ufzlefxT/VwbtJB9/j+zr9O9y/vkUnp4MgsCC9RmsUK6/OjgZjLa8m0XypzC
i2roijBVLuN+PUFYMsPsl1pXNFNf721n7Ys7wdAG4AkseJLCUE8RAuZ1B4b0O9pA
uyDretVPvj6tV1ey79JRhfmafRHxu7T777q/V2pnmd61VeZqINaWLApuGrvRR6fT
bR7fsE1eh15aBKPQUtnO0zWOZ76jk7xzs4rPqI2Ma4uEBX9lkDolYErPFmk7Iti6
VXIy1N+cQTJF//yef6rs0NKPLBxs3lHAchpXcepUQeDxxxQn0NMOUooD0h4uDGsS
LXU0MK8ahhf9lDPDj2G6izlFwn+iz1LcRYSkaLsKDBGCfLajINrg1zGzvufByTIk
hEbfZxrnEGUkwJ452EeML++hKLDAeXwlSBds6oIAGu0+AbELdijt8uOYDtc6r8lX
lWWIr/KoF/2KKJJ45plxV97qZocqXZ6ee2edgRyNhYouWJW9c5prx/ASxEP1K+vR
TDWhKxbhONuDWHers56OwLjJlirJzHCSIUuM2u6lsSPkYBNtp5je62DRzr1UeEpN
GQaMZ+WDpjrvYC4F0x4JvCyEmysjWb0AuPKno5rvZ+LkYzSppiE=
=Xiow
-END PGP SIGNATURE-

Florian Schlichting (2):
  d/control: Add Vcs-Browser and Vcs-Git fields
  update changelog

gregor herrmann (7):
  debian/copyright: change Copyright-Format 1.0 URL to HTTPS.
  update changelog
  debian/upstream/metadata: change GitHub/CPAN URL(s) to HTTPS.
  update changelog
  Disable network tests during autopkgtests.
  Declare compliance with Debian Policy 3.9.8.
  releasing package liblwp-useragent-progressbar-perl version 1.100810-2

---

This annotated tag includes the following new commits:

   new  8bfc2e8   Disable network tests during autopkgtests.
   new  00b0c2c   Declare compliance with Debian Policy 3.9.8.
   new  2c4c472   releasing package liblwp-useragent-progressbar-perl 
version 1.100810-2

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/liblwp-useragent-progressbar-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[liblwp-useragent-progressbar-perl] 03/03: releasing package liblwp-useragent-progressbar-perl version 1.100810-2

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository liblwp-useragent-progressbar-perl.

commit 2c4c4727ca9428c32787d77af99fae49915ee870
Author: gregor herrmann 
Date:   Sat Dec 3 04:48:16 2016 +0100

releasing package liblwp-useragent-progressbar-perl version 1.100810-2
---
 debian/changelog | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 763f577..70ccb75 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,6 @@
-liblwp-useragent-progressbar-perl (1.100810-2) UNRELEASED; urgency=medium
+liblwp-useragent-progressbar-perl (1.100810-2) unstable; urgency=medium
+
+  * Team upload.
 
   [ gregor herrmann ]
   * debian/copyright: change Copyright-Format 1.0 URL to HTTPS.
@@ -7,7 +9,11 @@ liblwp-useragent-progressbar-perl (1.100810-2) UNRELEASED; 
urgency=medium
   [ Florian Schlichting ]
   * d/control: Add Vcs-Browser and Vcs-Git fields
 
- -- gregor herrmann   Fri, 20 May 2016 12:06:21 +0200
+  [ gregor herrmann ]
+  * Disable network tests during autopkgtests.
+  * Declare compliance with Debian Policy 3.9.8.
+
+ -- gregor herrmann   Sat, 03 Dec 2016 04:47:11 +0100
 
 liblwp-useragent-progressbar-perl (1.100810-1) unstable; urgency=low
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/liblwp-useragent-progressbar-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[liblwp-useragent-progressbar-perl] 02/03: Declare compliance with Debian Policy 3.9.8.

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository liblwp-useragent-progressbar-perl.

commit 00b0c2ce2de0cf1138f5179e190baff6397ccd84
Author: gregor herrmann 
Date:   Sat Dec 3 04:46:51 2016 +0100

Declare compliance with Debian Policy 3.9.8.
---
 debian/control | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index d485395..1c4a8a1 100644
--- a/debian/control
+++ b/debian/control
@@ -1,18 +1,18 @@
 Source: liblwp-useragent-progressbar-perl
-Section: perl
-Priority: optional
 Maintainer: Debian Perl Group 
 Uploaders: Lucas Kanashiro 
+Section: perl
+Testsuite: autopkgtest-pkg-perl
+Priority: optional
 Build-Depends: debhelper (>= 9)
 Build-Depends-Indep: libterm-progressbar-perl,
  libtest-differences-perl,
  libwww-perl,
  perl
-Standards-Version: 3.9.6
+Standards-Version: 3.9.8
 Vcs-Browser: 
https://anonscm.debian.org/cgit/pkg-perl/packages/liblwp-useragent-progressbar-perl.git
 Vcs-Git: 
https://anonscm.debian.org/git/pkg-perl/packages/liblwp-useragent-progressbar-perl.git
 Homepage: https://metacpan.org/release/LWP-UserAgent-ProgressBar
-Testsuite: autopkgtest-pkg-perl
 
 Package: liblwp-useragent-progressbar-perl
 Architecture: all

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/liblwp-useragent-progressbar-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[liblwp-useragent-progressbar-perl] 01/03: Disable network tests during autopkgtests.

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository liblwp-useragent-progressbar-perl.

commit 8bfc2e820b6398504817228d1a78c10178e2c437
Author: gregor herrmann 
Date:   Sat Dec 3 04:46:06 2016 +0100

Disable network tests during autopkgtests.
---
 debian/tests/pkg-perl/smoke-env | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/tests/pkg-perl/smoke-env b/debian/tests/pkg-perl/smoke-env
new file mode 100644
index 000..6d5ee6a
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-env
@@ -0,0 +1 @@
+NO_NETWORK=1

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/liblwp-useragent-progressbar-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[liblwp-useragent-progressbar-perl] branch master updated (6a1240b -> 2c4c472)

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a change to branch master
in repository liblwp-useragent-progressbar-perl.

  from  6a1240b   update changelog
   new  8bfc2e8   Disable network tests during autopkgtests.
   new  00b0c2c   Declare compliance with Debian Policy 3.9.8.
   new  2c4c472   releasing package liblwp-useragent-progressbar-perl 
version 1.100810-2

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog| 10 --
 debian/control  |  8 
 debian/tests/pkg-perl/smoke-env |  1 +
 3 files changed, 13 insertions(+), 6 deletions(-)
 create mode 100644 debian/tests/pkg-perl/smoke-env

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/liblwp-useragent-progressbar-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libencode-perl] 01/03: Merge tag 'upstream/2.88'

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libencode-perl.

commit 25a032b8602c9cdd98798b0262d49191da5a111a
Merge: 34d42d1 ab2830c
Author: gregor herrmann 
Date:   Sat Dec 3 00:22:03 2016 +0100

Merge tag 'upstream/2.88'

Upstream version 2.88

 Changes |  36 -
 Encode.pm   |   4 +-
 Encode.xs   |  90 ++
 META.json   |   2 +-
 META.yml|   2 +-
 Makefile.PL |  13 ++-
 Unicode/Makefile.PL |   2 +-
 Unicode/Unicode.xs  | 110 ++--
 bin/enc2xs  |  58 ---
 encoding.pm |   4 +-
 lib/Encode/Alias.pm |  14 +--
 t/Aliases.t |   2 +-
 t/Encode.t  |  54 +-
 t/decode.t  |   2 +-
 t/enc_data.t|   4 +-
 t/enc_module.t  |   4 +-
 t/encoding.t|   2 +-
 t/jperl.t   |   4 +-
 t/magic.t   |  25 ++--
 t/mime-header.t |   6 +--
 t/mime-name.t   |   2 +-
 t/taint.t   |   1 +
 t/utf8ref.t |   2 +-
 23 files changed, 316 insertions(+), 127 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libencode-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libencode-perl] annotated tag upstream/2.88 created (now e6b465d)

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a change to annotated tag upstream/2.88
in repository libencode-perl.

at  e6b465d   (tag)
   tagging  ab2830cbe00bf58306f7e03e927fed070b556510 (commit)
  replaces  upstream/2.87
 tagged by  gregor herrmann
on  Sat Dec 3 00:22:03 2016 +0100

- Log -
Upstream version 2.88

Alex Vandiver (1):
  Rethrow 'utf8' warnings in from_to as well

Andy Grundman (1):
  Fix the encoding-locale test to skip properly if _get_locale_encoding 
returns undef

Dan Kogai (51):
  Merge pull request #49 from andygrundman/master
  Merge pull request #50 from karenetheridge/patch-1
  Merge pull request #51 from pali/master
  VERSION 2.83
  Merge pull request #52 from pali/master
  Merge pull request #53 from pali/master
  VERSION 2.84
  Merge pull request #54 from polettix/polettix-docpatch-1
  Merge pull request #55 from masiuchi/update-test-more
  Merged: https://rt.cpan.org/Ticket/Display.html?id=115168
  RT#115540 https://rt.cpan.org/Ticket/Display.html?id=115540
  attempt to fix perl 5.{12,14}
  t/decode.t skip test #5: passing typeglobs to decode if perl < v5.16
  Skip tests that pass typeglobs to decode if perl < v5.16
  t/Encode.t now use Test::More
  Merge pull request #56 from pali/master
  Revert "t/Encode.t now use Test::More"
  Revert "Revert "t/Encode.t now use Test::More""
  Revert "Merge pull request #56 from pali/master"
  retry https://github.com/dankogai/p5-encode/pull/56
  Merge pull request #57 from alexmv/from_to
  Merge pull request #58 from tonycoz/cve-2016-1238
  VERSION 2.85
  Patch https://rt.cpan.org/Ticket/Display.html?id=116817
  Merge pull request #60 from ribasushi/master
  Patched: https://rt.cpan.org/Ticket/Display.html?id=111421
  fixed: https://rt.cpan.org/Ticket/Display.html?id=116196
  VERSION 2.86
  Merge pull request #62 from pali/master
  Merge pull request #63 from pali/master
  Merge pull request #65 from pali/master
  Merge pull request #67 from pali/master
  Merge pull request #66 from joyrex2001/master
  Merge pull request #68 from pali/master
  Merge pull request #69 from pali/tests
  Merge pull request #70 from pali/master
  Merge pull request #71 from pali/master
  Merge pull request #72 from pali/master
  Merge pull request #73 from pali/master
  Merge pull request #74 from pali/master
  VERSION 2.87
  Fix 2 of 3 problems Steve Hay found
  Merge pull request #75 from pali/master
  Merge pull request #76 from pali/master
  Merge pull request #77 from pali/no-expressions-in-macros
  Merge pull request #78 from khwilliamson/local
  Merge pull request #80 from pali/master
  Merge pull request #81 from pali/master
  Merge pull request #82 from rurban/g++-6-gh79
  Merge pull request #83 from pali/configlocal
  VERSION 2.88

Flavio Poletti (1):
  Made it explicit that inputs might be changed

Karen Etheridge (1):
  Autrijus -> Audrey

Karl Williamson (1):
  Encode: Rmv impediment to compiling under C++11

Masahiro Iuchi (1):
  t/encoding-locale.t fails with Test::More@0.80 or before.

Pali (51):
  Encode::MIME::Header: Rewrite both decoder and encoder
  Encode::MIME::Header: Fix valid_q_chars, '-' needs to be escaped
  Encode::MIME::Header: Update description that this module is only for 
unstructured header
  Encode::utf8: Performance optimization (1) for strict UTF-8 encoder
  Encode::utf8: Performance optimization (2) for strict UTF-8 encoder
  Fix return value of Encode::encode_utf8(undef)
  Encode::utf8: Add tests for Malformed and Overlong UTF-8 sequences
  Encode::utf8: Fix processing invalid UTF-8 subsequences
  Encode::utf8: Check for overflowed and overlong UTF-8 sequences
  Encode::utf8: Fix count of replacement characters for overflowed and 
overlong UTF-8 sequences
  Generate CHECK value functions with newCONSTSUB() instead with direct XS
  Fix test undef.t: Declare $c variable
  taint.t: Add tests for not tainted strings
  Encode::MIME::Header: Test function use_ok() must be called in BEGIN block
  Encode::MIME::Header: Add test cases with multiple input strings
  Encode::MIME::Header: Use one coding style and cleanup namespace
  Encode::MIME::Header: decode: In strict mode do not try to decode invalid 
mime words
  Encode::MIME::Header: decode: In non strict mode allows spaces in MIME 
words
  Encode::MIME::Header: decode: Do not drop trailing empty lines
  Encode::MIME::Header: encode: Do not generate too long MIME words
  Encode::MIME::Name: Fix MIME name for ISO-2022-JP-1
  Encode: Add function find_mime_encoding()
  Encode::MIME::Header: Fix encoding and decoding of inner strings
  

[libencode-perl] branch pristine-tar updated (97ae2bd -> 2b68714)

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a change to branch pristine-tar
in repository libencode-perl.

  from  97ae2bd   pristine-tar data for libencode-perl_2.87.orig.tar.gz
   new  2b68714   pristine-tar data for libencode-perl_2.88.orig.tar.gz

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 libencode-perl_2.88.orig.tar.gz.delta | Bin 0 -> 7131 bytes
 libencode-perl_2.88.orig.tar.gz.id|   1 +
 2 files changed, 1 insertion(+)
 create mode 100644 libencode-perl_2.88.orig.tar.gz.delta
 create mode 100644 libencode-perl_2.88.orig.tar.gz.id

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libencode-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libencode-perl] 03/03: releasing package libencode-perl version 2.88-1

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libencode-perl.

commit 367907d3e90735c9b18175c9ef545b3b314d205b
Author: gregor herrmann 
Date:   Sat Dec 3 00:27:43 2016 +0100

releasing package libencode-perl version 2.88-1
---
 debian/changelog | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a5141ff..37c5113 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
-libencode-perl (2.88-1) UNRELEASED; urgency=medium
+libencode-perl (2.88-1) unstable; urgency=medium
 
-  * Import upstream version 2.88
+  * Import upstream version 2.88.
 
- -- gregor herrmann   Sat, 03 Dec 2016 00:22:03 +0100
+ -- gregor herrmann   Sat, 03 Dec 2016 00:26:17 +0100
 
 libencode-perl (2.87-1) unstable; urgency=medium
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libencode-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libencode-perl] 01/01: pristine-tar data for libencode-perl_2.88.orig.tar.gz

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch pristine-tar
in repository libencode-perl.

commit 2b68714d89f7c801e65b9e7106e9d4893ad75d56
Author: gregor herrmann 
Date:   Sat Dec 3 00:22:03 2016 +0100

pristine-tar data for libencode-perl_2.88.orig.tar.gz
---
 libencode-perl_2.88.orig.tar.gz.delta | Bin 0 -> 7131 bytes
 libencode-perl_2.88.orig.tar.gz.id|   1 +
 2 files changed, 1 insertion(+)

diff --git a/libencode-perl_2.88.orig.tar.gz.delta 
b/libencode-perl_2.88.orig.tar.gz.delta
new file mode 100644
index 000..62ae1ee
Binary files /dev/null and b/libencode-perl_2.88.orig.tar.gz.delta differ
diff --git a/libencode-perl_2.88.orig.tar.gz.id 
b/libencode-perl_2.88.orig.tar.gz.id
new file mode 100644
index 000..02b6bec
--- /dev/null
+++ b/libencode-perl_2.88.orig.tar.gz.id
@@ -0,0 +1 @@
+a181257e4cfe060c83d1da796da7a23a430fe2ed

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libencode-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libencode-perl] annotated tag debian/2.88-1 created (now b03677c)

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a change to annotated tag debian/2.88-1
in repository libencode-perl.

at  b03677c   (tag)
   tagging  367907d3e90735c9b18175c9ef545b3b314d205b (commit)
  replaces  upstream/2.88
 tagged by  gregor herrmann
on  Sat Dec 3 00:27:43 2016 +0100

- Log -
tagging package libencode-perl version debian/2.88-1
-BEGIN PGP SIGNATURE-

iQKTBAABCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAlhCA29fFIAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgY7hhAAj+GCMuiUEhlZDk/ZvakEGOKFDSKkKi1CRYItiGyQ/W8gf9MgnchcbwKh
Mv9N9/t3O/XhqUuVznSZKwFmsGAgrOz46z0FTCoj4vQMBb/OW3AptF95I3DHMSTD
LYGghes7UEsoKiTsvYZ8VhXhat/PSS4KJ2V5+wRjNiWi94SzCsWFEejmiQX0ODKk
BeeXkRQON4vx88VnAn0TeNqho+FVLrInOtQkaQuwfZZC1hSpihgESHmIFQNSiolp
xdKGNSTnWTyy8ttflulX3V3rIIoTAHboy3Ke6A0lhkru1IZ0xHkGkRNSKTEwj7tX
ODK7hoLuv6AH0mM9bFH8qbSkrKFTP8SwNTEmrBiMxsQXPczXw8D10+DbnqurUqmr
ROSexrtnRrKo+jQds4761kahdZCk9g30ASVuMHYwdyceYq03EyL0AsVkHCGSYt9p
yGSmzRrJWmp3JoeeJz9BZPFeGChPVIvebJ2wapDpMqePsCkgzThnBpXJ8qagkzw2
Rs++EyO5mtwM7PYMaOifsKGF/weZ9Hi2EL78Bgh13Xv8Pj3JBX8vNfw/kCooSjbY
kYAkavQoWquHInTLpHdUgehwgTjx0Kcw7Iez+Z4EX6f4kRth3wIAuQsZfF07rcnI
OhoqwR/lXH2tE6mlDh2yy3KS4jP2SSiF+VGKWsa2Mh6WhHBZt0s=
=mXVA
-END PGP SIGNATURE-

Ansgar Burchardt (4):
  debian/control: Convert Vcs-* fields to Git.
  Merge commit 'upstream/2.44'
  changelog for 2.44-1
  Use XZ compression for source and binary packages.

Anuradha Weeraman (3):
  Merge tag 'upstream/2.64'
  New upstream release; ready for review
  Ready for review

Damyan Ivanov (1):
  Merge commit 'upstream/2.43'

Dominic Hargreaves (12):
  move libencode-perl out of attic
  import new upstream release
  lintian fixes; tidy up changelog (and remove uploader who never uploaded) 
and prepare for release
  Switch to perl-makemaker CDBS class
  prepare for release
  next changelog entry
  Merge tag 'upstream/2.72'
  New upstream release
  Update copyright for new encguess script
  releasing package libencode-perl version 2.72-1
  Merge tag 'upstream/2.73'
  releasing package libencode-perl version 2.73-1

Fabrizio Regalli (5):
  * New upstream release
  * Removed lintian override.
  Fixed d/changelog on time stamp in the future
  Ready for upload
  Fixed d/changelog version

Florian Schlichting (18):
  back to UNRELEASED, TODO added to changelog
  back to UNRELEASED, pristine tar missing
  Merge tag 'upstream/2.52'
  Imported Upstream version 2.52
  add copyright paragraph for data files in ucm/
  update years of upstream copyright
  Add myself to uploaders and copyright
  hardening detected correctly, drop lintian override
  drop override_dh_builddeb, xz compression is the default now
  update changelog for release
  Merge tag 'upstream/2.54'
  Import Upstream version 2.54
  Merge tag 'upstream/2.55'
  Import Upstream version 2.55
  Merge tag 'upstream/2.56'
  Import Upstream version 2.56
  Declare compliance with Debian Policy 3.9.5
  update changelog for release

Gregor Herrmann (5):
  New upstream release
  * Switch to source format 3.0 (quilt).
  resurrect lintian-overrides, revert changes to patch, and improve it a bit
  Update years of upstream copyright.
  oops, move lintian-override to debian/

Niko Tyni (7):
  Merge tag 'upstream/2.83'
  releasing 2.83-1 to unstable
  Merge tag 'upstream/2.84'
  releasing 2.84-1 to unstable
  Merge tag 'upstream/2.86'
  Update changelog
  Releasing 2.86-1 to unstable

Salvatore Bonaccorso (12):
  [packagecheck] fixed Vcs-(Git|Browser)/Homepage field(s) in 
debian/control and/or URL in debian/watch and/or rmdir /usr/{lib|share}/perl5 
in debian/rules.
  Change Vcs-Git to canonical URI (git://anonscm.debian.org)
  update changelog
  Change search.cpan.org based URIs to metacpan.org based URIs
  update changelog
  Merge tag 'upstream/2.57'
  Drop Pre-Depends on dpkg (>= 1.15.6~)
  Prepare changelog for release
  Update Vcs-Browser URL to cgit web frontend
  update changelog
  debian/control: Use HTTPS transport protocol for Vcs-Git URI
  update changelog

Xavier Guimard (21):
  Merge tag 'upstream/2.47'
  Bump S-V to 3.9.4 + dh
  Update debian/copyright (years and format)
  Remove dpkg from Pre-Depends
  Add hardening-no-fortify-functions in lintian-overrides
  Report patch to RT
  Merge tag 'upstream/2.48'
  Remove spelling patch
  Proposed to unstable
  Restore dpkg pre-depends
  Update d/copy years
  Add comment for lintian override
  Update d/ch
  Merge tag 'upstream/2.49'
  Update d/ch (version 2.49-1)
  Merge tag 

[libencode-perl] branch master updated (34d42d1 -> 367907d)

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a change to branch master
in repository libencode-perl.

  from  34d42d1   releasing package libencode-perl version 2.87-1
  adds  d2a2021   Fix the encoding-locale test to skip properly if 
_get_locale_encoding returns undef
  adds  ad4395a   Merge pull request #49 from andygrundman/master
  adds  7086f87   Autrijus -> Audrey
  adds  4227242   Merge pull request #50 from karenetheridge/patch-1
  adds  dd0d5ab   Encode::MIME::Header: Rewrite both decoder and encoder
  adds  a65d124   Merge pull request #51 from pali/master
  adds  ca4d1af   VERSION 2.83
  adds  f6d5802   Encode::MIME::Header: Fix valid_q_chars, '-' needs to be 
escaped
  adds  03d19c7   Merge pull request #52 from pali/master
  adds  c480b45   Encode::MIME::Header: Update description that this module 
is only for unstructured header
  adds  1fb7692   Merge pull request #53 from pali/master
  adds  cddbe41   VERSION 2.84
  adds  d24bd4f   Made it explicit that inputs might be changed
  adds  c87dcf8   Merge pull request #54 from polettix/polettix-docpatch-1
  adds  4dcbaec   t/encoding-locale.t fails with Test::More@0.80 or before.
  adds  c94989b   Merge pull request #55 from masiuchi/update-test-more
  adds  f37539b   Merged: https://rt.cpan.org/Ticket/Display.html?id=115168
  adds  9aa5286   RT#115540 
https://rt.cpan.org/Ticket/Display.html?id=115540
  adds  79f94f2   attempt to fix perl 5.{12,14}
  adds  85e68df   t/decode.t skip test #5: passing typeglobs to decode if 
perl < v5.16
  adds  eed070b   Skip tests that pass typeglobs to decode if perl < v5.16
  adds  96df5ed   t/Encode.t now use Test::More
  adds  3b837ce   Encode::utf8: Performance optimization (1) for strict 
UTF-8 encoder
  adds  1d32768   Encode::utf8: Performance optimization (2) for strict 
UTF-8 encoder
  adds  8107d81   Merge pull request #56 from pali/master
  adds  8e3b3e3   Revert "t/Encode.t now use Test::More"
  adds  e2416cb   Revert "Revert "t/Encode.t now use Test::More""
  adds  64c9ae8   Revert "Merge pull request #56 from pali/master"
  adds  97cc6d3   retry https://github.com/dankogai/p5-encode/pull/56
  adds  07c8adb   Rethrow 'utf8' warnings in from_to as well
  adds  8fe2cd0   Merge pull request #57 from alexmv/from_to
  adds  12be15d   CVE-2016-1238: avoid loading optional modules from .
  adds  7e2aff2   Merge pull request #58 from tonycoz/cve-2016-1238
  adds  423fdb4   VERSION 2.85
  adds  0352ac0   Patch https://rt.cpan.org/Ticket/Display.html?id=116817
  adds  89170a8   Add/reshuffle missing macro definitions for 5.8.x
  adds  352757b   Silence an old-perl warning
  adds  2910166   Merge pull request #60 from ribasushi/master
  adds  f61f612   Patched: https://rt.cpan.org/Ticket/Display.html?id=111421
  adds  cf6ff75   fixed: https://rt.cpan.org/Ticket/Display.html?id=116196
  adds  87f2792   VERSION 2.86
  adds  646aaae   Fix return value of Encode::encode_utf8(undef)
  adds  3783dcc   Merge pull request #62 from pali/master
  adds  2aac84f   Encode::utf8: Add tests for Malformed and Overlong UTF-8 
sequences
  adds  cbdb757   Encode::utf8: Fix processing invalid UTF-8 subsequences
  adds  b7fc820   Encode::utf8: Check for overflowed and overlong UTF-8 
sequences
  adds  cdb906e   Merge pull request #63 from pali/master
  adds  3cf4b7e   Encode::utf8: Fix count of replacement characters for 
overflowed and overlong UTF-8 sequences
  adds  22d3088   Merge pull request #65 from pali/master
  adds  0ed14e2   Generate CHECK value functions with newCONSTSUB() instead 
with direct XS
  adds  1441d06   Merge pull request #67 from pali/master
  adds  519fb7e   Fix panic when encoding undef scalars
  adds  d69edff   Merge pull request #66 from joyrex2001/master
  adds  2a2cc91   taint.t: Add tests for not tainted strings
  adds  de4ce95   Encode::MIME::Header: Test function use_ok() must be 
called in BEGIN block
  adds  cf1e1c0   Encode::MIME::Header: Add test cases with multiple input 
strings
  adds  2d6c29d   Encode::MIME::Header: Use one coding style and cleanup 
namespace
  adds  3cbf3e8   Encode::MIME::Header: decode: In strict mode do not try 
to decode invalid mime words
  adds  0dd732b   Encode::MIME::Header: decode: In non strict mode allows 
spaces in MIME words
  adds  66c91a4   Encode::MIME::Header: decode: Do not drop trailing empty 
lines
  adds  614e348   Encode::MIME::Header: encode: Do not generate too long 
MIME words
  adds  2d7aaee   Encode::MIME::Name: Fix MIME name for ISO-2022-JP-1
  adds  0367a8f   Encode: Add function find_mime_encoding()
  adds  494a455   Encode::MIME::Header: Fix encoding and decoding of inner 
strings
  adds  68934e5   Encode::MIME::Header: encode: Implement full 

[pkg-perl-tools] 04/04: Merge branch 'extract-messages-to-class'

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch master
in repository pkg-perl-tools.

commit 45a479681d996ce63da19b124ee65e514a8daca5
Merge: 5abe04b 33e66b8
Author: Alex Muntada 
Date:   Sat Dec 3 00:27:18 2016 +0100

Merge branch 'extract-messages-to-class'

 lib/Debian/PkgPerl/Message.pm | 248 ++
 scripts/forward   | 196 +
 t/message.t   | 105 ++
 3 files changed, 379 insertions(+), 170 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libencode-perl] 02/03: Update debian/changelog

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libencode-perl.

commit 0c7c941eb30fbd3c0f93db91ecb11be1563a0d1a
Author: gregor herrmann 
Date:   Sat Dec 3 00:22:03 2016 +0100

Update debian/changelog

Gbp-Dch: Ignore
---
 debian/changelog | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c0a713a..a5141ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libencode-perl (2.88-1) UNRELEASED; urgency=medium
+
+  * Import upstream version 2.88
+
+ -- gregor herrmann   Sat, 03 Dec 2016 00:22:03 +0100
+
 libencode-perl (2.87-1) unstable; urgency=medium
 
   * Import upstream version 2.87.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libencode-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[pkg-perl-tools] 02/04: Build a new Message object from global vars

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch master
in repository pkg-perl-tools.

commit ce03edfe509abe8bd0572fbef98f8c5bae9fb376
Author: Alex Muntada 
Date:   Fri Dec 2 18:38:49 2016 +0100

Build a new Message object from global vars
---
 lib/Debian/PkgPerl/Message.pm | 37 +++--
 scripts/forward   | 34 ++
 2 files changed, 53 insertions(+), 18 deletions(-)

diff --git a/lib/Debian/PkgPerl/Message.pm b/lib/Debian/PkgPerl/Message.pm
index 2da91a0..2056b03 100644
--- a/lib/Debian/PkgPerl/Message.pm
+++ b/lib/Debian/PkgPerl/Message.pm
@@ -39,7 +39,13 @@ sub new {
 }
 
 sub get_subject {
-my $default = ( $bug ? $bug_info{Subject} : $patch_info{Subject} ) // '';
+my $self = shift;
+
+my $info= $self->{info};
+my $patch   = $self->{patch};
+my $opt_tracker = $self->{tracker};
+
+my $default = $info->{Subject} // '';
 $default = "[PATCH] $default"
 if $patch and $default !~ /\[PATCH\]/ and $opt_tracker ne 'github';
 
@@ -49,8 +55,11 @@ sub get_subject {
 }
 
 sub edit_message {
+my $self = shift;
 my $body = shift or confess;
 
+my $opt_tracker_url = $self->{url};
+
 $body
 = "# Feel free to edit the message contents to your liking.\n"
 . "# Fiddling with the patch itself is probably a bad idea.\n"
@@ -71,21 +80,29 @@ sub edit_message {
 }
 
 sub prepare_body {
+my $self = shift;
 my $body;
 
+my $bug = $self->{bug};
+my $opt_dist= $self->{dist};
+my $info= $self->{info};
+my $patch   = $self->{patch};
+my $opt_tracker = $self->{tracker};
+my $name= $self->{name};
+
 $Text::Wrap::columns = 70;
 $Text::Wrap::huge= 'overflow';
 
 if ($bug) {
 $body = "We have the following bug reported to the Debian package "
-. "of $opt_dist ($bug_info{url}):" . "\n";
+. "of $opt_dist ($info->{url}):" . "\n";
 $body .= "\nIt doesn't seem to be a bug in the packaging, "
 . "so you may want to take a look. Thanks!\n";
 $body = wrap( '', '', $body );
 
 $body .= "\n" . $scissors_line;
 $body .= "\n\`\`\`" if $opt_tracker eq 'github';
-$body .= "\n" . $bug_info{msg};
+$body .= "\n" . $info->{msg};
 $body .= "\n\`\`\`" if $opt_tracker eq 'github';
 $body .= "\n" . $scissors_line . "\n";
 
@@ -141,13 +158,21 @@ sub prepare_body {
 $body .= "\nThanks for considering,\n";
 $body .= wrap( '  ', '  ', "$name,\nDebian Perl Group\n" );
 
-return edit_message($body);
+return $self->edit_message($body);
 }
 
 sub send_by_mail {
+my $self = shift;
+
+my $name= $self->{name};
+my $email   = $self->{email};
+my $opt_mailto  = $self->{mailto};
+my $patch   = $self->{patch};
+my $opt_tracker_url = $self->{url};
+
 my $from= "$name <$email>";
-my $text= prepare_body();
-my $subject = get_subject();
+my $text= $self->prepare_body();
+my $subject = $self->get_subject();
 
 my $msg = MIME::Lite->new(
 From=> $from,
diff --git a/scripts/forward b/scripts/forward
index 2f6c10e..b57d5eb 100755
--- a/scripts/forward
+++ b/scripts/forward
@@ -215,7 +215,28 @@ my $bug_info = Debian::PkgPerl::Bug->new(
 );
 %bug_info = $bug_info->retrieve_bug_info() if $bug;
 
-my $message = Debian::PkgPerl::Message->new();
+my $name = $ENV{'DEBFULLNAME'};
+my $email
+= $ENV{'DEBEMAIL'}
+|| $ENV{'EMAIL'}
+|| die "Err: Set a valid email address";
+
+if ( !$name ) {
+$name = ( getpwuid($<) )[6];
+$name =~ s/,.*//;
+}
+
+my $message = Debian::PkgPerl::Message->new(
+bug => $bug,
+patch   => $patch,
+info=> $bug ? \%bug_info : \%patch_info,
+tracker => $opt_tracker,
+url => $opt_tracker_url,
+dist=> $opt_dist,
+name=> $name,
+email   => $email,
+mailto  => $opt_mailto,
+);
 
 sub detect_dist {
 return $upstream_metadata->{Name}
@@ -256,17 +277,6 @@ sub detect_dist {
 return;
 }
 
-my $name = $ENV{'DEBFULLNAME'};
-my $email
-= $ENV{'DEBEMAIL'}
-|| $ENV{'EMAIL'}
-|| die "Err: Set a valid email address";
-
-if ( !$name ) {
-$name = ( getpwuid($<) )[6];
-$name =~ s/,.*//;
-}
-
 # RT config
 my $rt_server = 'https://rt.cpan.org';
 my %rt_login;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[pkg-perl-tools] 03/04: Add a test for Debian::PkgPerl::Message

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch master
in repository pkg-perl-tools.

commit 33e66b8ce088b1ae65e43d00076ebe9f0233eff3
Author: Alex Muntada 
Date:   Sat Dec 3 00:16:42 2016 +0100

Add a test for Debian::PkgPerl::Message
---
 lib/Debian/PkgPerl/Message.pm |  24 --
 t/message.t   | 105 ++
 2 files changed, 125 insertions(+), 4 deletions(-)

diff --git a/lib/Debian/PkgPerl/Message.pm b/lib/Debian/PkgPerl/Message.pm
index 2056b03..f1c4d81 100644
--- a/lib/Debian/PkgPerl/Message.pm
+++ b/lib/Debian/PkgPerl/Message.pm
@@ -35,7 +35,15 @@ sub new {
 my $class = shift;
 my %params = @_;
 
-return bless \%params, $class;
+my %obj = (
+# defaults
+interactive => 1,
+
+# caller params
+%params,
+);
+
+return bless \%obj, $class;
 }
 
 sub get_subject {
@@ -49,9 +57,14 @@ sub get_subject {
 $default = "[PATCH] $default"
 if $patch and $default !~ /\[PATCH\]/ and $opt_tracker ne 'github';
 
-my $term = Term::ReadLine->new('forward');
+my $subject = $default;
+
+if ( $self->{interactive} ) {
+my $term = Term::ReadLine->new('forward');
+$subject = $term->readline( 'Subject: ', $default );
+}
 
-return $term->readline( 'Subject: ', $default );
+return $subject;
 }
 
 sub edit_message {
@@ -158,7 +171,10 @@ sub prepare_body {
 $body .= "\nThanks for considering,\n";
 $body .= wrap( '  ', '  ', "$name,\nDebian Perl Group\n" );
 
-return $self->edit_message($body);
+$body = $self->edit_message($body)
+if $self->{interactive};
+
+return $body;
 }
 
 sub send_by_mail {
diff --git a/t/message.t b/t/message.t
new file mode 100644
index 000..07082af
--- /dev/null
+++ b/t/message.t
@@ -0,0 +1,105 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+BEGIN {
+plan skip_all
+=> "Set AUTHOR_TESTING and DPT_PACKAGES to perform these tests"
+unless $ENV{AUTHOR_TESTING}
+and -d $ENV{DPT_PACKAGES};;
+
+plan skip_all
+=> "These tests require a working Debian::PkgPerl::Message"
+unless eval { use Debian::PkgPerl::Message; 1 };
+}
+
+# Defaults
+my %params = (
+interactive => 0,
+dist=> 'pkg-perl-dummy',
+name=> 'DPT Tester',
+email   => 't...@example.com',
+mailto  => 'upstr...@example.com',
+);
+
+my $patch = "$ENV{DPT_PACKAGES}/pkg-perl-tools/t/dummy.txt.patch";
+
+subtest 'Test bug message' => sub {
+plan skip_all
+=> "Bug tests require a working Debian::PkgPerl::Bug"
+ . " and LWP::Simple"
+unless eval { use Debian::PkgPerl::Bug; 1 }
+and eval { use LWP::Simple; 1 };
+
+use Test::RequiresInternet ( 'bugs.debian.org' => 80 );
+use Test::RequiresInternet ( 'bugs.debian.org' => 443 );
+
+my $html = get('https://bugs.debian.org/src:pkg-perl-tools');
+my @list = $html =~ /#\1<\/a>/g;
+my $bug = $list[0];
+
+my %info = Debian::PkgPerl::Bug->new( bug => $bug )
+->retrieve_bug_info();
+
+my $msg = new_ok( 'Debian::PkgPerl::Message', [
+%params,
+bug => $bug,
+info=> \%info,
+tracker => 'github',
+]);
+
+like( $msg->get_subject(), qr/$info{Subject}/, 'bug subject' );
+like( $msg->prepare_body(), qr/bugs\.debian\.org\/$bug/m, 'bug body' );
+
+done_testing();
+};
+
+subtest 'Test patch message to GitHub' => sub {
+plan skip_all
+=> "Patch tests require a working Debian::PkgPerl::Patch"
+unless eval { require Debian::PkgPerl::Patch; 1 };
+
+my %info = Debian::PkgPerl::Patch->new( patch => $patch )
+->retrieve_patch_info();
+
+my $msg = new_ok( 'Debian::PkgPerl::Message', [
+%params,
+patch   => $patch,
+info=> \%info,
+tracker => 'github',
+url => 'https://github.com/alexm/pkg-perl-dummy/issues',
+]);
+
+like( $msg->get_subject(), qr/$info{Subject}/, 'patch subject' );
+unlike( $msg->prepare_body(), qr/^(Description|Author)/m, 'patch body' );
+
+done_testing();
+};
+
+
+subtest 'Test patch message to CPAN' => sub {
+plan skip_all
+=> "Patch tests require a working Debian::PkgPerl::Patch"
+unless eval { require Debian::PkgPerl::Patch; 1 };
+
+my %info = Debian::PkgPerl::Patch->new( patch => $patch )
+->retrieve_patch_info();
+
+my $msg = new_ok( 'Debian::PkgPerl::Message', [
+%params,
+patch   => $patch,
+info=> \%info,
+tracker => 'cpan',
+url => 'https://rt.cpan.org/Public/Dist/Display.html?Name=DUMMY',
+]);
+
+like( $msg->get_subject(), qr/$info{Subject}/, 'patch subject' );
+like( $msg->prepare_body(), qr/^(Description|Author)/m, 'patch body' );
+
+done_testing();
+};
+
+done_testing();

-- 
Alioth's 

[pkg-perl-tools] 01/04: Extract message subs into a Message class

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch master
in repository pkg-perl-tools.

commit 95e32da7f4614d31a94134b973a8708bc6ff0b5b
Author: Alex Muntada 
Date:   Fri Dec 2 18:26:07 2016 +0100

Extract message subs into a Message class
---
 lib/Debian/PkgPerl/Message.pm | 207 ++
 scripts/forward   | 168 ++
 2 files changed, 214 insertions(+), 161 deletions(-)

diff --git a/lib/Debian/PkgPerl/Message.pm b/lib/Debian/PkgPerl/Message.pm
new file mode 100644
index 000..2da91a0
--- /dev/null
+++ b/lib/Debian/PkgPerl/Message.pm
@@ -0,0 +1,207 @@
+package Debian::PkgPerl::Message;
+
+use strict;
+use warnings;
+
+use autodie;
+use Carp;
+use MIME::Lite;
+use Term::ReadLine;
+use Text::Wrap qw(wrap);
+use Proc::InvokeEditor;
+
+=head1 NAME
+
+Debian::PkgPerl::Message - Builds messages to be forwarded.
+
+=head1 SYNOPSIS
+
+use Debian::PkgPerl::Message;
+my $msg = Debian::PkgPerl::Message->new();
+my $subject = $msg->get_subject();
+my $body = $msg->prepare_body();
+$msg->send_by_mail();
+
+=head1 DESCRIPTION
+
+Helper class that builds different kind of messages to be forwarded
+upstream. They may be delivered by mail or comments on a bug tracker.
+
+=cut
+
+my $scissors_line = ( "--8<-" x 5 ) . "\n";
+
+sub new {
+my $class = shift;
+my %params = @_;
+
+return bless \%params, $class;
+}
+
+sub get_subject {
+my $default = ( $bug ? $bug_info{Subject} : $patch_info{Subject} ) // '';
+$default = "[PATCH] $default"
+if $patch and $default !~ /\[PATCH\]/ and $opt_tracker ne 'github';
+
+my $term = Term::ReadLine->new('forward');
+
+return $term->readline( 'Subject: ', $default );
+}
+
+sub edit_message {
+my $body = shift or confess;
+
+$body
+= "# Feel free to edit the message contents to your liking.\n"
+. "# Fiddling with the patch itself is probably a bad idea.\n"
+. "# Heading lines starting with '#' are ignored\n"
+. "# Empty message aborts the process\n"
+. "#\n"
+. "# You may want to check if a similar ticket already exists at\n"
+. "#  $opt_tracker_url\n\n"
+. $body;
+
+$body = Proc::InvokeEditor->edit($body);
+
+$body =~ s/^#[^\n]*\n//mg while $body =~ /^#/;
+
+die "Empty message. Terminating.\n" unless $body;
+
+return $body;
+}
+
+sub prepare_body {
+my $body;
+
+$Text::Wrap::columns = 70;
+$Text::Wrap::huge= 'overflow';
+
+if ($bug) {
+$body = "We have the following bug reported to the Debian package "
+. "of $opt_dist ($bug_info{url}):" . "\n";
+$body .= "\nIt doesn't seem to be a bug in the packaging, "
+. "so you may want to take a look. Thanks!\n";
+$body = wrap( '', '', $body );
+
+$body .= "\n" . $scissors_line;
+$body .= "\n\`\`\`" if $opt_tracker eq 'github';
+$body .= "\n" . $bug_info{msg};
+$body .= "\n\`\`\`" if $opt_tracker eq 'github';
+$body .= "\n" . $scissors_line . "\n";
+
+if ($patch) {
+# bug + patch
+$body
+.= wrap( '', '', "The Debian package of $opt_dist has the 
following "
+. "patch applied to fix the bug.\n" );
+}
+}
+elsif ($patch) {
+# patch but no bug
+
+$body
+= "In Debian we are currently applying the following "
+. "patch to $opt_dist.\n"
+. "We thought you might be interested in it too.";
+$body = wrap( '', '', $body );
+$body .= "\n\n";
+
+if ( $opt_tracker ne 'github' ) {
+open my $patch_fh, '<', $patch;
+
+while ( my $line = <$patch_fh> ) {
+chomp($line);
+last if $line eq '---';
+last if $line =~ /^--- /;
+last if $line =~ /^diff\h--git\ha\//;
+last if $line =~ /^index\h[0-9a-f]+\.\.[0-9a-f]+\h\d*\h/;
+next if $line =~ /^Forwarded:/;
+$body .= $line . "\n";
+}
+}
+}
+else {
+die "No patch nor bug!? (a.k.a. should not happen)";
+}
+
+if ($patch) {
+require Dpkg::Control::Info;
+my $c = Dpkg::Control::Info->new();
+my $vcs_browser = $c->get_source->{'Vcs-Browser'};
+if ( $vcs_browser and $vcs_browser =~ /cgit/ ) {
+$body .= wrap( '', '', "\nThe patch is tracked in our Git 
repository at "
+  . "$vcs_browser/plain/$patch\n" );
+}
+elsif ( $vcs_browser and $vcs_browser =~ /gitweb/ ) {
+$body .= wrap( '', '', "\nThe patch is tracked in our Git 
repository at "
+  . "$vcs_browser;a=blob;f=$patch;hb=HEAD\n" );
+}
+}
+
+$body .= "\nThanks for considering,\n";
+$body .= wrap( '  ', '  ', "$name,\nDebian 

[pkg-perl-tools] branch master updated (5abe04b -> 45a4796)

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a change to branch master
in repository pkg-perl-tools.

  from  5abe04b   Merge branch 'extract-patch-to-class'
   new  95e32da   Extract message subs into a Message class
   new  ce03edf   Build a new Message object from global vars
   new  33e66b8   Add a test for Debian::PkgPerl::Message
   new  45a4796   Merge branch 'extract-messages-to-class'

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 lib/Debian/PkgPerl/Message.pm | 248 ++
 scripts/forward   | 196 +
 t/message.t   | 105 ++
 3 files changed, 379 insertions(+), 170 deletions(-)
 create mode 100644 lib/Debian/PkgPerl/Message.pm
 create mode 100644 t/message.t

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libany-moose-perl] 02/02: update changelog

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libany-moose-perl.

commit a1743d3696d5ccf383cc5645bb2d1cf5829e3409
Author: gregor herrmann 
Date:   Sat Dec 3 00:08:36 2016 +0100

update changelog

Gbp-Dch: Ignore
---
 debian/changelog | 8 
 1 file changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ea3739e..575461f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libany-moose-perl (0.27-2) UNRELEASED; urgency=medium
+
+  * Rename debian/NEWS to debian/NEWS.Developer.
+The information is relevant for developers but not for user who hav the
+package installed as a pure dependency.
+
+ -- gregor herrmann   Sat, 03 Dec 2016 00:08:21 +0100
+
 libany-moose-perl (0.27-1) unstable; urgency=medium
 
   * Team upload.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libany-moose-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libany-moose-perl] branch master updated (0aa793f -> a1743d3)

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a change to branch master
in repository libany-moose-perl.

  from  0aa793f   Releasing package libany-moose-perl version 0.27-1
   new  ead132f   Rename debian/NEWS to debian/NEWS.Developer.
   new  a1743d3   update changelog

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/{NEWS => NEWS.Developer} | 0
 debian/changelog| 8 
 debian/libany-moose-perl.docs   | 1 +
 3 files changed, 9 insertions(+)
 rename debian/{NEWS => NEWS.Developer} (100%)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libany-moose-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libany-moose-perl] 01/02: Rename debian/NEWS to debian/NEWS.Developer.

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libany-moose-perl.

commit ead132f56b35517f8791a24d7419a7a4056562d6
Author: gregor herrmann 
Date:   Sat Dec 3 00:06:33 2016 +0100

Rename debian/NEWS to debian/NEWS.Developer.

The information is relevant for developers but not for user who hav the
package installed as a pure dependency.
---
 debian/{NEWS => NEWS.Developer} | 0
 debian/libany-moose-perl.docs   | 1 +
 2 files changed, 1 insertion(+)

diff --git a/debian/NEWS b/debian/NEWS.Developer
similarity index 100%
rename from debian/NEWS
rename to debian/NEWS.Developer
diff --git a/debian/libany-moose-perl.docs b/debian/libany-moose-perl.docs
index dc63d18..0df8657 100644
--- a/debian/libany-moose-perl.docs
+++ b/debian/libany-moose-perl.docs
@@ -1 +1,2 @@
 CONTRIBUTING
+debian/NEWS.Developer

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libany-moose-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdata-treedumper-perl] annotated tag debian/0.40-3 created (now 0bb2bf3)

2016-12-02 Thread gregor herrmann
This is an automated email from the git hooks/post-receive script.

gregoa pushed a change to annotated tag debian/0.40-3
in repository libdata-treedumper-perl.

at  0bb2bf3   (tag)
   tagging  28711a7be65191d51d1777531e4beb8b2286a967 (commit)
  replaces  debian/0.40-2
 tagged by  gregor herrmann
on  Sat Dec 3 00:03:21 2016 +0100

- Log -
tagging package libdata-treedumper-perl version debian/0.40-3
-BEGIN PGP SIGNATURE-

iQKTBAABCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAlhB/blfFIAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgZdOA/8Cey195vN2Usrw+MT1ir7l8iq5CObYOnm8REzVd4rVDioZxUb/3HcLjo/
R7jg8xWKN+rOQuoQ8ZwH2FKY3o2h38KKzcduFwqHifwB/3QkDkhtZlY3fYQzvA6s
QTkytpI9xFuU7E201sqO6f3piFXxG4LoMdo81I5TnEY+uxC6Gzd9HISA1p76iCfi
/9EnDlPf0IDGtHOytCBNsqrTQ3zad1Cck47SIBmbIfHLbQNbOGGIh9yppnaGT9Ik
OaL8m2HC6DQuITDHtOV3kpqnfZn1lofKi+oe4REBkg+yhHP9EpybM94G1Vz6zqDh
FCL16aeQfH4IkkqFc6a9mAijOis/1dad6X9NYJ9sw9mWdEvK1MswhvcqvXs9IDe+
jP+u25o4/593H4KT71aT3j1W0HpGhmkVQapKgaHl91yTUhKDrnbrWQE04inIK5MZ
UgvLdl92rzSzR1/5NedYjlJf/JhCqaq+WyHhtyyov2t5YyG6uRkp9fYCdwB573L0
MtpWDDZuC+lgqalkizUKIMXHJO+LhtcQzEoj5sTlArquf0m7Os24Hc4ImzPfO8/7
FqJVy0h1gBQUt5q7AiUuqchHCwkBZxssU3DTXkuqisLB+wlKGMeKtJgnFKX4zUXK
ZlZq/ZbFKCBqNxUBSGHoxf9JNmr5hHKes9X+ZLrB0JMUCPOY0QU=
=sxF8
-END PGP SIGNATURE-

Peter Pentchev (2):
  Recommend libdata-treedumper-oo-perl, used in the examples.
  Prepare to upload libdata-treedumper-perl-0.40-3 to unstable.

---

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdata-treedumper-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[pkg-perl-tools] 03/04: Add a test for Debian::PkgPerl::Patch

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch master
in repository pkg-perl-tools.

commit 2e3a21fdb6758e76156f8862aab7949f98968a3a
Author: Alex Muntada 
Date:   Fri Dec 2 22:30:28 2016 +0100

Add a test for Debian::PkgPerl::Patch
---
 t/dummy.txt.patch |  4 
 t/patch.t | 29 +
 2 files changed, 33 insertions(+)

diff --git a/t/dummy.txt.patch b/t/dummy.txt.patch
index 459a405..f9c2f2d 100644
--- a/t/dummy.txt.patch
+++ b/t/dummy.txt.patch
@@ -1,3 +1,7 @@
+Description: This is a dummy patch for testing
+Author: Alex Muntada 
+Forwarded: no
+
 diff --git a/dummy.txt b/dummy.txt
 index a5304af..358fe0a 100644
 --- a/dummy.txt
diff --git a/t/patch.t b/t/patch.t
new file mode 100644
index 000..6d61168
--- /dev/null
+++ b/t/patch.t
@@ -0,0 +1,29 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+BEGIN {
+plan skip_all
+=> "Set AUTHOR_TESTING and DPT_PACKAGES to perform these tests"
+unless $ENV{AUTHOR_TESTING}
+and -d $ENV{DPT_PACKAGES};;
+
+plan skip_all
+=> "These tests require a working Debian::PkgPerl::Patch"
+unless eval { use Debian::PkgPerl::Patch; 1 };
+}
+
+my $patch = "$ENV{DPT_PACKAGES}/pkg-perl-tools/t/dummy.txt.patch";
+my $bug = new_ok( 'Debian::PkgPerl::Patch', [ patch => $patch ] );
+
+my %info = $bug->retrieve_patch_info();
+ok( exists $info{Subject}, "retrieve patch info" );
+like( $info{Subject}, qr/\w+/, "subject in patch is not empty" );
+note("Subject: $info{Subject}");
+like( $info{From}, qr/\w+/, "from in patch is not empty" );
+note("From: $info{From}");
+
+done_testing();

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[pkg-perl-tools] branch master updated (4112981 -> 5abe04b)

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a change to branch master
in repository pkg-perl-tools.

  from  4112981   Merge branch 'extract-bug-to-class'
   new  ca6442e   Extract patch info sub into a Patch class
   new  9017a32   Retrieve Patch information from global vars
   new  2e3a21f   Add a test for Debian::PkgPerl::Patch
   new  5abe04b   Merge branch 'extract-patch-to-class'

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 lib/Debian/PkgPerl/Patch.pm | 104 
 scripts/forward |  43 +++---
 t/dummy.txt.patch   |   4 ++
 t/patch.t   |  29 
 4 files changed, 143 insertions(+), 37 deletions(-)
 create mode 100644 lib/Debian/PkgPerl/Patch.pm
 create mode 100644 t/patch.t

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[pkg-perl-tools] 01/04: Extract patch info sub into a Patch class

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch master
in repository pkg-perl-tools.

commit ca6442e3c7aad9ea53822e5c50853b728de38289
Author: Alex Muntada 
Date:   Fri Dec 2 22:15:47 2016 +0100

Extract patch info sub into a Patch class
---
 lib/Debian/PkgPerl/Patch.pm | 96 +
 scripts/forward | 40 ++-
 2 files changed, 99 insertions(+), 37 deletions(-)

diff --git a/lib/Debian/PkgPerl/Patch.pm b/lib/Debian/PkgPerl/Patch.pm
new file mode 100644
index 000..64551f1
--- /dev/null
+++ b/lib/Debian/PkgPerl/Patch.pm
@@ -0,0 +1,96 @@
+package Debian::PkgPerl::Patch;
+
+use strict;
+use warnings;
+
+use autodie;
+use Carp;
+use File::Spec;
+
+=head1 NAME
+
+Debian::PkgPerl::Patch - Retrieves patch information to be forwarded.
+
+=head1 SYNOPSIS
+
+use Debian::PkgPerl::Patch;
+my $msg = Debian::PkgPerl::Patch->new();
+my %info = $msg->retrieve_patch_info();
+
+=head1 DESCRIPTION
+
+Helper class that retrieves information related to the patch being
+forwarded upstream.
+
+=cut
+
+sub new {
+my $class = shift;
+my %params = @_;
+
+return bless \%params, $class;
+}
+
+sub retrieve_patch_info {
+open( my $in, "<", $patch );
+my $line_no = 1;
+while ( $line_no <= 10 ) {
+my $line = <$in>;
+chomp($line);
+
+last if $line =~ /^(?:diff|index|---|\+\+\+)/s;
+
+if ($line !~ /^Forwarded: not yet/i
+and $line !~ /^Forwarded: no$/i
+and $line =~ /^(?:Forwarded|Bug): (\S+)/i )
+{
+if ($opt_force) {
+warn "Patch already forwarded to $1\n";
+warn "Continuing anyway because of --force.\n";
+}
+else {
+die "Patch already forwarded to $1\n";
+}
+}
+
+$patch_info{Subject} = $1
+if $line =~ /^(?:Subject|Description):\s+(.+)/;
+$patch_info{From} = $1
+if $line =~ /^(?:From|Author):\s+(.+)/;
+$line_no++;
+}
+
+unless ( $patch_info{Subject} ) {
+# TODO: Use basename($patch) instead?
+# default subject is the patch name
+my $fn = ( File::Spec->splitpath($patch) )[-1];
+$fn =~ s/\.(?:patch|diff)$//;# strip extension
+$fn =~ s/^\d+[-_]?//;# strip leading number
+$fn =~ s/(\_|\-)/ /g;# spaces make reading easier
+$patch_info{Subject} = $fn;
+}
+}
+
+=head1 LICENSE AND COPYRIGHT
+
+=over
+
+=item Copyright 2016 Alex Muntada.
+
+=item Copyright 2014 Salvatore Bonaccorso.
+
+=item Copyright 2014 Damyan Ivanov.
+
+=item Copyright 2011 Alessandro Ghedini.
+
+=back
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of either: the GNU General Public License as published
+by the Free Software Foundation; or the Artistic License.
+
+See http://dev.perl.org/licenses/ for more information.
+
+=cut
+
+1;
diff --git a/scripts/forward b/scripts/forward
index a0fbdb4..417422b 100755
--- a/scripts/forward
+++ b/scripts/forward
@@ -17,6 +17,7 @@ use Proc::InvokeEditor;
 use MIME::Lite;
 use YAML::XS qw(LoadFile);
 use Debian::PkgPerl::Bug;
+use Debian::PkgPerl::Patch;
 use Debian::PkgPerl::GitHub;
 
 use warnings;
@@ -206,43 +207,8 @@ else {
 }
 
 if ($patch) {
-open( my $in, "<", $patch );
-my $line_no = 1;
-while ( $line_no <= 10 ) {
-my $line = <$in>;
-chomp($line);
-
-last if $line =~ /^(?:diff|index|---|\+\+\+)/s;
-
-if ($line !~ /^Forwarded: not yet/i
-and $line !~ /^Forwarded: no$/i
-and $line =~ /^(?:Forwarded|Bug): (\S+)/i )
-{
-if ($opt_force) {
-warn "Patch already forwarded to $1\n";
-warn "Continuing anyway because of --force.\n";
-}
-else {
-die "Patch already forwarded to $1\n";
-}
-}
-
-$patch_info{Subject} = $1
-if $line =~ /^(?:Subject|Description):\s+(.+)/;
-$patch_info{From} = $1
-if $line =~ /^(?:From|Author):\s+(.+)/;
-$line_no++;
-}
-
-unless ( $patch_info{Subject} ) {
-# TODO: Use basename($patch) instead?
-# default subject is the patch name
-my $fn = ( File::Spec->splitpath($patch) )[-1];
-$fn =~ s/\.(?:patch|diff)$//;# strip extension
-$fn =~ s/^\d+[-_]?//;# strip leading number
-$fn =~ s/(\_|\-)/ /g;# spaces make reading easier
-$patch_info{Subject} = $fn;
-}
+my $patch_info = Debian::PkgPerl::Patch->new();
+%patch_info = $patch_info->retrieve_patch_info();
 }
 
 my $bug_info = Debian::PkgPerl::Bug->new(

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___

[pkg-perl-tools] 04/04: Merge branch 'extract-patch-to-class'

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch master
in repository pkg-perl-tools.

commit 5abe04b99eac088dde61f23ed9f21f86a1f60df5
Merge: 4112981 2e3a21f
Author: Alex Muntada 
Date:   Fri Dec 2 22:42:27 2016 +0100

Merge branch 'extract-patch-to-class'

 lib/Debian/PkgPerl/Patch.pm | 104 
 scripts/forward |  43 +++---
 t/dummy.txt.patch   |   4 ++
 t/patch.t   |  29 
 4 files changed, 143 insertions(+), 37 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[pkg-perl-tools] 02/04: Retrieve Patch information from global vars

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch master
in repository pkg-perl-tools.

commit 9017a321e6c09b79fc35dffc5d6c51b21aa12534
Author: Alex Muntada 
Date:   Fri Dec 2 22:22:02 2016 +0100

Retrieve Patch information from global vars
---
 lib/Debian/PkgPerl/Patch.pm | 8 
 scripts/forward | 5 -
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/lib/Debian/PkgPerl/Patch.pm b/lib/Debian/PkgPerl/Patch.pm
index 64551f1..1326b27 100644
--- a/lib/Debian/PkgPerl/Patch.pm
+++ b/lib/Debian/PkgPerl/Patch.pm
@@ -32,6 +32,12 @@ sub new {
 }
 
 sub retrieve_patch_info {
+my $self = shift;
+my %patch_info;
+
+my $patch = $self->{patch};
+my $opt_force = $self->{force};
+
 open( my $in, "<", $patch );
 my $line_no = 1;
 while ( $line_no <= 10 ) {
@@ -69,6 +75,8 @@ sub retrieve_patch_info {
 $fn =~ s/(\_|\-)/ /g;# spaces make reading easier
 $patch_info{Subject} = $fn;
 }
+
+return %patch_info;
 }
 
 =head1 LICENSE AND COPYRIGHT
diff --git a/scripts/forward b/scripts/forward
index 417422b..d7598b5 100755
--- a/scripts/forward
+++ b/scripts/forward
@@ -207,7 +207,10 @@ else {
 }
 
 if ($patch) {
-my $patch_info = Debian::PkgPerl::Patch->new();
+my $patch_info = Debian::PkgPerl::Patch->new(
+patch => $patch,
+force => $opt_force,
+);
 %patch_info = $patch_info->retrieve_patch_info();
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdata-treedumper-perl] 01/01: Recommend libdata-treedumper-oo-perl, used in the examples.

2016-12-02 Thread Peter Pentchev
This is an automated email from the git hooks/post-receive script.

roam-guest pushed a commit to branch master
in repository libdata-treedumper-perl.

commit e1cc93003453ec78ef82aedae003fbc94d4c40e6
Author: Peter Pentchev 
Date:   Fri Dec 2 22:59:12 2016 +0200

Recommend libdata-treedumper-oo-perl, used in the examples.

Closes: #831386
Submitted by:   積丹尼 Dan Jacobson 
---
 debian/changelog | 7 +++
 debian/control   | 1 +
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c54cb1f..71a896c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libdata-treedumper-perl (0.40-3) UNRELEASED; urgency=medium
+
+  * Recommend libdata-treedumper-oo-perl, since it is referenced in
+the examples in the documentation.  Closes: #831386
+
+ -- Peter Pentchev   Fri, 02 Dec 2016 22:53:32 +0200
+
 libdata-treedumper-perl (0.40-2) unstable; urgency=low
 
   [ Ansgar Burchardt ]
diff --git a/debian/control b/debian/control
index b2f4328..2056fda 100644
--- a/debian/control
+++ b/debian/control
@@ -25,6 +25,7 @@ Depends: ${misc:Depends},
  libdevel-size-perl,
  libsort-naturally-perl,
  libterm-size-perl
+Recommends: libdata-treedumper-oo-perl
 Description: module for dumping data structures in various formats
  Data::TreeDumper is a Perl module that provides dumps of Perl variable data
  in a tree-like fashion. It is flexible and customizable, providing various

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdata-treedumper-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

[libdata-treedumper-perl] branch master updated (e1cc930 -> 28711a7)

2016-12-02 Thread Peter Pentchev
This is an automated email from the git hooks/post-receive script.

roam-guest pushed a change to branch master
in repository libdata-treedumper-perl.

  from  e1cc930   Recommend libdata-treedumper-oo-perl, used in the 
examples.
   new  28711a7   Prepare to upload libdata-treedumper-perl-0.40-3 to 
unstable.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdata-treedumper-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdata-treedumper-perl] 01/01: Prepare to upload libdata-treedumper-perl-0.40-3 to unstable.

2016-12-02 Thread Peter Pentchev
This is an automated email from the git hooks/post-receive script.

roam-guest pushed a commit to branch master
in repository libdata-treedumper-perl.

commit 28711a7be65191d51d1777531e4beb8b2286a967
Author: Peter Pentchev 
Date:   Fri Dec 2 23:07:01 2016 +0200

Prepare to upload libdata-treedumper-perl-0.40-3 to unstable.
---
 debian/changelog | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 71a896c..1be0795 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
-libdata-treedumper-perl (0.40-3) UNRELEASED; urgency=medium
+libdata-treedumper-perl (0.40-3) unstable; urgency=medium
 
   * Recommend libdata-treedumper-oo-perl, since it is referenced in
 the examples in the documentation.  Closes: #831386
 
- -- Peter Pentchev   Fri, 02 Dec 2016 22:53:32 +0200
+ -- Peter Pentchev   Fri, 02 Dec 2016 23:06:46 +0200
 
 libdata-treedumper-perl (0.40-2) unstable; urgency=low
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdata-treedumper-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdata-treedumper-perl] branch master updated (62b284d -> e1cc930)

2016-12-02 Thread Peter Pentchev
This is an automated email from the git hooks/post-receive script.

roam-guest pushed a change to branch master
in repository libdata-treedumper-perl.

  from  62b284d   Prepare to upload libdata-treedumper-perl-0.40-2 to 
unstable.
   new  e1cc930   Recommend libdata-treedumper-oo-perl, used in the 
examples.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog | 7 +++
 debian/control   | 1 +
 2 files changed, 8 insertions(+)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdata-treedumper-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[pkg-perl-tools] 02/04: Retrieve Bug information from global vars

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch master
in repository pkg-perl-tools.

commit 692f41087443e280a512da3871e540e12d627c8a
Author: Alex Muntada 
Date:   Fri Dec 2 20:12:21 2016 +0100

Retrieve Bug information from global vars
---
 lib/Debian/PkgPerl/Bug.pm | 9 +
 scripts/forward   | 6 +-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/lib/Debian/PkgPerl/Bug.pm b/lib/Debian/PkgPerl/Bug.pm
index 1b3889a..6046173 100644
--- a/lib/Debian/PkgPerl/Bug.pm
+++ b/lib/Debian/PkgPerl/Bug.pm
@@ -31,6 +31,13 @@ sub new {
 }
 
 sub retrieve_bug_info {
+my $self = shift;
+my %bug_info;
+
+my $bug  = $self->{bug};
+my $opt_offline_test = $self->{offline};
+my $opt_force= $self->{force};
+
 $bug_info{url} = "https://bugs.debian.org/$bug;;
 
 if ($opt_offline_test) {
@@ -74,6 +81,8 @@ sub retrieve_bug_info {
 warn "W: Failed to retrieve content of bug #$bug:\n";
 warn "W: $err";
 }
+
+return %bug_info;
 }
 
 =head1 LICENSE AND COPYRIGHT
diff --git a/scripts/forward b/scripts/forward
index abeb462..a0fbdb4 100755
--- a/scripts/forward
+++ b/scripts/forward
@@ -245,7 +245,11 @@ if ($patch) {
 }
 }
 
-my $bug_info = Debian::PkgPerl::Bug->new();
+my $bug_info = Debian::PkgPerl::Bug->new(
+bug => $bug,
+offline => $opt_offline_test,
+force   => $opt_force,
+);
 %bug_info = $bug_info->retrieve_bug_info() if $bug;
 
 sub get_subject {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[pkg-perl-tools] 01/04: Extract bug info sub into a Bug class

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch master
in repository pkg-perl-tools.

commit fed501ba67486a8df25d56daeb510b39a37fa98d
Author: Alex Muntada 
Date:   Fri Dec 2 20:05:35 2016 +0100

Extract bug info sub into a Bug class
---
 lib/Debian/PkgPerl/Bug.pm | 101 ++
 scripts/forward   |  50 ++-
 2 files changed, 104 insertions(+), 47 deletions(-)

diff --git a/lib/Debian/PkgPerl/Bug.pm b/lib/Debian/PkgPerl/Bug.pm
new file mode 100644
index 000..1b3889a
--- /dev/null
+++ b/lib/Debian/PkgPerl/Bug.pm
@@ -0,0 +1,101 @@
+package Debian::PkgPerl::Bug;
+
+use strict;
+use warnings;
+
+use autodie;
+use Carp;
+
+=head1 NAME
+
+Debian::PkgPerl::Bug - Retrieves bug information to be forwarded.
+
+=head1 SYNOPSIS
+
+use Debian::PkgPerl::Bug;
+my $msg = Debian::PkgPerl::Bug->new();
+my %info = $msg->retrieve_bug_info();
+
+=head1 DESCRIPTION
+
+Helper class that retrieves information related to the bug being
+forwarded upstream.
+
+=cut
+
+sub new {
+my $class = shift;
+my %params = @_;
+
+return bless \%params, $class;
+}
+
+sub retrieve_bug_info {
+$bug_info{url} = "https://bugs.debian.org/$bug;;
+
+if ($opt_offline_test) {
+$bug_info{Subject} = 'Test bug subject';
+$bug_info{msg} = "Test bug message\n";
+
+return;
+}
+
+# See http://wiki.debian.org/DebbugsSoapInterface
+require SOAP::Lite;
+my $soap = SOAP::Lite->uri('Debbugs/SOAP')
+->proxy('http://bugs.debian.org/cgi-bin/soap.cgi');
+
+my $info = $soap->get_status($bug)->result()->{$bug};
+
+die "Err: Bug #$bug already closed\n" if $info->{done};
+if ( $info->{forwarded} ) {
+if ($opt_force) {
+warn "Wrn: Bug #$bug already forwarded to $info->{forwarded}\n";
+}
+else {
+die "Err: Bug #$bug already forwarded to $info->{forwarded}\n";
+}
+}
+
+$bug_info{Subject} = $info->{subject};
+
+# try to get the body of the first message
+# get_bug_log() fails with a SOAP error for some bugs. cf. #635018
+my $ok = eval {
+my $log = $soap->get_bug_log($bug)->result();
+$bug_info{msg} = $log->[0]->{body};
+$bug_info{msg} .= "\n" unless $bug_info{msg} =~ /\n$/;
+1;
+};
+
+unless ($ok) {
+my $err = $@;
+
+warn "W: Failed to retrieve content of bug #$bug:\n";
+warn "W: $err";
+}
+}
+
+=head1 LICENSE AND COPYRIGHT
+
+=over
+
+=item Copyright 2016 Alex Muntada.
+
+=item Copyright 2014 Salvatore Bonaccorso.
+
+=item Copyright 2014 Damyan Ivanov.
+
+=item Copyright 2011 Alessandro Ghedini.
+
+=back
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of either: the GNU General Public License as published
+by the Free Software Foundation; or the Artistic License.
+
+See http://dev.perl.org/licenses/ for more information.
+
+=cut
+
+1;
diff --git a/scripts/forward b/scripts/forward
index b57cb9d..abeb462 100755
--- a/scripts/forward
+++ b/scripts/forward
@@ -16,6 +16,7 @@ use Text::Wrap qw(wrap);
 use Proc::InvokeEditor;
 use MIME::Lite;
 use YAML::XS qw(LoadFile);
+use Debian::PkgPerl::Bug;
 use Debian::PkgPerl::GitHub;
 
 use warnings;
@@ -244,53 +245,8 @@ if ($patch) {
 }
 }
 
-retrieve_bug_info() if $bug;
-
-sub retrieve_bug_info {
-$bug_info{url} = "https://bugs.debian.org/$bug;;
-
-if ($opt_offline_test) {
-$bug_info{Subject} = 'Test bug subject';
-$bug_info{msg} = "Test bug message\n";
-
-return;
-}
-
-# See http://wiki.debian.org/DebbugsSoapInterface
-require SOAP::Lite;
-my $soap = SOAP::Lite->uri('Debbugs/SOAP')
-->proxy('http://bugs.debian.org/cgi-bin/soap.cgi');
-
-my $info = $soap->get_status($bug)->result()->{$bug};
-
-die "Err: Bug #$bug already closed\n" if $info->{done};
-if ( $info->{forwarded} ) {
-if ($opt_force) {
-warn "Wrn: Bug #$bug already forwarded to $info->{forwarded}\n";
-}
-else {
-die "Err: Bug #$bug already forwarded to $info->{forwarded}\n";
-}
-}
-
-$bug_info{Subject} = $info->{subject};
-
-# try to get the body of the first message
-# get_bug_log() fails with a SOAP error for some bugs. cf. #635018
-my $ok = eval {
-my $log = $soap->get_bug_log($bug)->result();
-$bug_info{msg} = $log->[0]->{body};
-$bug_info{msg} .= "\n" unless $bug_info{msg} =~ /\n$/;
-1;
-};
-
-unless ($ok) {
-my $err = $@;
-
-warn "W: Failed to retrieve content of bug #$bug:\n";
-warn "W: $err";
-}
-}
+my $bug_info = Debian::PkgPerl::Bug->new();
+%bug_info = $bug_info->retrieve_bug_info() if $bug;
 
 sub get_subject {
 my $default = ( $bug ? $bug_info{Subject} : $patch_info{Subject} ) // '';

-- 
Alioth's 

[pkg-perl-tools] branch master updated (2c7efac -> 4112981)

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a change to branch master
in repository pkg-perl-tools.

  from  2c7efac   Fix ticket attribute name
   new  fed501b   Extract bug info sub into a Bug class
   new  692f410   Retrieve Bug information from global vars
   new  d494134   Add a test for Debian::PkgPerl::Bug
   new  4112981   Merge branch 'extract-bug-to-class'

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 lib/Debian/PkgPerl/Bug.pm | 110 ++
 scripts/forward   |  54 +++
 t/bug.t   |  40 +
 3 files changed, 157 insertions(+), 47 deletions(-)
 create mode 100644 lib/Debian/PkgPerl/Bug.pm
 create mode 100644 t/bug.t

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[pkg-perl-tools] 04/04: Merge branch 'extract-bug-to-class'

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch master
in repository pkg-perl-tools.

commit 4112981f91304955842ab345fd861a0773ea71cb
Merge: 2c7efac d494134
Author: Alex Muntada 
Date:   Fri Dec 2 22:00:15 2016 +0100

Merge branch 'extract-bug-to-class'

 lib/Debian/PkgPerl/Bug.pm | 110 ++
 scripts/forward   |  54 +++
 t/bug.t   |  40 +
 3 files changed, 157 insertions(+), 47 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[pkg-perl-tools] 03/04: Add a test for Debian::PkgPerl::Bug

2016-12-02 Thread Alex Muntada
This is an automated email from the git hooks/post-receive script.

alexm-guest pushed a commit to branch master
in repository pkg-perl-tools.

commit d494134758cbfeb97304d201d7df32e82d01fc8b
Author: Alex Muntada 
Date:   Fri Dec 2 21:51:49 2016 +0100

Add a test for Debian::PkgPerl::Bug
---
 t/bug.t | 40 
 1 file changed, 40 insertions(+)

diff --git a/t/bug.t b/t/bug.t
new file mode 100644
index 000..a26422b
--- /dev/null
+++ b/t/bug.t
@@ -0,0 +1,40 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+BEGIN {
+plan skip_all
+=> "Set AUTHOR_TESTING to perform these tests"
+unless $ENV{AUTHOR_TESTING};
+
+plan skip_all
+=> "These tests require LWP::Simple"
+ . " and a working Debian::PkgPerl::Bug"
+unless eval { use LWP::Simple; 1 }
+and eval { use Debian::PkgPerl::Bug; 1 };
+}
+
+use Test::RequiresInternet ( 'bugs.debian.org' => 80 );
+use Test::RequiresInternet ( 'bugs.debian.org' => 443 );
+
+my $bugs_html = get('https://bugs.debian.org/src:pkg-perl-tools');
+my @bug_list = $bugs_html =~ /#\1<\/a>/g;
+
+plan skip_all
+=> "No open bugs were found in pkg-perl-tools"
+unless @bug_list;
+
+note("Bug list: @bug_list");
+
+my $bug_nr = $bug_list[0];
+my $bug = new_ok( 'Debian::PkgPerl::Bug', [ bug => $bug_nr ]);
+
+my %info = $bug->retrieve_bug_info();
+ok( exists $info{Subject}, "retrieve bug $bug_nr info" );
+like( $info{Subject}, qr/\w+/, "bug $bug_nr subject is not empty" );
+note("bug $bug_nr: $info{Subject}");
+
+done_testing();

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libconfig-model-dpkg-perl] 02/04: Store unexpected patch line in Description

2016-12-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit 232d75af075f152d48808ec5d4e6bf4e902ac0c3
Author: Dominique Dumont 
Date:   Fri Dec 2 18:39:42 2016 +0100

Store unexpected patch line in Description
---
 lib/Config/Model/Backend/Dpkg/Patch.pm | 12 ++--
 lib/Config/Model/Backend/DpkgSyntax.pm | 14 +-
 2 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/lib/Config/Model/Backend/Dpkg/Patch.pm 
b/lib/Config/Model/Backend/Dpkg/Patch.pm
index 28d6f4c..e7eb243 100644
--- a/lib/Config/Model/Backend/Dpkg/Patch.pm
+++ b/lib/Config/Model/Backend/Dpkg/Patch.pm
@@ -126,12 +126,12 @@ sub read {
 
 my $k = 0;
 
-if ($description_holder) { 
-my @desc_lines = map { my $pre = ( $k + 1 == $_ ? '' : "\n"); $k = $_; 
$pre.$stuff{$_} }
-sort { $a <=> $b ;} keys %stuff ;
-my $desc = ($description_text || '') .join( "\n", @desc_lines );
-$node->fetch_element($description_holder)->store( value => $desc, 
check => $check );
-}
+my @desc_lines = map { my $pre = ( $k + 1 == $_ ? '' : "\n"); $k = $_; 
$pre.$stuff{$_} }
+sort { $a <=> $b ;} keys %stuff ;
+my $desc = ($description_text || '') .join( "\n", @desc_lines );
+$description_holder //= 'Description';
+$node->fetch_element($description_holder)->store( value => $desc, check => 
$check );
+
 $node->fetch_element('diff')->store(join('',@$diff));
 
 return 1;
diff --git a/lib/Config/Model/Backend/DpkgSyntax.pm 
b/lib/Config/Model/Backend/DpkgSyntax.pm
index 83628f0..acfe7a8 100644
--- a/lib/Config/Model/Backend/DpkgSyntax.pm
+++ b/lib/Config/Model/Backend/DpkgSyntax.pm
@@ -96,13 +96,14 @@ sub parse_dpkg_lines {
 } 
 elsif ( $l =~ /^\s+\.$/) {   # line with a single dot
 $logger->trace("dot line: adding blank line to field $key");
-_store_line($store_ref,$file_path,"",$check,$line_nb) ;
+_store_line($store_ref,$file_path,"",$check,$line_nb, 
$handle_garbage) ;
 }
 elsif ( $l =~ s/^\s//) { # non empty line
 $logger->trace("text line: adding '$l' to field $key");
-_store_line($store_ref,$file_path,$l , $check,$line_nb);
+_store_line($store_ref,$file_path,$l , $check,$line_nb, 
$handle_garbage);
 }
 elsif ($handle_garbage) {
+$logger->trace("storing garbage in line $line_nb: $l");
 $handle_garbage->($l, $line_nb) ;
 }
 else {
@@ -141,12 +142,15 @@ sub parse_dpkg_lines {
 return wantarray ? @res : \@res ;   
 }
 
-sub _store_line {
-my ($store_ref,$file_path,$line,$check,$line_nb) = @_ ;
-
+sub _store_line ($store_ref,$file_path,$line,$check,$line_nb, $handle_garbage) 
{
+
 if (defined $store_ref) {
 $$store_ref .= "\n$line" ;
 }
+elsif ($handle_garbage) {
+$logger->trace("storing garbage in line $line_nb: $line");
+$handle_garbage->($line, $line_nb) ;
+}
 else {
 my $msg = "Did not find a keyword before: '$line''";
 Config::Model::Exception::Syntax -> throw (

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libconfig-model-dpkg-perl] 04/04: test read path from git

2016-12-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit 7449bcb103d9adc7928628e12510b1e5e5ec1193
Author: Dominique Dumont 
Date:   Fri Dec 2 19:02:30 2016 +0100

test read path from git
---
 t/model_tests.d/dpkg-patch-examples/by-git | 19 +++
 t/model_tests.d/dpkg-patch-test-conf.pl| 10 ++
 2 files changed, 29 insertions(+)

diff --git a/t/model_tests.d/dpkg-patch-examples/by-git 
b/t/model_tests.d/dpkg-patch-examples/by-git
new file mode 100644
index 000..a52fef8
--- /dev/null
+++ b/t/model_tests.d/dpkg-patch-examples/by-git
@@ -0,0 +1,19 @@
+commit a1a1d4c6e5b8be92afa5b7134196cd5a7af12bf6
+Author: Dominique Dumont 
+Date:   Wed Sep 28 08:45:18 2016 +0200
+
+enhance © scan pattern doc in model
+
+diff --git a/lib/Config/Model/models/Dpkg/Copyright/ScanPatterns/Lists.pl 
b/lib/Config/Model/models/Dpkg/Copyright/ScanPatterns/Lists.pl
+index efdb0ad..e72b090 100644
+--- a/lib/Config/Model/models/Dpkg/Copyright/ScanPatterns/Lists.pl
 b/lib/Config/Model/models/Dpkg/Copyright/ScanPatterns/Lists.pl
+@@ -7,7 +7,7 @@
+   'type' => 'leaf',
+   'value_type' => 'uniline'
+ },
+-'description' => 'Files matching any of these suffixes will be 
scanned by L. Default suffixes of L will also be 
sued. See L',
++'description' => 'Files matching any of these suffixes will be 
scanned by L. Do not specify the dot with the suffixes (e.g. 
enter "jpg" and not ".jpg"). Default suffixes of L will also be 
used. See L',
+ 'type' => 'list'
+   },
+   'pattern',
diff --git a/t/model_tests.d/dpkg-patch-test-conf.pl 
b/t/model_tests.d/dpkg-patch-test-conf.pl
index 6c3c46c..92a5cd7 100644
--- a/t/model_tests.d/dpkg-patch-test-conf.pl
+++ b/t/model_tests.d/dpkg-patch-test-conf.pl
@@ -36,6 +36,16 @@ $skip = ( $@ or not -r '/etc/debian_version' ) ? 1 : 0;
 'Synopsis' => qr/Configure.pl/,
 }
 },
+{
+name => 'by-git',
+config_file => $conf_file_name,
+dump_warnings => [ qr/Empty/ ],
+check => {
+Description => qr/enhance/,
+diff => qr/@@ -7,7/
+}
+
+},
 );
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

[libconfig-model-dpkg-perl] 01/04: use signature in Backend/DpkgSyntax

2016-12-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit a1b570004bac771f01c9e08097cb9262440d7754
Author: Dominique Dumont 
Date:   Fri Dec 2 18:38:40 2016 +0100

use signature in Backend/DpkgSyntax
---
 lib/Config/Model/Backend/DpkgSyntax.pm | 4 
 1 file changed, 4 insertions(+)

diff --git a/lib/Config/Model/Backend/DpkgSyntax.pm 
b/lib/Config/Model/Backend/DpkgSyntax.pm
index 0d50b4f..83628f0 100644
--- a/lib/Config/Model/Backend/DpkgSyntax.pm
+++ b/lib/Config/Model/Backend/DpkgSyntax.pm
@@ -5,6 +5,10 @@ use Mouse::Role;
 use Carp;
 use Config::Model::Exception ;
 use Log::Log4perl qw(get_logger :levels);
+use 5.20.0;
+
+use feature qw/postderef signatures/;
+no warnings qw/experimental::postderef experimental::signatures/;
 
 use base qw/Config::Model::Backend::Any/;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libconfig-model-dpkg-perl] 03/04: write patch description body without synopsis (Closes: #842391)

2016-12-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit 5feb64747dcd6e6cd0138ef55c31ef4a76c1798a
Author: Dominique Dumont 
Date:   Fri Dec 2 18:53:45 2016 +0100

write patch description body without synopsis (Closes: #842391)

Fix for #842391 also requries the previous commits
---
 lib/Config/Model/Backend/Dpkg/Patch.pm | 63 --
 1 file changed, 29 insertions(+), 34 deletions(-)

diff --git a/lib/Config/Model/Backend/Dpkg/Patch.pm 
b/lib/Config/Model/Backend/Dpkg/Patch.pm
index e7eb243..8df9038 100644
--- a/lib/Config/Model/Backend/Dpkg/Patch.pm
+++ b/lib/Config/Model/Backend/Dpkg/Patch.pm
@@ -162,8 +162,7 @@ sub write {
 message => "cannot write patch $patch_file" );
 $io->binmode(":utf8");
 
-my $subject_body;
-my $diff;
+# first pass to write all headers
 foreach my $elt ( $node -> get_element_name ) {
 my $elt_obj = $node->fetch_element($elt) ;
 my $type = $node->element_type($elt) ;
@@ -175,42 +174,38 @@ sub write {
 foreach my $v (@v) {
 # say "write $elt -> $v" ;
 next unless defined $v and $v;
+next if grep {$elt eq $_} qw/Description Subject Synopsis diff/;
 
-if ($elt eq 'Synopsis') {
-my $synopsis = $v ;
-my $description_body = 
$node->fetch_element_value('Description') ;
-$subject_body = $node->fetch_element_value('Subject') ;
-
-if ($description_body and $subject_body) {
-die "Write error: cannot have both Subject body and 
description body";
-}
-elsif ($description_body) {
-my $to_write = $synopsis . "\n" . $description_body ;
-$io->print("Description: ");
-$self->write_dpkg_text($io, $to_write) ;
-}
-elsif ($subject_body) {
-# DEP-3: When Subject is used, it is expected that the
-# long description is outside of the structured
-# fields.
-$io->print("Subject: ");
-$self->write_dpkg_text($io, $synopsis) ;
-}
-else {
-$io->print("Description: ");
-$self->write_dpkg_text($io, $synopsis) ;
-}
-}
-elsif ($elt eq 'Description' or $elt eq 'Subject' or $elt eq 
'diff') {
-# first 2 are handled with Synopsis. diff is handled below
-}
-else {
-$io->print("$elt: ");
-$self->write_dpkg_text($io,$v) ;
-}
+$io->print("$elt: ");
+$self->write_dpkg_text($io,$v) ;
 }
 }
 
+my $synopsis = $node->fetch_element_value('Synopsis') || "";
+my $description_body = $node->fetch_element_value('Description') ;
+my $subject_body = $node->fetch_element_value('Subject') ;
+
+if ($description_body and $subject_body) {
+die "Write error: cannot have both Subject body and description body";
+}
+elsif ($description_body) {
+my $to_write = $synopsis . "\n" . $description_body ;
+$io->print("Description: ");
+$self->write_dpkg_text($io, $to_write) ;
+}
+elsif ($subject_body) {
+# DEP-3: When Subject is used, it is expected that the
+# long description is outside of the structured
+# fields.
+$io->print("Subject: ");
+$self->write_dpkg_text($io, $synopsis) ;
+}
+else {
+# no description body, write only synopsis
+$io->print("Description: ");
+$self->write_dpkg_text($io, $synopsis) ;
+}
+
 if ($subject_body) {
 $io->print($subject_body."\n");
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libconfig-model-dpkg-perl] branch master updated (5e082c3 -> 7449bcb)

2016-12-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a change to branch master
in repository libconfig-model-dpkg-perl.

  from  5e082c3   test copyright file with comments
   new  a1b5700   use signature in Backend/DpkgSyntax
   new  232d75a   Store unexpected patch line in Description
   new  5feb647   write patch description body without synopsis (Closes: 
#842391)
   new  7449bcb   test read path from git

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 lib/Config/Model/Backend/Dpkg/Patch.pm | 75 ++
 lib/Config/Model/Backend/DpkgSyntax.pm | 18 +--
 t/model_tests.d/dpkg-patch-examples/by-git | 19 
 t/model_tests.d/dpkg-patch-test-conf.pl| 10 
 4 files changed, 77 insertions(+), 45 deletions(-)
 create mode 100644 t/model_tests.d/dpkg-patch-examples/by-git

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdata-util-perl] 01/04: Refresh lintian override (offset)

2016-12-02 Thread Nick Morrott
This is an automated email from the git hooks/post-receive script.

nickm-guest pushed a commit to branch master
in repository libdata-util-perl.

commit 8126025b93eedea47866a4fbaacbdb88dfd9606d
Author: Nick Morrott 
Date:   Fri Dec 2 11:29:17 2016 +

Refresh lintian override (offset)
---
 debian/libdata-util-perl.lintian-overrides | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/libdata-util-perl.lintian-overrides 
b/debian/libdata-util-perl.lintian-overrides
index 036e4a4..effc256 100644
--- a/debian/libdata-util-perl.lintian-overrides
+++ b/debian/libdata-util-perl.lintian-overrides
@@ -1,2 +1,2 @@
 # sorry, not sure how to fix long text in Japanese documentation ...
-libdata-util-perl: manpage-has-errors-from-man 
usr/share/man/man3/Data::Util::JA.3pm.gz 388: warning [p 4, 4.2i]: can't break 
line
+libdata-util-perl: manpage-has-errors-from-man 
usr/share/man/man3/Data::Util::JA.3pm.gz 384: warning [p 4, 4.2i]: can't break 
line

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdata-util-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdata-util-perl] 02/04: Update lintian override (ignore spelling errors in comment)

2016-12-02 Thread Nick Morrott
This is an automated email from the git hooks/post-receive script.

nickm-guest pushed a commit to branch master
in repository libdata-util-perl.

commit 97d2f00ee3156dceac35891759284b94c72bfc89
Author: Nick Morrott 
Date:   Fri Dec 2 11:38:14 2016 +

Update lintian override (ignore spelling errors in comment)
---
 debian/libdata-util-perl.lintian-overrides | 5 +
 1 file changed, 5 insertions(+)

diff --git a/debian/libdata-util-perl.lintian-overrides 
b/debian/libdata-util-perl.lintian-overrides
index effc256..83d3a98 100644
--- a/debian/libdata-util-perl.lintian-overrides
+++ b/debian/libdata-util-perl.lintian-overrides
@@ -1,2 +1,7 @@
 # sorry, not sure how to fix long text in Japanese documentation ...
 libdata-util-perl: manpage-has-errors-from-man 
usr/share/man/man3/Data::Util::JA.3pm.gz 384: warning [p 4, 4.2i]: can't break 
line
+
+# these spelling errors are in a comment and are not visible in
+# generated documentation
+libdata-util-perl: spelling-error-in-manpage 
usr/share/man/man3/Data::Util.3pm.gz miscelaneous miscellaneous
+libdata-util-perl: spelling-error-in-manpage 
usr/share/man/man3/Data::Util::JA.3pm.gz miscelaneous miscellaneous

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdata-util-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdata-util-perl] 04/04: update changelog

2016-12-02 Thread Nick Morrott
This is an automated email from the git hooks/post-receive script.

nickm-guest pushed a commit to branch master
in repository libdata-util-perl.

commit c36ac3634dd439720ec427f3f68ae503349313e6
Author: Nick Morrott 
Date:   Fri Dec 2 11:30:46 2016 +

update changelog
---
 debian/changelog | 9 +
 1 file changed, 9 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a7ef4f6..c98b5ba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+libdata-util-perl (0.65-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Refresh lintian override (offset)
+  * Update lintian override (ignore spelling errors in comment)
+  * debian/upstream/metadata: add Bug-Report field
+
+ -- Nick Morrott   Fri, 02 Dec 2016 11:37:40 +
+
 libdata-util-perl (0.65-1) unstable; urgency=medium
 
   * Team upload.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdata-util-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdata-util-perl] branch master updated (a8ae6a0 -> c36ac36)

2016-12-02 Thread Nick Morrott
This is an automated email from the git hooks/post-receive script.

nickm-guest pushed a change to branch master
in repository libdata-util-perl.

  from  a8ae6a0   Releasing package libdata-util-perl version 0.65-1
   new  8126025   Refresh lintian override (offset)
   new  97d2f00   Update lintian override (ignore spelling errors in 
comment)
   new  109d3de   debian/upstream/metadata: add Bug-Report field
   new  c36ac36   update changelog

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog   | 9 +
 debian/libdata-util-perl.lintian-overrides | 7 ++-
 debian/upstream/metadata   | 1 +
 3 files changed, 16 insertions(+), 1 deletion(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdata-util-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdata-util-perl] 03/04: debian/upstream/metadata: add Bug-Report field

2016-12-02 Thread Nick Morrott
This is an automated email from the git hooks/post-receive script.

nickm-guest pushed a commit to branch master
in repository libdata-util-perl.

commit 109d3ded362f2ea1a6032bc15b0bfa4dc0b62997
Author: Nick Morrott 
Date:   Fri Dec 2 11:32:30 2016 +

debian/upstream/metadata: add Bug-Report field
---
 debian/upstream/metadata | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/upstream/metadata b/debian/upstream/metadata
index 4dd3c77..68cbdff 100644
--- a/debian/upstream/metadata
+++ b/debian/upstream/metadata
@@ -1,6 +1,7 @@
 ---
 Archive: CPAN
 Bug-Database: https://github.com/gfx/Perl-Data-Util/issues
+Bug-Report: https://github.com/gfx/Perl-Data-Util/issues/new
 Contact: Goro Fuji(gfx) .
 Name: Data-Util
 Repository: https://github.com/gfx/Perl-Data-Util.git

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdata-util-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libpath-tiny-perl] 01/02: debian/{compat, control}: increase debhelper compatibility level to 9

2016-12-02 Thread Nick Morrott
This is an automated email from the git hooks/post-receive script.

nickm-guest pushed a commit to branch master
in repository libpath-tiny-perl.

commit f947c2a1cf9acbf9d4861ccb1c32e8f41678c18e
Author: Nick Morrott 
Date:   Fri Dec 2 11:14:31 2016 +

debian/{compat,control}: increase debhelper compatibility level to 9
---
 debian/compat  | 2 +-
 debian/control | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/compat b/debian/compat
index 45a4fb7..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+9
diff --git a/debian/control b/debian/control
index 28c51fe..63def65 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Priority: optional
 Build-Depends: cdbs,
  devscripts,
  perl,
- debhelper,
+ debhelper (>= 9),
  dh-buildinfo,
  libunicode-utf8-perl,
  libtest-failwarnings-perl,

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libpath-tiny-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libpath-tiny-perl] 02/02: update changelog

2016-12-02 Thread Nick Morrott
This is an automated email from the git hooks/post-receive script.

nickm-guest pushed a commit to branch master
in repository libpath-tiny-perl.

commit 032ebe55e030d5f8d3d1fd554f075eed12137a41
Author: Nick Morrott 
Date:   Fri Dec 2 11:16:05 2016 +

update changelog
---
 debian/changelog | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 515a483..1d8e015 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libpath-tiny-perl (0.098-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * debian/{compat,control}: increase debhelper compatibility level to 9
+
+ -- Nick Morrott   Fri, 02 Dec 2016 11:14:52 +
+
 libpath-tiny-perl (0.098-1) unstable; urgency=medium
 
   * Team upload.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libpath-tiny-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libpath-tiny-perl] branch master updated (9c914c7 -> 032ebe5)

2016-12-02 Thread Nick Morrott
This is an automated email from the git hooks/post-receive script.

nickm-guest pushed a change to branch master
in repository libpath-tiny-perl.

  from  9c914c7   update build-deps in debian/rules as well
   new  f947c2a   debian/{compat,control}: increase debhelper compatibility 
level to 9
   new  032ebe5   update changelog

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog | 7 +++
 debian/compat| 2 +-
 debian/control   | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libpath-tiny-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[gearman-server] 02/02: update changelog

2016-12-02 Thread Nick Morrott
This is an automated email from the git hooks/post-receive script.

nickm-guest pushed a commit to branch master
in repository gearman-server.

commit b46150336bf08dee997341708643d5c0ed43b23d
Author: Nick Morrott 
Date:   Fri Dec 2 11:06:52 2016 +

update changelog
---
 debian/changelog | 4 
 1 file changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8b3e636..f05ddcf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,11 @@
 gearman-server (1.130.1-2) UNRELEASED; urgency=medium
 
+  [ gregor herrmann ]
   * Remove Jonathan Yu from Uploaders. Thanks for your work!
 
+  [ Nick Morrott ]
+  * debian/control: add dependency on lsb-base (lintian)
+
  -- gregor herrmann   Sat, 20 Aug 2016 01:46:50 +0200
 
 gearman-server (1.130.1-1) unstable; urgency=medium

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/gearman-server.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[gearman-server] branch master updated (32ec2d5 -> b461503)

2016-12-02 Thread Nick Morrott
This is an automated email from the git hooks/post-receive script.

nickm-guest pushed a change to branch master
in repository gearman-server.

  from  32ec2d5   update changelog
   new  348c302   debian/control: add dependency on lsb-base (lintian)
   new  b461503   update changelog

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog | 4 
 debian/control   | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/gearman-server.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[gearman-server] 01/02: debian/control: add dependency on lsb-base (lintian)

2016-12-02 Thread Nick Morrott
This is an automated email from the git hooks/post-receive script.

nickm-guest pushed a commit to branch master
in repository gearman-server.

commit 348c302bf358b8939537fa87fd8e608996be5906
Author: Nick Morrott 
Date:   Fri Dec 2 11:04:41 2016 +

debian/control: add dependency on lsb-base (lintian)
---
 debian/control | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index da65847..233d0c4 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,8 @@ Architecture: all
 Depends: ${perl:Depends},
  ${misc:Depends},
  libgearman-client-perl,
- libdanga-socket-perl
+ libdanga-socket-perl,
+ lsb-base (>= 3.0-6)
 Description: Gearman distributed job server and Perl interface
  Gearman is a system to farm out work to other machines, dispatching function
  calls to machines that are better suited to do work, to do work in parallel,

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/gearman-server.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits