From owner-cvs-all@FreeBSD.ORG Sun Oct 10 13:10:59 2010 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D63B1065670; Sun, 10 Oct 2010 13:10:59 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7A9E08FC19; Sun, 10 Oct 2010 13:10:58 +0000 (UTC) Received: by wyb36 with SMTP id 36so40555wyb.13 for ; Sun, 10 Oct 2010 06:10:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=yMQwxibN4ZugBPQmrX5g2rL3+xUAFFqU0txPML6Qpvs=; b=aQPZ2Nt8yUfTSqFLVrkoIhUlYPHbMxwhq+oDI24jfrtBVAdprgAnCpr43iXmtd5fFy yvngvvbqske9jOquIhzG5L8c6NYol44qbZW7YhQEak0YMGSklf01GxZ0OJ2FlIP4xXzp oju9g1a6uL9joNlX8t/01ZdsI9rZpGe72yV+s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=omSFv7gyZpMe6pHRztyZqpqpWnFnCVcXuhz5hbnxeSVMhXlsPn+tPDZBqEl8pG0cw3 gML1RYPGYnnB07pbh4Lkfmh/I/c3a2GmRBsQPWOgtrykPmHjuQDWTL3baWoPTeAYFxDm g16MhY9watnXjf97D+SfAtSLzH1HMEDJBNSCY= Received: by 10.227.151.70 with SMTP id b6mr4765861wbw.6.1286716257065; Sun, 10 Oct 2010 06:10:57 -0700 (PDT) Received: from localhost (tor-exit-proxy5-readme.formlessnetworking.net [208.53.142.41]) by mx.google.com with ESMTPS id y80sm973839weq.27.2010.10.10.06.10.53 (version=SSLv3 cipher=RC4-MD5); Sun, 10 Oct 2010 06:10:55 -0700 (PDT) From: Anonymous To: "Philip M. Gollucci" References: <201010100436.o9A4acqd085200__48742.1699952849$1286685426$gmane$org@repoman.freebsd.org> <86hbgupbe6.fsf__18482.6968391009$1286708245$gmane$org@gmail.com> Date: Sun, 10 Oct 2010 17:09:17 +0400 In-Reply-To: <86hbgupbe6.fsf__18482.6968391009$1286708245$gmane$org@gmail.com> (Anonymous's message of "Sun, 10 Oct 2010 14:53:05 +0400") Message-ID: <86vd5ambya.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/www/py-rssdler Makefile ports/www/py-rssdler/files patch-rssdler.py X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Oct 2010 13:10:59 -0000 Anonymous writes: > "Philip M. Gollucci" writes: > >> pgollucci 2010-10-10 04:36:38 UTC >> >> FreeBSD ports repository >> >> Modified files: >> www/py-rssdler Makefile >> Added files: >> www/py-rssdler/files patch-rssdler.py >> Log: [...] > Other patches in PATCHDIR are split according to functions they touch as > well as contain svn revision number in their comments. It's this way because - all patches can be applied separately - the port has only one functional file, excluding wrapper in bin/ > Please, back out and commit patches with consistent names and without > regenerating them for the sake of useless timestamps. Well, this can be done in one step with below commit log - clear pidfile after runOnce as well - use consistent patch filenames (cosmetic) - generate patches with `svn diff -x -p' (cosmetic) PR: ports/151339 %% Index: www/py-rssdler/Makefile =================================================================== RCS file: /a/.cvsup/ports/www/py-rssdler/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- www/py-rssdler/Makefile 10 Oct 2010 04:36:38 -0000 1.3 +++ www/py-rssdler/Makefile 10 Oct 2010 12:54:55 -0000 @@ -7,7 +7,7 @@ PORTNAME= rssdler PORTVERSION= 0.4.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www python MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Index: www/py-rssdler/files/patch-_main =================================================================== RCS file: www/py-rssdler/files/patch-_main diff -N www/py-rssdler/files/patch-_main --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ www/py-rssdler/files/patch-_main 10 Oct 2010 12:56:34 -0000 @@ -0,0 +1,12 @@ +Index: rssdler.py +=================================================================== +--- rssdler.py (revision 169) ++++ rssdler.py (working copy) +@@ -2180,6 +2180,7 @@ def _main(arglist): + elif param == "--purge-saved": _action = 'purge-saved' + elif param == "--comment-config": _action = 'comment-config' + signal.signal(signal.SIGINT, signalHandler) ++ signal.signal(signal.SIGTERM, signalHandler) + sys.excepthook = setDebug #this is NOT supposed to be called! + if _action == 'comment-config': + print(commentConfig) Index: www/py-rssdler/files/patch-main =================================================================== RCS file: www/py-rssdler/files/patch-main diff -N www/py-rssdler/files/patch-main --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ www/py-rssdler/files/patch-main 10 Oct 2010 12:56:19 -0000 @@ -0,0 +1,14 @@ +Index: rssdler.py +=================================================================== +--- rssdler.py (revision 169) ++++ rssdler.py (working copy) +@@ -2085,6 +2085,9 @@ def main( ): + raise + if _runOnce: + logging.info( u"[Complete] %s" % time.asctime() ) ++ try: codecs.open(os.path.join(getConfig()['global']['workingDir'], ++ getConfig()['global']['daemonInfo']), 'w', 'utf-8').write('') ++ except IOError, m: pass + break + logging.info( u"[Sleeping] %s" % time.asctime() ) + checkSleep( getConfig()['global']['scanMins'] * 60 ) Index: www/py-rssdler/files/patch-rssdler.py =================================================================== RCS file: www/py-rssdler/files/patch-rssdler.py diff -N www/py-rssdler/files/patch-rssdler.py --- www/py-rssdler/files/patch-rssdler.py 10 Oct 2010 04:36:38 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,10 +0,0 @@ ---- ./rssdler.py.orig 2010-10-10 03:58:44.112133159 +0000 -+++ ./rssdler.py 2010-10-10 03:59:10.937002223 +0000 -@@ -2180,6 +2180,7 @@ - elif param == "--purge-saved": _action = 'purge-saved' - elif param == "--comment-config": _action = 'comment-config' - signal.signal(signal.SIGINT, signalHandler) -+ signal.signal(signal.SIGTERM, signalHandler) - sys.excepthook = setDebug #this is NOT supposed to be called! - if _action == 'comment-config': - print(commentConfig) %%