aboutsummaryrefslogtreecommitdiffstats
path: root/etc/submit.conf
blob: a7fbf16da268fa9379ac75dd487b101690ac4c9a (plain)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# youri-submit sample configuration file
# $Id: submit.conf 1671 2007-06-28 22:41:51Z guillomovitch $
# vim:ft=yaml:et:sw=4

# helper variables
home: /home/user

# repository definition
repository:
    class: Youri::Repository::PLF
    options:
        install_root: ${home}/ftp/mandriva
        version_root: ${home}/cvs
        archive_root: ${home}/backup/mandriva
        noarch: i586

# targets definitions
targets:
    cooker:
        steps:
            - check-tag
            - check-recency
            - check-history
            - do-sign
            - do-install
            - do-link
            - do-archive
            - do-clean
            - do-bugzilla
            - do-cvs
            - do-mail
            - do-rss

    2006.0:
        steps:
            - check-type
            - check-tag
            - check-recency
            - check-history
            - check-precedence
            - do-sign
            - do-install
            - do-link
            - do-archive
            - do-clean

# steps definitions
steps:
    check-tag:
        class: Youri::Submit::Check::Tag
        options:
            tags:
                release: 'plf$'
                packager: '<\w+@zarb\.org>$'
                distribution: '^Mandriva Linux$'
                vendor: '^Penguin Liberation Front$'

    check-recency:
        class: Youri::Submit::Check::Recency

    check-history:
        class: Youri::Submit::Check::History

    check-precedence:
        class: Youri::Submit::Check::Precedence
        options:
            target: cooker

    check-type:
        class: Youri::Submit::Check::Type
        type: binary

    do-sign:
        class: Youri::Submit::Action::Sign
        options:
            name: plf@zarb.org
            path: ${home}/.gnupg
            passphrase: s3kr3t

    do-install:
        class: Youri::Submit::Action::Install

    do-link:
        class: Youri::Submit::Action::Link

    do-archive:
        class: Youri::Submit::Action::Archive

    do-clean:
        class: Youri::Submit::Action::Clean

    do-mail:
        class: Youri::Submit::Action::Mail
        options:
            mta: /usr/sbin/sendmail
            to: plf-announce@zarb.org
            reply_to: plf-discuss@zarb.org
            from: plf@zarb.org
            prefix: RPM
            cc:
                hot-base: david@dindinx.org bellamy@neverland.net
                dcgui: mathen@ketelhot.de
                dclib: mathen@ketelhot.de
                Video-DVDRip: dvdrip-users@exit1.org
                hackVideo-DVDRip: dvdrip-users@exit1.org
                goosnes: tak@bard.sytes.net
                avidemux: fixounet@free.fr
                vobcopy: robos@muon.de
                drip: drip-devel@lists.sourceforge.net
                libdscaler: vektor@dumbterm.net
                xawdecode: pingus77@ifrance.com

    do-rss:
        class: Youri::Submit::Action::RSS
        options:
            file: ${home}/www/changelog.rss
            title: PLF packages updates
            link: http://plf.zarb.org/
            description: ChangeLog for PLF packages

    do-cvs:
        class: Youri::Submit::Action::CVS

    do-bugzilla:
        class: Youri::Submit::Action::Bugzilla
        options:
            host: localhost
            base: plf_bugs
            user: plf
            pass: s3kr3t
            contact: plf@zarb.org