debian/0000755000000000000000000000000012222072422007161 5ustar debian/pybit-web.README.Debian0000644000000000000000000000077512167223612013143 0ustar pybit-web for Debian pybit-web creates a system user matching the name of the configured database user, if one is set. This system user is not removed when pybit-web is removed or purged. See #621833 for the complications of removing system users also, as the virtual host may well be active, locking the user would disable apache and the local apache sites-available config is out of bounds to this maintainer script. -- Neil Williams Wed, 06 Feb 2013 13:23:06 +0000 debian/pybit-web.1.xml0000644000000000000000000000735512167223612011765 0ustar pybit-web 1 January 2013 pybit-web pybit-web buildd server to isuse build jobs to pybit clients. DESCRIPTION pybit-web provides a database connection and the controller to send messages to pybit clients to create a specific package build using the specified version control system. The client feeds status messages back to the controller which are displayed via the web interface. Setting up the pybit-web server The Debian packaging of pybit-web uses dbconfig-common to configure the database. For a local postgres instance, choose the unix socket option and the default ident authentication, then postgres as the database administrative user and www-data as the pybit-web database user. You can use whatever name you prefer for the pybit-web database itself. Note: Ensure that the www-data user is specified or apache will not be granted permission to use the database connection. It's not enough to just set the user to www-data in /etc/pybit/web/web.conf - this setting is correct but needs postgres to be configured to allow access to www-data. Also check that the pybit-web database owner is set to www-data and that all the tables in the database have the owner set to www-data. Use ALTER DATABASE OWNER name TO "www-data" and ALTER TABLE name OWNER to "www-data" if necessary. Blacklisting packages Sometimes there will be packages being committed to the VCS with updated debian/changelog files but which either cannot or should not be built automatically. pybit-web supports a postgres table called Blacklist, with fields "field" and "regex". Blacklist is used internally by process_job() in controller to determine if certain packages are centrally blacklisted using regexes. If there is a match on the field in question, pybit-web will not issue a build request for this package. process_job() is called by both the WebGUI and the VCS hook. For example "name" and "(.*-dev)" will mean we do not autobuild any development packages, while "vcs_uri" and "(.*/users/*)" will block sources from locations such as /repo/users/jamesb/somebadcode The controller log will print "BLACKLISTED! - [regex] matches [fieldname]:[data]" if a package is blacklisted. A 403 will be returned, as well as a False, from process_job to its caller (previously it returned void) See Also The pybit wiki has more information on setting up the server as well as the rabbitmq server and the watcher. https://github.com/nicholasdavidson/pybit/wiki/Server-Setup Author This manual page was written by Neil Williams codehelp@debian.org debian/copyright0000644000000000000000000001061412167223612011125 0ustar Files: debian/* Copyright: 2012 Neil Williams Licence: GPL-2+ Files: pybitclient/daemonlogger.py Copyright: 2010 Bud P. Bruegger 2012 Neil Williams Licence: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: pybitweb/bootstrap/css/* Copyright: 2012 Twitter, Inc 2012 James Bennet License: Apache License v2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. On Debian systems, the complete text of the Apache License v2.0 can be found in `/usr/share/common-licenses/Apache-2.0'. Files: pybitweb/bootstrap/js/* Copyright: 2012 Twitter, Inc License: Apache License v2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. On Debian systems, the complete text of the Apache License v2.0 can be found in `/usr/share/common-licenses/Apache-2.0'. Files: * Copyright: 2012 Neil Williams 2012 Nick Davidson , 2012 Simon Haswell , 2012 Neil Williams , 2012 Nick Bane , 2012 James Bennet License: GPL-2+ This program 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 2 of the License, or (at your option) any later version. This program 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 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU General Public License version 3 can be found in `/usr/share/common-licenses/GPL-2'. debian/pybit-web-json.pl0000755000000000000000000000434512167223612012407 0ustar #!/usr/bin/perl use strict; use warnings; use JSON; use vars qw/ $command $ret $dbuser $dbpass $cfgfile %cfg $ret $basepath $dbname $dbserver $dbport $dbtype $dbexport $dh_commands @json_list $json_text $fh $json_hash %dbhash $json $dbini /; # postinst helper script for pybit-web $cfgfile = '/etc/pybit/web/web.conf'; $dbexport = '/etc/pybit/debian-db.pl'; # contains the intermediate db export data $dbini = '/etc/pybit/debian-db.ini'; # other debconf data # pull in the exported db data if (-f $dbexport) { require $dbexport; } # extract the ordinary debconf data if (-f $dbini) { open (INI, $dbini); my @ini=; close (INI); unlink $dbini; foreach my $line (@ini) { my @set = split(/=/, $line); $cfg{$set[0]} = $set[1]; } } if (not defined $cfg{'host'}) { my $host = `hostname -f`; chomp ($host); $cfg{'host'} = $host; } if (not defined $cfg{'port'}) { $cfg{'port'} = 8080; } foreach my $key (keys %cfg) { my $val = $cfg{$key}; chomp($val); $val =~ s/"//g; $val =~ s/'//g; $val =~ s/,//g; $cfg{$key} = $val; } if (-r "$cfgfile") { open(CONF, "$cfgfile") or die; } else { open(CONF, "/usr/share/pybit-web/web.conf") or die; } @json_list = ; close (CONF); $json = new JSON; $json = $json->utf8(1); $json = $json->pretty(1); $json = $json->canonical(1); $json_text = join(' ', @json_list); $json_hash = $json->decode($json_text); $$json_hash{'db'}{'hostname'} = $dbserver if (defined $dbserver); $$json_hash{'db'}{'databasename'} = $dbname if (defined $dbname); if (defined $dbport) { $dbport = 0 if ($dbport eq ""); if (int $dbport == 0) { $$json_hash{'db'}{'port'} = undef; } else { $$json_hash{'db'}{'port'} = int $dbport == 0; } } $$json_hash{'db'}{'user'} = $dbuser if (defined $dbuser); $$json_hash{'db'}{'password'} = $dbpass if (defined $dbpass); $$json_hash{'web'}{'hostname'} = $cfg{'host'}; $$json_hash{'web'}{'port'} = int $cfg{'port'}; $$json_hash{'controller'}{'rabbit_url'} = $cfg{'rabbit'}.":5672"; $$json_hash{'debconf'} = JSON::true; open (CONF, ">$cfgfile") or die; print CONF $json->encode ($json_hash); close (CONF); chmod (0440, $cfgfile); my ($name, $passwd, $uid, $gid, $quota, $comment, $gcos, $dir, $shell) = getpwnam($dbname); if (defined $uid and $uid > 1) { chown ($uid, -1, $cfgfile); } exit 0; debian/pybit-client.links0000644000000000000000000000047412167223612012642 0ustar /usr/share/pyshared/pybitclient/subversion.py ./var/lib/pybit-client.d/subversion.py /usr/share/pyshared/pybitclient/git.py ./var/lib/pybit-client.d/git.py /usr/share/pyshared/pybitclient/debianclient.py ./var/lib/pybit-client.d/debianclient.py /usr/share/pyshared/pybitclient/apt.py ./var/lib/pybit-client.d/apt.py debian/pybitclientlog0000644000000000000000000000016612167223612012146 0ustar /var/log/pybitclient.log { weekly rotate 12 compress delaycompress missingok notifempty create 644 root root } debian/pybit-client.dirs0000644000000000000000000000004612167223612012456 0ustar ./var/log/ ./var/lib/pybit-client.d/ debian/pybit-web.prerm0000644000000000000000000000020212167223612012133 0ustar #!/bin/sh set -e . /usr/share/debconf/confmodule . /usr/share/dbconfig-common/dpkg/prerm.pgsql dbc_go pybit-web $@ #DEBHELPER# debian/po/0000755000000000000000000000000012222072422007577 5ustar debian/po/ru.po0000644000000000000000000002341412167223612010600 0ustar # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the pybit package. # # Yuri Kozlov , 2012. msgid "" msgstr "" "Project-Id-Version: pybit 0.4.0-2\n" "Report-Msgid-Bugs-To: pybit@packages.debian.org\n" "POT-Creation-Date: 2012-12-15 22:13+0000\n" "PO-Revision-Date: 2012-12-22 11:35+0400\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<" "=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Lokalize 1.4\n" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "PyBit client-ID string:" msgstr "Строка-идентификатор клиента PyBit:" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "" "Please specify a unique string that can be used to identify this client " "within the job list and queues." msgstr "" "Введите отличительную строку, по которой можно будет опознать " "этого клиента в списке заданий и очередях." #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "Use LVM snapshots on this client?" msgstr "Использовать снимки LVM на этом клиенте?" #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "" "If the sbuild configuration uses LVM snapshots, pybit-client can ensure that " "your snapshot APT cache data is kept up-to-date whilst keeping the snapshot " "clean." msgstr "" "Если в настройках sbuild используются снимки LVM, pybit-client может " "обеспечить " "актуальное состояние снимка данных кэша APT и поддерживать его неизменным." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "Buildd location:" msgstr "Расположение buildd:" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "" "Please specify a writeable directory where the version control handler and " "the upload task can write files." msgstr "" "Укажите каталог, доступный на запись, в который могут записывать файлы " "обработчик управления версиями и задача по закачке." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "If this is left blank, the default /home/buildd/pybit will be used." msgstr "Если ничего не вводить, то будет использован /home/buildd/pybit." #. Type: string #. Description #: ../pybit-client.templates:4001 ../pybit-web.templates:1001 msgid "Host machine running RabbitMQ:" msgstr "Машина с работающим RabbitMQ:" #. Type: string #. Description #: ../pybit-client.templates:4001 msgid "" "Please specify the server running RabbitMQ that this buildd client will " "communicate with, receiving details of the jobs it needs to attempt to build." msgstr "" "Укажите сервер с работающим RabbitMQ, с которым будет связываться " "клиент buildd и получать задачи, которые нужно попытаться выполнить." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "Destination for dput package uploads:" msgstr "Место для закачки пакетов с помощью dput:" #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "" "Please specify the machine that this client will use as upload host. This " "destination will be stored in its dput configuration." msgstr "" "Укажите машину, которую данный клиент будет использовать для закачки. " "Данный параметр будет сохранён в его настройках dput." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "This entry must not be empty." msgstr "Данный параметр не может быть пустым." #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "Client-ID string cannot be empty!" msgstr "Строка-идентификатор клиента не может быть пустой!" #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "This client will fail to start until it receives a unique client-ID." msgstr "" "Данный клиент не запустится, пока не получит отличительную " "строку-идентификатор." #. Type: note #. Description #: ../pybit-client.templates:7001 ../pybit-web.templates:4001 msgid "Missing RabbitMQ hostname!" msgstr "Не задано имя узла RabbitMQ!" #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "" "This client will not receive any messages from the queue and will not build " "any packages until a RabbitMQ host is specified." msgstr "" "Клиент не будет получать каких-либо сообщений из очереди и не будет " "собирать пакеты, пока не будет задан узел RabbitMQ." #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "Please edit /etc/pybit/client/client.conf after configuration." msgstr "Измените /etc/pybit/client/client.conf после настройки." #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "Missing dput destination!" msgstr "Отсутствует назначение у dput!" #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "" "pybit-client is not intended to upload to unspecified dput destinations like " "ftp-master.debian.org and does not currently support GnuPG signed uploads." msgstr "" "pybit-client не способен закачивать с помощью dput закачивать в неуказанные " "явно места, например в ftp-master.debian.org, и в настоящее время не " "поддерживает " "закачку, подписанную GnuPG." #. Type: string #. Description #: ../pybit-web.templates:1001 msgid "" "Please specify the server running RabbitMQ with which the web front-end and " "the pyBit controller need to communicate, sending the details of the jobs to " "be built." msgstr "" "Укажите сервер RabbitMQ с веб-интерфейсом и являющимся " "контроллером pyBit, который будет рассылать клиентам задания на сборку." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "Fully qualified hostname for the web front-end:" msgstr "Полностью определённое доменное имя машины с веб-интерфейсом:" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "Please specify the host running the web front-end (which will also be " "running the pyBit controller)." msgstr "" "Введите узел, служащий веб-интерфейсом (который также будет " "выполнять роль контроллера pyBit)." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "You may choose to use a named Apache virtual host or accept the default if " "all the pyBit clients also run on this one machine." msgstr "" "Вы можете использовать именной виртуальный узел Apache или использовать " "настройку по умолчанию, если все клиенты pyBi также работают " "на этой машине." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "The hostname is passed down to the build clients to allow them to post " "failure messages back to the controller." msgstr "" "Имя узла передаётся сборочным клиентам, чтобы позволить им " "передавать сообщения об ошибках обратно контроллеру." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "Port for web front-end:" msgstr "Порт веб-интерфейса:" #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "Please specify the port that the web front-end should be available on. If it " "is serving localhost, it is probably easiest to use port 8080." msgstr "" "Укажите порт веб-интерфейса. Если он используется для " "localhost, то проще всего указать порт 8080." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "If the web front-end is running on a dedicated host or an Apache virtual " "host, it may be preferable to use port 80." msgstr "" "Если веб-интерфейс работает на выделенном узле или виртуальном узле Apache, " "то лучше использовать порт 80." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "" "If no RabbitMQ host is specified for the pyBit controller, the build clients " "will not receive any messages on the queue or build any packages." msgstr "" "Если для контроллера pyBit не задан узел RabbitMQ, то сборочные " "клиенты не будут принимать сообщения из очереди или собирать " "пакеты." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "Please edit /etc/pybit/web/web.conf after configuration." msgstr "Измените /etc/pybit/web/web.conf после настройки." debian/po/pl.po0000644000000000000000000002055612167223612010571 0ustar # Translation of pybit debconf templates to Polish. # Copyright (C) 2012 # This file is distributed under the same license as the pybit package. # # Michał Kułach , 2012. msgid "" msgstr "" "Project-Id-Version: pybit\n" "Report-Msgid-Bugs-To: pybit@packages.debian.org\n" "POT-Creation-Date: 2012-12-15 22:13+0000\n" "PO-Revision-Date: 2012-12-29 16:15+0100\n" "Last-Translator: Michał Kułach \n" "Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" "X-Generator: Lokalize 1.4\n" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "PyBit client-ID string:" msgstr "Identyfikator klienta PyBit:" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "" "Please specify a unique string that can be used to identify this client " "within the job list and queues." msgstr "" "Proszę podać unikalny ciąg, który będzie użyty do zidentyfikowania tego " "klienta w liście zadań i kolejek." #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "Use LVM snapshots on this client?" msgstr "Użyć migawek LVM w tym kliencie?" #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "" "If the sbuild configuration uses LVM snapshots, pybit-client can ensure that " "your snapshot APT cache data is kept up-to-date whilst keeping the snapshot " "clean." msgstr "" "Jeśli bieżąca konfiguracja sbuild używa migawek LVM, pybit-client może " "zachować aktualność podręcznej migawki APT, jednocześnie " "utrzymując czystość migawki." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "Buildd location:" msgstr "Położenie buildd:" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "" "Please specify a writeable directory where the version control handler and " "the upload task can write files." msgstr "" "Proszę podać zapisywalny katalog, gdzie program obsługi wersji i zadanie " "wysyłki może zapisywać pliki." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "If this is left blank, the default /home/buildd/pybit will be used." msgstr "" "Jeśli nie poda się wartości, zostanie użyta domyślna ścieżka " "/home/buildd/pybit." #. Type: string #. Description #: ../pybit-client.templates:4001 ../pybit-web.templates:1001 msgid "Host machine running RabbitMQ:" msgstr "Komputer, na którym działa RabbitMQ:" #. Type: string #. Description #: ../pybit-client.templates:4001 msgid "" "Please specify the server running RabbitMQ that this buildd client will " "communicate with, receiving details of the jobs it needs to attempt to build." msgstr "" "Proszę podać serwer na którym działa RabbitMQ, z którym będzie mógł " "komunikować się ten klient buildd, otrzymując szczegóły zadań, które są " "potrzebne do podjęcia próby budowania." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "Destination for dput package uploads:" msgstr "Przeznaczenie wysyłek pakietu dput:" #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "" "Please specify the machine that this client will use as upload host. This " "destination will be stored in its dput configuration." msgstr "" "Proszę podać komputer, który będzie używany przez tego klienta jako cel " "wysyłek. Położenie zostanie zachowanie w konfiguracji dput." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "This entry must not be empty." msgstr "To pole nie może pozostać puste." #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "Client-ID string cannot be empty!" msgstr "Łańcuch identyfikacyjny klienta nie może pozostać pusty!" #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "This client will fail to start until it receives a unique client-ID." msgstr "" "Klient nie uruchomi się, dopóki nie otrzyma swojego unikalnego identyfikatora " "klienta." #. Type: note #. Description #: ../pybit-client.templates:7001 ../pybit-web.templates:4001 msgid "Missing RabbitMQ hostname!" msgstr "Brak nazwy hosta RabbitMQ!" #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "" "This client will not receive any messages from the queue and will not build " "any packages until a RabbitMQ host is specified." msgstr "" "Klient nie otrzyma komunikatów z kolejki i nie będzie budował pakietów, " "dopóki nie poda się nazwy komputera RabbitMQ." #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "Please edit /etc/pybit/client/client.conf after configuration." msgstr "" "Proszę dokonać edycji pliku /etc/pybit/client/client.conf po konfiguracji." #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "Missing dput destination!" msgstr "Brak położenia dput." #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "" "pybit-client is not intended to upload to unspecified dput destinations like " "ftp-master.debian.org and does not currently support GnuPG signed uploads." msgstr "" "pybit-client nie został zaprojektowany do wysyłania plików do nieokreślonych " "lokalizacji dput, takich jak ftp-master.debian.org i nie obsługuje obecnie " "wysyłek podpisanych za pomocą GnuPG." #. Type: string #. Description #: ../pybit-web.templates:1001 msgid "" "Please specify the server running RabbitMQ with which the web front-end and " "the pyBit controller need to communicate, sending the details of the jobs to " "be built." msgstr "" "Proszę podać serwer na którym działa RabbitMQ, z którym komunikować ma się " "interfejs WWW i kontroler pyBit, wysyłając szczegóły zadań do zbudowania." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "Fully qualified hostname for the web front-end:" msgstr "Pełna nazwa domenowa (FQDN) interfejsu WWW:" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "Please specify the host running the web front-end (which will also be " "running the pyBit controller)." msgstr "" "Proszę określić komputer, na którym działa interfejs WWW (który będzie " "również kontrolerem pyBit)." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "You may choose to use a named Apache virtual host or accept the default if " "all the pyBit clients also run on this one machine." msgstr "" "Można skorzystać z nazwanego wirtualnego hosta Apache lub zaakceptować " "wartość domyślną, jeśli wszystkie klienty pyBit działają na bieżącym " "komputerze." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "The hostname is passed down to the build clients to allow them to post " "failure messages back to the controller." msgstr "" "Nazwa jest przekazywana klientom budowania, w celu umożliwienia odsyłania " "komunikatów o błędach do kontrolera." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "Port for web front-end:" msgstr "Port interfejsu WWW:" #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "Please specify the port that the web front-end should be available on. If it " "is serving localhost, it is probably easiest to use port 8080." msgstr "" "Proszę podać port, na którym będzie dostępny interfejs WWW. Jeśli będzie on " "działał na bieżącym komputerze, najłatwiej jest prawdopodobnie użyć portu " "8080." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "If the web front-end is running on a dedicated host or an Apache virtual " "host, it may be preferable to use port 80." msgstr "" "Jeśli interfejs WWW działa na oddzielnym komputerze lub w wirtualnym hoście " "Apache, lepszym wyborem może być port 80." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "" "If no RabbitMQ host is specified for the pyBit controller, the build clients " "will not receive any messages on the queue or build any packages." msgstr "" "Jeśli nie poda się hosta RabbitMQ kontrolerowi pyBit, to klient budowania nie " "otrzyma żadnych komunikatów o kolejce, ani nie zbuduje żadnego pakietu." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "Please edit /etc/pybit/web/web.conf after configuration." msgstr "Proszę dokonać edycji pliku /etc/pybit/web/web.conf po konfiguracji." debian/po/da.po0000644000000000000000000002007012167223612010531 0ustar # Danish translation pybit. # Copyright (C) 2012 pybit og nedenstående oversættere. # This file is distributed under the same license as the pybit package. # Joe Hansen , 2012. # msgid "" msgstr "" "Project-Id-Version: pybit\n" "Report-Msgid-Bugs-To: pybit@packages.debian.org\n" "POT-Creation-Date: 2012-12-15 22:13+0000\n" "PO-Revision-Date: 2012-12-27 17:30+01:00\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "PyBit client-ID string:" msgstr "Klient-id-streng for PyBit:" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "" "Please specify a unique string that can be used to identify this client " "within the job list and queues." msgstr "" "Angiv venligst en unik streng som kan bruges til at identificere denne " "klient indenfor joblisten og køer." #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "Use LVM snapshots on this client?" msgstr "Brug LVM-øjebliksbilleder på denne klient?" #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "" "If the sbuild configuration uses LVM snapshots, pybit-client can ensure that " "your snapshot APT cache data is kept up-to-date whilst keeping the snapshot " "clean." msgstr "" "Hvis sbuild-konfigurationen bruger LVM-øjebliksbilleder, så kan pybit-client " "sikre, at dine mellemlagerdata for øjebliksbilledets APT bevares opdateret, " "mens du beholder øjebliksbilledet rent." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "Buildd location:" msgstr "Placering for buildd:" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "" "Please specify a writeable directory where the version control handler and " "the upload task can write files." msgstr "" "Angiv venligst en skrivbar mappe hvor versionskontrolprogrammet og " "overførselsopgaven kan skrive filer." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "If this is left blank, the default /home/buildd/pybit will be used." msgstr "" "Hvis denne efterlades blank, vil standarden /home/buildd/pybit blive anvendt." #. Type: string #. Description #: ../pybit-client.templates:4001 ../pybit-web.templates:1001 msgid "Host machine running RabbitMQ:" msgstr "Værtsmaskine der kører RabbitMQ:" #. Type: string #. Description #: ../pybit-client.templates:4001 msgid "" "Please specify the server running RabbitMQ that this buildd client will " "communicate with, receiving details of the jobs it needs to attempt to build." msgstr "" "Angiv venligst serveren der kører RabbitMQ, som denne buildd-klient skal " "kommunikere med, og som modtager nødvendige detaljer om jobbene den forsøger " "at bygge." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "Destination for dput package uploads:" msgstr "Destination for dput-pakkeoverførsler:" #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "" "Please specify the machine that this client will use as upload host. This " "destination will be stored in its dput configuration." msgstr "" "Angiv venligst maskinen som denne klient vil bruge som overførselsvært. " "Denne destination vil blive gemt i dens dput-konfiguration." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "This entry must not be empty." msgstr "Denne post må ikke være tom." #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "Client-ID string cannot be empty!" msgstr "Klient-id-streng kan ikke være tom!" #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "This client will fail to start until it receives a unique client-ID." msgstr "Denne klient vil fejle i at starte indtil den modtager en unik klient-id." #. Type: note #. Description #: ../pybit-client.templates:7001 ../pybit-web.templates:4001 msgid "Missing RabbitMQ hostname!" msgstr "Manglende RabbitMQ-værtsnavn!" #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "" "This client will not receive any messages from the queue and will not build " "any packages until a RabbitMQ host is specified." msgstr "" "Denne klient vil ikke modtage nogen beskeder fra køen og vil ikke bygge " "nogen pakker før end at RabbitMQ-værten er angivet." #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "Please edit /etc/pybit/client/client.conf after configuration." msgstr "Rediger venlisgt /etc/pybit/client/client.conf efter konfiguration." #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "Missing dput destination!" msgstr "Manglende dput-destination!" #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "" "pybit-client is not intended to upload to unspecified dput destinations like " "ftp-master.debian.org and does not currently support GnuPG signed uploads." msgstr "" "pybit-client er ikke lavet til at overføre til uangivne dput-destinationer " "såsom ftp-master.debian.org og understøtter aktuelt ikke GnuPG-underskrevne " "overførsler." #. Type: string #. Description #: ../pybit-web.templates:1001 msgid "" "Please specify the server running RabbitMQ with which the web front-end and " "the pyBit controller need to communicate, sending the details of the jobs to " "be built." msgstr "" "Angiv venligst serveren, der kører RabbitMQ, som netbrugerfladen og " "pyBit-controlleren skal bruge til at kommunikere med ved at sende detaljer " "om jobbene, der skal bygges." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "Fully qualified hostname for the web front-end:" msgstr "Fuldt kvalificeret værtsnavn for netbrugerfladen:" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "Please specify the host running the web front-end (which will also be " "running the pyBit controller)." msgstr "" "Angiv venligst værten der kører netbrugerfladen (som også vil køre " "pyBit-controlleren)." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "You may choose to use a named Apache virtual host or accept the default if " "all the pyBit clients also run on this one machine." msgstr "" "Du kan vælge at bruge en navngivet Apache-virtuel vært eller acceptere " "standarden, hvis alle pyBit-klienterne også kører på denne ene maskine." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "The hostname is passed down to the build clients to allow them to post " "failure messages back to the controller." msgstr "" "Værtsnavnet sendes videre til byggeklienterne så de kan sende fejlbeskeder " "tilbage til controlleren." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "Port for web front-end:" msgstr "Port for netbrugerflade:" #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "Please specify the port that the web front-end should be available on. If it " "is serving localhost, it is probably easiest to use port 8080." msgstr "" "Angiv venligst porten som netbrugerfladen skal være tilgængelig på. Hvis " "den betjener localhost, er det sikkert nemmest at bruge port 8080." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "If the web front-end is running on a dedicated host or an Apache virtual " "host, it may be preferable to use port 80." msgstr "" "Hvis netbrugerfladen kører på en dedikeret vært eller på en Apache-virtuel " "vært, kan det være at fortrække at bruge port 80." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "" "If no RabbitMQ host is specified for the pyBit controller, the build clients " "will not receive any messages on the queue or build any packages." msgstr "" "Hvis ingen RabbitMQ-vært er angivet for pyBit-controlleren, vil byggeklienterne " "ikke modtage nogen beskeder på køen eller bygge nogen pakker." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "Please edit /etc/pybit/web/web.conf after configuration." msgstr "Rediger venligst /etc/pybit/web/web.conf efter konfiguration." debian/po/cs.po0000644000000000000000000002056412167223612010562 0ustar # Czech PO debconf template translation of pybit. # Copyright (C) 2012 Michal Simunek # This file is distributed under the same license as the pybit package. # Michal Simunek , 2012. # msgid "" msgstr "" "Project-Id-Version: pybit 0.4.0-2\n" "Report-Msgid-Bugs-To: pybit@packages.debian.org\n" "POT-Creation-Date: 2012-12-15 22:13+0000\n" "PO-Revision-Date: 2012-12-20 12:31+0100\n" "Last-Translator: Michal Simunek \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "PyBit client-ID string:" msgstr "Identifikační řetězec PyBit klienta:" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "" "Please specify a unique string that can be used to identify this client " "within the job list and queues." msgstr "" "Zadejte prosím unikátní řetězec, který se bude používat k identifikaci " "tohoto klienta v seznamu úloh a ve frontách." #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "Use LVM snapshots on this client?" msgstr "Používat u tohoto klienta LVM snapshoty?" #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "" "If the sbuild configuration uses LVM snapshots, pybit-client can ensure that " "your snapshot APT cache data is kept up-to-date whilst keeping the snapshot " "clean." msgstr "" "Pokud nastavení sbuild používá LVM snapshoty, pybit-client může zajistit, " "aby snapshoty dat z APT cache zůstaly aktuální a zároveň je udrží " "pročištěné." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "Buildd location:" msgstr "Umístění pro buildd:" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "" "Please specify a writeable directory where the version control handler and " "the upload task can write files." msgstr "" "Zadejte prosím zapisovatelný adresář, kam může správce verzí a úloha nahrávání " "ukládat soubory." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "If this is left blank, the default /home/buildd/pybit will be used." msgstr "Ponecháte-li políčko prázdné, použije se výchozí umístění /home/buildd/pybit." #. Type: string #. Description #: ../pybit-client.templates:4001 ../pybit-web.templates:1001 msgid "Host machine running RabbitMQ:" msgstr "Hostitelský server, na kterém běží RabbitMQ:" #. Type: string #. Description #: ../pybit-client.templates:4001 msgid "" "Please specify the server running RabbitMQ that this buildd client will " "communicate with, receiving details of the jobs it needs to attempt to build." msgstr "" "Zadejte prosím server, na kterém běží RabbitMQ, se kterým bude tento buildd " "komunikovat, získávat údaje o úlohách, ty potřebuje při požadavcích na sestavení." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "Destination for dput package uploads:" msgstr "Cíl nahrávání balíčků pro dput:" #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "" "Please specify the machine that this client will use as upload host. This " "destination will be stored in its dput configuration." msgstr "" "Zadejte prosím server, který bude tento klient používat jako hostitele pro " "nahrávání. Tento cíl se u klienta uloží do nastavení dput." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "This entry must not be empty." msgstr "Toto políčko nemůže být prázdné." #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "Client-ID string cannot be empty!" msgstr "Identifikační řetězec klienta nemůže být prázdný!" #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "This client will fail to start until it receives a unique client-ID." msgstr "Dokud nebude mít klient unikátní ID, nebude jej možné spustit." #. Type: note #. Description #: ../pybit-client.templates:7001 ../pybit-web.templates:4001 msgid "Missing RabbitMQ hostname!" msgstr "Chybí název hostitele RabbitMQ serveru!" #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "" "This client will not receive any messages from the queue and will not build " "any packages until a RabbitMQ host is specified." msgstr "" "Klient nebude dostávat žádné zprávy z fronty a nebude sestavovat žádné " "balíčky, dokud nebude zadán hostitel RabbitMQ serveru." #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "Please edit /etc/pybit/client/client.conf after configuration." msgstr "Po dokončení nastavování upravte prosím soubor /etc/pybit/client/client.conf." #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "Missing dput destination!" msgstr "Chybí cíl pro dput!" #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "" "pybit-client is not intended to upload to unspecified dput destinations like " "ftp-master.debian.org and does not currently support GnuPG signed uploads." msgstr "" "pybit-client nebyl vytvořen k nahrávání na neurčené dput cíle, jako je " "ftp-master.debian.org a v současné době nepodporuje nahrávání podepsaná GnuPG klíči." #. Type: string #. Description #: ../pybit-web.templates:1001 msgid "" "Please specify the server running RabbitMQ with which the web front-end and " "the pyBit controller need to communicate, sending the details of the jobs to " "be built." msgstr "" "Zadejte prosím server, na kterém běží RabbitMQ, se kterým potřebuje komunikovat " "webové rozhraní a pyBit řadič a který bude odesílat údaje o úlohách, které se " "mají sestavovat." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "Fully qualified hostname for the web front-end:" msgstr "Plně kvalifikovaný název hostitele pro webové rozhraní:" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "Please specify the host running the web front-end (which will also be " "running the pyBit controller)." msgstr "" "Zadejte prosím název hostitele, na kterém běží webové rozhraní (na " "kterém bude také běžet pyBit řadič)." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "You may choose to use a named Apache virtual host or accept the default if " "all the pyBit clients also run on this one machine." msgstr "" "Můžete se rozhodnout používat jmenného virtuálního hosta Apache, nebo přijmout " "výchozí nastavení, pokud všichni pyBit klienti běží také na tomto jednom serveru." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "The hostname is passed down to the build clients to allow them to post " "failure messages back to the controller." msgstr "" "Název hostitele je předáván build klientům, to jim umožňuje odesílat " "zpět řadiči hlášení o selhání." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "Port for web front-end:" msgstr "Port pro webové rozhraní:" #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "Please specify the port that the web front-end should be available on. If it " "is serving localhost, it is probably easiest to use port 8080." msgstr "" "Zadejte prosím port, na kterém má být dostupné webové rozhraní. Pokud je " "obsluhováno z místního serveru, je pravděpodobně nejsnazší použít port 8080." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "If the web front-end is running on a dedicated host or an Apache virtual " "host, it may be preferable to use port 80." msgstr "" "Pokud webové rozhraní běží na odděleném serveru, nebo na virtuálním hostu " "Apache, může být vhodnější použít port 80." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "" "If no RabbitMQ host is specified for the pyBit controller, the build clients " "will not receive any messages on the queue or build any packages." msgstr "" "Pokud nemá pyBit řadič zadán žádného hostitele RabbitMQ serveru, build klienti " "neobdrží žádné zprávy ve frontě a nebudou sestavovat žádné balíčky." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "Please edit /etc/pybit/web/web.conf after configuration." msgstr "Po dokončení nastavování upravte prosím soubor /etc/pybit/web/web.conf." debian/po/de.po0000644000000000000000000002073112167223612010541 0ustar # German translation of pybit. # Copyright 2012 Neil Williams. # This file is distributed under the same license as the pybit package. # Translation by Chris Leick 2012. # msgid "" msgstr "" "Project-Id-Version: pybit 0.4.0-2\n" "Report-Msgid-Bugs-To: pybit@packages.debian.org\n" "POT-Creation-Date: 2012-12-15 22:13+0000\n" "PO-Revision-Date: 2012-12-22 13:09+0100\n" "Last-Translator: Chris Leick \n" "Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "PyBit client-ID string:" msgstr "PyBit Client-ID-Zeichenkette:" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "" "Please specify a unique string that can be used to identify this client " "within the job list and queues." msgstr "" "Bitte geben Sie eine eindeutige Zeichenkette an, die diesen Client innerhalb " "der Aufgabenliste und -warteschlange bezeichnen wird." #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "Use LVM snapshots on this client?" msgstr "Sollen auf diesem Client LVM-Momentaufnahmen benutzt werden?" #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "" "If the sbuild configuration uses LVM snapshots, pybit-client can ensure that " "your snapshot APT cache data is kept up-to-date whilst keeping the snapshot " "clean." msgstr "" "Falls die Konfiguration von Sbuild LVM-Momentaufnahmen benutzt, kann " "Pybit-Client sicherstellen, dass Ihre zwischengespeicherten APT-Daten aktuell " "gehalten werden, während die Momentaufnahme sauber gehalten wird." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "Buildd location:" msgstr "Buildd-Speicherort:" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "" "Please specify a writeable directory where the version control handler and " "the upload task can write files." msgstr "" "Bitte geben Sie ein beschreibbares Verzeichnis an, in dem das Programm zur " "Versionskontrolle und der Upload-Prozess Dateien erzeugen können." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "If this is left blank, the default /home/buildd/pybit will be used." msgstr "" "Falls dies leer gelasssen wird, wird die Vorgabe /home/buildd/pybit benutzt." #. Type: string #. Description #: ../pybit-client.templates:4001 ../pybit-web.templates:1001 msgid "Host machine running RabbitMQ:" msgstr "Host, auf dem RabbitMQ ausgeführt wird:" #. Type: string #. Description #: ../pybit-client.templates:4001 msgid "" "Please specify the server running RabbitMQ that this buildd client will " "communicate with, receiving details of the jobs it needs to attempt to build." msgstr "" "Bitte geben Sie den Server an, auf dem RabbitMQ ausgeführt wird und mit dem " "sich der Buildd-Client verbinden wird, um Einzelheiten über die " "Paketbauaufgaben zu erhalten, die er erledigen soll." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "Destination for dput package uploads:" msgstr "Ziel für das Hochladen von Paketen mit Dput:" #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "" "Please specify the machine that this client will use as upload host. This " "destination will be stored in its dput configuration." msgstr "" "Bitte geben Sie den Rechner an, auf den dieser Client Dateien hochladen wird. " "Dieses Ziel wird in seiner Dput-Konfiguration gespeichert." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "This entry must not be empty." msgstr "Dieser Eintrag darf nicht leer sein." #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "Client-ID string cannot be empty!" msgstr "Client-ID-Zeichenkette kann nicht leer sein!" #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "This client will fail to start until it receives a unique client-ID." msgstr "" "Der Start dieses Clients wird fehlschlagen, bis er eine eindeutige Client-ID " "erhält." #. Type: note #. Description #: ../pybit-client.templates:7001 ../pybit-web.templates:4001 msgid "Missing RabbitMQ hostname!" msgstr "Fehlender RabbitMQ-Hostname!" #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "" "This client will not receive any messages from the queue and will not build " "any packages until a RabbitMQ host is specified." msgstr "" "Dieser Client wird keine Nachrichten aus der Warteschlange empfangen und " "keine Pakete bauen, bis ein RabbitMQ-Host angegeben wird." #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "Please edit /etc/pybit/client/client.conf after configuration." msgstr "" "Bitte bearbeiten Sie nach der Konfiguration /etc/pybit/client/client.conf." #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "Missing dput destination!" msgstr "Dput-Ziel fehlt!" #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "" "pybit-client is not intended to upload to unspecified dput destinations like " "ftp-master.debian.org and does not currently support GnuPG signed uploads." msgstr "" "Pybit-Client ist nicht dazu gedacht, an nicht angegebene Dput-Ziele wie " "ftp-master.debian.org hochzuladen und unterstützt derzeit keine mit GnuPG " "signierten Uploads." #. Type: string #. Description #: ../pybit-web.templates:1001 msgid "" "Please specify the server running RabbitMQ with which the web front-end and " "the pyBit controller need to communicate, sending the details of the jobs to " "be built." msgstr "" "Bitte geben Sie den Server an, auf dem RabbitMQ läuft. Mit diesem müssen die " "Web-Oberfläche und die PyBit-Steuerung kommunizieren, um die Einzelheiten der " "Paketbauaufgaben zu senden." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "Fully qualified hostname for the web front-end:" msgstr "Voll qualifizierter Hostname für die Web-Oberfläche:" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "Please specify the host running the web front-end (which will also be " "running the pyBit controller)." msgstr "" "Bitte geben Sie den Host an, auf dem die Web-Oberfläche läuft (dort läuft " "auch die PyBit-Steuerung)." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "You may choose to use a named Apache virtual host or accept the default if " "all the pyBit clients also run on this one machine." msgstr "" "Sie können auswählen, eine genannten virtuellen Apache-Host zu verwenden oder " "die Vorgabe akzeptieren, wenn alle PyBit-Clients ebenfalls auf diesem Rechner " "laufen." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "The hostname is passed down to the build clients to allow them to post " "failure messages back to the controller." msgstr "" "Der Hostname wird an die Paketbau-Clients hinuntergereicht, um ihnen die " "Möglichkeit zu geben, Störungsnachrichten zurück an die Steuerung zu senden." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "Port for web front-end:" msgstr "Port der Web-Oberfläche." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "Please specify the port that the web front-end should be available on. If it " "is serving localhost, it is probably easiest to use port 8080." msgstr "" "Bitte geben Sie den Port an, auf dem die Web-Oberfläche erreichbar sein soll. " "Falls sie vom lokalen Host bereitgestellt wird, ist es wahrscheinlich am " "einfachsten, Port 8080 zu benutzen." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "If the web front-end is running on a dedicated host or an Apache virtual " "host, it may be preferable to use port 80." msgstr "" "Falls die Web-Oberfläche auf einem eigenen Host oder einem virtuellen " "Apache-Host läuft, ist es wahrscheinlich wünschenswert, Port 80 zu verwenden." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "" "If no RabbitMQ host is specified for the pyBit controller, the build clients " "will not receive any messages on the queue or build any packages." msgstr "" "Falls kein RabbitMQ-Host für die PyBit-Steuerung angegeben wurde, werden die " "Paketbau-Clients keine Nachrichten aus der Warteschlange empfangen und keine " "Pakete bauen." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "Please edit /etc/pybit/web/web.conf after configuration." msgstr "Bitte bearbeiten Sie nach der Konfiguration /etc/pybit/web/web.conf." debian/po/sv.po0000644000000000000000000001772312167223612010610 0ustar # Translation of pybit debconf template to Swedish # Copyright (C) 2013 Martin Bagge # This file is distributed under the same license as the pybit package. # # Martin Bagge , 2013 msgid "" msgstr "" "Project-Id-Version: pybit\n" "Report-Msgid-Bugs-To: pybit@packages.debian.org\n" "POT-Creation-Date: 2012-12-15 22:13+0000\n" "PO-Revision-Date: 2013-07-10 11:06+0100\n" "Last-Translator: Martin Bagge / brother \n" "Language-Team: Swedish \n" "Language: Swedish\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.5.4\n" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "PyBit client-ID string:" msgstr "PyBit klient-identifikation:" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "" "Please specify a unique string that can be used to identify this client " "within the job list and queues." msgstr "" "Ange en unik sträng som kan användas för att identifiera denna klient i " "jobblistan och köer." #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "Use LVM snapshots on this client?" msgstr "Ska LVM-ögonblicksbilder användas på den här klienten?" #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "" "If the sbuild configuration uses LVM snapshots, pybit-client can ensure that " "your snapshot APT cache data is kept up-to-date whilst keeping the snapshot " "clean." msgstr "" "Om sbuild-konfigurationen använder LVM-ögonblicksbilder kan pybit-client " "säkerställa att din APT-data är korrekt i ögonblicksbilden samtidigt som " "ögonblicksbilden i övrigt är ren." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "Buildd location:" msgstr "Buildd-sökväg:" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "" "Please specify a writeable directory where the version control handler and " "the upload task can write files." msgstr "" "Ange en skrivbar katalog där versionskontrollhanteringen och " "uppladdningssteget kan skriva filer." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "If this is left blank, the default /home/buildd/pybit will be used." msgstr "" "Om detta lämnas tomt kommer standardplatsen /home/buildd/pybit att användas." #. Type: string #. Description #: ../pybit-client.templates:4001 ../pybit-web.templates:1001 msgid "Host machine running RabbitMQ:" msgstr "Värdmaskin som kör RabbitMQ:" #. Type: string #. Description #: ../pybit-client.templates:4001 msgid "" "Please specify the server running RabbitMQ that this buildd client will " "communicate with, receiving details of the jobs it needs to attempt to build." msgstr "" "Ange servern som kör RabbitMQ som denna buildd-klient kommer att kommunicera " "med för att ta emot information om jobb som ska utföras." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "Destination for dput package uploads:" msgstr "Mål för dput-paket-uppladdning:" #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "" "Please specify the machine that this client will use as upload host. This " "destination will be stored in its dput configuration." msgstr "" "Ange maskinen som denna klient ska använda som sin uppladdningsvärd. Denna " "plats kommer att lagras i dput-inställningarna." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "This entry must not be empty." msgstr "Detta kan inte lämnas tomt." #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "Client-ID string cannot be empty!" msgstr "klient-identifikationen kan inte vara tom!" #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "This client will fail to start until it receives a unique client-ID." msgstr "" "Klienten kommer inte kunna starta innan den fått en unik klient-" "identifikation." #. Type: note #. Description #: ../pybit-client.templates:7001 ../pybit-web.templates:4001 msgid "Missing RabbitMQ hostname!" msgstr "RabbitMQ-värdnamn saknas!" #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "" "This client will not receive any messages from the queue and will not build " "any packages until a RabbitMQ host is specified." msgstr "" "Klienten kommer inte att ta emot några meddelanden från kön och kommer inte " "kunna bygga några paket innan RabbitMQ-värd har specificerats." #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "Please edit /etc/pybit/client/client.conf after configuration." msgstr "Redigera /etc/pybit/client/client.conf." #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "Missing dput destination!" msgstr "dput-mål saknas!" #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "" "pybit-client is not intended to upload to unspecified dput destinations like " "ftp-master.debian.org and does not currently support GnuPG signed uploads." msgstr "" "pybit-client kan inte användas för att skicka till ospecifierade dput-mål " "som ftp-master.debian.org och har inte stöd för GnuPG-signerade " "uppladdningar." #. Type: string #. Description #: ../pybit-web.templates:1001 msgid "" "Please specify the server running RabbitMQ with which the web front-end and " "the pyBit controller need to communicate, sending the details of the jobs to " "be built." msgstr "" "Ange servern som kör RabbitMQ som det webbaserade gränssnittet och pyBit-" "kontrollern ska kommunicera med för att skicka information om jobb som ska " "utföras." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "Fully qualified hostname for the web front-end:" msgstr "Komplett värdnamn för webbgränssnittet:" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "Please specify the host running the web front-end (which will also be " "running the pyBit controller)." msgstr "" "Ange servern som kör webbgränssnittet (som också kommer att köra pyBit-" "kontrollern)." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "You may choose to use a named Apache virtual host or accept the default if " "all the pyBit clients also run on this one machine." msgstr "" "Du kan ange en namngiven virtuell Apache-värd eller standardvärdet om alla " "pyBit-klienter också kör på den här maskinen." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "The hostname is passed down to the build clients to allow them to post " "failure messages back to the controller." msgstr "" "Värdnamnet skickas till byggklienterna för att låta dem skicka " "felmeddelanden tillbaka till kontrollern." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "Port for web front-end:" msgstr "Port för webbgränssnitt:" #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "Please specify the port that the web front-end should be available on. If it " "is serving localhost, it is probably easiest to use port 8080." msgstr "" "Ange porten som webbgränssnittet ska göras tillgängligt på. Om localhost " "används är det troligen enklas att använda port 8080." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "If the web front-end is running on a dedicated host or an Apache virtual " "host, it may be preferable to use port 80." msgstr "" "Om webbgränssnittet kör på en dedikerad värd eller en virtuell Apache-värd " "är det troligen bäst att använda port 80." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "" "If no RabbitMQ host is specified for the pyBit controller, the build clients " "will not receive any messages on the queue or build any packages." msgstr "" "Om ingen RabbitMQ-värd anges för pyBit-kontrollern kommer byggklienter inte " "att få några meddelanden om kön eller att bygga några paket." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "Please edit /etc/pybit/web/web.conf after configuration." msgstr "Redigera /etc/pybit/web/web.conf." debian/po/pt.po0000644000000000000000000002024312167223612010572 0ustar # pybit portuguese debconf messages. # Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the pybit package. # Pedro Ribeiro , 2012 # msgid "" msgstr "" "Project-Id-Version: pybit\n" "Report-Msgid-Bugs-To: pybit@packages.debian.org\n" "POT-Creation-Date: 2012-12-15 22:13+0000\n" "PO-Revision-Date: 2012-12-30 10:15+0000\n" "Last-Translator: Pedro Ribeiro \n" "Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "PyBit client-ID string:" msgstr "String de ID de cliente do PyBit:" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "" "Please specify a unique string that can be used to identify this client " "within the job list and queues." msgstr "" "Indique, por favor, um string único que possa ser usado para identificar " "este cliente na lista de tarefas e filas." #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "Use LVM snapshots on this client?" msgstr "Utilizar snapshots LVM neste cliente?" #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "" "If the sbuild configuration uses LVM snapshots, pybit-client can ensure that " "your snapshot APT cache data is kept up-to-date whilst keeping the snapshot " "clean." msgstr "" "Se a configuração sbuild usa snapshots LVM, o pybit-client pode garantir que " "os dados da cache do APT são mantidos actualizados na snapshot e manter a " "snapshot limpa." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "Buildd location:" msgstr "Localização do buildd:" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "" "Please specify a writeable directory where the version control handler and " "the upload task can write files." msgstr "" "Indique por favor um directório com permissões de escrita para onde podem " "ser enviados os ficheiros do controlo de versões e da tarefa de upload." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "If this is left blank, the default /home/buildd/pybit will be used." msgstr "Se for deixado em branco, será usado /home/buildd/pybit." #. Type: string #. Description #: ../pybit-client.templates:4001 ../pybit-web.templates:1001 msgid "Host machine running RabbitMQ:" msgstr "Máquina que corre RabbitMQ:" #. Type: string #. Description #: ../pybit-client.templates:4001 msgid "" "Please specify the server running RabbitMQ that this buildd client will " "communicate with, receiving details of the jobs it needs to attempt to build." msgstr "" "Indique por favor o servidor que corre o RabbitMQ com que este cliente irá " "comunicar e a partir do qual receberá os detalhes das tarefas a cumprir." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "Destination for dput package uploads:" msgstr "Destino para uploads de pacotes pelo dput:" #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "" "Please specify the machine that this client will use as upload host. This " "destination will be stored in its dput configuration." msgstr "" "Indique por favor a máquina que este cliente irá usar para destino de " "upload. Este destino será guardado na configuração do dput." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "This entry must not be empty." msgstr "Este valor não pode ficar vazio." #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "Client-ID string cannot be empty!" msgstr "O string de ID de cliente não pode ser vazio!" #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "This client will fail to start until it receives a unique client-ID." msgstr "Este cliente não irá iniciar até receber um ID de cliente único." #. Type: note #. Description #: ../pybit-client.templates:7001 ../pybit-web.templates:4001 msgid "Missing RabbitMQ hostname!" msgstr "Nome do servidor RabbitMQ em falta!" #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "" "This client will not receive any messages from the queue and will not build " "any packages until a RabbitMQ host is specified." msgstr "" "Este cliente não irá receber mensagens de listas de espera e não irá criar " "qualquer pacote até que seja indicado um servidor RabbitMQ." #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "Please edit /etc/pybit/client/client.conf after configuration." msgstr "" "Edite por favor o ficheiro /etc/pybit/client/client.conf após a configuração." #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "Missing dput destination!" msgstr "Destino para o dput em falta!" #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "" "pybit-client is not intended to upload to unspecified dput destinations like " "ftp-master.debian.org and does not currently support GnuPG signed uploads." msgstr "" "O pybit-client não está feito para fazer uploads para destinos dput não " "especificados, como o ftp-master.debian.org, e não suporta uploads assinados " "com o GnuPG." #. Type: string #. Description #: ../pybit-web.templates:1001 msgid "" "Please specify the server running RabbitMQ with which the web front-end and " "the pyBit controller need to communicate, sending the details of the jobs to " "be built." msgstr "" "Indique por favor o servidor que corre o RabbitMQ com o qual o front-end web " "e o controlador pyBit necessitam de comunicar, para enviar os detalhes das " "tarefas a criar." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "Fully qualified hostname for the web front-end:" msgstr "Nome completo do servidor para o front-end web:" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "Please specify the host running the web front-end (which will also be " "running the pyBit controller)." msgstr "" "Indique por favor o servidor que corre o front-end web (que também irá " "correr o controlador pyBit)." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "You may choose to use a named Apache virtual host or accept the default if " "all the pyBit clients also run on this one machine." msgstr "" "Pode escolher entre usar o virtual host do Apache ou aceitar o valor " "predefinido se todos os cliente pyBit correrem também nessa máquina." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "The hostname is passed down to the build clients to allow them to post " "failure messages back to the controller." msgstr "" "O nome do servidor será transmitido aos clientes de build para que estes " "possam emitir mensagens de falha para o controlador." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "Port for web front-end:" msgstr "Porto para o front-end web:" #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "Please specify the port that the web front-end should be available on. If it " "is serving localhost, it is probably easiest to use port 8080." msgstr "" "Indique por favor o porto no qual o front-end web deve estar disponível. Se " "estiver no localhost, será talvez mais simples usar o porto 8080." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "If the web front-end is running on a dedicated host or an Apache virtual " "host, it may be preferable to use port 80." msgstr "" "Se o front-end web estiver a ser servido por um servidor dedicado ou um host " "virtual Apache, pode ser preferível usar o porto 80." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "" "If no RabbitMQ host is specified for the pyBit controller, the build clients " "will not receive any messages on the queue or build any packages." msgstr "" "Se não for indicado um servidor RabbitMQ para o controlador pyBit, os " "clientes de build não receberão quaisquer mensagens na fila de espera ou " "criarão quaisquer pacotes." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "Please edit /etc/pybit/web/web.conf after configuration." msgstr "" "Edite por favor o ficheiro /etc/pybit/web/web.conf após a configuração." debian/po/ja.po0000644000000000000000000002205412167223612010543 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # victory , 2012. # msgid "" msgstr "" "Project-Id-Version: pybit\n" "Report-Msgid-Bugs-To: pybit@packages.debian.org\n" "POT-Creation-Date: 2012-12-15 22:13+0000\n" "PO-Revision-Date: 2012-12-16 07:13+0900\n" "Last-Translator: victory \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "PyBit client-ID string:" msgstr "PyBit クライアント ID 文字列:" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "" "Please specify a unique string that can be used to identify this client " "within the job list and queues." msgstr "" "一意な文字列を指定してください。これはジョブ一覧およびクエリの中で" "このクライアントを識別するのに利用します。" #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "Use LVM snapshots on this client?" msgstr "このクライアントで LVM スナップショットを使用しますか?" #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "" "If the sbuild configuration uses LVM snapshots, pybit-client can ensure that " "your snapshot APT cache data is kept up-to-date whilst keeping the snapshot " "clean." msgstr "" "sbuild の設定で LVM のスナップショットを使用している場合、pybit-client " "はスナップショットをクリーンに保つと同時にスナップショットの APT " "キャッシュデータを最新に保つことが可能です。" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "Buildd location:" msgstr "Buildd の場所:" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "" "Please specify a writeable directory where the version control handler and " "the upload task can write files." msgstr "" "書き込みのできるディレクトリを指定してください。バージョン制御ハンドラと" "アップロードタスクがここにファイルを書き込める必要があります。" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "If this is left blank, the default /home/buildd/pybit will be used." msgstr "これを空白にするとデフォルトの /home/buildd/pybit を使用します。" #. Type: string #. Description #: ../pybit-client.templates:4001 ../pybit-web.templates:1001 msgid "Host machine running RabbitMQ:" msgstr "RabbitMQ が実行されるマシンのホスト:" #. Type: string #. Description #: ../pybit-client.templates:4001 msgid "" "Please specify the server running RabbitMQ that this buildd client will " "communicate with, receiving details of the jobs it needs to attempt to build." msgstr "" "RabbitMQ が実行されるサーバを指定してください。この buildd クライアントが" "ビルドする必要のあるジョブの詳細をここから受信します。" #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "Destination for dput package uploads:" msgstr "dput のパッケージのアップロード先:" #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "" "Please specify the machine that this client will use as upload host. This " "destination will be stored in its dput configuration." msgstr "" "このクライアントのアップロード先のホストとなるマシンを指定してください。" "この宛先は dput の設定に保存されます。" #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "This entry must not be empty." msgstr "このエントリを空白にはできません。" #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "Client-ID string cannot be empty!" msgstr "クライアント ID 文字列を空白にすることはできません!" #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "This client will fail to start until it receives a unique client-ID." msgstr "一意なクライアント ID を受け取るまでこのクライアントは開始に失敗します。" #. Type: note #. Description #: ../pybit-client.templates:7001 ../pybit-web.templates:4001 msgid "Missing RabbitMQ hostname!" msgstr "RabbitMQ ホスト名がありません!" #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "" "This client will not receive any messages from the queue and will not build " "any packages until a RabbitMQ host is specified." msgstr "" "RabbitMQ ホストが指定されるまで、このクライアントはキューからのメッセージを" "受け取ることはなく、パッケージのビルドも行われません。" #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "Please edit /etc/pybit/client/client.conf after configuration." msgstr "設定後に /etc/pybit/client/client.conf を編集してください。" #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "Missing dput destination!" msgstr "dput の宛先がありません!" #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "" "pybit-client is not intended to upload to unspecified dput destinations like " "ftp-master.debian.org and does not currently support GnuPG signed uploads." msgstr "" "pybit-client は dput の宛先を ftp-master.debian.org のように指定することなく" "アップロードすることを意図していません。また、GnuPG 署名を行ってのアップロード" "はサポートしていません。" #. Type: string #. Description #: ../pybit-web.templates:1001 msgid "" "Please specify the server running RabbitMQ with which the web front-end and " "the pyBit controller need to communicate, sending the details of the jobs to " "be built." msgstr "" "RabbitMQ が実行されるサーバを指定してください。これはウェブフロントエンドおよび " "pyBit コントローラが、ビルドされるジョブの詳細を送信する先となります。" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "Fully qualified hostname for the web front-end:" msgstr "ウェブフロントエンドの完全修飾ドメイン名:" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "Please specify the host running the web front-end (which will also be " "running the pyBit controller)." msgstr "" "ウェブフロントエンドを実行するホストを指定してください (これは pyBit " "コントローラも実行することになります)。" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "You may choose to use a named Apache virtual host or accept the default if " "all the pyBit clients also run on this one machine." msgstr "" "Apache のネームバーチャルホストを利用するか、全 pyBit クライアントをこの同一の" "マシンで実行する場合はデフォルトの受け入れを選択できます。" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "The hostname is passed down to the build clients to allow them to post " "failure messages back to the controller." msgstr "" "ホスト名はビルドクライアントに伝えられ、失敗のメッセージをビルドクライアント" "からコントローラに送ることが可能になります。" #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "Port for web front-end:" msgstr "ウェブフロントエンド用のポート:" #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "Please specify the port that the web front-end should be available on. If it " "is serving localhost, it is probably easiest to use port 8080." msgstr "" "ウェブフロントエンドが使用できるポートを指定してください。" "ローカルホストの場合はおそらくポート 8080 を使うのが最も簡単でしょう。" #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "If the web front-end is running on a dedicated host or an Apache virtual " "host, it may be preferable to use port 80." msgstr "" "ウェブフロントエンドが専用サーバや Apache のバーチャルホストで動作する場合は、" "ポート 80 の使用が望ましいかもしれません。" #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "" "If no RabbitMQ host is specified for the pyBit controller, the build clients " "will not receive any messages on the queue or build any packages." msgstr "" "pyBit コントローラ用の RabbitMQ ホストが指定されない場合は、キューやパッケージ" "のビルドに関してビルドクライアントがメッセージを受け取ることはありません。" #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "Please edit /etc/pybit/web/web.conf after configuration." msgstr "設定後に /etc/pybit/web/web.conf を編集してください。" debian/po/POTFILES.in0000644000000000000000000000014012167223612011356 0ustar [type: gettext/rfc822deb] pybit-client.templates [type: gettext/rfc822deb] pybit-web.templates debian/po/fr.po0000644000000000000000000002101412167223612010553 0ustar # translation to French of pybit debconf templates. # Copyright (C) 2013 French l10n team # This file is distributed under the same license as the PYBIT package. # Julien Patriarca , 2013 # msgid "" msgstr "" "Project-Id-Version: pybit\n" "Report-Msgid-Bugs-To: pybit@packages.debian.org\n" "POT-Creation-Date: 2012-12-15 22:13+0000\n" "PO-Revision-Date: 2013-05-22 18:54+0100\n" "Last-Translator: Julien Patriarca \n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.5.4\n" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "PyBit client-ID string:" msgstr "Chaîne client-ID pour PyBit :" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "" "Please specify a unique string that can be used to identify this client " "within the job list and queues." msgstr "" "Veuillez indiquer une chaîne unique pouvant être utilisée pour identifier ce " "client au sein de la liste de tâches et des files d'attente." #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "Use LVM snapshots on this client?" msgstr "Utiliser des instantanés LVM sur ce client ?" #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "" "If the sbuild configuration uses LVM snapshots, pybit-client can ensure that " "your snapshot APT cache data is kept up-to-date whilst keeping the snapshot " "clean." msgstr "" "Si la configuration sbuild utilise des instantanés LVM, pybit-client peut " "s'assurer que votre instantané des données du cache de APT sont mises à jour " "tout en gardant l'instantané propre." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "Buildd location:" msgstr "Emplacement de Buildd :" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "" "Please specify a writeable directory where the version control handler and " "the upload task can write files." msgstr "" "Veuillez indiquer un répertoire avec les droits d'écriture dans lequel le " "gestionnaire de contrôle de version et la tâche de téléversement peuvent " "écrire des fichiers." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "If this is left blank, the default /home/buildd/pybit will be used." msgstr "Si laissé vide, la valeur par défaut /home/buildd/pybit sera utilisée." #. Type: string #. Description #: ../pybit-client.templates:4001 ../pybit-web.templates:1001 msgid "Host machine running RabbitMQ:" msgstr "Machine hôte hébergeant RabbitMQ :" #. Type: string #. Description #: ../pybit-client.templates:4001 msgid "" "Please specify the server running RabbitMQ that this buildd client will " "communicate with, receiving details of the jobs it needs to attempt to build." msgstr "" "Veuillez indiquer le serveur faisant tourner RabbitMQ avec lequel ce client " "buildd communiquera, et qui recevra les détails des tâches dont il a besoin " "pour tenter de compiler." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "Destination for dput package uploads:" msgstr "Destination pour les téléversements du paquet dput : " #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "" "Please specify the machine that this client will use as upload host. This " "destination will be stored in its dput configuration." msgstr "" "Veuillez indiquer la machine dont se servira ce client comme hôte de " "téléversement. Cet emplacement sera enregistré dans sa configuration dput." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "This entry must not be empty." msgstr "Cette entrée ne peut pas être vide." #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "Client-ID string cannot be empty!" msgstr "La chaîne Client-ID ne peut pas être vide !" #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "This client will fail to start until it receives a unique client-ID." msgstr "" "Ce client ne pourra pas démarrer tant qu'il n'aura pas obtenu un client-ID " "unique." #. Type: note #. Description #: ../pybit-client.templates:7001 ../pybit-web.templates:4001 msgid "Missing RabbitMQ hostname!" msgstr "Nom d'hôte pour RabbitMQ manquant !" #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "" "This client will not receive any messages from the queue and will not build " "any packages until a RabbitMQ host is specified." msgstr "" "Ce client ne recevra pas de messages depuis la file d'attente et ne " "compilera aucun paquet tant qu'un hôte RabbitMQ n'est pas indiqué." #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "Please edit /etc/pybit/client/client.conf after configuration." msgstr "" "Veuillez éditer le fichier /etc/pybit/client/client.conf après la " "configuration." #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "Missing dput destination!" msgstr "Emplacement de dput manquant !" #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "" "pybit-client is not intended to upload to unspecified dput destinations like " "ftp-master.debian.org and does not currently support GnuPG signed uploads." msgstr "" "pybit-client n'a pas pour vocation de téléverser vers des emplacements dput " "non-spécifés comme ftp-master.debian.org et ne supporte actuellement pas les " "téléversements signés avec GnuPG." #. Type: string #. Description #: ../pybit-web.templates:1001 msgid "" "Please specify the server running RabbitMQ with which the web front-end and " "the pyBit controller need to communicate, sending the details of the jobs to " "be built." msgstr "" "Veuillez indiquer le serveur hébergeant RabbitMQ avec lequel le serveur web " "frontal communiquera, et qui enverra les détails de la tâche à compiler." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "Fully qualified hostname for the web front-end:" msgstr "Nom d'hôte pleinement qualifié pour le serveur web frontal :" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "Please specify the host running the web front-end (which will also be " "running the pyBit controller)." msgstr "" "Veuillez indiquer l'hôte hébergeant le serveur web frontal (qui fera " "également tourner le contrôleur pyBit)." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "You may choose to use a named Apache virtual host or accept the default if " "all the pyBit clients also run on this one machine." msgstr "" "Vous pouvez choisir d'utiliser un hôte virtuel Apache nommé ou accepter la " "valeur par défaut, si tous les clients pyBit tournent également sur cette " "machine." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "The hostname is passed down to the build clients to allow them to post " "failure messages back to the controller." msgstr "" "Le nom d'hôte est passé aux clients de compilation les autorisant ainsi à " "émettre des messages d'échec au contrôleur." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "Port for web front-end:" msgstr "Port pour le serveur web frontal : " #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "Please specify the port that the web front-end should be available on. If it " "is serving localhost, it is probably easiest to use port 8080." msgstr "" "Veuillez indiquer le port sur lequel le serveur web frontal sera disponible. " "Si celui-ci est local, il est probablement plus aisé d'utiliser le port 8080." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "If the web front-end is running on a dedicated host or an Apache virtual " "host, it may be preferable to use port 80." msgstr "" "Si le serveur web frontal tourne sur un hôte dédié ou sur un hôte virtuel " "Apache, il serait préférable d'utiliser le port 80." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "" "If no RabbitMQ host is specified for the pyBit controller, the build clients " "will not receive any messages on the queue or build any packages." msgstr "" "Si aucun hôte RabbitMQ n'est indiqué pour le contrôleur pyBit, les clients " "de compilation ne recevront aucun message sur la file d'attente ou ne " "compileront aucun paquet." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "Please edit /etc/pybit/web/web.conf after configuration." msgstr "" "Veuillez éditer le fichier /etc/pybit/web/web.conf après la configuration." debian/po/templates.pot0000644000000000000000000001266012167223612012335 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: pybit\n" "Report-Msgid-Bugs-To: pybit@packages.debian.org\n" "POT-Creation-Date: 2012-12-15 22:13+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "PyBit client-ID string:" msgstr "" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "" "Please specify a unique string that can be used to identify this client " "within the job list and queues." msgstr "" #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "Use LVM snapshots on this client?" msgstr "" #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "" "If the sbuild configuration uses LVM snapshots, pybit-client can ensure that " "your snapshot APT cache data is kept up-to-date whilst keeping the snapshot " "clean." msgstr "" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "Buildd location:" msgstr "" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "" "Please specify a writeable directory where the version control handler and " "the upload task can write files." msgstr "" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "If this is left blank, the default /home/buildd/pybit will be used." msgstr "" #. Type: string #. Description #: ../pybit-client.templates:4001 ../pybit-web.templates:1001 msgid "Host machine running RabbitMQ:" msgstr "" #. Type: string #. Description #: ../pybit-client.templates:4001 msgid "" "Please specify the server running RabbitMQ that this buildd client will " "communicate with, receiving details of the jobs it needs to attempt to build." msgstr "" #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "Destination for dput package uploads:" msgstr "" #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "" "Please specify the machine that this client will use as upload host. This " "destination will be stored in its dput configuration." msgstr "" #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "This entry must not be empty." msgstr "" #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "Client-ID string cannot be empty!" msgstr "" #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "This client will fail to start until it receives a unique client-ID." msgstr "" #. Type: note #. Description #: ../pybit-client.templates:7001 ../pybit-web.templates:4001 msgid "Missing RabbitMQ hostname!" msgstr "" #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "" "This client will not receive any messages from the queue and will not build " "any packages until a RabbitMQ host is specified." msgstr "" #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "Please edit /etc/pybit/client/client.conf after configuration." msgstr "" #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "Missing dput destination!" msgstr "" #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "" "pybit-client is not intended to upload to unspecified dput destinations like " "ftp-master.debian.org and does not currently support GnuPG signed uploads." msgstr "" #. Type: string #. Description #: ../pybit-web.templates:1001 msgid "" "Please specify the server running RabbitMQ with which the web front-end and " "the pyBit controller need to communicate, sending the details of the jobs to " "be built." msgstr "" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "Fully qualified hostname for the web front-end:" msgstr "" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "Please specify the host running the web front-end (which will also be " "running the pyBit controller)." msgstr "" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "You may choose to use a named Apache virtual host or accept the default if " "all the pyBit clients also run on this one machine." msgstr "" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "The hostname is passed down to the build clients to allow them to post " "failure messages back to the controller." msgstr "" #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "Port for web front-end:" msgstr "" #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "Please specify the port that the web front-end should be available on. If it " "is serving localhost, it is probably easiest to use port 8080." msgstr "" #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "If the web front-end is running on a dedicated host or an Apache virtual " "host, it may be preferable to use port 80." msgstr "" #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "" "If no RabbitMQ host is specified for the pyBit controller, the build clients " "will not receive any messages on the queue or build any packages." msgstr "" #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "Please edit /etc/pybit/web/web.conf after configuration." msgstr "" debian/po/sk.po0000644000000000000000000002043012167223612010562 0ustar # Slovak translation of pybit debconf template # Copyright (C) 2013, pybit COPYRIGHT HOLDER # This file is distributed under the same license as the pybit package. # Ivan Masár , 2013. msgid "" msgstr "" "Project-Id-Version: pybit\n" "Report-Msgid-Bugs-To: pybit@packages.debian.org\n" "POT-Creation-Date: 2012-12-15 22:13+0000\n" "PO-Revision-Date: 2013-05-20 18:41+0200\n" "Last-Translator: Ivan Masár \n" "Language-Team: Slovak \n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "PyBit client-ID string:" msgstr "reťazec na identifikáciu klienta PyBit:" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "" "Please specify a unique string that can be used to identify this client " "within the job list and queues." msgstr "" "Prosím, zadajte jedinečný reťazec, ktorý sa dá použiť na identifikáciu tohto " "klienta v rámci zoznamu úloh a frontov." #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "Use LVM snapshots on this client?" msgstr "Používať snímky LVM na tomto klientovi?" #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "" "If the sbuild configuration uses LVM snapshots, pybit-client can ensure that " "your snapshot APT cache data is kept up-to-date whilst keeping the snapshot " "clean." msgstr "" "Ak konfigurácia sbuild používa snímky LVM, pybit-client môže zabezpečiť, aby " "dáta vyrovnávacej pamäte APT vašej snímky boli aktuálne a zároveň udržať " "čisté snímky." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "Buildd location:" msgstr "Umiestnenie buildd:" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "" "Please specify a writeable directory where the version control handler and " "the upload task can write files." msgstr "" "Prosím, zadajte zapisovateľný adresár, kde môže obsluha riadenia verzií a " "nahrávacia úloha zapisovať súbory." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "If this is left blank, the default /home/buildd/pybit will be used." msgstr "" "Ak toto pole ponecháte prázdne, použije sa predvolený adresár " "/home/buildd/pybit." #. Type: string #. Description #: ../pybit-client.templates:4001 ../pybit-web.templates:1001 msgid "Host machine running RabbitMQ:" msgstr "Hostiteľský počítač, kde beží RabbitMQ:" #. Type: string #. Description #: ../pybit-client.templates:4001 msgid "" "Please specify the server running RabbitMQ that this buildd client will " "communicate with, receiving details of the jobs it needs to attempt to build." msgstr "" "Prosím, zadajte server, kde beží RabbitMQ, s ktorým bude tento klient buildd " "komunikovať a prijímať podrobnosti úloh, ktoré sa má pokúsiť zostaviť." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "Destination for dput package uploads:" msgstr "Cieľ nahrávania dput súborov balíkov:" #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "" "Please specify the machine that this client will use as upload host. This " "destination will be stored in its dput configuration." msgstr "" "Prosím, uveďte počítač, na ktorý tento klient bude nahrávať. Tento cieľ sa " "uloží v konfigurácii dput." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "This entry must not be empty." msgstr "Táto položka nesmie byť prázdna." #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "Client-ID string cannot be empty!" msgstr "Reťazec identifikácia klienta (Client-ID) nemôže byť prázdny!" #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "This client will fail to start until it receives a unique client-ID." msgstr "" "Tohto klienta sa nepodarí spustiť dovtedy, kým nedostane jedinečnú " "identifikáciu klienta (Client-ID)." #. Type: note #. Description #: ../pybit-client.templates:7001 ../pybit-web.templates:4001 msgid "Missing RabbitMQ hostname!" msgstr "Chýba názov počítača s RabbitMQ!" #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "" "This client will not receive any messages from the queue and will not build " "any packages until a RabbitMQ host is specified." msgstr "" "Tento klient nedostane žiadne správy z frontu a nebudete zostavovať žiadne " "balíky, kým nezadáte názov počítača s RabbitMQ." #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "Please edit /etc/pybit/client/client.conf after configuration." msgstr "Prosím, po konfigurácii upravte /etc/pybit/client/client.conf." #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "Missing dput destination!" msgstr "Chýba cieľ dput!" #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "" "pybit-client is not intended to upload to unspecified dput destinations like " "ftp-master.debian.org and does not currently support GnuPG signed uploads." msgstr "" "pybit-client nie je určený na nahrávanie na nešpecifikované ciele dput, ako " "je ftp-master.debian.org a v súčasnosti nepodporuje nahrávania podpísané " "pomocou GnuPG." #. Type: string #. Description #: ../pybit-web.templates:1001 msgid "" "Please specify the server running RabbitMQ with which the web front-end and " "the pyBit controller need to communicate, sending the details of the jobs to " "be built." msgstr "" "Prosím, zadaj, na ktorom serveri beží RabbitMQ s ktorým majú webové " "rozhranie a radič pyBit komunikovať a odosielať podrobnosti úloh, ktoré sa " "majú zostaviť." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "Fully qualified hostname for the web front-end:" msgstr "Plne kvalifikovaný názov hostiteľa pre webové rozhranie:" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "Please specify the host running the web front-end (which will also be " "running the pyBit controller)." msgstr "" "Prosím, uveďte počítač, na ktorom beží webové rozhranie (na ktorom bude tiež " "bežať radič pyBit)." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "You may choose to use a named Apache virtual host or accept the default if " "all the pyBit clients also run on this one machine." msgstr "" "Môžete použiť pomenovaného virtuálneho hostiteľa Apache alebo prijať " "predvolenú hodnotu ak všetci klienti pyBit budú tiež bežať na tomto jednom " "počítači." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "The hostname is passed down to the build clients to allow them to post " "failure messages back to the controller." msgstr "" "Názov hostiteľa sa odovzdá zostavovacím klientom, aby mohli posielať správy " "o zlyhaní späť radiču." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "Port for web front-end:" msgstr "Port webového rozhrania:" #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "Please specify the port that the web front-end should be available on. If it " "is serving localhost, it is probably easiest to use port 8080." msgstr "" "Prosím, zadajte port, na ktorom by malo byť k dispozícii webové rozhranie. " "Ak sa nachádza na lokálnom počítači, je asi najjednoduchšie použiť port " "8080." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "If the web front-end is running on a dedicated host or an Apache virtual " "host, it may be preferable to use port 80." msgstr "" "Ak webové rozhranie beží na vyhradenom počítači alebo na virtuálnom " "hostiteľovi Apache, môže byť vhodnejšie použiť port 80." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "" "If no RabbitMQ host is specified for the pyBit controller, the build clients " "will not receive any messages on the queue or build any packages." msgstr "" "Ak nie je uvedený žiadny hostiteľ RabbitMQ radič pyBit, zostavovací klienti " "nebudú prijímať žiadne správy na fronte ani zostavovať žiadne balíky." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "Please edit /etc/pybit/web/web.conf after configuration." msgstr "Prosím, po konfigurácii upravte /etc/pybit/web/web.conf." debian/po/it.po0000644000000000000000000002051512167223612010565 0ustar # Italian translation of pybit debconf messages # Copyright (C) 2013, Beatrice Torracca # This file is distributed under the same license as the pybit package. # Beatrice Torracca , 2013. msgid "" msgstr "" "Project-Id-Version: pybit\n" "Report-Msgid-Bugs-To: pybit@packages.debian.org\n" "POT-Creation-Date: 2012-12-15 22:13+0000\n" "PO-Revision-Date: 2013-05-31 17:08+0200\n" "Last-Translator: Beatrice Torracca \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Virtaal 0.7.1\n" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "PyBit client-ID string:" msgstr "Stringa ID-client di PyBit:" #. Type: string #. Description #: ../pybit-client.templates:1001 msgid "" "Please specify a unique string that can be used to identify this client " "within the job list and queues." msgstr "" "Specificare una stringa univoca che può essere usata per identificare questo " "client all'interno dell'elenco dei compiti e delle code." #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "Use LVM snapshots on this client?" msgstr "Usare istantanee LVM su questo client?" #. Type: boolean #. Description #: ../pybit-client.templates:2001 msgid "" "If the sbuild configuration uses LVM snapshots, pybit-client can ensure that " "your snapshot APT cache data is kept up-to-date whilst keeping the snapshot " "clean." msgstr "" "Se la configurazione di sbuild usa istantanee LVM, pybit-client può " "assicurare che i dati della cache APT dell'istantanea vengano tenuti " "aggiornati mantenendo al contempo pulita l'istantanea." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "Buildd location:" msgstr "Posizione di buildd:" #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "" "Please specify a writeable directory where the version control handler and " "the upload task can write files." msgstr "" "Specificare una directory scrivibile dove il gestore di controllo delle " "versioni e l'attività di caricamento possano scrivere file." #. Type: string #. Description #: ../pybit-client.templates:3001 msgid "If this is left blank, the default /home/buildd/pybit will be used." msgstr "" "Se viene lasciato vuoto, verrà usato il valore predefinito " "/home/buildd/pybit." #. Type: string #. Description #: ../pybit-client.templates:4001 ../pybit-web.templates:1001 msgid "Host machine running RabbitMQ:" msgstr "Macchina host che esegue RabbitMQ:" #. Type: string #. Description #: ../pybit-client.templates:4001 msgid "" "Please specify the server running RabbitMQ that this buildd client will " "communicate with, receiving details of the jobs it needs to attempt to build." msgstr "" "Specificare il server con in esecuzione RabbitMQ con cui comunicherà questo " "client buildd, ricevendo i dettagli dei compiti di cui ha bisogno per " "tentare la compilazione." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "Destination for dput package uploads:" msgstr "Destinazione per il caricamento dei pacchetti dput:" #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "" "Please specify the machine that this client will use as upload host. This " "destination will be stored in its dput configuration." msgstr "" "Specificare la macchina che questo client userà come host per il " "caricamento. Questa destinazione verrà memorizzata nella sua configurazione " "di dput." #. Type: string #. Description #: ../pybit-client.templates:5001 msgid "This entry must not be empty." msgstr "Questo campo non deve essere vuoto." #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "Client-ID string cannot be empty!" msgstr "La stringa client-ID non può essere vuota." #. Type: note #. Description #: ../pybit-client.templates:6001 msgid "This client will fail to start until it receives a unique client-ID." msgstr "" "Questo client non potrà avviarsi fino a che non riceve un ID-client univoco." #. Type: note #. Description #: ../pybit-client.templates:7001 ../pybit-web.templates:4001 msgid "Missing RabbitMQ hostname!" msgstr "Nome host RabbitMQ mancante." #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "" "This client will not receive any messages from the queue and will not build " "any packages until a RabbitMQ host is specified." msgstr "" "Questo client non riceverà alcun messaggio dalla coda e non compilerà alcun " "pacchetto fino a che non viene specificato un host RabbitMQ." #. Type: note #. Description #: ../pybit-client.templates:7001 msgid "Please edit /etc/pybit/client/client.conf after configuration." msgstr "Modificare /etc/pybit/client/client.conf dopo la configurazione." #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "Missing dput destination!" msgstr "Destinazione dput mancante." #. Type: note #. Description #: ../pybit-client.templates:8001 msgid "" "pybit-client is not intended to upload to unspecified dput destinations like " "ftp-master.debian.org and does not currently support GnuPG signed uploads." msgstr "" "pybit-client non è pensato per caricare su destinazioni dput non specificate " "come ftp-master.debian.org e attualmente non gestisce caricamenti firmati " "con GnuPG." #. Type: string #. Description #: ../pybit-web.templates:1001 msgid "" "Please specify the server running RabbitMQ with which the web front-end and " "the pyBit controller need to communicate, sending the details of the jobs to " "be built." msgstr "" "Specificare il server con in esecuzione RabbitMQ con cui l'interfaccia web e " "il controllore pyBit devono comunicare, inviando i dettagli sui compiti da " "compilare." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "Fully qualified hostname for the web front-end:" msgstr "Nome host pienamente qualificato per l'interfaccia web:" #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "Please specify the host running the web front-end (which will also be " "running the pyBit controller)." msgstr "" "Specificare l'host con in esecuzione l'interfaccia web (che eseguirà anche " "il controllore pyBit)." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "You may choose to use a named Apache virtual host or accept the default if " "all the pyBit clients also run on this one machine." msgstr "" "Si può scegliere di usare un host virtuale Apache con nome, o di accettare il " "valore predefinito se anche tutti i client pyBit sono in esecuzione su " "questa unica macchina." #. Type: string #. Description #: ../pybit-web.templates:2001 msgid "" "The hostname is passed down to the build clients to allow them to post " "failure messages back to the controller." msgstr "" "Il nome host viene passato ai client di compilazione per permettere loro di " "inviare messaggi di insuccesso al controllore." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "Port for web front-end:" msgstr "Porta per l'interfaccia web:" #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "Please specify the port that the web front-end should be available on. If it " "is serving localhost, it is probably easiest to use port 8080." msgstr "" "Specificare la porta su cui sarà disponibile l'interfaccia web. Se serve " "localhost, probabilmente è più semplice usare la porta 8080." #. Type: string #. Description #: ../pybit-web.templates:3001 msgid "" "If the web front-end is running on a dedicated host or an Apache virtual " "host, it may be preferable to use port 80." msgstr "" "Se l'interfaccia web è in esecuzione su un host dedicato o un host virtuale " "Apache, può essere preferibile usare la porta 80." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "" "If no RabbitMQ host is specified for the pyBit controller, the build clients " "will not receive any messages on the queue or build any packages." msgstr "" "Se non viene specificato alcun host RabbitMQ per il controllore pyBit, i " "client di compilazione non riceveranno alcun messaggio sulla coda né " "compileranno alcun pacchetto." #. Type: note #. Description #: ../pybit-web.templates:4001 msgid "Please edit /etc/pybit/web/web.conf after configuration." msgstr "Modificare /etc/pybit/web/web.conf dopo la configurazione." debian/pybit-client.postinst0000644000000000000000000000777612167223612013421 0ustar #!/usr/bin/perl # postinst script for pybit-client # FIXME: port to use JSON as that is safe in a post-install script. # see: dh_installdeb(1) use strict; use warnings; use JSON; use Debconf::Client::ConfModule qw(:all); use vars qw/ $cfgfile %cfg @lines $json $json_hash $json_text %mapping /; # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package $cfgfile = '/etc/pybit/client/client.conf'; version('2.0'); %cfg=(); %mapping = ("clientid" => 'clientid', 'use_lvm' => 'lvmsnapshot', 'buildroot' => 'buildroot', 'host' => 'rabbitmqhost', 'dput_dest' => 'dputdest', 'host_arch' => 'hostarch', 'distribution' => 'distribution', 'pkg_format' => 'pkgformat', 'port' => 'rabbitport', 'userid' => 'rabbituser', 'vhost' => 'rabbitvhost', 'dput' => 'dput_opt' ); if ($ARGV[0] eq 'configure' or $ARGV[0] eq 'reconfigure') { if (-r "$cfgfile") { # read the edited values &ScanClientConfFile ($cfgfile); # set selected ones to update the debconf values. foreach my $cfgvar ('clientid', 'use_lvm', 'host', 'buildroot', 'dput_dest', 'distribution') { if (defined $cfg{$cfgvar}) { set("pybit-client/$mapping{$cfgvar}", $cfg{$cfgvar}); fset("pybit-client/$cfgvar", 'seen', 'true'); } } } $cfg{'clientid'} = scalar get('pybit-client/clientid'); $cfg{'host'} = scalar get('pybit-client/rabbitmqhost'); $cfg{'dput_dest'} = scalar get('pybit-client/dputdest'); $cfg{'buildroot'} = scalar get('pybit-client/buildroot'); $cfg{'use_lvm'} = scalar get('pybit-client/lvmsnapshot'); foreach my $key (keys %cfg) { my $val = $cfg{$key}; chomp($val); $val =~ s/"//g; $val =~ s/'//g; $val =~ s/,//g; $cfg{$key} = $val; } if (-r "$cfgfile") { open(CONF, "$cfgfile") or die; } else { open(CONF, "/usr/share/pybitclient/client.conf") or die; } @lines=; close (CONF); $json = new JSON; $json = $json->utf8(1); $json = $json->pretty(1); $json = $json->canonical(1); $json_text = join(' ', @lines); $json_hash = $json->decode($json_text); $$json_hash{'clientid'} = $cfg{'clientid'}; $$json_hash{'host'} = $cfg{'host'}; $$json_hash{'dput_dest'} = $cfg{'dput_dest'}; $$json_hash{'buildroot'} = $cfg{'buildroot'}; $$json_hash{'use_lvm'} = ($cfg{'use_lvm'} eq "true") ? JSON::true : JSON::false; if (not defined $$json_hash{'distribution'} or $$json_hash{'distribution'} !~ /\w/) { my $distro = `dpkg-vendor --query vendor`; chomp ($distro); $$json_hash{'distribution'} = $distro; } if (not defined $$json_hash{'pkg_format'} or $$json_hash{'pkg_format'} !~ /\w/) { $$json_hash{'pkg_format'} = "deb"; } if (not defined $$json_hash{'host_arch'} or $$json_hash{'host_arch'} !~ /\w/) { my $host = `dpkg-architecture -qDEB_BUILD_ARCH 2>/dev/null`; chomp ($host); $$json_hash{'host_arch'} = $host; } $$json_hash{'debconf'} = JSON::true; open (CONF, ">$cfgfile") or die; print CONF $json->encode ($json_hash); close (CONF); } # Subroutine to scan client configuration file # Configfile to parse is the argument to the subroutine sub ScanClientConfFile { if ( ! -r "$_[0]" ) { return; }; open(CONFFILE,"<$_[0]") || die "Could not open $_[0]"; while () { foreach my $key (sort keys %mapping) { chomp; if (s#^\s*"$key"\s?:\s?(.*),?$#$1#) { chomp($cfg{$key} = $_) if /\w/; } } } foreach my $key (keys %cfg) { my $val = $cfg{$key}; $val =~ s/"//g; $val =~ s/'//g; $val =~ s/,//g; $cfg{$key} = $val; } close CONFFILE; } my $dh_commands="set -- @ARGV\\n" . << 'EOF'; set -e #DEBHELPER# EOF system ($dh_commands) / 256 == 0 or die "Problem with shell scripts: $!"; exit 0 debian/pybit-watcher.install0000644000000000000000000000017012167223612013340 0ustar configs/watcher/watcher.conf ./etc/pybit/watcher/ pybit-watcher ./usr/bin/ debian/pybit-watcher.1 ./usr/share/man/man1/ debian/pybit-common.install0000644000000000000000000000012012167223612013166 0ustar debian/tmp/usr/lib/python*/dist-packages/pybit-*.egg-info ./usr/share/pyshared/ debian/script0000755000000000000000000000174012167223612010424 0ustar #!/bin/bash set -e if [ -z "$YESNO" ]; then YESNO=$"yYnN" fi cat <&3 echo "-- /var/log/pybitclient.log --" >&3 echo >&3 cat $config >&3 else echo >&3 echo "-- ( /var/log/pybitclient.log present, but not submitted) --" >&3 echo >&3 fi fi yesno "May I include /etc/pybit/client/client.conf ? [Y/n] " yep if [ "$REPLY" = "yep" ]; then echo >&3 echo "-- /etc/pybit/client/client.conf --" >&3 echo >&3 cat /etc/dpkg-cross/cross-compile >&3 else echo >&3 echo "-- (/etc/pybit/client/client.conf not submitted) --" >&3 echo >&3 fi debian/changelog0000644000000000000000000002721112167223612011045 0ustar pybit (1.0.0-2) unstable; urgency=low * [INTL:sk] Add Slovak debconf translation (Closes: #709080) * [INTL:it] Italian translation of debconf messages for pybit (Closes: #710518) * [INTL:fr] French debconf templates translation (Closes: #710694) * [INTL:sv] Swedish strings for pybit debconf (Closes: #715540) -- Neil Williams Mon, 20 May 2013 21:54:35 +0100 pybit (1.0.0-1) unstable; urgency=low * New upstream release * Put call to dbc_go inside the check for dbconfig-common. (Closes: #700615) * Use separated debian packaging. -- Neil Williams Fri, 15 Feb 2013 11:53:58 +0000 pybit (0.5.0-1) experimental; urgency=low * New upstream release. * Update Homepage to the new, more friendly, homepage. -- Neil Williams Thu, 14 Feb 2013 15:49:59 +0000 pybit (0.4.2-1) experimental; urgency=low [ James Bennet ] * Fixed regexp code for blacklist. [ Neil Williams ] * Drop dependency on python-coherence, added by accient. * Add pybit-web manpage to cover some of the dbconfig-common options. * Update the watch file to work with tags. Thanks to Bart Martens. -- James Bennet Mon, 21 Jan 2013 11:26:19 +0000 pybit (0.4.1-2) experimental; urgency=low * [INTL:da] Danish translation of the debconf templates (Closes: #696802) * [INTL:ja] Add Japanese translation of debconf templates. Thanks to victory * [INTL:de] Initial German debconf translation (Closes: #696898) * [INTL:pl] Polish debconf translation (Closes: #696937) * [INTL:pt] Portuguese translation for debconf messages (Closes: #696980) -- Neil Williams Mon, 31 Dec 2012 13:06:06 +0000 pybit (0.4.1-1) experimental; urgency=low * New upstream release to support multiple suites per client. * Apply updates of debconf templates after review on debian-l10n- english and update control information to be more general purpose. * Update templates.pot with new text. * Remove my duplicate listing in uploaders. * Comment out watch file contents as github have disabled the downloads support. * Add homepage to control. * [l10n:cs] Updated Czech translation of PO debconf template for pybit (Closes: #696427) * [INTL:ru] Russian debconf templates translation (Closes: #696518) * Update manpage and add NEWS item describing change to the client configuration for multiple suites. -- Neil Williams Fri, 21 Dec 2012 11:24:20 +0000 pybit (0.4.0-1) experimental; urgency=low * New upstream release to include plugin client support. -- Neil Williams Fri, 14 Dec 2012 12:28:50 +0000 pybit (0.3.0-1) experimental; urgency=low * Initial release. (Closes: #692159: ITP: pybit -- integrated cross- platform buildd toolkit using queued messages) * Target experimental for first upload. -- Neil Williams Tue, 04 Dec 2012 18:26:57 +0000 pybit (0.1.1-1) unstable; urgency=low * Update from initial upstream tag. -- Neil Williams Tue, 06 Nov 2012 17:30:48 +0000 pybit (0.1.0-1) unstable; urgency=low * Switch from a native package to the github upstream * Switch to using standard Debian suites for eventual upload. -- Neil Williams Thu, 01 Nov 2012 14:35:57 +0000 pybit (0.0.42) pybit; urgency=low * Tweaked to remove buildd option from job submission form -- James Bennet Thu, 01 Nov 2012 12:54:15 +0000 pybit (0.0.41) pybit; urgency=low * Integrated new static content for HTML GUI, so it is served by python bottle server -- James Bennet Thu, 01 Nov 2012 09:02:55 +0000 pybit (0.0.40) pybit; urgency=low * Set the srcdir from the arguments as it cannot be retained between processes * Move dput_dest into the config file -- Neil Williams Wed, 31 Oct 2012 16:13:23 +0000 pybit (0.0.39) pybit; urgency=low * Controller, web and db settings now loaded by nice common module from local files, or etc, and will bail out if not found -- James Bennet Wed, 31 Oct 2012 14:36:40 +0000 pybit (0.0.38) pybit; urgency=low * Add a possible cross-build debian client. -- Neil Williams Wed, 31 Oct 2012 13:37:29 +0000 pybit (0.0.37) pybit; urgency=low [ Neil Williams ] * Implement a send_message during the modified run_cmd to report on a failure of a sequence of tasks within one Process callback routine. * fold pybit-client attribute checks into a simpler function * Cleanup some calls and remove unneeded try checks. [ James Bennet ] * - i Changed to load settings from config files -- James Bennet Wed, 31 Oct 2012 09:02:01 +0000 pybit (0.0.36) pybit; urgency=low * Renamed the overly wordy JobStatusHistoryModel to JobHistory -- James Bennet Thu, 25 Oct 2012 16:29:31 +0100 pybit (0.0.35) pybit; urgency=low * Added the ability to see a job's status history in time order -- James Bennet Thu, 25 Oct 2012 14:34:04 +0100 pybit (0.0.34) pybit; urgency=low * Attempted to apply singleton pattern so we didnt keep creating db and controller instances all around the place -- James Bennet Thu, 25 Oct 2012 09:11:09 +0100 pybit (0.0.33) pybit; urgency=low * Improved README -- James Bennet Wed, 24 Oct 2012 11:57:46 +0100 pybit (0.0.32) pybit; urgency=low * Changed my code to speak to simon's controller code -- James Bennet Wed, 24 Oct 2012 10:12:50 +0100 pybit (0.0.31) pybit; urgency=low * Migrate to dh_python2 as pysupport is deprecated. * Migrate test client script to work with PackageHandler. * Add the is_dry_run compare back to support the test case. -- Neil Williams Wed, 24 Oct 2012 09:56:39 +0100 pybit (0.0.30) pybit; urgency=low * Initial refactor of pybit-client-basic and buildclient and subversion. -- Nick Davidson Tue, 23 Oct 2012 17:06:37 +0100 pybit (0.0.29) pybit; urgency=low * Build client status reporting added. -- Nick Davidson Fri, 19 Oct 2012 16:36:39 +0100 pybit (0.0.28) pybit; urgency=low * Fixed pybit-client-basic to use RESTFUL api to ack requests. Added restful API for sending job statuses -- Nick Davidson Fri, 19 Oct 2012 15:45:57 +0100 pybit (0.0.27) pybit; urgency=low * Allow the vcs client to clean up what it generated * Pass the channel into the clients to allow messages to be sent out. -- Neil Williams Thu, 18 Oct 2012 16:58:08 +0100 pybit (0.0.26) pybit; urgency=low * Add a slave build to the test build script * Describe the issue with updating the lvm snapshot in-place vs apt- get update * Add a dput config file * Use /usr/lib/pbuilder/pbuilder-satisfydepends-classic as dpkg- checkbuilddeps doesn't check the available packages, only those already installed. -- Neil Williams Thu, 18 Oct 2012 16:29:51 +0100 pybit (0.0.25) pybit; urgency=low * Add jsonpickle to the build-depends. * add debug for the current directory -- Neil Williams Thu, 18 Oct 2012 13:32:05 +0100 pybit (0.0.24) pybit; urgency=low * Set a test suite for test builds, to be changed back later. -- Neil Williams Thu, 18 Oct 2012 13:20:16 +0100 pybit (0.0.23) development; urgency=low * Made change to DB so that jobstatus time field was NOT NULL and auto set to the current time upon insertion -- James Bennet Thu, 18 Oct 2012 13:17:33 +0100 pybit (0.0.22) development; urgency=low * Populate the pybit-web and pybit-common packages. * Fix a few typos in the client code. -- Neil Williams Thu, 18 Oct 2012 12:53:19 +0100 pybit (0.0.21) development; urgency=low * Move common code in to pybit and break pacakging thoroughly -- Nick Davidson Thu, 18 Oct 2012 12:12:34 +0100 pybit (0.0.20) development; urgency=low * pybit-client-basic has interactive mode. -- Nick Davidson Thu, 18 Oct 2012 10:12:28 +0100 pybit (0.0.19) development; urgency=low * Added better accept/reject hanlding. -- Nick Davidson Thu, 18 Oct 2012 09:29:31 +0100 pybit (0.0.18) development; urgency=low * Added proper delivery tag to pybit-client-basic. -- Nick Davidson Wed, 17 Oct 2012 16:49:44 +0100 pybit (0.0.17) development; urgency=low * Added consumer for pybit client basic. -- Nick Davidson Wed, 17 Oct 2012 16:26:37 +0100 pybit (0.0.16) development; urgency=low * Improve build-client to actually build jobs. -- Nick Davidson Wed, 17 Oct 2012 13:36:53 +0100 pybit (0.0.15) development; urgency=low * Handle scoping issues after the message has been decoded and handle some missing attributes. -- Neil Williams Mon, 15 Oct 2012 17:01:57 +0100 pybit (0.0.14) development; urgency=low * Add a runtime check on the format attribute -- Neil Williams Mon, 15 Oct 2012 15:16:26 +0100 pybit (0.0.13) development; urgency=low * Move location of the client.conf file to the base class and allow tests for dry_run being set. -- Neil Williams Mon, 15 Oct 2012 12:17:17 +0100 pybit (0.0.12) development; urgency=low * Fixed accidental altering of connection properties. -- Nick Davidson Mon, 15 Oct 2012 11:08:18 +0100 pybit (0.0.11) development; urgency=low * Added back in support for packageinstance reports. -- Nick Davidson Mon, 15 Oct 2012 11:01:25 +0100 pybit (0.0.10) development; urgency=low * Remove attempt to import packageinstance from report. * Impliment supportedArchitectures and added /report/suitearch/ endpoint. -- Nick Davidson Mon, 15 Oct 2012 10:56:08 +0100 pybit (0.0.9) development; urgency=low * Support local paths and tests without having the package installed -- Neil Williams Mon, 15 Oct 2012 10:51:57 +0100 pybit (0.0.8) development; urgency=low * Migrate to python2.6 for easier exception handling. -- Neil Williams Fri, 12 Oct 2012 10:54:13 +0100 pybit (0.0.7) development; urgency=low * Add a subversion build client class to fetch the source code. -- Neil Williams Fri, 12 Oct 2012 10:35:24 +0100 pybit (0.0.6) development; urgency=low * Added the concept of suite-arches so we can enable or disable architectures on a per suite basis. -- Nick Davidson Fri, 12 Oct 2012 09:30:26 +0100 pybit (0.0.5) development; urgency=low * Rename the pybit-client for use in /usr/bin/ -- Neil Williams Wed, 10 Oct 2012 12:53:21 +0100 pybit (0.0.4) development; urgency=low * Package the SQL schema -- Neil Williams Wed, 10 Oct 2012 12:53:09 +0100 pybit (0.0.3) development; urgency=low * Add more content to the package descriptions -- Neil Williams Wed, 10 Oct 2012 12:29:37 +0100 pybit (0.0.2) development; urgency=low * Add an SVN postcommit hook -- Neil Williams Wed, 10 Oct 2012 12:18:07 +0100 pybit (0.0.1) development; urgency=low * Initial packaging -- Neil Williams Wed, 10 Oct 2012 11:44:47 +0100 debian/pybit-client.10000644000000000000000000002254112167223612011661 0ustar '\" t .\" Title: pybit-client .\" Author: [see the "Author" section] .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 02/15/2013 .\" Manual: pybit-client .\" Source: November 2012 .\" Language: English .\" .TH "PYBIT\-CLIENT" "1" "02/15/2013" "November 2012" "pybit\-client" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" pybit-client \- buildd client script to perform build jobs using pybit queues\&. .SH "SYNOPSIS" .HP \w'\fBpybit\-client\fR\ 'u \fBpybit\-client\fR [\fIoptions\fR] .SH "DESCRIPTION" .PP pybit\-client receives messages from the controller to create a specific package build using the specified version control system\&. The client feeds status messages back to the controller\&. .SH "USAGE" .PP pybit\-client runs as a single\-instance daemon by default\&. The standard daemon control interface is supported: .sp .if n \{\ .RS 4 .\} .nf invoke\-rc\&.d pybit\-client stop invoke\-rc\&.d pybit\-client start update\-rc\&.d pybit\-client disable update\-rc\&.d pybit\-client enable .fi .if n \{\ .RE .\} .SH "DAEMON CONFIGURATION" .PP Certain values are set using \fIdebconf\fR at package installation but values can also be set in /etc/pybit/client/client\&.conf and the relevant debconf settings can be updated using \fIdpkg\-reconfigure pybit\-client\fR\&. The configuration file is in JSON format\&. .PP \fIclientid\fR \- The clientid string for this client (must not be empty and needs to be unique for each client using any one RabbitMQ server)\&. .PP \fIhost_arch\fR \- The native architecture of this client, e\&.g\&. i386\&. .sp .if n \{\ .RS 4 .\} .nf dpkg\-architecture \-qDEB_BUILD_ARCH .fi .if n \{\ .RE .\} .PP \fIuse_lvm\fR \- Whether lvm snapshots are in use (default is true)\&. .PP \fIdistribution\fR \- The distribution in use\&. e\&.g\&. Debian\&. .sp .if n \{\ .RS 4 .\} .nf dpkg\-vendor \-\-query vendor .fi .if n \{\ .RE .\} .PP \fIpkg_format\fR \- Tag used by each build client to screen out unsupported binary build formats, e\&.g\&. Debian clients will check for deb and RPM clients would check for rpm\&. .PP \fIbuildroot\fR \- The buildd location on the client filesystem\&. Default: /home/buildd/pybit .PP \fIhost\fR \- The location of the RabbitMQ server which sends the build messages\&. This can be omitted during initial setup and testing but needs to be specified and the client restarted or no builds will be started\&. .PP \fIport\fR \- Override the standard port of 5672 for the RabbitMQ server\&. .PP \fIsuites\fR \- \fINEW in 0\&.4\&.1\fR JSON list of the suites which this client can support \- names must match the Distribution: specified in the changelog of relevant packages and must also match an alias for a configured schroot chroot\&. .sp .if n \{\ .RS 4 .\} .nf "suites": [ "unstable" ], .fi .if n \{\ .RE .\} .sp .if n \{\ .RS 4 .\} .nf "suites": [ "unstable", "squeeze\-backports" ], .fi .if n \{\ .RE .\} .PP The \fIsuite\fR field used in 0\&.4\&.0 has been removed \- clients will not start unless at least one suite is specified in the \fIsuites\fR list\&. See also /usr/share/pybitclient/client\&.conf .PP \fIuserid\fR \- If the RabbitMQ server uses authentication, override the default username of \fIguest\fR\&. .PP \fIpassword\fR \- If the RabbitMQ server uses authentication, override the default password of \fIguest\fR\&. .PP \fIvhost\fR \- If the RabbitMQ server uses a specific VHost, override the default of \fI/\fR\&. .PP \fIdput\fR \- options passed down to dput \- see dput (1)\&. The default is \fI\-U\fR to stop dput writing \&.upload files\&. .PP \fIdput_dest\fR \- The codename of the location to upload the built packages (must not be empty as the default for dput is typically to upload to ftp\-master\&.debian\&.org)\&. .PP \fIpoll_time\fR \- frequency with which this client checks the queues for new messages\&. Measured in seconds\&. Default: 60 seconds\&. .PP \fIdebsignkey\fR \- keyID to be used to sign the \&.changes files from this buildd\&. If empty or omitted, changes files will never be signed\&. \fIThe specified key MUST NOT use a passphrase\&.\fR The key must be usable by the user running \fBpybit\-client\fR \- check with .sp .if n \{\ .RS 4 .\} .nf gpg \-\-list\-secret\-keys .fi .if n \{\ .RE .\} .PP \fIdry_run\fR \- initially, clients are setup in dry run mode which means that commands are echoed to the terminal instead of being executed, to allow testing of new setups\&. To enable builds on the client, edit /etc/pybit/client/client\&.conf to change the value for dry_run to false\&. .SH "SCHROOT CONFIGURATION" .PP The detailed process of creating chroots suitable for schroot is covered in the sbuild documentation (schroot\&.conf (5)) and amounts to using a tool like debootstrap to create a Debian build environment in a subdirectory (which may or may not be also the mountpoint of an LVM snapshot) and then configuring that chroot to have the relevant apt sources and pre\-installed packages (e\&.g\&. build\-essential and dpkg\-dev)\&. .PP Note: when creating a chroot for schroot, remember to use the \fB\-\-variant=buildd\fR option to debootstrap and install fakeroot inside the chroot\&. .SS "Install pbuilder" .PP The pybit debianclient uses /usr/lib/pbuilder/pbuilder\-satisfydepends\-classic for the dependency resolution test, so the pbuilder package needs to be installed inside each build chroot\&. .SS "Naming the chroots" .PP The pybit client will expect to be able to use a chroot (or an alias for a chroot) which matches the suite specified in the build request\&. If using version control hooks, this suite is likely to come from the Distribution field of the output of \fIdpkg\-parsechangelog\fR\&. Ensure that any client has a suitable chroot listed in the output of \fIschroot \-l\fR\&. .PP \fBpybit\-client\fR only listens to queues which match the listed \fIsuites\fR in /etc/pybit/client/client\&.conf\&. .PP The syntax for the suites configuration value changed in version 0\&.4\&.1 to support multiple suites within a JSON list: .sp .if n \{\ .RS 4 .\} .nf "suites": [ "unstable", "squeeze\-backports" ], .fi .if n \{\ .RE .\} .PP Clients running 0\&.4\&.0 need to have the configuration file updated for 0\&.4\&.1 or the client will fail to start as it will be unable to bind to the necessary queues\&. .SS "Testing the chroots" .PP There is a test script (/usr/share/pybitclient/buildd\-test\&.py) which can be used alongside a test schroot to run through the buildd commands and then do the upload\&. (What happens to that upload is dependent on the next step, it just sits in an incoming directory initially\&.) .SS "Configuring the upload handler" .PP Set up dput by editing /etc/pybit/client/dput\&.cf to provide a usable upload configuration\&. The format of this file is the same as ~/\&.dput\&.cf and is passed to dput using the \-c option internally\&. See dput\&.cf (5) .SH "OPTIONS" .PP \fB\-h\fR, \fB\-\-help\fR .RS 4 show this help message and exit .RE .PP \fB\-\-conf_file\fR=\fICONF_FILE\fR .RS 4 Configuration file from which settings can be read\&. Defaults to configs/client\&.conf from the current working directory or falls back to /etc/pybit/client/client\&.conf\&. .RE .PP \fB\-\-arch\fR=\fIARCH\fR .RS 4 Architecture to use, defaults to i386 .RE .PP \fB\-d\fR .RS 4 Run this client as a daemon \- default option used by /etc/init\&.d/pybit\-client\&. .RE .PP \fB\-\-distribution\fR=\fIPYBIT_CLIENT_DIST\fR .RS 4 Distribution to use, defaults to Debian .RE .PP \fB\-\-pkg_format\fR=\fIPYBIT_CLIENT_FORMAT\fR .RS 4 Package type to use, defaults to deb .RE .PP \fB\-\-suite\fR=\fIPYBIT_CLIENT_SUITE\fR .RS 4 Suite to use, defaults to development .RE .PP \fB\-\-host\fR=\fIPYBIT_CLIENT_HOST\fR .RS 4 host to connect to, defaults to localhost\&. .RE .PP \fB\-\-vhost\fR=\fIPYBIT_CLIENT_VHOST\fR .RS 4 vhost to connect to, defaults to localhost\&. .RE .PP \fB\-\-userid\fR=\fIPYBIT_CLIENT_USERID\fR .RS 4 user id to use for AMQP server, defaults to guest\&. .RE .PP \fB\-\-port\fR=\fIPYBIT_CLIENT_PORT\fR .RS 4 port to use for AMQP server, defaults to 5672 .RE .PP \fB\-\-password\fR=\fIPYBIT_CLIENT_PASSWORD\fR .RS 4 password to use for AMQP server, defaults to guest .RE .PP \fB\-\-insist\fR=\fIPYBIT_CLIENT_INSIST\fR .RS 4 insist to use for AMQP server, defaults to 5672 .RE .PP \fB\-\-clientid\fR=\fIPYBIT_CLIENT_INSIST\fR .RS 4 id to use for build\-client control queue, defaults to 1 but is unique per amqp server\&. .RE .PP The clients are only one part of pybit\&. pybit\-web provides the server which will provide jobs for the clients\&. See pybit\-web (1)\&. .SH "AUTHOR" .PP This manual page was written by Neil Williams codehelp@debian\&.org debian/pybit-watcher.init0000644000000000000000000001025712167223612012644 0ustar #!/bin/sh ### BEGIN INIT INFO # Provides: pybit-watcher # Required-Start: $network $remote_fs # Required-Stop: $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Pybit reprepro watcher # Description: Watcher daemon for reprepro incomming directories ### END INIT INFO # Author: Neil Williams # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC=pybit-watcher # Introduce a short description here NAME=pybit-watcher # Introduce the short server's name here DAEMON=/usr/bin/pybit-watcher # Introduce the server's location here DAEMON_ARGS="-d" # Arguments to run the daemon with PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME # Exit if the package is not installed [ -x $DAEMON ] || exit 0 # Read configuration variable file if it is present [ -r /etc/default/$NAME ] && . /etc/default/$NAME # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh # Define LSB log_* functions. # Depend on lsb-base (>= 3.0-6) to ensure that this file is present. . /lib/lsb/init-functions # # Function that starts the daemon/service # do_start() { # Return # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ || return 1 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ $DAEMON_ARGS \ || return 2 # Add code here, if necessary, that waits for the process to be ready # to handle requests from services started subsequently which depend # on this one. As a last resort, sleep for some time. } # # Function that stops the daemon/service # do_stop() { # Return # 0 if daemon has been stopped # 1 if daemon was already stopped # 2 if daemon could not be stopped # other if a failure occurred start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME RETVAL="$?" [ "$RETVAL" = 2 ] && return 2 # Wait for children to finish too if this is a daemon that forks # and if the daemon is only ever run from this initscript. # If the above conditions are not satisfied then add some other code # that waits for the process to drop all resources that could be # needed by services started subsequently. A last resort is to # sleep for some time. start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON [ "$?" = 2 ] && return 2 # Many daemons don't delete their pidfiles when they exit. rm -f $PIDFILE return "$RETVAL" } # # Function that sends a SIGHUP to the daemon/service # do_reload() { # # If the daemon can reload its configuration without # restarting (for example, when it is sent a SIGHUP), # then implement that here. # start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME return 0 } case "$1" in start) [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME" do_start case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; stop) [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" do_stop case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; status) status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? ;; #reload|force-reload) # # If do_reload() is not implemented then leave this commented out # and leave 'force-reload' as an alias for 'restart'. # #log_daemon_msg "Reloading $DESC" "$NAME" #do_reload #log_end_msg $? #;; restart|force-reload) # # If the "reload" option is implemented then remove the # 'force-reload' alias # log_daemon_msg "Restarting $DESC" "$NAME" do_stop case "$?" in 0|1) do_start case "$?" in 0) log_end_msg 0 ;; 1) log_end_msg 1 ;; # Old process is still running *) log_end_msg 1 ;; # Failed to start esac ;; *) # Failed to stop log_end_msg 1 ;; esac ;; *) #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 exit 3 ;; esac : debian/pybit-client.NEWS0000644000000000000000000000101012167223612012261 0ustar pybit (0.4.1-1) experimental; urgency=low * The client configuration has changed in this version and clients using the old suite option will fail to start. Edit /etc/pybit/client/client.conf on each client. e.g. Change "suite": "unstable", to read "suites": [ "unstable" ], This change was made to allow clients to build for multiple suites - add extra suites as: e.g. "suites": [ "unstable", "squeeze-backports" ], -- Neil Williams Sat, 22 Dec 2012 10:41:21 +0000 debian/pybit-web.10000644000000000000000000000741012167223612011156 0ustar '\" t .\" Title: pybit-web .\" Author: [see the "Author" section] .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 02/15/2013 .\" Manual: pybit-web .\" Source: January 2013 .\" Language: English .\" .TH "PYBIT\-WEB" "1" "02/15/2013" "January 2013" "pybit\-web" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" pybit-web \- buildd server to isuse build jobs to pybit clients\&. .SH "DESCRIPTION" .PP pybit\-web provides a database connection and the controller to send messages to pybit clients to create a specific package build using the specified version control system\&. The client feeds status messages back to the controller which are displayed via the web interface\&. .SH "SETTING UP THE PYBIT-WEB SERVER" .PP The Debian packaging of pybit\-web uses dbconfig\-common to configure the database\&. .PP For a local postgres instance, choose the unix socket option and the default ident authentication, then postgres as the database administrative user and www\-data as the pybit\-web database user\&. You can use whatever name you prefer for the pybit\-web database itself\&. .PP Note: Ensure that the www\-data user is specified or apache will not be granted permission to use the database connection\&. It\*(Aqs not enough to just set the user to www\-data in /etc/pybit/web/web\&.conf \- this setting is correct but needs postgres to be configured to allow access to www\-data\&. .PP Also check that the pybit\-web database owner is set to www\-data and that all the tables in the database have the owner set to www\-data\&. Use ALTER DATABASE OWNER name TO "www\-data" and ALTER TABLE name OWNER to "www\-data" if necessary\&. .SH "BLACKLISTING PACKAGES" .PP Sometimes there will be packages being committed to the VCS with updated debian/changelog files but which either cannot or should not be built automatically\&. .PP pybit\-web supports a postgres table called Blacklist, with fields "field" and "regex"\&. Blacklist is used internally by process_job() in controller to determine if certain packages are centrally blacklisted using regexes\&. If there is a match on the field in question, pybit\-web will not issue a build request for this package\&. process_job() is called by both the WebGUI and the VCS hook\&. .PP For example "name" and "(\&.*\-dev)" will mean we do not autobuild any development packages, while "vcs_uri" and "(\&.*/users/*)" will block sources from locations such as /repo/users/jamesb/somebadcode .PP The controller log will print "BLACKLISTED! \- [regex] matches [fieldname]:[data]" if a package is blacklisted\&. .PP A 403 will be returned, as well as a False, from process_job to its caller (previously it returned void) .SH "SEE ALSO" .PP The pybit wiki has more information on setting up the server as well as the rabbitmq server and the watcher\&. https://github\&.com/nicholasdavidson/pybit/wiki/Server\-Setup .SH "AUTHOR" .PP This manual page was written by Neil Williams codehelp@debian\&.org debian/pybit-client.templates0000644000000000000000000000363612167223612013523 0ustar Template: pybit-client/clientid Type: string _Description: PyBit client-ID string: Please specify a unique string that can be used to identify this client within the job list and queues. Template: pybit-client/lvmsnapshot Type: boolean Default: false _Description: Use LVM snapshots on this client? If the sbuild configuration uses LVM snapshots, pybit-client can ensure that your snapshot APT cache data is kept up-to-date whilst keeping the snapshot clean. Template: pybit-client/buildroot Type: string Default: /home/buildd/pybit _Description: Buildd location: Please specify a writeable directory where the version control handler and the upload task can write files. . If this is left blank, the default /home/buildd/pybit will be used. Template: pybit-client/rabbitmqhost Type: string _Description: Host machine running RabbitMQ: Please specify the server running RabbitMQ that this buildd client will communicate with, receiving details of the jobs it needs to attempt to build. Template: pybit-client/dputdest Type: string _Description: Destination for dput package uploads: Please specify the machine that this client will use as upload host. This destination will be stored in its dput configuration. . This entry must not be empty. Template: pybit-client/missingid Type: note _Description: Client-ID string cannot be empty! This client will fail to start until it receives a unique client-ID. Template: pybit-client/missinghost Type: note _Description: Missing RabbitMQ hostname! This client will not receive any messages from the queue and will not build any packages until a RabbitMQ host is specified. . Please edit /etc/pybit/client/client.conf after configuration. Template: pybit-client/defaultdput Type: note _Description: Missing dput destination! pybit-client is not intended to upload to unspecified dput destinations like ftp-master.debian.org and does not currently support GnuPG signed uploads. debian/pybit-client.postrm0000644000000000000000000000231212167223612013037 0ustar #!/bin/sh # postrm script for pybit-client # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; purge) rm -rf /etc/pybit/client/client.conf if [ "$1" = "purge" ] && [ -e /usr/share/debconf/confmodule ]; then # Source debconf library. . /usr/share/debconf/confmodule # Remove my changes to the db. db_purge fi ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/upgrades/0000755000000000000000000000000012167223612011002 5ustar debian/upgrades/0.5.00000755000000000000000000000170512167223612011373 0ustar #!/bin/sh set -e # This is still a dbconfig-common script because we need to ask the # admin before upgrading. Each sql file is idempotent and the files need # to be executed in sequence. So always run each upgrade SQL. . /usr/share/dbconfig-common/dpkg/postinst.pgsql . /usr/share/dbconfig-common/dpkg/common dbc_share="/usr/share/dbconfig-common" dbc_package=$1 dbc_basepackage=`echo $dbc_package | cut -d_ -f1` dbc_dbtype=pgsql dbc_sqldir=/usr/share/$dbc_basepackage/upgrade/$dbc_dbtype dbc_dbname=`grep -v '#' /etc/dbconfig-common/pybit-web.conf |grep dbc_dbname|cut -d= -f2|sed -e "s:'::g"` if [ -d "$dbc_sqldir" ]; then for FILE in ` find $dbc_sqldir/* -xtype f -print0 | xargs --no-run-if-empty -0 ls -1 | sort -n | uniq`; do echo "updating tables in database for $dbc_dbname using $FILE " echo su -s /bin/sh $dbc_dbname -c "psql -d $dbc_dbname -f $FILE 2> /dev/null" dbc_logline "$FILE done" done else dbc_logline "$dbc_sqldir not found\n" fi debian/pybit-watcher.dirs0000644000000000000000000000001312167223612012627 0ustar ./var/log/ debian/pybit-svn.install0000644000000000000000000000023312167223612012511 0ustar hook/svn-postcommit-debian ./usr/share/pybit/svn/ hook/changes-debian ./usr/share/pybit/apt/ examples/procmail-mbox.py ./usr/share/doc/pybit-svn/examples/ debian/rules0000755000000000000000000000630312167223612010252 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifneq (,$(findstring verbose,$(DEB_BUILD_OPTIONS))) VERBOSE="VERBOSE=1" endif # get upstream version for get-orig-source target VERSION:= $(shell dpkg-parsechangelog | grep '^Version: ' | sed -e 's/^Version: //' | sed -e 's/\-.*$$//') # allow using whichever supported python is installed PYTHON2:=$(shell pyversions -r debian/control|xargs which|xargs basename) include /usr/share/python/python.mk pyalldo=set -e; $(foreach py, $(PYTHON2) $(PYTHON3), PYTHONPATH=. $(py) $(1);) install_dir=$(call py_libdir, $(PYTHON2)) configure: configure-stamp configure-stamp: build-setup dh_testdir touch configure-stamp build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: configure-stamp dh_testdir $(call pyalldo , test/plugintest.py) $(call pyalldo , test/pybitclient-test.py) $(call pyalldo , test/webapi-test.py) touch $@ build-setup: setup.py dh_testdir python setup.py build xsltproc --nonet /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl debian/pybit-client.1.xml xsltproc --nonet /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl debian/pybit-watcher.1.xml xsltproc --nonet /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl debian/pybit-web.1.xml mv pybit-client.1 debian/ mv pybit-web.1 debian/ mv pybit-watcher.1 debian/ clean: dh_testdir dh_testroot $(RM) build-stamp configure-stamp $(RM) -r build pybit_client.egg-info pybit_common.egg-info pybit_web.egg-info $(RM) -r build dist pybit-client.1 pybit.egg-info pybit-web.1 pybit-watcher.1 [ ! -f Makefile ] || $(MAKE) clean find . -name '*.pyc' -delete dh_clean debconf-updatepo sdist-orig: python setup.py sdist mv -v dist/pybit-$(VERSION).tar.gz ../pybit_$(VERSION).orig.tar.gz $(RM) -r pybit.egg-info install: build dh_testdir dh_testroot dh_prep dh_installdirs python setup.py install --root="$(CURDIR)/debian/tmp" --no-compile $(py_setup_install_args) mkdir -p debian/pybit-common$(install_dir) mkdir -p debian/pybit-client$(install_dir) mkdir -p debian/pybit-web$(install_dir) mv debian/tmp$(install_dir)/pybit/ debian/pybit-common$(install_dir) mv debian/tmp$(install_dir)/pybitclient/ debian/pybit-client/$(install_dir) mv debian/tmp$(install_dir)/pybitweb/ debian/pybit-web$(install_dir) # Build architecture-independent files here. binary-indep: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples dh_installinit dh_lintian dh_installdebconf dh_install $(exclusions) --exclude=.git dh_compress dh_python2 dh_link dh_installdeb dh_gencontrol dh_md5sums dh_builddeb # Build architecture-dependent files here. binary-arch: build install binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure sdist-orig debian/pybit-client.install0000644000000000000000000000075412167223612013171 0ustar configs/client/client.conf ./usr/share/pybitclient/ configs/client/dput.cf ./etc/pybit/client/ pybitclient/sbuild-cross.sh ./usr/share/pybitclient/ pybitclient/sbuild-orig.sh ./usr/share/pybitclient/ configs/buildd-test.conf ./usr/share/pybitclient/ pybitclient/README ./usr/share/doc/pybit-client/ pybit-client ./usr/bin/ buildd-test.py ./usr/share/pybitclient/ debian/pybit-client.1 ./usr/share/man/man1/ debian/pybitclientlog ./etc/logrotate.d/ debian/script ./usr/share/bug/pybit-client/ debian/pybit-debian.sql0000644000000000000000000000033712167223612012263 0ustar INSERT INTO distribution(name) VALUES ('Debian'); INSERT INTO format(name) VALUES ('deb'); INSERT INTO status(name) VALUES ('Waiting'), ('Blocked'), ('Cancelled'), ('Building'), ('Failed'), ('Uploaded'), ('Done'); debian/watch0000644000000000000000000000064412167223612010225 0ustar # Compulsory line, this is a version 3 file # github have disabled the downloads page. version=3 opts=uversionmangle=s/_/./g \ https://github.com/nicholasdavidson/pybit/tags .*/(?:v||pybit[_\-])(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) # Bart Martens Sun, 06 Jan 2013 21:16:02 +0000 # old line #http://github.com/nicholasdavidson/pybit/downloads /downloads/nicholasdavidson/pybit/pybit-(.*).tar.gz debian/pgsql0000755000000000000000000000272112167223612010246 0ustar #!/bin/sh set -e . /usr/share/dbconfig-common/dpkg/postinst.pgsql . /usr/share/dbconfig-common/dpkg/common dbc_share="/usr/share/dbconfig-common" dbc_package=$1 dbc_basepackage=`echo $dbc_package | cut -d_ -f1` dbc_dbtype=pgsql dbc_sqldir=$dbc_share/data/$dbc_basepackage/install/$dbc_dbtype dbc_popdir=/usr/share/$dbc_basepackage/install/$dbc_dbtype dbc_dbname=`grep -v '#' /etc/dbconfig-common/pybit-web.conf |grep dbc_dbname|cut -d= -f2|sed -e "s:'::g"` if [ -d "$dbc_sqldir" ]; then CHK=`getent passwd $dbc_dbname || true` if [ "$CHK" = "" ]; then dbc_logline "adding system user $dbc_dbname -- see /usr/share/doc/pybit-web/README.Debian" adduser --quiet --system --shell /bin/sh --home /var/lib/pybit-web --no-create-home --group $dbc_dbname fi dbc_logline "altering database ownership for $dbc_dbname" su -s /bin/sh postgres -c "psql -d $dbc_dbname -c \"ALTER DATABASE $dbc_dbname OWNER TO $dbc_dbname;\" 2>/dev/null" for FILE in $dbc_sqldir/* ; do dbc_logline "creating tables in database for $dbc_dbname using $FILE " su -s /bin/sh $dbc_dbname -c "psql -d $dbc_dbname -f $FILE 2> /dev/null" dbc_logline "$FILE done" done else dbc_logline "$dbc_sqldir not found\n" fi if [ -d "$dbc_popdir" ]; then for FILE in $dbc_popdir/* ; do dbc_logline "populating tables in database for $dbc_dbname using $FILE " su -s /bin/sh $dbc_dbname -c "psql -d $dbc_dbname -f $FILE 2> /dev/null" dbc_logline "$FILE done" done else dbc_logline "$dbc_popdir not found\n" fi debian/pybit-client.1.xml0000644000000000000000000003053712167223612012464 0ustar pybit-client 1 November 2012 pybit-client pybit-client buildd client script to perform build jobs using pybit queues. pybit-client options DESCRIPTION pybit-client receives messages from the controller to create a specific package build using the specified version control system. The client feeds status messages back to the controller. Usage pybit-client runs as a single-instance daemon by default. The standard daemon control interface is supported: invoke-rc.d pybit-client stop invoke-rc.d pybit-client start update-rc.d pybit-client disable update-rc.d pybit-client enable Daemon Configuration Certain values are set using debconf at package installation but values can also be set in /etc/pybit/client/client.conf and the relevant debconf settings can be updated using dpkg-reconfigure pybit-client. The configuration file is in JSON format. clientid - The clientid string for this client (must not be empty and needs to be unique for each client using any one RabbitMQ server). host_arch - The native architecture of this client, e.g. i386. dpkg-architecture -qDEB_BUILD_ARCH use_lvm - Whether lvm snapshots are in use (default is true). distribution - The distribution in use. e.g. Debian. dpkg-vendor --query vendor pkg_format - Tag used by each build client to screen out unsupported binary build formats, e.g. Debian clients will check for deb and RPM clients would check for rpm. buildroot - The buildd location on the client filesystem. Default: /home/buildd/pybit host - The location of the RabbitMQ server which sends the build messages. This can be omitted during initial setup and testing but needs to be specified and the client restarted or no builds will be started. port - Override the standard port of 5672 for the RabbitMQ server. suites - NEW in 0.4.1 JSON list of the suites which this client can support - names must match the Distribution: specified in the changelog of relevant packages and must also match an alias for a configured schroot chroot. "suites": [ "unstable" ], "suites": [ "unstable", "squeeze-backports" ], The suite field used in 0.4.0 has been removed - clients will not start unless at least one suite is specified in the suites list. See also /usr/share/pybitclient/client.conf userid - If the RabbitMQ server uses authentication, override the default username of guest. password - If the RabbitMQ server uses authentication, override the default password of guest. vhost - If the RabbitMQ server uses a specific VHost, override the default of /. dput - options passed down to dput - see dput (1). The default is -U to stop dput writing .upload files. dput_dest - The codename of the location to upload the built packages (must not be empty as the default for dput is typically to upload to ftp-master.debian.org). poll_time - frequency with which this client checks the queues for new messages. Measured in seconds. Default: 60 seconds. debsignkey - keyID to be used to sign the .changes files from this buildd. If empty or omitted, changes files will never be signed. The specified key MUST NOT use a passphrase. The key must be usable by the user running pybit-client - check with gpg --list-secret-keys dry_run - initially, clients are setup in dry run mode which means that commands are echoed to the terminal instead of being executed, to allow testing of new setups. To enable builds on the client, edit /etc/pybit/client/client.conf to change the value for dry_run to false. schroot configuration The detailed process of creating chroots suitable for schroot is covered in the sbuild documentation (schroot.conf (5)) and amounts to using a tool like debootstrap to create a Debian build environment in a subdirectory (which may or may not be also the mountpoint of an LVM snapshot) and then configuring that chroot to have the relevant apt sources and pre-installed packages (e.g. build-essential and dpkg-dev). Note: when creating a chroot for schroot, remember to use the option to debootstrap and install fakeroot inside the chroot. Install pbuilder The pybit debianclient uses /usr/lib/pbuilder/pbuilder-satisfydepends-classic for the dependency resolution test, so the pbuilder package needs to be installed inside each build chroot. Naming the chroots The pybit client will expect to be able to use a chroot (or an alias for a chroot) which matches the suite specified in the build request. If using version control hooks, this suite is likely to come from the Distribution field of the output of dpkg-parsechangelog. Ensure that any client has a suitable chroot listed in the output of schroot -l. pybit-client only listens to queues which match the listed suites in /etc/pybit/client/client.conf. The syntax for the suites configuration value changed in version 0.4.1 to support multiple suites within a JSON list: "suites": [ "unstable", "squeeze-backports" ], Clients running 0.4.0 need to have the configuration file updated for 0.4.1 or the client will fail to start as it will be unable to bind to the necessary queues. Testing the chroots There is a test script (/usr/share/pybitclient/buildd-test.py) which can be used alongside a test schroot to run through the buildd commands and then do the upload. (What happens to that upload is dependent on the next step, it just sits in an incoming directory initially.) Configuring the upload handler Set up dput by editing /etc/pybit/client/dput.cf to provide a usable upload configuration. The format of this file is the same as ~/.dput.cf and is passed to dput using the -c option internally. See dput.cf (5) OPTIONS , show this help message and exit =CONF_FILE Configuration file from which settings can be read. Defaults to configs/client.conf from the current working directory or falls back to /etc/pybit/client/client.conf. =ARCH Architecture to use, defaults to i386 Run this client as a daemon - default option used by /etc/init.d/pybit-client. =PYBIT_CLIENT_DIST Distribution to use, defaults to Debian =PYBIT_CLIENT_FORMAT Package type to use, defaults to deb =PYBIT_CLIENT_SUITE Suite to use, defaults to development =PYBIT_CLIENT_HOST host to connect to, defaults to localhost. =PYBIT_CLIENT_VHOST vhost to connect to, defaults to localhost. =PYBIT_CLIENT_USERID user id to use for AMQP server, defaults to guest. =PYBIT_CLIENT_PORT port to use for AMQP server, defaults to 5672 =PYBIT_CLIENT_PASSWORD password to use for AMQP server, defaults to guest =PYBIT_CLIENT_INSIST insist to use for AMQP server, defaults to 5672 =PYBIT_CLIENT_INSIST id to use for build-client control queue, defaults to 1 but is unique per amqp server. Setting up the pybit server to work with clients The clients are only one part of pybit. pybit-web provides the server which will provide jobs for the clients. See pybit-web (1). Author This manual page was written by Neil Williams codehelp@debian.org debian/pybit-web.postinst0000644000000000000000000000335412167223612012704 0ustar #!/bin/sh # postinst script for pybit-web # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package ucf -p /etc/pybit/debian-db.pl if [ -f /etc/pybit/debian-db.pl ]; then rm /etc/pybit/debian-db.pl fi # Source debconf library. . /usr/share/debconf/confmodule # dbconfig doesn't have perl bindings, so we have to use shell. . /usr/share/dbconfig-common/dpkg/postinst.pgsql dbc_generate_include=perl:/etc/pybit/debian-db.pl # minimal permissions dbc_generate_include_owner="root:root" dbc_generate_include_perms="600" dbc_go pybit-web $@ case "$1" in configure) # write out the debconf non-database values to be processed into JSON db_get pybit-web/rabbitmqhost echo "rabbit=$RET" > /etc/pybit/debian-db.ini db_get pybit-web/hostname echo "host=$RET" >> /etc/pybit/debian-db.ini db_get pybit-web/port echo "port=$RET" >> /etc/pybit/debian-db.ini # JSON processing in shell is insane, use perl (which removes the .ini). /usr/share/pybit-web/pybit-web-json.pl ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/pybit-web.install0000644000000000000000000000150312167223612012461 0ustar db/schema.sql ./usr/share/dbconfig-common/data/pybit-web/install/pgsql/ debian/pybit-debian.sql ./usr/share/pybit-web/install/pgsql/ debian/pgsql ./usr/share/dbconfig-common/scripts/pybit-web/install/ debian/upgrades/0.5.0 ./usr/share/dbconfig-common/data/pybit-web/upgrade/pgsql/ db/updates/v1.sql ./usr/share/pybit-web/upgrade/pgsql/0.3.1 db/updates/v2.sql ./usr/share/pybit-web/upgrade/pgsql/0.4.3 db/updates/v3.sql ./usr/share/pybit-web/upgrade/pgsql/0.4.3 db/updates/v4.sql ./usr/share/pybit-web/upgrade/pgsql/0.4.3 db/updates/v5.sql ./usr/share/pybit-web/upgrade/pgsql/0.4.3 pybitweb/static/ ./usr/share/pybit-web/ configs/web/web.conf ./usr/share/pybit-web/ debian/pybit-web-json.pl ./usr/share/pybit-web/ apache_config.txt ./usr/share/pybit-web/ application.wsgi ./usr/share/pybit-web/ debian/pybit-web.1 ./usr/share/man/man1/ debian/pybit-client.init0000755000000000000000000001023612167223612012465 0ustar #!/bin/sh ### BEGIN INIT INFO # Provides: pybit-client # Required-Start: $network $remote_fs # Required-Stop: $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Pybit buildd client # Description: Buildd daemon for pybit package builder ### END INIT INFO # Author: Neil Williams # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC=pybit-client # Introduce a short description here NAME=pybit-client # Introduce the short server's name here DAEMON=/usr/bin/pybit-client # Introduce the server's location here DAEMON_ARGS="-d" # Arguments to run the daemon with PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME # Exit if the package is not installed [ -x $DAEMON ] || exit 0 # Read configuration variable file if it is present [ -r /etc/default/$NAME ] && . /etc/default/$NAME # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh # Define LSB log_* functions. # Depend on lsb-base (>= 3.0-6) to ensure that this file is present. . /lib/lsb/init-functions # # Function that starts the daemon/service # do_start() { # Return # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ || return 1 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ $DAEMON_ARGS \ || return 2 # Add code here, if necessary, that waits for the process to be ready # to handle requests from services started subsequently which depend # on this one. As a last resort, sleep for some time. } # # Function that stops the daemon/service # do_stop() { # Return # 0 if daemon has been stopped # 1 if daemon was already stopped # 2 if daemon could not be stopped # other if a failure occurred start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME RETVAL="$?" [ "$RETVAL" = 2 ] && return 2 # Wait for children to finish too if this is a daemon that forks # and if the daemon is only ever run from this initscript. # If the above conditions are not satisfied then add some other code # that waits for the process to drop all resources that could be # needed by services started subsequently. A last resort is to # sleep for some time. start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON [ "$?" = 2 ] && return 2 # Many daemons don't delete their pidfiles when they exit. rm -f $PIDFILE return "$RETVAL" } # # Function that sends a SIGHUP to the daemon/service # do_reload() { # # If the daemon can reload its configuration without # restarting (for example, when it is sent a SIGHUP), # then implement that here. # start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME return 0 } case "$1" in start) [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME" do_start case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; stop) [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" do_stop case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; status) status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? ;; #reload|force-reload) # # If do_reload() is not implemented then leave this commented out # and leave 'force-reload' as an alias for 'restart'. # #log_daemon_msg "Reloading $DESC" "$NAME" #do_reload #log_end_msg $? #;; restart|force-reload) # # If the "reload" option is implemented then remove the # 'force-reload' alias # log_daemon_msg "Restarting $DESC" "$NAME" do_stop case "$?" in 0|1) do_start case "$?" in 0) log_end_msg 0 ;; 1) log_end_msg 1 ;; # Old process is still running *) log_end_msg 1 ;; # Failed to start esac ;; *) # Failed to stop log_end_msg 1 ;; esac ;; *) #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 exit 3 ;; esac : debian/pybit-client.lintian-overrides0000644000000000000000000000047212167223612015156 0ustar # to make the JSON manageable, pybit postinst scripts use perl pybit-client: unused-debconf-template pybit-client/lvmsnapshot pybit-client: unused-debconf-template pybit-client/missingid pybit-client: unused-debconf-template pybit-client/missinghost pybit-client: unused-debconf-template pybit-client/defaultdput debian/pybit-watcher.10000644000000000000000000000576112167223612012045 0ustar '\" t .\" Title: pybit-watcher .\" Author: [see the "Author" section] .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 02/15/2013 .\" Manual: pybit-watcher .\" Source: November 2012 .\" Language: English .\" .TH "PYBIT\-WATCHER" "1" "02/15/2013" "November 2012" "pybit\-watcher" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" pybit-watcher \- watches incoming directories for reprepro .SH "SYNOPSIS" .HP \w'\fBpybit\-watcher\fR\ 'u \fBpybit\-watcher\fR [\fIoptions\fR] .SH "DESCRIPTION" .PP pybit\-watcher monitors a nominated directory for Debian package uploads (*\&.changes) and then runs a specified incoming rule on the configured reprepro repository\&. .SH "OPTIONS" .PP \fB\-h\fR, \fB\-\-help\fR .RS 4 show this help message and exit .RE .PP \fB\-\-conf_file\fR=\fIPYBIT_WATCHER_CONF_FILE\fR .RS 4 Config file to read settings from, defaults to watcher\&.conf which will be read from configs/watcher and /etc/pybit/watcher in turn\&. .RE .PP \fB\-v\fR .RS 4 Turn on verbose messages\&. .RE .PP \fB\-d\fR .RS 4 Daemonise with output going to /var/log/pybit\-watcher .RE .SH "DAEMON CONFIGURATION" .PP pybit\-watcher needs to be configured before it will run and process uploads\&. The configuration file is in JSON format, ordering is not important\&. .PP \fIrepobase\fR \- top level directory of the reprepro repository, i\&.e\&. where reprepro can find the \&./conf/distributions file\&. .PP \fIpath\fR \- directory used for uploads, must be writeable by whichever user(s) will be able to upload\&. .PP \fIdryrun\fR \- if set to true, commands are printed to the console instead of being executed\&. Default: true .PP \fIrule\fR \- the reprepro incoming rule to call with this watcher\&. Only one incoming rule can be used\&. .PP \fIsleeptime\fR \- the time allowed after the watcher is notified that a \&.changes file has been written to allow for the upload tool to change permissions or other management tasks\&. Default: 3 seconds\&. .PP \fIconfigured\fR \- Set to true once the other settings are correct for your installation\&. Default is false\&. .SH "AUTHOR" .PP This manual page was written by Neil Williams codehelp@debian\&.org debian/source/0000755000000000000000000000000012167223612010470 5ustar debian/source/format0000644000000000000000000000001412167223612011676 0ustar 3.0 (quilt) debian/pybit-watcher.1.xml0000644000000000000000000000637712167223612012650 0ustar pybit-watcher 1 November 2012 pybit-watcher pybit-watcher watches incoming directories for reprepro pybit-watcher options DESCRIPTION pybit-watcher monitors a nominated directory for Debian package uploads (*.changes) and then runs a specified incoming rule on the configured reprepro repository. OPTIONS , show this help message and exit =PYBIT_WATCHER_CONF_FILE Config file to read settings from, defaults to watcher.conf which will be read from configs/watcher and /etc/pybit/watcher in turn. Turn on verbose messages. Daemonise with output going to /var/log/pybit-watcher Daemon Configuration pybit-watcher needs to be configured before it will run and process uploads. The configuration file is in JSON format, ordering is not important. repobase - top level directory of the reprepro repository, i.e. where reprepro can find the ./conf/distributions file. path - directory used for uploads, must be writeable by whichever user(s) will be able to upload. dryrun - if set to true, commands are printed to the console instead of being executed. Default: true rule - the reprepro incoming rule to call with this watcher. Only one incoming rule can be used. sleeptime - the time allowed after the watcher is notified that a .changes file has been written to allow for the upload tool to change permissions or other management tasks. Default: 3 seconds. configured - Set to true once the other settings are correct for your installation. Default is false. Author This manual page was written by Neil Williams codehelp@debian.org debian/control0000644000000000000000000001071612167223612010600 0ustar Source: pybit Section: devel Priority: extra Maintainer: Neil Williams Uploaders: Nick Davidson , Simon Haswell , James Bennet Build-Depends: debhelper (>= 7.0.50~), docbook-xsl, xsltproc, po-debconf, python (>= 2.6.6-3~), python2.6 | python2.7, python-setuptools, python-jsonpickle, python-requests, python-amqplib X-Python-Version: 2.6, 2.7 Standards-Version: 3.9.4 Homepage: http://nicholasdavidson.github.com/pybit/ Vcs-Git: git://github.com/codehelp/pybit-debian.git Vcs-Browser: https://github.com/codehelp/pybit-debian.git Package: pybit-svn Architecture: all Depends: subversion, curl, ${misc:Depends} Description: Subversion post commit hook for pybit pyBit uses message queues to create a distributed, cross-platform buildd toolkit using a collection of buildds, using source from various VCS clients. pyBit is intended to support rapidly evolving software collections and can support multiple VCS frontends and multiple build backends. . This package provides a Subversion post commit hook to check for interesting changes in the repository and post a directory back to the controller using curl. . Currently, only Subversion is supported. The svn hook does not depend on the rest of pyBit or on Python. Package: pybit-client Architecture: all Depends: sbuild, dput, dpkg-dev, pybit-common, python-requests, subversion, pbuilder, libcrypt-ssleay-perl, libjson-perl, ${python:Depends}, ${misc:Depends} Description: buildd client support for pybit pyBit uses message queues to create a distributed, cross-platform buildd toolkit using a collection of buildds, using source from various VCS clients. pyBit is intended to support rapidly evolving software collections and can support multiple VCS frontends and multiple build backends. . This package provides the Debian buildd client for pyBit to build packages using sbuild. . Each pyBit buildd client needs to install and configure this package to give each client a unique identifier per pyBit database. Package: pybit-web Architecture: all Depends: python-psycopg2 (>= 2.4.2-1~), pybit-common, dbconfig-common, libjson-perl, ucf, adduser, python-bottle, ${python:Depends}, ${misc:Depends} Recommends: libjs-jquery (>= 1.4.2-2), libjs-jquery-form, postgresql-client, libapache2-mod-wsgi Suggests: rabbitmq-server (>=1.8), postgresql (>=8.4) Replaces: pybit-common (<= 0.1.1) Description: buildd toolkit based on message queues (web frontend) pyBit uses message queues to create a distributed, cross-platform buildd toolkit using a collection of buildds, using source from various VCS clients. pyBit is intended to support rapidly evolving software collections and can support multiple VCS frontends and multiple build backends. . This package provides a reporting and custom-build request interface for the status database and the controller agent for PyBit. The static web pages do need to be served from the same machine as is running the pybit-web application. . A single RabbitMQ server is also required, it can be installed on any machine which is visible to the controller and all clients. Package: pybit-common Architecture: all Depends: python-amqplib, python-jsonpickle, python-daemon, ${python:Depends}, ${misc:Depends} Description: Common objects for pybit pyBit uses message queues to create a distributed, cross-platform buildd toolkit using a collection of buildds, using source from various VCS clients. pyBit is intended to support rapidly evolving software collections and can support multiple VCS frontends and multiple build backends. . This package contains the object definitions of Python objects common to pyBit components as well as the Postgres database schema for pyBit. Package: pybit-watcher Architecture: all Depends: python-pyinotify, python-daemon, pybit-common, reprepro, ${python:Depends}, ${misc:Depends} Description: watches incoming directories for reprepro pyBit uses message queues to create a distributed, cross-platform buildd toolkit using a collection of buildds, using source from various VCS clients. pyBit is intended to support rapidly evolving software collections and can support multiple VCS frontends and multiple build backends. . This package provides a watcher which runs as a daemon and monitors a directory for changes files then runs the appropriate reprepro rule. . This allows pybit clients to upload without waiting for the packages to be processed by reprepro. debian/pybit-web.config0000644000000000000000000000224012167223612012257 0ustar #!/bin/sh -e # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 # This conf script is capable of backing up db_capb backup ucf -p /etc/pybit/debian-db.pl if [ -f /etc/pybit/debian-db.pl ]; then rm /etc/pybit/debian-db.pl fi # source debconf stuff . /usr/share/debconf/confmodule # source dbconfig-common stuff . /usr/share/dbconfig-common/dpkg/config.pgsql # create an output file which ucf will watch # (and ensure isn't recreated) until we need to do it dbc_generate_include=perl:/etc/pybit/debian-db.pl # minimal permissions dbc_generate_include_owner="root:root" dbc_generate_include_perms="600" # do the dbconfig stuff dbc_go pybit-web $@ # now do our config STATE=1 while [ "$STATE" != 0 -a "$STATE" != 3 ]; do case "$STATE" in 1) db_input high pybit-web/rabbitmqhost || true ;; 2) # Check their answer. db_get pybit-web/rabbitmqhost if [ "$RET" = "" ]; then db_set pybit-web/rabbitmqhost localhost db_input high pybit-web/missinghost || true db_go fi db_input medium pybit-web/hostname || true db_input medium pybit-web/port || true ;; esac if db_go; then STATE=$(($STATE + 1)) else STATE=$(($STATE - 1)) fi done debian/pybit-client.config0000644000000000000000000001124512167223612012765 0ustar #!/usr/bin/perl -w # avoid using the JSON module here # or get approval for a Pre-Depends in Debian. # debconf config scripts may run before dependencies are fully configured # in order to collect all debconf data in one run for later use by # all the postinsts scripts for those packages. use Debconf::Client::ConfModule qw(:all); version("2.0"); capb("backup"); # basic structure borrowed from /var/lib/dpkg/info/dwww.config my $cfgfile = '/etc/pybit/client/client.conf'; my %cfg=(); my %mapping = ("clientid" => 'clientid', 'use_lvm' => 'lvmsnapshot', 'buildroot' => 'buildroot', 'host' => 'rabbitmqhost', 'dput_dest' => 'dputdest', 'host_arch' => 'hostarch', 'distribution' => 'distribution', 'pkg_format' => 'pkgformat', 'port' => 'rabbitport', 'userid' => 'rabbituser', 'vhost' => 'rabbitvhost', 'dput' => 'dput_opt' ); if ( -r "$cfgfile" ) { # read any existing config file to avoid changing it &ScanClientConfFile ( "$cfgfile" ); # set relevant values in debconf from any existing file foreach my $cfgvar ('clientid', 'use_lvm', 'host', 'buildroot', 'dput_dest', 'distribution') { if (defined $cfg{$cfgvar}) { set("pybit-client/$mapping{$cfgvar}", $cfg{$cfgvar}); fset("pybit-client/$cfgvar", 'seen', 'true'); } } } my $state = 1; while ($state > 0 && $state < 3) { if ($state == 1) { beginblock(); # check for non-interactive frontends @ret = input('high', 'pybit-client/clientid'); if ($ret[0] == 30) { # create some arbitrary defaults my $host = `hostname`; chomp ($host); set('pybit-client/clientid', $host); set('pybit-client/rabbitmqhost', 'localhost'); set('pybit-client/dputdest', 'local'); last; } input('high', 'pybit-client/rabbitmqhost'); input('high', 'pybit-client/dputdest'); endblock(); @ret = go(); # error handling $id = scalar get('pybit-client/clientid'); chomp ($id) if defined ($id); while (($ret[0] == 0) and (not defined $id or $id =~ m/^\s*$/)) { fset('pybit-client/clientid', 'seen', 'false'); fset('pybit-client/missingid', 'seen', 'false'); beginblock(); input('high', 'pybit-client/missingid'); input('high', 'pybit-client/clientid'); endblock(); @ret = go(); $id = scalar get('pybit-client/clientid'); chomp ($id) if defined ($id); } set('pybit-client/clientid', $id); my $host = scalar get('pybit-client/rabbitmqhost'); if (($ret[0] == 0) and (not defined $host or $host =~ m/^\s*$/)) { fset('pybit-client/rabbitmqhost', 'seen', 'false'); fset('pybit-client/missinghost', 'seen', 'false'); beginblock(); input('high', 'pybit-client/missinghost'); endblock(); @ret = go(); chomp ($host) if (defined $host); $host = scalar get('pybit-client/rabbitmqhost'); $host = "" if not defined ($host); } set('pybit-client/rabbitmqhost', $host); my $dput = scalar get('pybit-client/dputdest'); while (($ret[0] == 0) and (not defined $dput or $dput =~ m/^\s*$/)) { fset('pybit-client/dputdest', 'seen', 'false'); fset('pybit-client/defaultdput', 'seen', 'false'); beginblock(); input('high', 'pybit-client/defaultdput'); input('high', 'pybit-client/dputdest'); endblock(); @ret = go(); chomp ($dput) if (defined $dput); $dput = scalar get('pybit-client/dputdest'); } set('pybit-client/dputdest', $dput); } elsif ($state == 2) { beginblock(); input('medium', 'pybit-client/lvmsnapshot'); input('medium', 'pybit-client/buildroot'); endblock(); @ret = go(); my $dir = scalar get('pybit-client/buildroot'); chomp ($dir) if (defined $dir); if ($ret[0] == 0) { if ($dir =~ m|^/$| or not defined $dir or $dir eq '') { $dir = "/home/buildd/pybit"; } mkdir_p ($dir); } set('pybit-client/buildroot', canondir($dir)); } if ( ($ret[0] == 30) ) { $state--; # go back } else { $state++; # go forward } } # SUBROUTINES # Subroutine to scan client configuration file # Configfile to parse is the argument to the subroutine sub ScanClientConfFile { if ( ! -r "$_[0]" ) { return; }; open(CONFFILE,"<$_[0]") || die "Could not open $_[0]"; while () { # debconf values - keep the tag names the same as the debconf names foreach my $key (sort keys %mapping) { chomp; if (s#^\s*"$key"\s?:\s?(.*),?$#$1#) { chomp($cfg{$key} = $_) if /\w/; } } } foreach my $key (keys %cfg) { my $val = $cfg{$key}; $val =~ s/"//g; $val =~ s/'//g; $val =~ s/,//g; $cfg{$key} = $val; } close CONFFILE; } sub canondir { my $dir = $_[0]; $dir =~ s|/+|/|g; $dir =~ s|/$||; return $dir; } # Same as `mkdir -p' sub mkdir_p { my $dir = shift; return if (-d $dir); my $p = ""; foreach $f (split "/", $dir) { $p .= $f . "/"; (-d $p) or (mkdir $p, 0755) or die "Can't create directory $p: $!\n"; } } debian/README.source0000644000000000000000000000047312167223612011353 0ustar Building pybit source distributions $ python setup.py sdist The distribution tarball will be in the dist/ directory. Building Debian packages Create a ../tarballs/ directory Copy the tag tarball as pybit_$VER.orig.tar.gz into ../tarballs/ or use: uscan --destdir ../tarballs BUILDER=pbuilder git-buildpackage debian/compat0000644000000000000000000000000212167223612010366 0ustar 7 debian/pybit-web.postrm0000644000000000000000000000125012167223612012336 0ustar #!/bin/sh set -e if [ -f /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule fi if [ -f /usr/share/dbconfig-common/dpkg/postrm.pgsql ]; then . /usr/share/dbconfig-common/dpkg/postrm.pgsql dbc_go pybit-web $@ fi case "$1" in purge) if [ -f /etc/pybit/web/web.conf ]; then rm /etc/pybit/web/web.conf fi if [ -f /etc/pybit/debian-db.pl ]; then rm /etc/pybit/debian-db.pl fi if which ucf >/dev/null 2>&1; then ucf -p /etc/pybit/debian-db.pl ucf -p /etc/pybit/web/web.conf fi ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# debian/pybit-web.dirs0000644000000000000000000000001712167223612011753 0ustar /etc/pybit/web debian/pybit-web.templates0000644000000000000000000000254012167223612013013 0ustar Template: pybit-web/rabbitmqhost Type: string _Description: Host machine running RabbitMQ: Please specify the server running RabbitMQ with which the web front-end and the pyBit controller need to communicate, sending the details of the jobs to be built. Template: pybit-web/hostname Type: string Default: localhost _Description: Fully qualified hostname for the web front-end: Please specify the host running the web front-end (which will also be running the pyBit controller). . You may choose to use a named Apache virtual host or accept the default if all the pyBit clients also run on this one machine. . The hostname is passed down to the build clients to allow them to post failure messages back to the controller. Template: pybit-web/port Type: string Default: 80 _Description: Port for web front-end: Please specify the port that the web front-end should be available on. If it is serving localhost, it is probably easiest to use port 8080. . If the web front-end is running on a dedicated host or an Apache virtual host, it may be preferable to use port 80. Template: pybit-web/missinghost Type: note _Description: Missing RabbitMQ hostname! If no RabbitMQ host is specified for the pyBit controller, the build clients will not receive any messages on the queue or build any packages. . Please edit /etc/pybit/web/web.conf after configuration.