r51677 - in /trunk/libnet-github-perl: Changes META.yml debian/changelog debian/control debian/copyright lib/Net/GitHub.pm lib/Net/GitHub/V2/Repositories.pm

angelabad-guest at users.alioth.debian.org angelabad-guest at users.alioth.debian.org
Wed Jan 27 22:34:22 UTC 2010


Author: angelabad-guest
Date: Wed Jan 27 22:34:16 2010
New Revision: 51677

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=51677
Log:
New upstream release 0.20

Modified:
    trunk/libnet-github-perl/Changes
    trunk/libnet-github-perl/META.yml
    trunk/libnet-github-perl/debian/changelog
    trunk/libnet-github-perl/debian/control
    trunk/libnet-github-perl/debian/copyright
    trunk/libnet-github-perl/lib/Net/GitHub.pm
    trunk/libnet-github-perl/lib/Net/GitHub/V2/Repositories.pm

Modified: trunk/libnet-github-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-github-perl/Changes?rev=51677&op=diff
==============================================================================
--- trunk/libnet-github-perl/Changes (original)
+++ trunk/libnet-github-perl/Changes Wed Jan 27 22:34:16 2010
@@ -1,4 +1,7 @@
 Revision history for Net-GitHub
+
+0.20    2010.01.27
+        add languages support to repositories api (franckcuny)
 
 0.19    2009.09.05
         Bugfix: Send delete token to GitHub, not obj hash (spang)

Modified: trunk/libnet-github-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-github-perl/META.yml?rev=51677&op=diff
==============================================================================
--- trunk/libnet-github-perl/META.yml (original)
+++ trunk/libnet-github-perl/META.yml Wed Jan 27 22:34:16 2010
@@ -30,4 +30,4 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: http://github.com/fayland/perl-net-github/tree/master
-version: 0.19
+version: 0.20

Modified: trunk/libnet-github-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-github-perl/debian/changelog?rev=51677&op=diff
==============================================================================
--- trunk/libnet-github-perl/debian/changelog (original)
+++ trunk/libnet-github-perl/debian/changelog Wed Jan 27 22:34:16 2010
@@ -1,3 +1,12 @@
+libnet-github-perl (0.20-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: 
+    - Add myself to uploaders
+    - Add libtest-pod-perl to B-D-I
+
+ -- Angel Abad <angelabad at gmail.com>  Wed, 27 Jan 2010 23:33:40 +0100
+
 libnet-github-perl (0.19-1) unstable; urgency=low
 
   * New upstream release.

Modified: trunk/libnet-github-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-github-perl/debian/control?rev=51677&op=diff
==============================================================================
--- trunk/libnet-github-perl/debian/control (original)
+++ trunk/libnet-github-perl/debian/control Wed Jan 27 22:34:16 2010
@@ -2,11 +2,12 @@
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 7)
-Build-Depends-Indep: perl, libtest-mockmodule-perl, libfile-slurp-perl,
-  liburi-perl, libany-moose-perl, libcrypt-ssleay-perl, libhtml-tree-perl,
-  libwww-mechanize-gzip-perl, libjson-any-perl
+Build-Depends-Indep: libany-moose-perl, libcrypt-ssleay-perl, libfile-slurp-perl,
+ libhtml-tree-perl, libjson-any-perl, libtest-mockmodule-perl, liburi-perl,
+ libwww-mechanize-gzip-perl, libtest-pod-perl, perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Christine Spang <christine at debian.org>
+Uploaders: Christine Spang <christine at debian.org>,
+ Angel Abad <angelabad at gmail.com>
 Standards-Version: 3.8.3
 Homepage: http://search.cpan.org/dist/Net-GitHub/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-github-perl/
@@ -14,12 +15,11 @@
 
 Package: libnet-github-perl
 Architecture: all
-Depends: ${perl:Depends}, ${misc:Depends}, liburi-perl, libany-moose-perl,
-  libcrypt-ssleay-perl, libhtml-tree-perl, libwww-mechanize-gzip-perl,
-  libjson-any-perl
+Depends: ${misc:Depends}, ${perl:Depends}, libany-moose-perl,
+ libcrypt-ssleay-perl, libhtml-tree-perl, libjson-any-perl, liburi-perl,
+ libwww-mechanize-gzip-perl
 Description: Perl interface for GitHub
  GitHub, http://github.com/, is a service for hosting Git source code
  repositories and managing projects using Git. This package provides a
  Perl interface that implements V1 and V2 of the GitHub API, described
  at http://develop.github.com/.
-

