debian/0000755000000000000000000000000012223757062007174 5ustar debian/control0000644000000000000000000000330312223755254010577 0ustar Source: fedmsg Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Simon Chopin , Nicolas Dandrimont Build-Depends: debhelper (>= 9), help2man, python-all (>= 2.6.6-3~), python-setuptools, python-zmq, python-kitchen, python-moksha.hub (>= 1.2.0), python-requests, python-pygments, python-m2crypto, python-m2ext, python-nose, python-mock, python-six, python-sqlalchemy, python-sphinx (>= 1.0.7+dfsg), python-twisted Standards-Version: 3.9.4 X-Python-Version: >= 2.7 Homepage: http://fedmsg.com/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/fedmsg/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/fedmsg/trunk/ Package: python-fedmsg Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-zmq (>= 2.2.0.1), python-setuptools Recommends: python-m2crypto, python-m2ext, python-sqlalchemy Suggests: python-fedmsg-doc Description: Fedora messaging infrastructure system fedmsg (Fedora Messaging) is a Python package and API used within the Fedora infrastructure to send and receive messages to and from applications in order to allow for asynchronous processes. Package: python-fedmsg-doc Section: doc Recommends: python-fedmsg Suggests: fonts-comfortaa Architecture: all Depends: ${misc:Depends}, ${sphinxdoc:Depends} Description: Fedora messaging infrastructure system documentation fedmsg (Fedora Messaging) is a Python package and API used within the Fedora infrastructure to send and receive messages to and from applications in order to allow for asynchronous processes. . This package provides the documentation for the API. debian/python-fedmsg.docs0000644000000000000000000000001312163056752012625 0ustar README.rst debian/python-fedmsg-doc.docs0000644000000000000000000000002012163056752013366 0ustar doc/_build/html debian/copyright0000644000000000000000000000543712202461530011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: fedmsg Source: http://fedmsg.com/ Files: * Copyright: 2008-2013 Red Hat, Inc License: LGPL-2.1+ Files: debian/* fedmsg/replay/* fedmsg/tests/test_replay.py Copyright: 2013 Simon Chopin License: LGPL-2.1+ Files: fedmsg/tests/test_hub.py fedmsg/tests/test_threads.py Copyright: 2008-2010 Red Hat, Inc License: Apache-2.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, a copy of the Apache 2.0 license can be found at `/usr/share/common-licenses/Apache-2.0` Files: fedmsg/tests/test_certs/pkitool fedmsg/tests/test_certs/tmp/pkitool Copyright: 2002-2010 OpenVPN Technologies, Inc 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 version 2 as published by the Free Software Foundation. . 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 (see the file COPYING included with this distribution); if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, a copy of the GNU General Public License can be found at `/usr/share/common-licenses/GPL-2` License: LGPL-2.1+ fedmsg is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . fedmsg 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with fedmsg; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, a copy of the license can be found at `/usr/share/common-licenses/LGPL-2.1`. debian/patches/0000755000000000000000000000000012223756726010631 5ustar debian/patches/strip_docs.diff0000644000000000000000000000420212202461530013611 0ustar Description: Remove theme and informations not available in Debian The Cloud theme as well as the fedmsg_meta_fedora_infrastructure are not available in Debian. Author: Simon Chopin Forwarded: not-needed --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -1,4 +1,4 @@ -{% extends "cloud/layout.html" %} +{% extends "default/layout.html" %} {% block footer -%} {{ super() }} diff --git a/doc/conf.py b/doc/conf.py index 54a82d7..1e4303a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -26,61 +26,8 @@ import os # General configuration # --------------------- -# import Cloud -import cloud_sptheme as csp - -from fedmsg.doc_utilities import make_topics_doc -here = os.path.dirname(os.path.abspath(__file__)) -make_topics_doc(here) - -# ... some contents omitted ... - -# set the html theme -html_theme = "cloud" - -# ... some contents omitted ... - -# set the theme path to point to cloud's theme data -html_theme_path = [csp.get_theme_dir()] - -# [optional] set some of the options listed above... -html_theme_options = { - "sidebarwidth": "200px", - "max_width": "900px", - "compact_width": "800px", - "minimal_width": "700px", - - # Style it like Fedora.. - "bodyfont": "Cantarell", - - "highlightcolor": "#060", # First Green - - "sidebarbgcolor": "#FEFEFE", - "sidebartrimcolor": "#FEFEFE", - - "sectionbgcolor": "#FEFEFE", - "sectiontrimcolor": "#FEFEFE", - "sectiontextcolor": "#444444", - - "relbarbgcolor": "#FEFEFE", - "relbartextcolor": "#444444", - "relbarlinkcolor": "#444444", - - "bgcolor": "#FEFEFE", - "textcolor": "#444444", - "linkcolor": "#060", # First Green - - "headtextcolor": "#444444", - "headlinkcolor": "#444444", - - #"codebgcolor" - #"codetextcolor" - "codetrimcolor": "#060", # First Green - - "footerbgcolor": "#FEFEFE", - -} +html_theme = "default" # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. debian/patches/remove_reference_to_google_web_fonts.diff0000644000000000000000000000066512202517365021100 0ustar Description: Author: Simon Chopin Forwarded: not-needed --- fedmsg-0.6.8+git20130813.1.60346e0.orig/doc/_static/site.css +++ fedmsg-0.6.8+git20130813.1.60346e0/doc/_static/site.css @@ -1,5 +1,4 @@ @import url("cloud.css"); -@import url("http://fonts.googleapis.com/css?family=Comfortaa"); .fedmsg-logo span { background: url("fedmsg.png") no-repeat scroll 0 0 transparent; debian/patches/series0000644000000000000000000000014112212602332012017 0ustar strip_docs.diff default_prefix no-tweet remove_reference_to_google_web_fonts.diff fix_test_paths debian/patches/default_prefix0000644000000000000000000000127312202132110013524 0ustar Description: Put "org.debian" as the default prefix in the conf Author: Simon Chopin Forwarded: not-needed Index: fedmsg-0.6.8+git20130809.1.44ccafe/fedmsg.d/base.py =================================================================== --- fedmsg-0.6.8+git20130809.1.44ccafe.orig/fedmsg.d/base.py 2013-08-12 12:07:29.798710366 +0200 +++ fedmsg-0.6.8+git20130809.1.44ccafe/fedmsg.d/base.py 2013-08-12 12:07:29.798710366 +0200 @@ -22,6 +22,9 @@ # Set to stg or prod if running in the Fedora Infrastructure environment="dev", + # Default prefix is org.fedoraproject + topic_prefix="org.debian", + # Default is 0 high_water_mark=0, io_threads=1, debian/patches/no-tweet0000644000000000000000000000162212202132110012263 0ustar Description: Disable the fedmsg-tweet script generation Its dependencies are not in Debian. Author: Simon Chopin Forwarded: not-needed Index: fedmsg-0.6.8+git20130809.1.44ccafe/setup.py =================================================================== --- fedmsg-0.6.8+git20130809.1.44ccafe.orig/setup.py 2013-08-12 12:07:29.926710364 +0200 +++ fedmsg-0.6.8+git20130809.1.44ccafe/setup.py 2013-08-12 12:07:29.922710364 +0200 @@ -125,7 +125,7 @@ #"fedmsg-config=fedmsg.commands.config:config", "fedmsg-irc=fedmsg.commands.ircbot:ircbot", "fedmsg-collectd=fedmsg.commands.collectd:collectd", - "fedmsg-tweet=fedmsg.commands.tweet:tweet", + #"fedmsg-tweet=fedmsg.commands.tweet:tweet", "fedmsg-announce=fedmsg.commands.announce:announce", "fedmsg-trigger=fedmsg.commands.trigger:trigger", ], debian/patches/fix_test_paths0000644000000000000000000000170712223754601013573 0ustar Description: Fix the paths used in the tests to lookup certificates Author: Simon Chopin Forwarded: not-needed Index: fedmsg-0.7.1/fedmsg/tests/fedmsg-test-config.py =================================================================== --- fedmsg-0.7.1.orig/fedmsg/tests/fedmsg-test-config.py 2013-10-05 11:09:07.980931873 +0200 +++ fedmsg-0.7.1/fedmsg/tests/fedmsg-test-config.py 2013-10-05 11:09:59.641571536 +0200 @@ -23,7 +23,7 @@ import random SEP = os.path.sep -here = os.getcwd() +here = SEP.join((os.getcwd(), 'fedmsg', 'tests')) hostname = socket.gethostname().split('.', 1)[0] ssl_enabled_for_tests = True @@ -74,7 +74,7 @@ # SSL stuff. sign_messages=ssl_enabled_for_tests, validate_signatures=ssl_enabled_for_tests, - ssldir=SEP.join([here, 'dev_certs/keys']), + ssldir=SEP.join([here, 'test_certs/keys']), crl_location="http://threebean.org/fedmsg-tests/crl.pem", crl_cache="/tmp/crl.pem", debian/python-fedmsg-doc.doc-base0000644000000000000000000000037012163056752014123 0ustar Document: fedmsg Title: fedmsg Author: Ralph Bean Abstract: Fedora message passing infrastructure Section: Network/Monitoring Format: HTML Index: /usr/share/doc/python-fedmsg-doc/html/index.html Files: /usr/share/doc/python-fedmsg-doc/html/*.html debian/python-fedmsg.install0000644000000000000000000000005112170246567013350 0ustar etc/ usr/share/fedmsg/ usr/lib/ usr/bin/ debian/compat0000644000000000000000000000000212163056752010373 0ustar 9 debian/watch0000644000000000000000000000011712163056752010225 0ustar version=3 https://pypi.python.org/packages/source/f/fedmsg/fedmsg-(.+).tar.gz debian/source/0000755000000000000000000000000012223756726010502 5ustar debian/source/format0000644000000000000000000000001412163056752011703 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000144212223756716011054 0ustar fedmsg (0.7.1-1) unstable; urgency=low [ Simon Chopin ] * New upstream release * Run the tests at build time + Added a patch to work around a missing symlink for the test certificates [ Nicolas Dandrimont ] * Add myself to uploaders * Drop requirement on python-fabulous -- Nicolas Dandrimont Sat, 05 Oct 2013 11:37:16 +0200 fedmsg (0.6.8+git20130813.1.60346e0-2) unstable; urgency=low * Team upload. * Remove reference to the non-main Google web fonts, recommend the Debian-packaged font instead. -- Nicolas Dandrimont Tue, 13 Aug 2013 23:47:52 +0200 fedmsg (0.6.8+git20130813.1.60346e0-1) unstable; urgency=low * Initial release. (Closes: #705953) -- Simon Chopin Tue, 13 Aug 2013 20:48:02 +0200 debian/rules0000755000000000000000000000273012212602332010241 0ustar #!/usr/bin/make -f UPSTREAM = $(shell dpkg-parsechangelog | egrep '^Version: ' | cut -d ' ' -f 2- | cut -d '-' -f 1) %: dh $@ --with python2,sphinxdoc override_dh_auto_build: dh_auto_build PYTHONPATH=$(CURDIR) sphinx-build doc/ doc/_build/html override_dh_auto_install: dh_auto_install mkdir -p debian/tmp/etc/ cp -r fedmsg.d debian/tmp/etc/ mkdir -p debian/tmp/usr/share/fedmsg/ cp -r extras initsys debian/tmp/usr/share/fedmsg chmod +x debian/tmp/usr/share/fedmsg/initsys/sysv/* rm debian/tmp/usr/lib/python2*/dist-packages/fedmsg*.egg-info/SOURCES.txt override_dh_installman: mkdir -p debian/tmp/manpages set -e; \ for s in $(shell ls debian/tmp/usr/bin); do \ PYTHONPATH="$(shell pwd)" help2man -n "Manpages for the fedmsg suite" --version-string="$(UPSTREAM)" debian/tmp/usr/bin/$$s > debian/tmp/manpages/$$s.1; \ done dh_installman -ppython-fedmsg debian/tmp/manpages/* override_dh_install: dh_install --fail-missing override_dh_auto_clean: dh_auto_clean rm -rf doc/_build/ override_dh_installchangelogs: dh_installchangelogs -k CHANGELOG.rst override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) set -e; \ for py in $(shell pyversions -r); do \ $$py setup.py test ; \ done endif get-orig-source: git clone --bare git://github.com/fedora-infra/fedmsg.git fedmsg-orig.git git --git-dir=fedmsg-orig.git archive $(shell echo $(UPSTREAM) | cut -d + -f 2 | cut -d . -f 3) | gzip > ../fedmsg_$(UPSTREAM).orig.tar.gz rm -rf fedmsg-orig.git debian/clean0000644000000000000000000000002212163056752010174 0ustar fedmsg.egg-info/*