Skip to content
Browse files

Remove unused maintenance scripts

Pycheck doesn't cope with Python 3 and PyGObject, Subversion is not used anymore, screenshot is not
so useful anyway.
  • Loading branch information...
1 parent b6cde40 commit 85e327df06f8fd6e19950e880c4c36399c1c7e3f @multani committed Feb 9, 2013
Showing with 0 additions and 76 deletions.
  1. +0 −7 scripts/pycheck
  2. +0 −26 scripts/pycheck-svndiff
  3. +0 −23 scripts/release.sh
  4. +0 −20 scripts/screenshot.py
View
7 scripts/pycheck
@@ -1,7 +0,0 @@
-#!/bin/bash
-scriptdir=$(dirname "$0")
-[ -z "$scriptdir" ] && scriptdir=$(which "$0")
-files="$scriptdir/../sonata/*.py"
-[ "$#" != 0 ] && files=$*
-pychecker --limit 999999 $files |
- egrep -v "\(_.*\) not used|No global \(_\) found|Imported module \(gettext\) not used"
View
26 scripts/pycheck-svndiff
@@ -1,26 +0,0 @@
-#!/bin/bash
-scriptdir=$(dirname "$0")
-[ -z "$scriptdir" ] && scriptdir=$(which "$0")
-files="sonata/*.py"
-
-function do_pycheck() {
-pychecker --limit 999999 $1 |
- egrep -v "\(_.*\) not used|No global \(_\) found|Imported module \(gettext\) not used"
-}
-
-function setup() {
-src=$1
-dst=$2
-(
-rm -Rf "$dst"
-mkdir -p "$dst/sonata"
-cd "$dst/sonata"
-for f in $src; do
- cp -a "$f" "$(basename "$f" .svn-base)"
-done
-)
-}
-
-setup "../../../sonata/.svn/text-base/*.py.svn-base" "$scriptdir/pycheck-tmp"
-setup "../../../sonata/*.py" "$scriptdir/pycheck-tmp2"
-diff -u <(cd "$scriptdir/pycheck-tmp" && do_pycheck "$files") <(cd "$scriptdir/pycheck-tmp2" && do_pycheck "$files")
View
23 scripts/release.sh
@@ -1,23 +0,0 @@
-#!/bin/bash -e
-
-rev=$1
-version=$2
-
-[ -n "$rev" ]
-[ -n "$version" ]
-
-# Tag the trunk revision as the released version
-
-svn copy -m "release trunk revision $rev as sonata $version" http://svn.berlios.de/svnroot/repos/sonata/trunk/"@$rev" http://svn.berlios.de/svnroot/repos/sonata/tags/$version
-
-# Create archive, removing:
-# - website directory
-
-svn export http://svn.berlios.de/svnroot/repos/sonata/tags/$version sonata-$version
-
-rm -R sonata-$version/website/
-
-tar zcvf sonata-$version.tar.gz sonata-$version
-tar jcf sonata-$version.tar.bz2 sonata-$version
-
-rm -R sonata-$version/
View
20 scripts/screenshot.py
@@ -1,20 +0,0 @@
-#!/usr/bin/env python
-
-from dogtail.procedural import *
-
-def shoot(window, name):
- import os
-
- os.system("import -window \"%s\" -frame %s" % (window, name))
-
-
-# Start sonata
-run('sonata', appName='sonata')
-
-for tab in 'Current', 'Info', 'Library', 'Playlists', 'Streams':
- click(tab)
- shoot("Sonata", "%s-tab.png" % tab)
-
-# XXX take more screenshots
-
-# FIXME how to open the popup and quit?

0 comments on commit 85e327d

Please sign in to comment.
Something went wrong with that request. Please try again.