[libio-socket-ssl-perl] annotated tag debian/2.045-1 created (now b12c309)
This is an automated email from the git hooks/post-receive script. carnil pushed a change to annotated tag debian/2.045-1 in repository libio-socket-ssl-perl. at b12c309 (tag) tagging 825e44a3578619ab186a55f4eace855f7c689ff6 (commit) replaces debian/2.044-1 tagged by Salvatore Bonaccorso on Tue Feb 14 03:54:22 2017 +0100 - Log - tagging package libio-socket-ssl-perl version debian/2.045-1 -BEGIN PGP SIGNATURE- iQKmBAABCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAliicV5fFIAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2 NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMTM0M0NGNDQSHGNhcm5pbEBk ZWJpYW4ub3JnAAoJEAVMuPMTQ89EOhIP/i6fehcQUi89teZnNn1rf24SA3ilRTQ2 Zb9OTSVy4rUajxqHRi0Zs3yHwKy6mg6TML0PNxkHQ5PxEn8Ni2luetnMe/MOQOXu 30Qjwb8IA6L+M+8coqUEHU0QfqElXQMhxRFZfnXz40DTHkXdXbM6xRJoTkScEuXO t7DUbwNEzUIkCqa5QrusGxVJgY8Y7VNLGPyzBO7dDyk7olTpsumN+KvOSP0JzM5g SdmtXoOzWUMcuNrJimL8HxyLRQkWc3EOkpiwqV9Krn8fcFIAV+ZtOFs5vV4z9TAD HIDSZei/mIBGeUpHDA7iNaRAztgn/+SudtihsqonQHbIw58qzFJp+mG3llcLKbx5 iS8687xCCbeqGZQcW/cuIlW2i7ySONywu2mfk9lE2Axvfkz8GoWidNGyl+bkLck1 770Qmrt4RNuh83klNwJHJUA9fvuyYqFRCukqAQnB9IJJg9y2x1+hXoMkkz3kytWC DKDw1qS/S6TZxmWQ81e3s2uNbOwABqYOxnpuv3nQ9FjNPBQeWJulGlgY4+QuQar2 M3JKLcLeK3oPGpxQ/QaFJb+ZCcfwWdNrwzVKD7/mniOjQvNv4Ew0P68d3Ypxac+G SWR9HaYC1nZVzvX6YNClROksjkuE5wzriAf6NFIFvrf3E7CFBa1VQB84CUi+VYHk ezDOeAsErmch =4kX1 -END PGP SIGNATURE- Salvatore Bonaccorso (4): New upstream version 2.045 Merge tag 'upstream/2.045' Update debian/changelog Prepare changelog for release to experimental --- This annotated tag includes the following new commits: new 1b6783e Merge tag 'upstream/2.045' new cd12d5a Update debian/changelog new 825e44a Prepare changelog for release to experimental 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/libio-socket-ssl-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
[libio-socket-ssl-perl] 03/03: Prepare changelog for release to experimental
This is an automated email from the git hooks/post-receive script. carnil pushed a commit to branch master in repository libio-socket-ssl-perl. commit 825e44a3578619ab186a55f4eace855f7c689ff6 Author: Salvatore Bonaccorso Date: Tue Feb 14 03:49:46 2017 +0100 Prepare changelog for release to experimental Gbp-Dch: Ignore --- debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7a89087..7d90f91 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,8 @@ -libio-socket-ssl-perl (2.045-1) UNRELEASED; urgency=medium +libio-socket-ssl-perl (2.045-1) experimental; urgency=medium * Import upstream version 2.045 - -- Salvatore Bonaccorso Tue, 14 Feb 2017 03:47:34 +0100 + -- Salvatore Bonaccorso Tue, 14 Feb 2017 03:49:32 +0100 libio-socket-ssl-perl (2.044-1) unstable; urgency=medium -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libio-socket-ssl-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
[libio-socket-ssl-perl] 01/03: Merge tag 'upstream/2.045'
This is an automated email from the git hooks/post-receive script. carnil pushed a commit to branch master in repository libio-socket-ssl-perl. commit 1b6783eeaf1f7f6c8f3b177f5078f490c948a17f Merge: 72d47ee 7c6b5f4 Author: Salvatore Bonaccorso Date: Tue Feb 14 03:47:34 2017 +0100 Merge tag 'upstream/2.045' Upstream version 2.045 Changes | 22 -- META.json | 4 ++-- META.yml | 4 ++-- lib/IO/Socket/SSL.pm | 31 ++- lib/IO/Socket/SSL.pod | 27 +-- t/cert_no_file.t | 2 +- t/io-socket-inet6.t | 2 +- t/io-socket-ip.t | 2 +- t/protocol_version.t | 6 +++--- 9 files changed, 61 insertions(+), 39 deletions(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libio-socket-ssl-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
[libio-socket-ssl-perl] 01/01: pristine-tar data for libio-socket-ssl-perl_2.045.orig.tar.gz
This is an automated email from the git hooks/post-receive script. carnil pushed a commit to branch pristine-tar in repository libio-socket-ssl-perl. commit 5f51fb2255b69e2969a9bd5e7a0fb46ff8bfeb42 Author: Salvatore Bonaccorso Date: Tue Feb 14 03:47:34 2017 +0100 pristine-tar data for libio-socket-ssl-perl_2.045.orig.tar.gz --- libio-socket-ssl-perl_2.045.orig.tar.gz.delta | Bin 0 -> 3485 bytes libio-socket-ssl-perl_2.045.orig.tar.gz.id| 1 + 2 files changed, 1 insertion(+) diff --git a/libio-socket-ssl-perl_2.045.orig.tar.gz.delta b/libio-socket-ssl-perl_2.045.orig.tar.gz.delta new file mode 100644 index 000..3b7e68f Binary files /dev/null and b/libio-socket-ssl-perl_2.045.orig.tar.gz.delta differ diff --git a/libio-socket-ssl-perl_2.045.orig.tar.gz.id b/libio-socket-ssl-perl_2.045.orig.tar.gz.id new file mode 100644 index 000..f49e135 --- /dev/null +++ b/libio-socket-ssl-perl_2.045.orig.tar.gz.id @@ -0,0 +1 @@ +3519bd10846f1726ad25d5e797b9b020235445e0 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libio-socket-ssl-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
[libio-socket-ssl-perl] branch pristine-tar updated (9c8a153 -> 5f51fb2)
This is an automated email from the git hooks/post-receive script. carnil pushed a change to branch pristine-tar in repository libio-socket-ssl-perl. from 9c8a153 pristine-tar data for libio-socket-ssl-perl_2.044.orig.tar.gz new 5f51fb2 pristine-tar data for libio-socket-ssl-perl_2.045.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: libio-socket-ssl-perl_2.045.orig.tar.gz.delta | Bin 0 -> 3485 bytes libio-socket-ssl-perl_2.045.orig.tar.gz.id| 1 + 2 files changed, 1 insertion(+) create mode 100644 libio-socket-ssl-perl_2.045.orig.tar.gz.delta create mode 100644 libio-socket-ssl-perl_2.045.orig.tar.gz.id -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libio-socket-ssl-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
[libio-socket-ssl-perl] annotated tag upstream/2.045 created (now c0c29dc)
This is an automated email from the git hooks/post-receive script. carnil pushed a change to annotated tag upstream/2.045 in repository libio-socket-ssl-perl. at c0c29dc (tag) tagging 7c6b5f457e32857baf8daba5ce96163ef4b200de (commit) replaces upstream/2.044 tagged by Salvatore Bonaccorso on Tue Feb 14 03:47:34 2017 +0100 - Log - Upstream version 2.045 Salvatore Bonaccorso (1): New upstream version 2.045 --- 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/libio-socket-ssl-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
[libio-socket-ssl-perl] branch master updated (72d47ee -> 825e44a)
This is an automated email from the git hooks/post-receive script. carnil pushed a change to branch master in repository libio-socket-ssl-perl. from 72d47ee Prepare changelog for release adds 7c6b5f4 New upstream version 2.045 new 1b6783e Merge tag 'upstream/2.045' new cd12d5a Update debian/changelog new 825e44a Prepare changelog for release to experimental 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: Changes | 22 -- META.json | 4 ++-- META.yml | 4 ++-- debian/changelog | 6 ++ lib/IO/Socket/SSL.pm | 31 ++- lib/IO/Socket/SSL.pod | 27 +-- t/cert_no_file.t | 2 +- t/io-socket-inet6.t | 2 +- t/io-socket-ip.t | 2 +- t/protocol_version.t | 6 +++--- 10 files changed, 67 insertions(+), 39 deletions(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libio-socket-ssl-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
[libio-socket-ssl-perl] 02/03: Update debian/changelog
This is an automated email from the git hooks/post-receive script. carnil pushed a commit to branch master in repository libio-socket-ssl-perl. commit cd12d5afd5e17efb323ff44d93cdff461c89a58b Author: Salvatore Bonaccorso Date: Tue Feb 14 03:47:34 2017 +0100 Update debian/changelog Gbp-Dch: Ignore --- debian/changelog | 6 ++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 8bfcd3d..7a89087 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libio-socket-ssl-perl (2.045-1) UNRELEASED; urgency=medium + + * Import upstream version 2.045 + + -- Salvatore Bonaccorso Tue, 14 Feb 2017 03:47:34 +0100 + libio-socket-ssl-perl (2.044-1) unstable; urgency=medium * Import upstream version 2.044 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libio-socket-ssl-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
[libcrypt-format-perl] 02/04: Update debian/changelog
This is an automated email from the git hooks/post-receive script. carnil pushed a commit to branch master in repository libcrypt-format-perl. commit fc97c18c1cc7980e1e91523a93ab67230e4ad452 Author: Salvatore Bonaccorso Date: Tue Feb 14 03:43:54 2017 +0100 Update debian/changelog Gbp-Dch: Ignore --- debian/changelog | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 0078710..bbc2f5f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,12 @@ -libcrypt-format-perl (0.06-2) UNRELEASED; urgency=medium +libcrypt-format-perl (0.07-1) UNRELEASED; urgency=medium + [ gregor herrmann ] * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. - -- gregor herrmann Fri, 20 May 2016 12:03:04 +0200 + [ Salvatore Bonaccorso ] + * Import upstream version 0.07 + + -- Salvatore Bonaccorso Tue, 14 Feb 2017 03:43:54 +0100 libcrypt-format-perl (0.06-1) unstable; urgency=low -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcrypt-format-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
[libcrypt-format-perl] branch pristine-tar updated (940c966 -> a888658)
This is an automated email from the git hooks/post-receive script. carnil pushed a change to branch pristine-tar in repository libcrypt-format-perl. from 940c966 pristine-tar data for libcrypt-format-perl_0.06.orig.tar.gz new a888658 pristine-tar data for libcrypt-format-perl_0.07.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: libcrypt-format-perl_0.07.orig.tar.gz.delta | Bin 0 -> 1292 bytes libcrypt-format-perl_0.07.orig.tar.gz.id| 1 + 2 files changed, 1 insertion(+) create mode 100644 libcrypt-format-perl_0.07.orig.tar.gz.delta create mode 100644 libcrypt-format-perl_0.07.orig.tar.gz.id -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcrypt-format-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
[libcrypt-format-perl] 04/04: Update debian/changelog file
This is an automated email from the git hooks/post-receive script. carnil pushed a commit to branch master in repository libcrypt-format-perl. commit 095fe4853a0f23dc530ba0e2be60322f9c0dea28 Author: Salvatore Bonaccorso Date: Tue Feb 14 03:45:10 2017 +0100 Update debian/changelog file Gbp-Dch: Ignore --- debian/changelog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index bbc2f5f..35f0e8c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,8 +5,9 @@ libcrypt-format-perl (0.07-1) UNRELEASED; urgency=medium [ Salvatore Bonaccorso ] * Import upstream version 0.07 + * Drop add-pod-encoding.patch patch (applied upstream) - -- Salvatore Bonaccorso Tue, 14 Feb 2017 03:43:54 +0100 + -- Salvatore Bonaccorso Tue, 14 Feb 2017 03:45:02 +0100 libcrypt-format-perl (0.06-1) unstable; urgency=low -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcrypt-format-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
[libcrypt-format-perl] 01/01: pristine-tar data for libcrypt-format-perl_0.07.orig.tar.gz
This is an automated email from the git hooks/post-receive script. carnil pushed a commit to branch pristine-tar in repository libcrypt-format-perl. commit a88865885ded4bc1294f2581f097dba821016440 Author: Salvatore Bonaccorso Date: Tue Feb 14 03:43:54 2017 +0100 pristine-tar data for libcrypt-format-perl_0.07.orig.tar.gz --- libcrypt-format-perl_0.07.orig.tar.gz.delta | Bin 0 -> 1292 bytes libcrypt-format-perl_0.07.orig.tar.gz.id| 1 + 2 files changed, 1 insertion(+) diff --git a/libcrypt-format-perl_0.07.orig.tar.gz.delta b/libcrypt-format-perl_0.07.orig.tar.gz.delta new file mode 100644 index 000..8f3b4ee Binary files /dev/null and b/libcrypt-format-perl_0.07.orig.tar.gz.delta differ diff --git a/libcrypt-format-perl_0.07.orig.tar.gz.id b/libcrypt-format-perl_0.07.orig.tar.gz.id new file mode 100644 index 000..476756c --- /dev/null +++ b/libcrypt-format-perl_0.07.orig.tar.gz.id @@ -0,0 +1 @@ +281be9f7d045da64470286391b252c0cec9d2054 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcrypt-format-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
[libcrypt-format-perl] branch master updated (0ff42cd -> 095fe48)
This is an automated email from the git hooks/post-receive script. carnil pushed a change to branch master in repository libcrypt-format-perl. from 0ff42cd update changelog adds 4d12d83 New upstream version 0.07 new 792f208 Merge tag 'upstream/0.07' new fc97c18 Update debian/changelog new 39154fd Drop add-pod-encoding.patch patch (applied upstream) new 095fe48 Update debian/changelog file 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: Changes | 3 +++ META.json | 6 +++--- META.yml | 4 ++-- debian/changelog | 9 +++-- debian/patches/add-pod-encoding.patch | 18 -- debian/patches/series | 1 - lib/Crypt/Format.pm | 8 +++- 7 files changed, 22 insertions(+), 27 deletions(-) delete mode 100644 debian/patches/add-pod-encoding.patch delete mode 100644 debian/patches/series -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcrypt-format-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
[libcrypt-format-perl] annotated tag upstream/0.07 created (now 9966456)
This is an automated email from the git hooks/post-receive script. carnil pushed a change to annotated tag upstream/0.07 in repository libcrypt-format-perl. at 9966456 (tag) tagging 4d12d83f8b5a0982b4bbc98a334c8e1ca1b11dde (commit) tagged by Salvatore Bonaccorso on Tue Feb 14 03:43:54 2017 +0100 - Log - Upstream version 0.07 Salvatore Bonaccorso (2): Import original source of Crypt-Format 0.06 New upstream version 0.07 --- 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/libcrypt-format-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
[libcrypt-format-perl] 03/04: Drop add-pod-encoding.patch patch (applied upstream)
This is an automated email from the git hooks/post-receive script. carnil pushed a commit to branch master in repository libcrypt-format-perl. commit 39154fdf892e0a968d7ef79965a7f705cccffccb Author: Salvatore Bonaccorso Date: Tue Feb 14 03:44:40 2017 +0100 Drop add-pod-encoding.patch patch (applied upstream) --- debian/patches/add-pod-encoding.patch | 18 -- debian/patches/series | 1 - 2 files changed, 19 deletions(-) diff --git a/debian/patches/add-pod-encoding.patch b/debian/patches/add-pod-encoding.patch deleted file mode 100644 index 9397ccc..000 --- a/debian/patches/add-pod-encoding.patch +++ /dev/null @@ -1,18 +0,0 @@ -Description: Add POD encoding -Origin: vendor -Author: Salvatore Bonaccorso -Last-Update: 2016-02-05 -Forwarded: https://rt.cpan.org/Ticket/Display.html?id=111797 -Bug: https://rt.cpan.org/Ticket/Display.html?id=111797 - a/lib/Crypt/Format.pm -+++ b/lib/Crypt/Format.pm -@@ -7,6 +7,8 @@ our $VERSION = '0.06'; - - our $BASE64_MODULE = 'MIME::Base64'; - -+=encoding UTF-8 -+ - =head1 NAME - - Crypt::Format - Conversion utilities for encryption applications diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index f963b13..000 --- a/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -add-pod-encoding.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcrypt-format-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
[libcrypt-format-perl] 01/04: Merge tag 'upstream/0.07'
This is an automated email from the git hooks/post-receive script. carnil pushed a commit to branch master in repository libcrypt-format-perl. commit 792f20899094cc4e37a0e013b53321c48c83965f Merge: 0ff42cd 4d12d83 Author: Salvatore Bonaccorso Date: Tue Feb 14 03:43:54 2017 +0100 Merge tag 'upstream/0.07' Upstream version 0.07 Changes | 3 +++ META.json | 6 +++--- META.yml| 4 ++-- lib/Crypt/Format.pm | 8 +++- 4 files changed, 15 insertions(+), 6 deletions(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcrypt-format-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] 23/23: add support for debian/not-installed file
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 835d5ba45f83a8a93665297f53746105aa0aea00 Author: Dominique Dumont Date: Mon Feb 13 13:27:23 2017 +0100 add support for debian/not-installed file --- lib/Config/Model/models/Dpkg.pl | 12 1 file changed, 12 insertions(+) diff --git a/lib/Config/Model/models/Dpkg.pl b/lib/Config/Model/models/Dpkg.pl index 3c33d5e..402476d 100644 --- a/lib/Config/Model/models/Dpkg.pl +++ b/lib/Config/Model/models/Dpkg.pl @@ -124,6 +124,18 @@ details', 'index_type' => 'string', 'type' => 'hash' }, + 'not-installed', + { +'cargo' => { + 'type' => 'leaf', + 'value_type' => 'uniline' +}, +'description' => 'List the files that are deliberately not installed in any binary package. Paths listed in this file are (only) ignored by the check done via --list-missing (or --fail-missing). However, it is not a method to exclude files from being installed. Please use --exclude for that. + +Please keep in mind that dh_install will not expand wildcards in this file. +', +'type' => 'list' + }, 'source', { 'config_class_name' => 'Dpkg::Source', -- 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] 21/23: add support for debian/*.install files
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 523716fd9ad6d0ed64a196b6fe5fb5ab5e4ff37e Author: Dominique Dumont Date: Mon Feb 13 13:21:08 2017 +0100 add support for debian/*.install files --- lib/Config/Model/models/Dpkg.pl | 11 + lib/Config/Model/models/Dpkg/Install.pl | 41 + 2 files changed, 52 insertions(+) diff --git a/lib/Config/Model/models/Dpkg.pl b/lib/Config/Model/models/Dpkg.pl index ce563be..3c33d5e 100644 --- a/lib/Config/Model/models/Dpkg.pl +++ b/lib/Config/Model/models/Dpkg.pl @@ -113,6 +113,17 @@ details', 'summary' => 'copyright and license information', 'type' => 'node' }, + 'install', + { +'cargo' => { + 'config_class_name' => 'Dpkg::Install', + 'type' => 'node' +}, +'description' => 'List the files to install into each package and the directory they should be installed to.', +'follow_keys_from' => '- control binary', +'index_type' => 'string', +'type' => 'hash' + }, 'source', { 'config_class_name' => 'Dpkg::Source', diff --git a/lib/Config/Model/models/Dpkg/Install.pl b/lib/Config/Model/models/Dpkg/Install.pl new file mode 100644 index 000..7be19c7 --- /dev/null +++ b/lib/Config/Model/models/Dpkg/Install.pl @@ -0,0 +1,41 @@ +[ + { +'class_description' => 'Contains the list of files to be installed by L', +'element' => [ + 'list', + { +'cargo' => { + 'type' => 'leaf', + 'value_type' => 'uniline' +}, +'description' => 'a file or files to install. The end of the line tells the directory it +should be installed in. The name of the files (or directories) to +install should be given relative to the current directory, while the +installation directory is given relative to the package build +directory. You may use wildcards in the names of the files to install +(in v3 mode and above). + +Note that if you list exactly one filename or wildcard-pattern, with +no explicit destination, then dh_install will automatically guess the +destination to use, the same as if the --autodest option were used. + +See L for more details. +', +'duplicates' => 'warn', +'type' => 'list' + } +], +'name' => 'Dpkg::Install', +'read_config' => [ + { +'auto_create' => '1', +'auto_delete' => '1', +'backend' => 'PlainFile', +'config_dir' => 'debian', +'file' => '&index.install' + } +] + } +] +; + -- 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] 15/23: add default value for debian/rules
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 775713f8c22632ea1844fd4898b7aaf11cfdf5e3 Author: Dominique Dumont Date: Sat Jan 28 16:00:56 2017 +0100 add default value for debian/rules --- lib/Config/Model/models/Dpkg.pl | 21 + t/model_tests.d/dpkg-test-conf.pl | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/lib/Config/Model/models/Dpkg.pl b/lib/Config/Model/models/Dpkg.pl index eb8f55a..e79cbab 100644 --- a/lib/Config/Model/models/Dpkg.pl +++ b/lib/Config/Model/models/Dpkg.pl @@ -22,6 +22,27 @@ }, 'rules', { +'default' => '#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#DH_VERBOSE = 1 + +# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +# main packaging script based on dh7 syntax +%: + dh $@', 'description' => 'debian/rules is a makefile containing all instructions required to build a debian package.', 'summary' => 'package build rules', 'type' => 'leaf', diff --git a/t/model_tests.d/dpkg-test-conf.pl b/t/model_tests.d/dpkg-test-conf.pl index afd1d9c..76e18f6 100644 --- a/t/model_tests.d/dpkg-test-conf.pl +++ b/t/model_tests.d/dpkg-test-conf.pl @@ -137,7 +137,7 @@ my $add_home = sub { qr!Files: src/im_mad/remotes/az.d/\*! ] }, -file_check_sub => $add_home, +file_check_sub => sub { splice @{$_[0]}, 3,0,'/debian/rules'; $add_home->(@_); }, file_contents_unlike => { 'debian/copyright' => [ qr!Files: src/im_mad/\*!, @@ -158,7 +158,7 @@ my $add_home = sub { qr!Files: src/im_mad/remotes/az.d/\*! ] }, -file_check_sub => $add_home, +file_check_sub => sub { splice @{$_[0]}, 3,0,'/debian/rules'; $add_home->(@_); }, # check that some entries were fixed by update check => { 'copyright Files:"share/vendor/*" Copyright' => '2010-2012, VMware, Inc.', -- 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] 16/23: moved compat element at the beginning..
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 eebfbc5e96b964c2bd20e7618d3810737096e6e4 Author: Dominique Dumont Date: Wed Feb 1 18:10:23 2017 +0100 moved compat element at the beginning.. compat values is used by control do it must be loaded before. Otherwise, computed values inside control will use compat default value instead of the actual value that must be read from file. --- lib/Config/Model/models/Dpkg.pl | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/Config/Model/models/Dpkg.pl b/lib/Config/Model/models/Dpkg.pl index e79cbab..7ca3a0f 100644 --- a/lib/Config/Model/models/Dpkg.pl +++ b/lib/Config/Model/models/Dpkg.pl @@ -14,6 +14,13 @@ 'description' => 'This element contains a set of parameters to tune the behavior of this dpkg editor. You can for instance specify e-mail replacements. These parameters are stored in ~/.dpkg-meta.yml or ~/.local/share/.dpkg-meta.yml. These parameters can be applied to all Debian packages you maintain in this unix account.', 'type' => 'node' }, + 'compat', + { +'default' => '9', +'description' => 'compat file defines the debhelper compatibility level', +'type' => 'leaf', +'value_type' => 'integer' + }, 'control', { 'config_class_name' => 'Dpkg::Control', @@ -118,13 +125,6 @@ details', 'summary' => 'Debian patches applied to original sources', 'type' => 'hash' }, - 'compat', - { -'default' => '9', -'description' => 'compat file defines the debhelper compatibility level', -'type' => 'leaf', -'value_type' => 'integer' - }, 'dirs', { 'cargo' => { -- 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] 13/23: test © upstream name from control source
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 0c74fd7c804f86d1bdfa8d7a1de1f01f29007194 Author: Dominique Dumont Date: Tue Jan 31 20:37:45 2017 +0100 test © upstream name from control source This requires to load Dpkg::Copyright model *after* Dpkg model. which does not currently happen because © tests are run before dpkg tests. So the C::M::Tester 2.059 must be used to reset model object before each test file. --- t/model_tests.d/dpkg-test-conf.pl | 1 + t/model_tests.t | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/t/model_tests.d/dpkg-test-conf.pl b/t/model_tests.d/dpkg-test-conf.pl index 284b9d9..0a00976 100644 --- a/t/model_tests.d/dpkg-test-conf.pl +++ b/t/model_tests.d/dpkg-test-conf.pl @@ -57,6 +57,7 @@ my $del_home = sub { no_warnings => 1, check => { "copyright License:GPL-2 text" => {value => undef, mode => 'custom'}, +"copyright Upstream-Name" => 'pan', "copyright License:GPL-2 text" => qr/GNU/, 'copyright Files:pan/general/map-vector.h Copyright' => "2001,Andrei Alexandrescu", 'copyright Files:pan/general/map-vector.h License short_name' => 'MIT', diff --git a/t/model_tests.t b/t/model_tests.t index 3aa3b31..69f4351 100644 --- a/t/model_tests.t +++ b/t/model_tests.t @@ -3,7 +3,7 @@ use warnings; use strict; -use Config::Model::Tester ; +use Config::Model::Tester 2.059; use ExtUtils::testlib; my $arg = shift || ''; -- 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] 17/23: add default dummy value for debian/changelog
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 eaa14839a6329a4ec72f23e67afe8fd7bd8a4c1f Author: Dominique Dumont Date: Sat Jan 28 18:55:57 2017 +0100 add default dummy value for debian/changelog tests are tweaked to add the changelog file now created by the model --- lib/Config/Model/Dpkg/Dependency.pm | 7 -- lib/Config/Model/models/Dpkg.pl | 22 + lib/Config/Model/models/Dpkg/Meta.pl | 10 t/model_tests.d/dpkg-test-conf.pl| 48 +--- 4 files changed, 70 insertions(+), 17 deletions(-) diff --git a/lib/Config/Model/Dpkg/Dependency.pm b/lib/Config/Model/Dpkg/Dependency.pm index 225bf46..05ab7da 100644 --- a/lib/Config/Model/Dpkg/Dependency.pm +++ b/lib/Config/Model/Dpkg/Dependency.pm @@ -373,6 +373,7 @@ sub check_debhelper_version { $logger->debug("checking '$dep_string' with lintian"); # try to create compat_obj, but do not try twice (hence the exists test) +# compat_obj will be undef with 'cme edit dpkg-control' if (not exists $self->{_compat_obj} ) { # using mode loose because debian-control model can be used alone # and compat is outside of debian-control @@ -385,9 +386,11 @@ sub check_debhelper_version { my $compat_value = $self->{_compat_obj}->fetch; my $min_dep = Lintian::Relation->new("debhelper ( >= $compat_value)") ; -$logger->debug("checking if ".$lintian_dep->unparse." implies ". $min_dep->unparse); -return if $lintian_dep->implies ($min_dep) ; +if ($lintian_dep->implies ($min_dep)) { +$logger->debug($dep_string." -> ".$lintian_dep->unparse." implies ". $min_dep->unparse); +return; +} $logger->debug("'$dep_string' does not imply debhelper >= $compat_value"); diff --git a/lib/Config/Model/models/Dpkg.pl b/lib/Config/Model/models/Dpkg.pl index 7ca3a0f..d4277d1 100644 --- a/lib/Config/Model/models/Dpkg.pl +++ b/lib/Config/Model/models/Dpkg.pl @@ -55,6 +55,28 @@ include /usr/share/dpkg/default.mk 'type' => 'leaf', 'value_type' => 'string' }, + 'changelog', + { +'compute' => { + 'allow_override' => '1', + 'formula' => '$pkg_name (0.001-1) UNRELEASED; urgency=medium + + * ... + + -- $name <$mail> Wed, 18 Jan 2017 18:28:23 +0100 +', + 'variables' => { +'mail' => '! my_config email', +'name' => '! my_config fullname', +'pkg_name' => '! control source Source' + } +}, +'description' => 'Dummy changelog entry with a dummy date. +Don\'t forget to change the version +number. Use L command to update.', +'type' => 'leaf', +'value_type' => 'string' + }, 'scan-copyright-patterns', { 'config_class_name' => 'Dpkg::Copyright::ScanPatterns', diff --git a/lib/Config/Model/models/Dpkg/Meta.pl b/lib/Config/Model/models/Dpkg/Meta.pl index 09b5ed9..832722a 100644 --- a/lib/Config/Model/models/Dpkg/Meta.pl +++ b/lib/Config/Model/models/Dpkg/Meta.pl @@ -8,6 +8,16 @@ '2010,2011 Dominique Dumont' ], 'element' => [ + 'fullname', + { +'compute' => { + 'allow_override' => '1', + 'formula' => '$ENV{DEBFULLNAME}', + 'use_eval' => '1' +}, +'type' => 'leaf', +'value_type' => 'uniline' + }, 'email', { 'compute' => { diff --git a/t/model_tests.d/dpkg-test-conf.pl b/t/model_tests.d/dpkg-test-conf.pl index 76e18f6..d9b01de 100644 --- a/t/model_tests.d/dpkg-test-conf.pl +++ b/t/model_tests.d/dpkg-test-conf.pl @@ -1,6 +1,8 @@ use Data::Dumper; use IO::File; use File::HomeDir ; +use strict; +use warnings; $conf_file_name = ""; $conf_dir = ''; @@ -9,20 +11,34 @@ $model_to_test = "Dpkg"; eval { require AptPkg::Config; }; $skip = ( $@ or not -r '/etc/debian_version' ) ? 1 : 0; -my $add_home = sub { -my $r = shift ; -my $home = File::HomeDir->my_home; # Works also on Windows -push @$r, "$home/.dpkg-meta.yml" ; +my %add_map = ( +# Works also on Windows +home => File::HomeDir->my_home."/.dpkg-meta.yml", +log => '/debian/changelog', +rules => '/debian/rules', +); + +# used to tweak list of debian files +sub add { +# @to_add is a closure used in inner sub +my @to_add = @_; +return sub { +push @{$_[0]}, map { $add_map{$_} } @to_add; +}; }; @tests = ( { name => 't0', -check => - { 'control source Build-Depends-Indep:3', 'libtest-pod-perl', }, -file_check_sub => $add_home, +check => { +'control source Build-Depends-Indep:3' => 'libtest-pod-perl', +}, +# add() returns a sub used to tweak file list +file_check_sub => add('home'), apply_fix => 1 , +load_warnings => [ qr/dual life/ ], }, { name => 't1'
[libconfig-model-dpkg-perl] 14/23: rename variable in test file
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 bec09e114cfcc3a195a8f2c7b4ce153e9150c299 Author: Dominique Dumont Date: Tue Jan 31 19:01:28 2017 +0100 rename variable in test file --- t/model_tests.d/dpkg-test-conf.pl | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/t/model_tests.d/dpkg-test-conf.pl b/t/model_tests.d/dpkg-test-conf.pl index 0a00976..afd1d9c 100644 --- a/t/model_tests.d/dpkg-test-conf.pl +++ b/t/model_tests.d/dpkg-test-conf.pl @@ -9,7 +9,7 @@ $model_to_test = "Dpkg"; eval { require AptPkg::Config; }; $skip = ( $@ or not -r '/etc/debian_version' ) ? 1 : 0; -my $del_home = sub { +my $add_home = sub { my $r = shift ; my $home = File::HomeDir->my_home; # Works also on Windows push @$r, "$home/.dpkg-meta.yml" ; @@ -19,7 +19,7 @@ my $del_home = sub { { name => 't0', check => { 'control source Build-Depends-Indep:3', 'libtest-pod-perl', }, -file_check_sub => $del_home, +file_check_sub => $add_home, apply_fix => 1 , }, { name => 't1', @@ -38,7 +38,7 @@ my $del_home = sub { 'compat' => 8 , # test setup 'control source Build-Depends:0' => 'debhelper (>= 8)' , }, -file_check_sub => $del_home, +file_check_sub => $add_home, # dump_warnings => [ (qr/deprecated/) x 3 ], }, @@ -49,7 +49,7 @@ my $del_home = sub { 'control source Build-Depends-Indep:0', => 'perl', 'control source Build-Depends-Indep:1', => 'libdist-zilla-perl', }, -file_check_sub => $del_home, +file_check_sub => $add_home, }, { name => 'pan-copyright-from-scratch', @@ -69,7 +69,7 @@ my $del_home = sub { "copyright License:GPL-2 text" => {value => undef, mode => 'custom'}, "copyright License:GPL-2 text" => qr/GNU/, }, -file_check_sub => $del_home, +file_check_sub => $add_home, }, { # should that be pan-copyright-upgrate ? :-p @@ -95,7 +95,7 @@ my $del_home = sub { "copyright License:GPL-2 text" => {value => undef, mode => 'custom'}, "copyright License:GPL-2 text" => qr/GNU/, }, -file_check_sub => $del_home, +file_check_sub => $add_home, }, { # emulate removed and added file, updated copyright years @@ -125,7 +125,7 @@ my $del_home = sub { "copyright License:GPL-2 text" => {value => undef, mode => 'custom'}, "copyright License:GPL-2 text" => qr/GNU/, }, -file_check_sub => $del_home, +file_check_sub => $add_home, }, { @@ -137,7 +137,7 @@ my $del_home = sub { qr!Files: src/im_mad/remotes/az.d/\*! ] }, -file_check_sub => $del_home, +file_check_sub => $add_home, file_contents_unlike => { 'debian/copyright' => [ qr!Files: src/im_mad/\*!, @@ -158,7 +158,7 @@ my $del_home = sub { qr!Files: src/im_mad/remotes/az.d/\*! ] }, -file_check_sub => $del_home, +file_check_sub => $add_home, # check that some entries were fixed by update check => { 'copyright Files:"share/vendor/*" Copyright' => '2010-2012, VMware, Inc.', @@ -182,7 +182,7 @@ my $del_home = sub { 'copyright Files:"modules/Perl6-MIME-Base64/*" Copyright' => 'Adrian White', 'copyright Files:"modules/DBIish/*" Comment' => qr/should be preserved by cme update/, }, -file_check_sub => $del_home, +file_check_sub => $add_home, }, ); -- 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] 19/23: update Dpkg backend to read debian/*.install files
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 45913352fee7b1f612564ac62d3d0ea534912f10 Author: Dominique Dumont Date: Mon Feb 13 13:19:10 2017 +0100 update Dpkg backend to read debian/*.install files --- lib/Config/Model/Backend/Dpkg.pm | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/lib/Config/Model/Backend/Dpkg.pm b/lib/Config/Model/Backend/Dpkg.pm index 76f1db9..9a5df05 100644 --- a/lib/Config/Model/Backend/Dpkg.pm +++ b/lib/Config/Model/Backend/Dpkg.pm @@ -4,7 +4,7 @@ use Carp; use Mouse; use Config::Model::Exception; use UNIVERSAL; -use Path::Tiny; +use Path::Tiny 0.054; use File::Path; use Log::Log4perl qw(get_logger :levels); use 5.20.1; @@ -18,15 +18,32 @@ my $logger = get_logger("Backend::Dpkg::Root"); my %dispatch = ( patches => \&read_patch_series, +install => \&read_install_files, ); around read_hash => sub ( $orig, $self, $obj, $elt, $file, $check, $args ) { +$logger->info("called for $elt ".$obj->location." file $file" ); my $method = $dispatch{$elt} // $orig; $self->$method( $obj, $elt, $file, $check, $args ); }; +sub read_install_files ( $self, $hash, $elt, $file, $check, $args ) { +my $dir = path($args->{root} . $args->{config_dir}); + +return unless $dir->exists; + +$logger->info("Checking $elt directory ($dir) for ".$hash->location ); +foreach my $file ($dir->children(qr/\.install$/)) { +my $pkg = $file->basename(qr/\.install$/); +$logger->info("install: found $pkg install file"); +# create element. Read backend will kick in itself +my @content = $hash->fetch_with_id($pkg)->grab("list")->fetch_all_values; +say @content; +} +} + sub read_patch_series ( $self, $hash, $elt, $file, $check, $args ) { my $patch_dir = $args->{root} . $args->{config_dir} . "patches"; $logger->info("Checking patches directory ($patch_dir)"); -- 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] 20/23: Dpkg model: remove unused parameter
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 355c70b7631da4eb2ee218c14c93d693fb77ed68 Author: Dominique Dumont Date: Mon Feb 13 13:20:33 2017 +0100 Dpkg model: remove unused parameter --- lib/Config/Model/models/Dpkg.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Config/Model/models/Dpkg.pl b/lib/Config/Model/models/Dpkg.pl index d4277d1..ce563be 100644 --- a/lib/Config/Model/models/Dpkg.pl +++ b/lib/Config/Model/models/Dpkg.pl @@ -181,8 +181,7 @@ By default, it will include all existing files in the top-level source directory 'auto_create' => '1', 'auto_delete' => '1', 'backend' => 'Dpkg', -'config_dir' => 'debian', -'file' => 'clean' +'config_dir' => 'debian' } ] } -- 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] 22/23: test support of debian/*.install files
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 e51a496a0b322e0558f011bba397e4f31eb0995a Author: Dominique Dumont Date: Mon Feb 13 13:21:52 2017 +0100 test support of debian/*.install files --- t/model_tests.d/dpkg-test-conf.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/model_tests.d/dpkg-test-conf.pl b/t/model_tests.d/dpkg-test-conf.pl index d9b01de..7ba8579 100644 --- a/t/model_tests.d/dpkg-test-conf.pl +++ b/t/model_tests.d/dpkg-test-conf.pl @@ -199,6 +199,8 @@ sub add { check => { 'copyright Files:"modules/Perl6-MIME-Base64/*" Copyright' => 'Adrian White', 'copyright Files:"modules/DBIish/*" Comment' => qr/should be preserved by cme update/, +'install:rakudo-star list:0' => 'usr/bin/*', +'install:rakudo-star list:1' => 'usr/share/*', }, file_check_sub => add(qw/home log/), }, -- 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] 18/23: tweak Dpkg::Backend to use Moose's "around"
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 3f0c6d0d8312647462833b7be1b9538669ade282 Author: Dominique Dumont Date: Wed Feb 1 19:07:53 2017 +0100 tweak Dpkg::Backend to use Moose's "around" instead of bypassing Moose with call to SUPER Also use a dispatch table to call special readers. --- lib/Config/Model/Backend/Dpkg.pm | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/lib/Config/Model/Backend/Dpkg.pm b/lib/Config/Model/Backend/Dpkg.pm index e95c748..76f1db9 100644 --- a/lib/Config/Model/Backend/Dpkg.pm +++ b/lib/Config/Model/Backend/Dpkg.pm @@ -7,28 +7,29 @@ use UNIVERSAL; use Path::Tiny; use File::Path; use Log::Log4perl qw(get_logger :levels); -use 5.10.1; +use 5.20.1; + +use feature qw/postderef signatures/; +no warnings qw/experimental::postderef experimental::signatures/; extends 'Config::Model::Backend::PlainFile'; my $logger = get_logger("Backend::Dpkg::Root"); -sub read_hash { -my ( $self, $obj, $elt, $file, $check, $args ) = @_; +my %dispatch = ( +patches => \&read_patch_series, +); -if ( $elt eq 'patches' ) { -my $patch_dir = $args->{root} . $args->{config_dir} . "patches"; -$logger->info("Checking patches directory ($patch_dir)"); +around read_hash => sub ( $orig, $self, $obj, $elt, $file, $check, $args ) { -$self->read_patch_series( $obj, $check, $patch_dir, $args ); -} -else { -$self->SUPER::read_hash(@_); -} -} +my $method = $dispatch{$elt} // $orig; + +$self->$method( $obj, $elt, $file, $check, $args ); +}; -sub read_patch_series { -my ( $self, $hash, $check, $patch_dir, $args ) = @_; +sub read_patch_series ( $self, $hash, $elt, $file, $check, $args ) { +my $patch_dir = $args->{root} . $args->{config_dir} . "patches"; +$logger->info("Checking patches directory ($patch_dir)"); my $series_files = "$patch_dir/series"; -- 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] 10/23: fix cme update dpkg (req config-model >= 2.098)
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 547c1742fc2539e16861f52a42eff2ce4d5bd8e0 Author: Dominique Dumont Date: Tue Jan 24 18:32:50 2017 +0100 fix cme update dpkg (req config-model >= 2.098) cme update can be called on dpkg or dpkg-control. This changes the meaning of the '!' in fix.scanned.copyright file when called with 'cme update dpkg'. For instance, with '! Format', Config::model::Loader searches Format element in Dpkg config instead of Dpkg::Copyright config. This commit fixes this issue using parameter caller_is_root which was added to Config::Model 2.098. --- debian/control | 2 +- lib/Config/Model/Dpkg/Copyright.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 453aa2c..6ffe54c 100644 --- a/debian/control +++ b/debian/control @@ -9,7 +9,7 @@ Build-Depends: debhelper (>= 9), Build-Depends-Indep: bash-completion, libapt-pkg-perl, libarray-intspan-perl, - libconfig-model-perl (>= 2.092), + libconfig-model-perl (>= 2.098), libconfig-model-tester-perl (>= 2.057), libexporter-lite-perl, liblog-log4perl-perl, diff --git a/lib/Config/Model/Dpkg/Copyright.pm b/lib/Config/Model/Dpkg/Copyright.pm index 2aae235..a8ca8fd 100644 --- a/lib/Config/Model/Dpkg/Copyright.pm +++ b/lib/Config/Model/Dpkg/Copyright.pm @@ -311,7 +311,7 @@ sub _apply_fix_scan_copyright_file ($self, $current_dir) { $self->_say( "Note: loading @fixes fixes from copyright fix files") if @fixes; foreach my $fix ( @fixes) { my @l = grep { /[^\s]/ } grep { ! m!^(#|//)! } $fix->lines_utf8; -eval { $self->load( join(' ',@l) ); }; +eval { $self->load( steps => join(' ',@l) , caller_is_root => 1 ); }; my $e = $@; if ($e) { my $msg = $e->full_message; -- 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/23: fix indentation
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 8116abf1ab3625cfd1d365fafc24dd88df0d805b Author: Dominique Dumont Date: Tue Jan 24 12:58:43 2017 +0100 fix indentation --- lib/Dpkg/Copyright/Scanner.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm index 75b5aa8..6f19b44 100644 --- a/lib/Dpkg/Copyright/Scanner.pm +++ b/lib/Dpkg/Copyright/Scanner.pm @@ -286,7 +286,7 @@ sub scan_files ( %args ) { _warn $msg; } -my @notused = grep { ! $fill_blank_data->{$_}{used} and $_; } sort keys %$fill_blank_data ; +my @notused = grep { ! $fill_blank_data->{$_}{used} and $_; } sort keys %$fill_blank_data ; if (@notused) { _warn "Warning: the following entries from fill.copyright.blanks.yml were not used\n- '" .join("'\n- '",@notused)."'\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] 06/23: scanner: skip files which are not in check list
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 a58c6fb092f9d5ddaa06aafbb6b254a619b22f6f Author: Dominique Dumont Date: Tue Jan 24 13:10:59 2017 +0100 scanner: skip files which are not in check list Skipped files are the file scanned by licencecheck but not part of the check regexp. This regexp is made of default check plus the ones specified by the user. The default check list now includes scripts and README.* AUTHORS, COPYING files... COPYING files in removed from pan.in to fix tests, otherwise the bogus copyright becomes the main copyright of pan. Removing this line emulates the fact that COPYING would be added in ignore list for pan. --- lib/Dpkg/Copyright/Scanner.pm | 18 +- t/scanner/examples/pan.in | 1 - 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm index 82a08bb..88182b6 100644 --- a/lib/Dpkg/Copyright/Scanner.pm +++ b/lib/Dpkg/Copyright/Scanner.pm @@ -110,7 +110,8 @@ EOR # also from licensecheck $default{check} = << 'EOR2' ; -^(?i:readme|license|copying) +(^|/)\w+$ # scripts, AUTHORS files +|^README # README.* files |\.( # search for file suffix c(c|pp|xx)? # c and c++ |h(h|pp|xx)? # header files for c and c++ @@ -204,6 +205,7 @@ sub scan_files ( %args ) { my $files = {}; my $id = 1; my @no_info_list; +my @skipped; foreach my $line (sort @lines) { chomp $line; @@ -212,6 +214,10 @@ sub scan_files ( %args ) { $f =~ s!\./!!; next if $f =~ m!debian/(copyright|changelog)$!; # too confusing next if $files->{$f}; # file already parsed +if ($regexps{check} and $f !~ $regexps{check}) { +push @skipped, $f if $regexps{ignore} and $f !~ $regexps{ignore}; +next; +} $l =~ s/([*?\\])/\\$1/g; $l =~ s/\s*\(unversioned\/unknown version\)//g; @@ -282,6 +288,16 @@ sub scan_files ( %args ) { # say "Storing '$f' : '$c' '$l' has_info: $has_info id ".$files->{$f}; } +if (@skipped) { +my $msg= "The following files were skipped:\n"; +map { + $msg .= "- $_\n"; + } @skipped; +$msg .= "You may want to add a line in debian/copyright-scan-patterns.yml\n" +."or ask the author to add more default patterns to scan\n\n"; +_warn $msg; +} + if (@no_info_list) { my $msg= "The following paths are missing information:\n"; map {my ($p,@i) = $_->@*; diff --git a/t/scanner/examples/pan.in b/t/scanner/examples/pan.in index 68a515d..aa6089f 100644 --- a/t/scanner/examples/pan.in +++ b/t/scanner/examples/pan.in @@ -233,5 +233,4 @@ ./README.mingw UNKNOWN *No copyright* ./README.windows UNKNOWN *No copyright* ./pan/gui/license.hUNKNOWN the software, and\n\ / 1989, 1991 Free Software Foundation, Inc.\n\ -./COPYING UNKNOWN the software, and / 1989, 1991 Free Software Foundation, Inc ./README UNKNOWN *No copyright* -- 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] 05/23: no longer use licensecheck --check option..
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 94cbdd63a4bf06548ce671e0bf75f5ca45c58f52 Author: Dominique Dumont Date: Tue Jan 24 13:07:11 2017 +0100 no longer use licensecheck --check option.. and reduce the processing. There's no need to run twice licensecheck. Now the stractegy is to run licensecheck (once) on all files but the ignored ones. Only the ignore option is passed to licensecheck. Since licensecheck --check option is borken (ignored), this commit does not change the behavior. --- lib/Dpkg/Copyright/Scanner.pm | 39 ++- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm index 6f19b44..82a08bb 100644 --- a/lib/Dpkg/Copyright/Scanner.pm +++ b/lib/Dpkg/Copyright/Scanner.pm @@ -157,6 +157,7 @@ sub scan_files ( %args ) { my $current_dir = $args{from_dir} || path('.'); +my %regexps = %default; # default is needed during tests my @lines ; if (my $file = $ENV{COPYRIGHT_SCANNER_INPUT}) { @lines = path($file)->lines_utf8 ; # for tests @@ -165,32 +166,36 @@ sub scan_files ( %args ) { @lines = $args{in}->lines_utf8; # for other tests } else { -my @runs = (['--skipped'], [qw!-c (?i:readme|license|copying).*!]); - +my $scan_data = {}; my $debian = $current_dir->child('debian'); my $scan_patterns = $debian->child("copyright-scan-patterns.yml"); if ($debian->is_dir and $scan_patterns->is_file) { my $yaml = $scan_patterns->slurp_utf8; # { check => { suffixes => [ js pl ], pattern => '[A-Z]*'}, ignore => { suffixes => [ jpg png ], pattern => 'foo.*'} } -my $scan_data = Load $yaml; -my @opts = (); -foreach my $what (qw/check ignore/) { -my $data = $scan_data->{$what} or next; -my $reg = join( '|' , (map { '\.'.$_.'$'} @{$data->{suffixes} || []}), @{ $data->{pattern} || []}, $default{$what}); -push @opts, '--skipped', "--$what=$reg"; -} -@runs = \@opts ; +$scan_data = Load $yaml; } -foreach my $opts ( @runs ) { -my $pipe = IO::Pipe->new(); -my @cmd = (qw/licensecheck --encoding utf8 --copyright --machine --recursive/, @$opts, '.'); -$pipe->reader(@cmd); -binmode($pipe, ":encoding(UTF-8)"); -push @lines, $pipe->getlines; -$pipe->close; +# licensecheck --check is broken ( #842368 ), so --skipped option is useless. +# let's scan everything and skip later +foreach my $what (qw/check ignore/) { +my $data = $scan_data->{$what} or next; +my $reg = join( +'|' , +(map { '\.'.$_.'$'} @{$data->{suffixes} || []}), +@{ $data->{pattern} || []}, +$default{$what} +); +$regexps{$what} = qr/$reg/; } + +my $pipe = IO::Pipe->new(); +my @cmd = (qw/licensecheck --encoding utf8 --copyright --machine --recursive/, + '--ignore='.$regexps{ignore}, '.'); +$pipe->reader(@cmd); +binmode($pipe, ":encoding(UTF-8)"); +@lines = $pipe->getlines; +$pipe->close; } my $fill_blank_data = __load_fill_blank_data($current_dir); -- 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] 08/23: scanner: scan by default .in .am .m4 files and man pages
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 7a7b83002c4d813b204c4ee5736eb947ab3cea53 Author: Dominique Dumont Date: Tue Jan 24 13:18:15 2017 +0100 scanner: scan by default .in .am .m4 files and man pages --- lib/Dpkg/Copyright/Scanner.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm index 26cfa1d..173eef5 100644 --- a/lib/Dpkg/Copyright/Scanner.pm +++ b/lib/Dpkg/Copyright/Scanner.pm @@ -120,6 +120,9 @@ $default{check} = << 'EOR2' ; |f(77|90)? |go |groovy + |in|am# file to pre-process + |m4 + |\d # man pages |lisp |scala |clj -- 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] 09/23: scanner: ignore some debian files
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 d082d63016deb7b3684de1e14a8603c11b715acf Author: Dominique Dumont Date: Tue Jan 24 13:49:09 2017 +0100 scanner: ignore some debian files --- lib/Dpkg/Copyright/Scanner.pm | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm index 173eef5..608cb8a 100644 --- a/lib/Dpkg/Copyright/Scanner.pm +++ b/lib/Dpkg/Copyright/Scanner.pm @@ -105,7 +105,9 @@ $default{ignore}= << 'EOR'; (?:^|/)(?:DEADJOE|\.cvsignore|\.arch-inventory|\.bzrignore|\.gitignore)$| # File or directory names that should be ignored (?:^|/)(?:CVS|RCS|\.pc|\.deps|\{arch\}|\.arch-ids|\.svn|\.hg|_darcs|\.git| -\.shelf|_MTN|\.bzr(?:\.backup|tags)?)(?:$|/.*$) +\.shelf|_MTN|\.bzr(?:\.backup|tags)?)(?:$|/.*$)| +# skip debian files that are too confusing or too short +(?:^|/)debian/((fix.scanned.)?copyright|changelog|NEWS|compat|.*yml|docs|source|patches/series) EOR # also from licensecheck @@ -213,12 +215,14 @@ sub scan_files ( %args ) { foreach my $line (sort @lines) { chomp $line; # say "found: $line"; -my ($f,$l,$c) = split /\t/, $line; +my ($f,$l,$c) = split /\t/, $line; $f =~ s!\./!!; -next if $f =~ m!debian/(copyright|changelog)$!; # too confusing next if $files->{$f}; # file already parsed -if ($regexps{check} and $f !~ $regexps{check}) { -push @skipped, $f if $regexps{ignore} and $f !~ $regexps{ignore}; + +# filter out files user does not want checked +if ( $f !~ $regexps{check} ) { +# the ignore test should not be usefull as the files are ignored by licensecheck +push @skipped, $f unless $f =~ $regexps{ignore}; next; } -- 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] 07/23: scanner: improve check/ignore doc
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 a78e2608c0f5007e9beb6fed5eab47c1865ee3ef Author: Dominique Dumont Date: Tue Jan 24 13:16:43 2017 +0100 scanner: improve check/ignore doc --- lib/Dpkg/Copyright/Scanner.pm | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm index 88182b6..26cfa1d 100644 --- a/lib/Dpkg/Copyright/Scanner.pm +++ b/lib/Dpkg/Copyright/Scanner.pm @@ -657,12 +657,14 @@ the list of files. =head1 Selecting or ignoring files to scan -By default, the decision whether to scan a file or not is left to L. +By default, scanner scans source files with known suffixes (like .c +.pl ...), README, scripts and skip backup files. You can change this behavior in file -C. This YAML file can -contain a list of suffixes or patterns to scan or to ignore that are added to licensecheck's list. Any file -that is not scanned or ignored will be shown as "skipped". +C. This YAML file can contain a +list of suffixes or patterns to scan or to ignore that are added to +the default list. Any file that is not scanned or ignored will be +shown as "skipped". The file must have the following structure (all fields are optional and order does not matter): @@ -685,6 +687,8 @@ and order does not matter): Do not specify the dot with the suffixes. This will be added by the scanner. +Note that a file that match both "check" and "ignore" pattern is ignored. + =head1 Filling the blanks Sometimes, upstream coders are not perfect: some source files cannot -- 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] 02/23: Scanner: remove spaces during regexp cleanup
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 7dde43e7234829e54c45ef78ea0ba3ea7669cec5 Author: Dominique Dumont Date: Sat Jan 21 19:06:33 2017 +0100 Scanner: remove spaces during regexp cleanup --- lib/Dpkg/Copyright/Scanner.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm index 363dd7b..75b5aa8 100644 --- a/lib/Dpkg/Copyright/Scanner.pm +++ b/lib/Dpkg/Copyright/Scanner.pm @@ -147,7 +147,7 @@ $default{check} = << 'EOR2' ; EOR2 # cleanup the regexp -map { s/#.*\n//g; s/\n//g; } values %default; +map { s/#.*\n//g; s/[\s\n]+//g; } values %default; # option to skip UNKNOWN ? # load a file to override some entries ? -- 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] 11/23: use correct control example for pan dpkg test
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 8acbac3cb0eb92491933df9d1fd19763c2dd776e Author: Dominique Dumont Date: Tue Jan 31 20:36:21 2017 +0100 use correct control example for pan dpkg test --- .../pan-copyright-from-scratch/debian/control | 42 -- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/t/model_tests.d/dpkg-examples/pan-copyright-from-scratch/debian/control b/t/model_tests.d/dpkg-examples/pan-copyright-from-scratch/debian/control index 5c88ada..1b5274a 100644 --- a/t/model_tests.d/dpkg-examples/pan-copyright-from-scratch/debian/control +++ b/t/model_tests.d/dpkg-examples/pan-copyright-from-scratch/debian/control @@ -1,22 +1,28 @@ -Source: opennebula -Section: utils -Priority: extra -Maintainer: Daniel Dehennin -Build-Depends: bash-completion, - bison, - scons +Source: pan +Maintainer: Dominique Dumont +Section: news +Priority: optional +Build-Depends: autotools-dev, + debhelper (>= 9), + intltool, + libgmime-2.6-dev, + libgtk2.0-dev, + libgtkspell-dev, + libnotify-dev, + libgnome-keyring-dev, + libdbus-1-dev Standards-Version: 3.9.8 -Homepage: http://opennebula.org/ -Vcs-Git: https://github.com/OpenNebula/one.git -Vcs-Browser: https://github.com/OpenNebula/one +Homepage: http://pan.rebelbase.com/ -Package: opennebula +Package: pan Architecture: any -Depends: apg, - genisoimage, - liblog4cpp5, - ${misc:Depends}, - ${shlibs:Depends} -Description: controller which executes the OpenNebula cluster services - OpenNebula is an open source virtual infrastructure engine that enables the... +Depends: ${misc:Depends}, + ${shlibs:Depends}, + gnome-keyring +Description: newsreader based on GTK2, which looks like Forte Agent + Pan is a newsreader, loosely based on Agent and Gravity, which attempts to be + pleasant to use for new and advanced users alike. It has all the typical + features found in newsreaders and also supports offline newsreading, + sophisticated filtering, multiple connections, and a number of extra features + for power users and alt.binaries fans. -- 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] 12/23: default © upstream name is found from control source...
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 d7a472ab05b2acbca405d31c31d2597b2a1b1949 Author: Dominique Dumont Date: Sat Jan 28 11:59:58 2017 +0100 default © upstream name is found from control source... only when using 'cme dpkg'. This does not work with 'cme edit dpkg-copyright' as control source information is not loaded. This works with the new model plugin brought by https://github.com/dod38fr/config-model/commit/fa9a5662058b950dc834236b7a9988281a2620bd and requires Config::Model >= 2.098 --- .../Model/models/Dpkg.d/source-name/Dpkg/Copyright.pl | 19 +++ 1 file changed, 19 insertions(+) diff --git a/lib/Config/Model/models/Dpkg.d/source-name/Dpkg/Copyright.pl b/lib/Config/Model/models/Dpkg.d/source-name/Dpkg/Copyright.pl new file mode 100644 index 000..d470768 --- /dev/null +++ b/lib/Config/Model/models/Dpkg.d/source-name/Dpkg/Copyright.pl @@ -0,0 +1,19 @@ +[ + { +'element' => [ + 'Upstream-Name', + { +'compute' => { + 'allow_override' => '1', + 'formula' => '$source_name', + 'variables' => { +'source_name' => '! control source Source' + } +} + } +], +'name' => 'Dpkg::Copyright' + } +] +; + -- 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/23: use directory name as package source name default
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 9de1bcd49b2db2954ee01ae0a07e5bc9035231fe Author: Dominique Dumont Date: Tue Jan 24 12:57:39 2017 +0100 use directory name as package source name default --- lib/Config/Model/models/Dpkg/Control/Source.pl | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl index cf91a45..2536564 100644 --- a/lib/Config/Model/models/Dpkg/Control/Source.pl +++ b/lib/Config/Model/models/Dpkg/Control/Source.pl @@ -22,6 +22,12 @@ For details, see Lhttps://www.debian.org/doc/debia 'element' => [ 'Source', { +'compute' => { + 'allow_override' => '1', + 'formula' => '$ENV{PWD} =~ m!/([^/]+)$!; $1;', + 'use_eval' => '1' +}, +'description' => 'Source package name. Defaults to the name of the current directory.', 'mandatory' => '1', 'match' => '\\w[\\w+\\-\\.]{1,}', 'summary' => 'source package name', -- 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 (3aa1738 -> 835d5ba)
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 3aa1738 prepare release new 95123b9 Scanner: don't use qr// when cleaning up regexp after new 7dde43e Scanner: remove spaces during regexp cleanup new 9de1bcd use directory name as package source name default new 8116abf fix indentation new 94cbdd6 no longer use licensecheck --check option.. new a58c6fb scanner: skip files which are not in check list new a78e260 scanner: improve check/ignore doc new 7a7b830 scanner: scan by default .in .am .m4 files and man pages new d082d63 scanner: ignore some debian files new 547c174 fix cme update dpkg (req config-model >= 2.098) new 8acbac3 use correct control example for pan dpkg test new d7a472a default © upstream name is found from control source... new 0c74fd7 test © upstream name from control source new bec09e1 rename variable in test file new 775713f add default value for debian/rules new eebfbc5 moved compat element at the beginning.. new eaa1483 add default dummy value for debian/changelog new 3f0c6d0 tweak Dpkg::Backend to use Moose's "around" new 4591335 update Dpkg backend to read debian/*.install files new 355c70b Dpkg model: remove unused parameter new 523716f add support for debian/*.install files new e51a496 test support of debian/*.install files new 835d5ba add support for debian/not-installed file The 23 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/control | 2 +- lib/Config/Model/Backend/Dpkg.pm | 44 +++--- lib/Config/Model/Dpkg/Copyright.pm | 2 +- lib/Config/Model/Dpkg/Dependency.pm| 7 +- .../models/Dpkg.d/source-name/Dpkg/Copyright.pl| 19 + lib/Config/Model/models/Dpkg.pl| 83 +-- lib/Config/Model/models/Dpkg/Control/Source.pl | 6 ++ lib/Config/Model/models/Dpkg/Install.pl| 41 + lib/Config/Model/models/Dpkg/Meta.pl | 10 +++ lib/Dpkg/Copyright/Scanner.pm | 96 ++ .../pan-copyright-from-scratch/debian/control | 42 ++ t/model_tests.d/dpkg-test-conf.pl | 51 t/model_tests.t| 2 +- t/scanner/examples/pan.in | 1 - 14 files changed, 313 insertions(+), 93 deletions(-) create mode 100644 lib/Config/Model/models/Dpkg.d/source-name/Dpkg/Copyright.pl create mode 100644 lib/Config/Model/models/Dpkg/Install.pl -- 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/23: Scanner: don't use qr// when cleaning up regexp after
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 95123b92cafbfc428287fde21215fe491349593e Author: Dominique Dumont Date: Sat Jan 21 19:05:48 2017 +0100 Scanner: don't use qr// when cleaning up regexp after --- lib/Dpkg/Copyright/Scanner.pm | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm index f7521fc..363dd7b 100644 --- a/lib/Dpkg/Copyright/Scanner.pm +++ b/lib/Dpkg/Copyright/Scanner.pm @@ -92,7 +92,7 @@ sub _warn ($msg) { my %default ; # from licensecheck.pl -$default{ignore}= qr! +$default{ignore}= << 'EOR'; # Ignore general backup files ~$| # Ignore emacs recovery files @@ -106,12 +106,12 @@ $default{ignore}= qr! # File or directory names that should be ignored (?:^|/)(?:CVS|RCS|\.pc|\.deps|\{arch\}|\.arch-ids|\.svn|\.hg|_darcs|\.git| \.shelf|_MTN|\.bzr(?:\.backup|tags)?)(?:$|/.*$) -!x; +EOR # also from licensecheck -$default{check} = -qr! -\.( # search for file suffix +$default{check} = << 'EOR2' ; +^(?i:readme|license|copying) +|\.( # search for file suffix c(c|pp|xx)? # c and c++ |h(h|pp|xx)? # header files for c and c++ |S @@ -144,7 +144,7 @@ $default{check} = |(c|l)?hs ) $ - !x; +EOR2 # cleanup the regexp map { s/#.*\n//g; s/\n//g; } values %default; -- 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