summaryrefslogtreecommitdiffabout
path: root/tests/etc/wydawca.rcin
blob: 369ddc27c3ffc1471701861aaba5ea38f24b6da9 (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
# This file is part of Wydawca testsuite
# Copyright (C) 2009, 2010, 2011, 2012, 2017, 2019 Sergey Poznyakoff
#
# Wydawca 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 3, or (at your option)
# any later version.
#
# Wydawca is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Wydawca.  If not, see <http://www.gnu.org/licenses/>.

statistics all;

umask 022;

locking no;

dictionary project-owner {
  type builtin;
  query "${project}";
  params ("/exact",
          "proj", "proj-owner@localhost", "Project Admin");
}
dictionary project-uploader {
  type builtin;
  query "${project}";
  params ("/exact",
          "proj", "gray", "Wydawca Test User", "gray@localhost",
"-----BEGIN PGP PUBLIC KEY BLOCK-----\n"
"Version: GnuPG v1.4.7 (GNU/Linux)\n"
"\n"
"mQGhBEmZcTERBAD9sD9d3xhVHURwbLcHUHIK6LGSHAlFzKv4MSOk+6nJhdvbQfIV\n"
"YAe6VZ8fTX8EX7f0Vw53or1mlBOZpMNeEHp/IejFwnT3pAF3xiHTwbmwJg+0RuKo\n"
"dwfN0vO9xECj3/ZsBvSYbYty8Vmy2e8osrNdXAXd+8Z3xJ3reAWOujGj9wCg1qg5\n"
"1LJgEIbPdZm0Iv43Pvdzbi8EAMlW6oZuBFuQXf0e2NceZKrZvGjFDW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vAhcHec83IqGjrndt3oQnlfMrLNR12KWsOpQRYJ8F4CMSNSsQx\n"
"JsjkjStgy/A1zbzkVlgf50lY5sltcWuOYU66lqq63QlK+uwNt1bqIS62fvDNeQK6\n"
"P2O3QX5lg75nEzdUmHyP+yTlSjHTPf7qaRx9UPpnf7r9t/IcjkXAMu6Y2LMgfbTA\n"
"qVoOxiH7h8CeNXaVg8QF2cHGdwGLDvZ3X+Vtck/LjjdmHxiiiEkEGBECAAkFAkmZ\n"
"cTECGwwACgkQCZA3/2YT9iOTCwCeNckYjNiatFHHlOqph3N5hYmix6MAnRPeCkG4\n"
"BBXnlxcgH/vqaSpx7Fgr\n"
"=gYgX\n"
"-----END PGP PUBLIC KEY BLOCK-----\n");
}

create-directories yes;

spool test {
  url ftp://wydawca.test;
  source "@WY_SRC@/test";
  destination "@WY_DST@";
  archive directory {
    name "archive";
  };
}

spool ckfail {
  url ftp://wydawca.ckfail;
  source "@WY_SRC@/fail";
  destination "@WY_DST@";
  archive none;
  check-script <<EOT
echo WYDAWCA_SPOOL=$WYDAWCA_SPOOL
echo WYDAWCA_SOURCE=$WYDAWCA_SOURCE
echo WYDAWCA_DEST=$WYDAWCA_DEST
echo WYDAWCA_URL=$WYDAWCA_URL
echo WYDAWCA_TRIPLET_BASE=$WYDAWCA_TRIPLET_BASE
echo WYDAWCA_DIST_FILE=$WYDAWCA_DIST_FILE
exit 1
EOT;
}

spool ckok {
  url ftp://wydawca.ckok;
  source "@WY_SRC@/ok";
  destination "@WY_DST@";
  archive none;
  check-script "exit 0";
}

Return to:

Send suggestions and report system problems to the System administrator.