File: Options.pl

package info (click to toggle)
libconfig-model-perl 2.021-3%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,104 kB
  • sloc: perl: 20,550; makefile: 11
file content (54 lines) | stat: -rw-r--r-- 2,624 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#
# This file is part of Config-Model
#
# This software is Copyright (c) 2012 by Dominique Dumont, Krzysztof Tyszecki.
#
# This is free software, licensed under:
#
#   The GNU Lesser General Public License, Version 2.1, February 1999
#
[
  {
    'class_description' => 'list of long options that should be automatically prepended to the set of command line options of a dpkg-source -b or dpkg-source --print-format call. Options like --compression and --compression-level are well suited for this file.',
    'accept' => [
      '.*',
      {
        'value_type' => 'uniline',
        'warn' => 'There\'s a missing element in Debian::Dpkg::Source::Opion. Please send a mail to config-model-users at lists.sourceforge.com mentioning the missing element and its relevant documentation.',
        'type' => 'leaf',
        'description' => 'Unexpected but possibly right debian source option.'
      }
    ],
    'read_config' => [
      {
        'auto_create' => '1',
        'file' => 'options',
        'backend' => 'ShellVar',
        'config_dir' => 'debian/source'
      }
    ],
    'name' => 'Debian::Dpkg::Source::Options',
    'author' => [
      'Dominique Dumont <domi.dumont@free.fr>'
    ],
    'license' => 'LGPL-2.1',
    'element' => [
      'diff-ignore',
      {
        'value_type' => 'uniline',
        'summary' => 'perl regexp to filter out files for the diff',
        'type' => 'leaf',
        'description' => 'perl regular expression to match files you want filtered out of the list of files for the diff.This is very helpful in cutting out extraneous files that get included in the diff, e.g. if you maintain your source in a revision control system and want to use a checkout to build a source package without including the additional files and directories that it will usually contain (e.g. CVS, .cvsignore, .svn/). The default regexp is already very exhaustive, but if you need to replace it, please note that by default it can match any part of a path, so if you want to match the begin of a filename or only full filenames, you will need to provide the necessary anchors (e.g. \'(^|/)\', \'($|/)\') yourself.'
      },
      'extend-diff-ignore',
      {
        'value_type' => 'uniline',
        'summary' => 'Perl regexp to extend the diff-ignore setup',
        'type' => 'leaf',
        'description' => 'The perl regular expression specified will extend the default regular expression associated to diff-ignore by concatenating "|regexp" to the default regexp. This option is convenient to exclude some auto-generated files from the automatic patch generation.'
      }
    ]
  }
]
;