From 1a4f875e04401f7c3dbb100126cfe2626017bfec Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 12 Jul 2010 06:05:40 +0000 Subject: [PATCH 1/1] fixed reporting of source missing warnings git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4500 57a73879-2fb5-44c3-a270-3262357dd7e2 --- CHANGES.txt | 10 ++++++++++ doc/announcement.txt | 1 + roundup/dist/command/build.py | 8 +++----- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 1a583d3..9a681fd 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,9 +1,17 @@ This file contains the changes to the Roundup system over time. The entries are given with the most recent entry first. +2010-??-?? 1.4.16 + +Fixed: + +- fixed reporting of source missing warnings + + 2010-07-12 1.4.15 Fixed: + - A bunch of regressions were introduced in the last release making Roundup no longer work in Python releases prior to 2.6 - make URL detection a little smarter about brackets per issue2550657 @@ -13,9 +21,11 @@ Fixed: 2010-07-01 1.4.14 Features: + - Preparations for getting 2to3 work, not completed yet. (Richard Jones) Fixed: + - User input not escaped when a bad template name is supplied (thanks Benjamin Pollack) - The email for the first message on an issue was having its In-Reply-To diff --git a/doc/announcement.txt b/doc/announcement.txt index 52ef202..1a371d8 100644 --- a/doc/announcement.txt +++ b/doc/announcement.txt @@ -2,6 +2,7 @@ I'm proud to release version 1.4.15 of Roundup which mostly fixes some regressions in the last release: Fixed: + - A bunch of regressions were introduced in the last release making Roundup no longer work in Python releases prior to 2.6 - make URL detection a little smarter about brackets per issue2550657 diff --git a/roundup/dist/command/build.py b/roundup/dist/command/build.py index 9337aa8..0fca2ce 100644 --- a/roundup/dist/command/build.py +++ b/roundup/dist/command/build.py @@ -32,12 +32,10 @@ def check_manifest(): manifest = [l.strip() for l in f.readlines()] finally: f.close() - err = [line for line in manifest if not os.path.exists(line)] - err.sort() + err = set([line for line in manifest if not os.path.exists(line)]) # ignore auto-generated files - if err == ['roundup-admin', 'roundup-demo', 'roundup-gettext', - 'roundup-mailgw', 'roundup-server']: - err = [] + err = err - set(['roundup-admin', 'roundup-demo', 'roundup-gettext', + 'roundup-mailgw', 'roundup-server', 'roundup-xmlrpc-server']) if err: n = len(manifest) print '\n*** SOURCE WARNING: There are files missing (%d/%d found)!'%( -- 2.30.2