[libconfig-model-dpkg-perl] 01/03: all models: use rw_config (cme meta save)
dod at debian.org
dod at debian.org
Tue Sep 26 13:05:30 UTC 2017
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 9298696d3e016888fae687aa347f4fe1121a4848
Author: Dominique Dumont <dod at debian.org>
Date: Tue Sep 26 14:20:25 2017 +0200
all models: use rw_config (cme meta save)
upgrade old style backend parameter to new style with rw_config. This
change was done with "cme meta save" using Config::Model::Itself 2.012
---
lib/Config/Model/models/Dpkg.pl | 14 ++++++--------
lib/Config/Model/models/Dpkg/BugFiles.pl | 16 +++++++---------
lib/Config/Model/models/Dpkg/BugFiles/Control.pl | 20 +++++++++-----------
lib/Config/Model/models/Dpkg/Control.pl | 14 ++++++--------
lib/Config/Model/models/Dpkg/Copyright.pl | 14 ++++++--------
lib/Config/Model/models/Dpkg/Copyright/FillBlanks.pl | 16 +++++++---------
.../Model/models/Dpkg/Copyright/ScanPatterns.pl | 16 +++++++---------
lib/Config/Model/models/Dpkg/Install.pl | 16 +++++++---------
lib/Config/Model/models/Dpkg/Meta.pl | 16 +++++++---------
lib/Config/Model/models/Dpkg/PackageScripts.pl | 18 ++++++++----------
lib/Config/Model/models/Dpkg/Patch.pl | 10 ++++------
lib/Config/Model/models/Dpkg/Patches.pl | 14 ++++++--------
lib/Config/Model/models/Dpkg/Source.pl | 12 +++++-------
lib/Config/Model/models/Dpkg/Source/Options.pl | 14 ++++++--------
14 files changed, 91 insertions(+), 119 deletions(-)
diff --git a/lib/Config/Model/models/Dpkg.pl b/lib/Config/Model/models/Dpkg.pl
index d8748a0..c0c6993 100644
--- a/lib/Config/Model/models/Dpkg.pl
+++ b/lib/Config/Model/models/Dpkg.pl
@@ -225,14 +225,12 @@ By default, it will include all existing files in the top-level source directory
],
'license' => 'LGPL2',
'name' => 'Dpkg',
- 'read_config' => [
- {
- 'auto_create' => '1',
- 'auto_delete' => '1',
- 'backend' => 'Dpkg',
- 'config_dir' => 'debian'
- }
- ]
+ 'rw_config' => {
+ 'auto_create' => '1',
+ 'auto_delete' => '1',
+ 'backend' => 'Dpkg',
+ 'config_dir' => 'debian'
+ }
}
]
;
diff --git a/lib/Config/Model/models/Dpkg/BugFiles.pl b/lib/Config/Model/models/Dpkg/BugFiles.pl
index a5922e2..637fd64 100644
--- a/lib/Config/Model/models/Dpkg/BugFiles.pl
+++ b/lib/Config/Model/models/Dpkg/BugFiles.pl
@@ -21,15 +21,13 @@
}
],
'name' => 'Dpkg::BugFiles',
- 'read_config' => [
- {
- 'auto_create' => '1',
- 'auto_delete' => '1',
- 'backend' => 'PlainFile',
- 'config_dir' => 'debian',
- 'file' => '&index(-).&element'
- }
- ]
+ 'rw_config' => {
+ 'auto_create' => '1',
+ 'auto_delete' => '1',
+ 'backend' => 'PlainFile',
+ 'config_dir' => 'debian',
+ 'file' => '&index(-).&element'
+ }
}
]
;
diff --git a/lib/Config/Model/models/Dpkg/BugFiles/Control.pl b/lib/Config/Model/models/Dpkg/BugFiles/Control.pl
index 9264307..5264b67 100644
--- a/lib/Config/Model/models/Dpkg/BugFiles/Control.pl
+++ b/lib/Config/Model/models/Dpkg/BugFiles/Control.pl
@@ -57,17 +57,15 @@ See L<README.developers|https://anonscm.debian.org/cgit/reportbug/reportbug.git/
}
],
'name' => 'Dpkg::BugFiles::Control',
- 'read_config' => [
- {
- 'assign_char' => ':',
- 'assign_with' => ': ',
- 'auto_create' => '1',
- 'auto_delete' => '1',
- 'backend' => 'IniFile',
- 'config_dir' => 'debian',
- 'file' => '&index(-).bug-control'
- }
- ]
+ 'rw_config' => {
+ 'assign_char' => ':',
+ 'assign_with' => ': ',
+ 'auto_create' => '1',
+ 'auto_delete' => '1',
+ 'backend' => 'IniFile',
+ 'config_dir' => 'debian',
+ 'file' => '&index(-).bug-control'
+ }
}
]
;
diff --git a/lib/Config/Model/models/Dpkg/Control.pl b/lib/Config/Model/models/Dpkg/Control.pl
index 4882a2f..2a6820c 100644
--- a/lib/Config/Model/models/Dpkg/Control.pl
+++ b/lib/Config/Model/models/Dpkg/Control.pl
@@ -27,14 +27,12 @@
],
'license' => 'LGPL2',
'name' => 'Dpkg::Control',
- 'read_config' => [
- {
- 'auto_create' => '1',
- 'backend' => 'Dpkg::Control',
- 'config_dir' => 'debian',
- 'file' => 'control'
- }
- ]
+ 'rw_config' => {
+ 'auto_create' => '1',
+ 'backend' => 'Dpkg::Control',
+ 'config_dir' => 'debian',
+ 'file' => 'control'
+ }
}
]
;
diff --git a/lib/Config/Model/models/Dpkg/Copyright.pl b/lib/Config/Model/models/Dpkg/Copyright.pl
index aca19b2..264330b 100644
--- a/lib/Config/Model/models/Dpkg/Copyright.pl
+++ b/lib/Config/Model/models/Dpkg/Copyright.pl
@@ -209,14 +209,12 @@ See L<files pattern documentation|https://www.debian.org/doc/packaging-manuals/c
],
'license' => 'LGPL2',
'name' => 'Dpkg::Copyright',
- 'read_config' => [
- {
- 'auto_create' => '1',
- 'backend' => 'Dpkg::Copyright',
- 'config_dir' => 'debian',
- 'file' => 'copyright'
- }
- ]
+ 'rw_config' => {
+ 'auto_create' => '1',
+ 'backend' => 'Dpkg::Copyright',
+ 'config_dir' => 'debian',
+ 'file' => 'copyright'
+ }
}
]
;
diff --git a/lib/Config/Model/models/Dpkg/Copyright/FillBlanks.pl b/lib/Config/Model/models/Dpkg/Copyright/FillBlanks.pl
index 2ce3a50..a3191af 100644
--- a/lib/Config/Model/models/Dpkg/Copyright/FillBlanks.pl
+++ b/lib/Config/Model/models/Dpkg/Copyright/FillBlanks.pl
@@ -14,15 +14,13 @@
}
],
'name' => 'Dpkg::Copyright::FillBlanks',
- 'read_config' => [
- {
- 'auto_create' => '1',
- 'auto_delete' => '1',
- 'backend' => 'Yaml',
- 'config_dir' => 'debian',
- 'file' => 'fill.copyright.blanks.yml'
- }
- ]
+ 'rw_config' => {
+ 'auto_create' => '1',
+ 'auto_delete' => '1',
+ 'backend' => 'Yaml',
+ 'config_dir' => 'debian',
+ 'file' => 'fill.copyright.blanks.yml'
+ }
}
]
;
diff --git a/lib/Config/Model/models/Dpkg/Copyright/ScanPatterns.pl b/lib/Config/Model/models/Dpkg/Copyright/ScanPatterns.pl
index da69a72..ba19bc7 100644
--- a/lib/Config/Model/models/Dpkg/Copyright/ScanPatterns.pl
+++ b/lib/Config/Model/models/Dpkg/Copyright/ScanPatterns.pl
@@ -15,15 +15,13 @@
}
],
'name' => 'Dpkg::Copyright::ScanPatterns',
- 'read_config' => [
- {
- 'auto_create' => '1',
- 'auto_delete' => '1',
- 'backend' => 'Yaml',
- 'config_dir' => 'debian',
- 'file' => 'copyright-scan-patterns.yml'
- }
- ]
+ 'rw_config' => {
+ 'auto_create' => '1',
+ 'auto_delete' => '1',
+ 'backend' => 'Yaml',
+ 'config_dir' => 'debian',
+ 'file' => 'copyright-scan-patterns.yml'
+ }
}
]
;
diff --git a/lib/Config/Model/models/Dpkg/Install.pl b/lib/Config/Model/models/Dpkg/Install.pl
index 980d519..e2c5056 100644
--- a/lib/Config/Model/models/Dpkg/Install.pl
+++ b/lib/Config/Model/models/Dpkg/Install.pl
@@ -26,15 +26,13 @@ See L<dh_install> for more details.
}
],
'name' => 'Dpkg::Install',
- 'read_config' => [
- {
- 'auto_create' => '1',
- 'auto_delete' => '1',
- 'backend' => 'PlainFile',
- 'config_dir' => 'debian',
- 'file' => '&index(-).install'
- }
- ]
+ 'rw_config' => {
+ 'auto_create' => '1',
+ 'auto_delete' => '1',
+ 'backend' => 'PlainFile',
+ 'config_dir' => 'debian',
+ 'file' => '&index(-).install'
+ }
}
]
;
diff --git a/lib/Config/Model/models/Dpkg/Meta.pl b/lib/Config/Model/models/Dpkg/Meta.pl
index 88c5512..c025590 100644
--- a/lib/Config/Model/models/Dpkg/Meta.pl
+++ b/lib/Config/Model/models/Dpkg/Meta.pl
@@ -68,15 +68,13 @@
],
'license' => 'LGPL2',
'name' => 'Dpkg::Meta',
- 'read_config' => [
- {
- 'auto_create' => '1',
- 'backend' => 'Yaml',
- 'config_dir' => '~/',
- 'file' => '.dpkg-meta.yml',
- 'full_dump' => '0'
- }
- ]
+ 'rw_config' => {
+ 'auto_create' => '1',
+ 'backend' => 'Yaml',
+ 'config_dir' => '~/',
+ 'file' => '.dpkg-meta.yml',
+ 'full_dump' => '0'
+ }
}
]
;
diff --git a/lib/Config/Model/models/Dpkg/PackageScripts.pl b/lib/Config/Model/models/Dpkg/PackageScripts.pl
index e77e77d..8097f68 100644
--- a/lib/Config/Model/models/Dpkg/PackageScripts.pl
+++ b/lib/Config/Model/models/Dpkg/PackageScripts.pl
@@ -31,16 +31,14 @@
}
],
'name' => 'Dpkg::PackageScripts',
- 'read_config' => [
- {
- 'auto_create' => '1',
- 'auto_delete' => '1',
- 'backend' => 'PlainFile',
- 'config_dir' => 'debian',
- 'file' => '&index(-).&element',
- 'file_mode' => 'a+x'
- }
- ]
+ 'rw_config' => {
+ 'auto_create' => '1',
+ 'auto_delete' => '1',
+ 'backend' => 'PlainFile',
+ 'config_dir' => 'debian',
+ 'file' => '&index(-).&element',
+ 'file_mode' => 'a+x'
+ }
}
]
;
diff --git a/lib/Config/Model/models/Dpkg/Patch.pl b/lib/Config/Model/models/Dpkg/Patch.pl
index 06d19fc..c3bec5f 100644
--- a/lib/Config/Model/models/Dpkg/Patch.pl
+++ b/lib/Config/Model/models/Dpkg/Patch.pl
@@ -172,12 +172,10 @@ what you\'re doing.',
}
],
'name' => 'Dpkg::Patch',
- 'read_config' => [
- {
- 'backend' => 'Dpkg::Patch',
- 'config_dir' => 'debian/patches'
- }
- ]
+ 'rw_config' => {
+ 'backend' => 'Dpkg::Patch',
+ 'config_dir' => 'debian/patches'
+ }
}
]
;
diff --git a/lib/Config/Model/models/Dpkg/Patches.pl b/lib/Config/Model/models/Dpkg/Patches.pl
index 5176ff8..09ca2ee 100644
--- a/lib/Config/Model/models/Dpkg/Patches.pl
+++ b/lib/Config/Model/models/Dpkg/Patches.pl
@@ -23,14 +23,12 @@
],
'license' => 'LGPL2',
'name' => 'Dpkg::Patches',
- 'read_config' => [
- {
- 'auto_create' => '1',
- 'backend' => 'Dpkg',
- 'config_dir' => 'debian',
- 'file' => 'clean'
- }
- ]
+ 'rw_config' => {
+ 'auto_create' => '1',
+ 'backend' => 'Dpkg',
+ 'config_dir' => 'debian',
+ 'file' => 'clean'
+ }
}
]
;
diff --git a/lib/Config/Model/models/Dpkg/Source.pl b/lib/Config/Model/models/Dpkg/Source.pl
index 1869225..e86e66b 100644
--- a/lib/Config/Model/models/Dpkg/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Source.pl
@@ -47,13 +47,11 @@ There may also be a .git shallow file listing revisions for a shallow git clone.
],
'license' => 'LGPL2',
'name' => 'Dpkg::Source',
- 'read_config' => [
- {
- 'auto_create' => '1',
- 'backend' => 'PlainFile',
- 'config_dir' => 'debian/source'
- }
- ]
+ 'rw_config' => {
+ 'auto_create' => '1',
+ 'backend' => 'PlainFile',
+ 'config_dir' => 'debian/source'
+ }
}
]
;
diff --git a/lib/Config/Model/models/Dpkg/Source/Options.pl b/lib/Config/Model/models/Dpkg/Source/Options.pl
index 0ada83f..6afc86c 100644
--- a/lib/Config/Model/models/Dpkg/Source/Options.pl
+++ b/lib/Config/Model/models/Dpkg/Source/Options.pl
@@ -65,14 +65,12 @@
],
'license' => 'LGPL-2.1',
'name' => 'Dpkg::Source::Options',
- 'read_config' => [
- {
- 'auto_create' => '1',
- 'backend' => 'ShellVar',
- 'config_dir' => 'debian/source',
- 'file' => 'options'
- }
- ]
+ 'rw_config' => {
+ 'auto_create' => '1',
+ 'backend' => 'ShellVar',
+ 'config_dir' => 'debian/source',
+ 'file' => 'options'
+ }
}
]
;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git
More information about the Pkg-perl-cvs-commits
mailing list