Modified: trunk/libnet-github-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-github-perl/debian/copyright?rev=51677&op=diff
==============================================================================
--- trunk/libnet-github-perl/debian/copyright (original)
+++ trunk/libnet-github-perl/debian/copyright Wed Jan 27 22:34:16 2010
@@ -1,36 +1,37 @@
-Format-Specification:
-    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
-Upstream-Maintainer: Fayland Lam <fayland at gmail.com>
-Upstream-Source: http://search.cpan.org/dist/Net-GitHub/
-Upstream-Name: Net-GitHub
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Maintainer: Fayland Lam <fayland at gmail.com>
+Source: http://search.cpan.org/dist/Net-GitHub/
+Name: Net-GitHub
 
 Files: inc/Module/*
 Copyright: 2002-2009, Adam Kennedy <adamk at cpan.org>
            2002-2009, Audrey Tang <autrijus at autrijus.org>
            2002-2009, Brian Ingerson <ingy at cpan.org>
 License-Alias: Perl
-License: Artistic | GPL-1+
+License: Artistic or GPL-1+
 
 Files: *
-Copyright: 2009, Fayland Lam <fayland at gmail.com>
+Copyright: 2009-2010, Fayland Lam <fayland at gmail.com>
 License-Alias: Perl
-License: Artistic | GPL-1+
+License: Artistic or GPL-1+
 
 Files: debian/*
 Copyright: 2009, Christine Spang <christine at debian.org>
-License-Alias: Perl
-License: Artistic | GPL-1+
+ 2010, Angel Abad <angelabad at gmail.com>
+License: Artistic or GPL-1+
 
 License: Artistic
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the Artistic License, which comes with Perl.
-    On Debian GNU/Linux systems, the complete text of the Artistic License
-    can be found in `/usr/share/common-licenses/Artistic'
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ .
+ On Debian GNU/Linux systems, the complete text of the Artistic License
+ can be found in `/usr/share/common-licenses/Artistic'
 
 License: GPL-1+
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 1, or (at your option)
-    any later version.
-    On Debian GNU/Linux systems, the complete text of the GNU General
-    Public License can be found in `/usr/share/common-licenses/GPL'
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ .
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL'

Modified: trunk/libnet-github-perl/lib/Net/GitHub.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-github-perl/lib/Net/GitHub.pm?rev=51677&op=diff
==============================================================================
--- trunk/libnet-github-perl/lib/Net/GitHub.pm (original)
+++ trunk/libnet-github-perl/lib/Net/GitHub.pm Wed Jan 27 22:34:16 2010
@@ -2,7 +2,7 @@
 
 use Any::Moose;
 
-our $VERSION = '0.19';
+our $VERSION = '0.20';
 our $AUTHORITY = 'cpan:FAYLAND';
 
 sub new {

Modified: trunk/libnet-github-perl/lib/Net/GitHub/V2/Repositories.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-github-perl/lib/Net/GitHub/V2/Repositories.pm?rev=51677&op=diff
==============================================================================
--- trunk/libnet-github-perl/lib/Net/GitHub/V2/Repositories.pm (original)
+++ trunk/libnet-github-perl/lib/Net/GitHub/V2/Repositories.pm Wed Jan 27 22:34:16 2010
@@ -2,7 +2,7 @@
 
 use Any::Moose;
 
-our $VERSION = '0.19';
+our $VERSION = '0.20';
 our $AUTHORITY = 'cpan:FAYLAND';
 
 use URI::Escape;
@@ -11,56 +11,56 @@
 
 sub search {
     my ( $self, $word ) = @_;
-    
+
     return $self->get_json_to_obj( 'repos/search/' . uri_escape($word), 'repositories' );
 }
 
 sub show {
     my ( $self, $owner, $repo ) = @_;
-    
+
     $owner ||= $self->owner;
     $repo  ||= $self->repo;
-    
+
     return $self->get_json_to_obj( "repos/show/$owner/$repo", 'repository' );
 }
 
 sub list {
     my ( $self, $owner ) = @_;
-    
+
     $owner ||= $self->owner;
-    
+
     return $self->get_json_to_obj( "repos/show/$owner", 'repositories' );
 }
 
 sub watch {
     my ( $self ) = @_;
-    
-    my $owner = $self->owner;
-    my $repo  = $self->repo;
-    
+
+    my $owner = $self->owner;
+    my $repo  = $self->repo;
+
     return $self->get_json_to_obj_authed( "repos/watch/$owner/$repo", 'repository' );
 }
 sub unwatch {
     my ( $self ) = @_;
-    
-    my $owner = $self->owner;
-    my $repo  = $self->repo;
-    
+
+    my $owner = $self->owner;
+    my $repo  = $self->repo;
+
     return $self->get_json_to_obj_authed( "repos/unwatch/$owner/$repo", 'repository' );
 }
 
 sub fork {
     my ( $self ) = @_;
-    
-    my $owner = $self->owner;
-    my $repo  = $self->repo;
-    
+
+    my $owner = $self->owner;
+    my $repo  = $self->repo;
+
     return $self->get_json_to_obj_authed( "repos/fork/$owner/$repo", 'repository' );
 }
 
 sub create {
     my ( $self, $name, $desc, $homepage, $is_public ) = @_;
-    
+
     return $self->get_json_to_obj_authed( 'repos/create',
         name => $name,
         description => $desc,
@@ -72,9 +72,9 @@
 
 sub delete {
     my ( $self, $opts ) = @_;
-    
-    my $repo  = $self->repo;
-    
+
+    my $repo  = $self->repo;
+
     my $delete_response
         = $self->get_json_to_obj_authed( "repos/delete/$repo" );
     if ( $opts->{confirm} ) {
@@ -88,31 +88,31 @@
 
 sub set_private {
     my ( $self ) = @_;
-    
-    my $repo  = $self->repo;
-    
+
+    my $repo  = $self->repo;
+
     return $self->get_json_to_obj_authed( "repos/set/private/$repo", 'repository' );
 }
 sub set_public {
     my ( $self ) = @_;
-    
-    my $repo  = $self->repo;
-    
+
+    my $repo  = $self->repo;
+
     return $self->get_json_to_obj_authed( "repos/set/public/$repo", 'repository' );
 }
 
 sub deploy_keys {
     my ( $self ) = @_;
-    
+
     my $repo = $self->repo;
-    
+
     return $self->get_json_to_obj_authed( "repos/keys/$repo", 'public_keys' );
 }
 sub add_deploy_key {
     my ( $self, $title, $key ) = @_;
-    
+
     my $repo = $self->repo;
-    
+
     return $self->get_json_to_obj_authed( "repos/key/$repo/add",
         title => $title,
         key   => $key,
@@ -121,9 +121,9 @@
 }
 sub remove_deploy_key {
     my ( $self, $id ) = @_;
-    
+
     my $repo = $self->repo;
-    
+
     return $self->get_json_to_obj_authed( "repos/key/$repo/remove",
         id => $id,
         'public_keys'
@@ -132,50 +132,59 @@
 
 sub collaborators {
     my ( $self ) = @_;
-    
-    my $owner = $self->owner;
-    my $repo  = $self->repo;
-    
+
+    my $owner = $self->owner;
+    my $repo  = $self->repo;
+
     return $self->get_json_to_obj_authed( "repos/show/$owner/$repo/collaborators", 'collaborators' );
 }
 sub add_collaborator {
     my ( $self, $user ) = @_;
-    
-    my $repo  = $self->repo;
-    
+
+    my $repo  = $self->repo;
+
     return $self->get_json_to_obj_authed( "repos/collaborators/$repo/add/$user", 'collaborators' );
 }
 sub remove_collaborator {
     my ( $self, $user ) = @_;
-    
-    my $repo  = $self->repo;
-    
+
+    my $repo  = $self->repo;
+
     return $self->get_json_to_obj_authed( "repos/collaborators/$repo/remove/$user", 'collaborators' );
 }
 
 sub network {
     my ( $self ) = @_;
-    
-    my $owner = $self->owner;
-    my $repo  = $self->repo;
-    
+
+    my $owner = $self->owner;
+    my $repo  = $self->repo;
+
     return $self->get_json_to_obj( "repos/show/$owner/$repo/network", 'network' );
 }
 
+sub languages {
+    my ($self) = @_;
+    my $owner  = $self->owner;
+    my $repo   = $self->repo;
+
+    return $self->get_json_to_obj_authed( "repos/show/$owner/$repo/languages",
+        "languages" );
+}
+
 sub tags {
     my ( $self ) = @_;
-    
-    my $owner = $self->owner;
-    my $repo  = $self->repo;
-    
+
+    my $owner = $self->owner;
+    my $repo  = $self->repo;
+
     return $self->get_json_to_obj( "repos/show/$owner/$repo/tags", 'tags' );
 }
 sub branches {
     my ( $self ) = @_;
-    
-    my $owner = $self->owner;
-    my $repo  = $self->repo;
-    
+
+    my $owner = $self->owner;
+    my $repo  = $self->repo;
+
     return $self->get_json_to_obj( "repos/show/$owner/$repo/branches", 'branches' );
 }
 
@@ -222,14 +231,14 @@
 
     my $repos_in_detail = $repos->show(); # show the owner+repo in ->new
     my $repos_in_detail = $repos->show('fayland', 'foorum'); # another
-    
+
 To look at more in-depth information for a repository
 
 =item list
 
     my $repositories = $repos->list(); # show the owner in ->new
     my $repositories = $repos->list('nothingmuch');
-    
+
 list out all the repositories for a user
 
 =item watch
@@ -297,6 +306,12 @@
 
     my $network = $repos->network();
 
+=item languages
+
+List the languages used in a particular repository. Values are in bytes calculated.
+
+    my $languages = $repos->languages();
+
 =item tags
 
     my $tags = $repos->tags();




More information about the Pkg-perl-cvs-commits mailing list