Bug 181303 - [UPDATE] www/trac-TracDuplicates: Patch for trac 1.0
Summary: [UPDATE] www/trac-TracDuplicates: Patch for trac 1.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-14 19:20 UTC by Hung-Yi Chen
Modified: 2013-08-17 23:30 UTC (History)
1 user (show)

See Also:


Attachments
www_trac-TracDuplicates.diff (1.56 KB, patch)
2013-08-14 19:20 UTC, Hung-Yi Chen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hung-Yi Chen 2013-08-14 19:20:00 UTC
        Add a patch for Trac 1.0 compatibility.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-14 19:20:08 UTC
Maintainer of www/trac-TracDuplicates,

Please note that PR ports/181303 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181303

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-14 19:20:09 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 gslin 2013-08-16 09:00:13 UTC
Thanks, please commit it.

On Wed, Aug 14, 2013 at 06:20:08PM +0000, Edwin Groothuis wrote:
> Maintainer of www/trac-TracDuplicates,
> 
> Please note that PR ports/181303 has just been submitted.
> 
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
> 
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181303
> 
> -- 
> Edwin Groothuis via the GNATS Auto Assign Tool
> edwin@FreeBSD.org

-- 
* Gea-Suan Lin  (public key: Using https://keyserver.pgp.com/ to search)
* If you cannot convince them, confuse them.           -- Harry S Truman
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2013-08-17 03:19:43 UTC
State Changed
From-To: feedback->open

Maintainer approved.
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-08-17 23:22:37 UTC
Author: rakuco
Date: Sat Aug 17 22:22:23 2013
New Revision: 324874
URL: http://svnweb.freebsd.org/changeset/ports/324874

Log:
  Add patch for Trac 1.0 compatibility.
  
  PR:		ports/181303
  Submitted by:	Hung-Yi Chen <gaod@hychen.org>
  Approved by:	Gea-Suan Lin <gslin@gslin.org> (maintainer)

Added:
  head/www/trac-TracDuplicates/files/
  head/www/trac-TracDuplicates/files/patch-tracduplicates_web_ui.py   (contents, props changed)
Modified:
  head/www/trac-TracDuplicates/Makefile

Modified: head/www/trac-TracDuplicates/Makefile
==============================================================================
--- head/www/trac-TracDuplicates/Makefile	Sat Aug 17 22:16:57 2013	(r324873)
+++ head/www/trac-TracDuplicates/Makefile	Sat Aug 17 22:22:23 2013	(r324874)
@@ -3,6 +3,7 @@
 
 PORTNAME=	TracDuplicates
 PORTVERSION=	0.11
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	GH
 PKGNAMEPREFIX=	trac-

Added: head/www/trac-TracDuplicates/files/patch-tracduplicates_web_ui.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/trac-TracDuplicates/files/patch-tracduplicates_web_ui.py	Sat Aug 17 22:22:23 2013	(r324874)
@@ -0,0 +1,20 @@
+--- tracduplicates/web_ui.py.orig	2010-09-26 10:42:18.000000000 +0800
++++ tracduplicates/web_ui.py	2013-08-15 01:23:26.793491000 +0800
+@@ -12,7 +12,7 @@
+     ticket._proxy_old_save = ticket.save_changes
+     ticket.save_changes = self.save_changes
+   
+-  def save_changes(self, author, comment, when=0, db=None, cnum=''):
++  def save_changes(self, author, comment, when=0, db=None, cnum='', replyto=None):
+     dupeticket = Ticket(self._ticket.env, self._dupe_id, db=db)
+     dupeticket.save_changes(
+       author,
+@@ -25,7 +25,7 @@
+     else:
+       comment += "\n\n"
+     comment += "*** Marked duplicate of #%d ***" % self._dupe_id
+-    return self._ticket._proxy_old_save(author, comment, when=when, db=db, cnum=cnum)
++    return self._ticket._proxy_old_save(author, comment, when=when, db=db, cnum=cnum, replyto=replyto)
+ 
+ class DuplicatesWorkflow(Component):
+   implements(ITicketActionController)
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Raphael Kubo da Costa freebsd_committer freebsd_triage 2013-08-17 23:22:43 UTC
State Changed
From-To: open->closed

Committed. Thanks!