[Python-apps-commits] r12039 - in packages/dodgy/trunk (13 files)

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Mon Jun 22 17:43:36 UTC 2015


    Date: Monday, June 22, 2015 @ 17:43:35
  Author: danstender-guest
Revision: 12039

[svn-inject] Applying Debian modifications (0.1.7-1) to trunk

Added:
  packages/dodgy/trunk/debian/
  packages/dodgy/trunk/debian/changelog
  packages/dodgy/trunk/debian/compat
  packages/dodgy/trunk/debian/control
  packages/dodgy/trunk/debian/copyright
  packages/dodgy/trunk/debian/dodgy.txt
  packages/dodgy/trunk/debian/rules
  packages/dodgy/trunk/debian/source/
  packages/dodgy/trunk/debian/source/format
  packages/dodgy/trunk/debian/tests/
  packages/dodgy/trunk/debian/tests/control
  packages/dodgy/trunk/debian/tests/dodgy
  packages/dodgy/trunk/debian/watch


Property changes on: packages/dodgy/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/dodgy/trunk/debian/changelog
===================================================================
--- packages/dodgy/trunk/debian/changelog	                        (rev 0)
+++ packages/dodgy/trunk/debian/changelog	2015-06-22 17:43:35 UTC (rev 12039)
@@ -0,0 +1,5 @@
+dodgy (0.1.7-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #788206).
+
+ -- Daniel Stender <debian at danielstender.com>  Mon, 22 Jun 2015 19:24:26 +0200

Added: packages/dodgy/trunk/debian/compat
===================================================================
--- packages/dodgy/trunk/debian/compat	                        (rev 0)
+++ packages/dodgy/trunk/debian/compat	2015-06-22 17:43:35 UTC (rev 12039)
@@ -0,0 +1 @@
+9

Added: packages/dodgy/trunk/debian/control
===================================================================
--- packages/dodgy/trunk/debian/control	                        (rev 0)
+++ packages/dodgy/trunk/debian/control	2015-06-22 17:43:35 UTC (rev 12039)
@@ -0,0 +1,29 @@
+Source: dodgy
+Section: python
+Priority: optional
+Maintainer: Daniel Stender <debian at danielstender.com>
+Uploaders:
+ Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ pandoc,
+ python,
+ python-nose,
+ python-setuptools,
+ txt2man
+Standards-Version: 3.9.6
+Homepage: https://github.com/landscapeio/dodgy
+X-Python-Version: >= 2.7
+Testsuite: autopkgtest
+
+Package: dodgy
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends}
+Description: searches for dodgy looking lines in Python code 
+ Dodgy is a very basic tool to run against your codebase to search for "dodgy"
+ looking values. It is a series of simple regular expressions designed to detect
+ things such as accidental SCM diff checkins, or passwords or secret keys hard
+ coded into files.
\ No newline at end of file

Added: packages/dodgy/trunk/debian/copyright
===================================================================
--- packages/dodgy/trunk/debian/copyright	                        (rev 0)
+++ packages/dodgy/trunk/debian/copyright	2015-06-22 17:43:35 UTC (rev 12039)
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: dodgy
+Upstream-Contact: Carl Crowder <code at landscape.io>
+Source: https://github.com/landscapeio/dodgy
+
+Files: *
+Copyright: 2013-2015 Carl Crowder
+                     Sergey Arkhipov <serge at aerialsounds.org>
+License: Expat
+
+Files: debian/*
+Copyright: 2015 Daniel Stender <debian at danielstender.com>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Added: packages/dodgy/trunk/debian/dodgy.txt
===================================================================
--- packages/dodgy/trunk/debian/dodgy.txt	                        (rev 0)
+++ packages/dodgy/trunk/debian/dodgy.txt	2015-06-22 17:43:35 UTC (rev 12039)
@@ -0,0 +1,19 @@
+NAME
+  dodgy - searches for dodgy looking lines in Python code
+
+SYNOPSIS
+  dodgy
+  
+DESCRIPTION
+  dodgy checks all modules in ./ for:
+
+  * hard coded Amazon Web Services (AWS) secret access keys
+
+  * hard coded passwords and secret keys
+
+  * hard coded SSH private and public keys
+
+  * accidental SCM diff checkins
+
+AUTHORS
+  dodgy was written by Landscape.io <code at landscape.io>

Added: packages/dodgy/trunk/debian/rules
===================================================================
--- packages/dodgy/trunk/debian/rules	                        (rev 0)
+++ packages/dodgy/trunk/debian/rules	2015-06-22 17:43:35 UTC (rev 12039)
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#export DEB_BUILD_OPTIONS=nocheck
+export PYBUILD_NAME=dodgy
+
+VERSION := $(shell dpkg-parsechangelog -Sversion | cut -d- -f1)
+DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +"%F" -f -)
+
+%:
+	dh $@ --with python2 --buildsystem=pybuild
+
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m nose -v" dh_auto_test
+
+override_dh_installdocs:
+	pandoc -t plain -o .pybuild/README README.md
+	dh_installdocs .pybuild/README
+
+override_dh_installman:
+	txt2man -s 1 -v "dodgy" -t "dodgy" -r "$(VERSION)" -d "$(DEBDATE)" debian/dodgy.txt > .pybuild/dodgy.1
+	dh_installman .pybuild/dodgy.1


Property changes on: packages/dodgy/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/dodgy/trunk/debian/source/format
===================================================================
--- packages/dodgy/trunk/debian/source/format	                        (rev 0)
+++ packages/dodgy/trunk/debian/source/format	2015-06-22 17:43:35 UTC (rev 12039)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/dodgy/trunk/debian/tests/control
===================================================================
--- packages/dodgy/trunk/debian/tests/control	                        (rev 0)
+++ packages/dodgy/trunk/debian/tests/control	2015-06-22 17:43:35 UTC (rev 12039)
@@ -0,0 +1,2 @@
+Tests: dodgy
+Depends: python-all, python-nose
\ No newline at end of file

Added: packages/dodgy/trunk/debian/tests/dodgy
===================================================================
--- packages/dodgy/trunk/debian/tests/dodgy	                        (rev 0)
+++ packages/dodgy/trunk/debian/tests/dodgy	2015-06-22 17:43:35 UTC (rev 12039)
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+pyversions -i | tr ' ' '\n' | xargs -I {} env {} -Wd -m nose --verbose 2>&1
\ No newline at end of file


Property changes on: packages/dodgy/trunk/debian/tests/dodgy
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/dodgy/trunk/debian/watch
===================================================================
--- packages/dodgy/trunk/debian/watch	                        (rev 0)
+++ packages/dodgy/trunk/debian/watch	2015-06-22 17:43:35 UTC (rev 12039)
@@ -0,0 +1,4 @@
+version=3
+opts=filenamemangle=s/(?:.*\/)?(\d[\d\.]+)\.tar\.gz/dodgy-$1.tar.gz/ \
+https://github.com/landscapeio/dodgy/releases (?:.*/)?(\d[\d\.]+)\.tar\.gz
+# better than Pypi tarball, ships with tests




More information about the Python-apps-commits mailing list