Merge lp:~lderan/ubuntu-bots/meeetingology-output into lp:~ubuntu-bots/ubuntu-bots/meetingology

Proposed by Thomas Molloy
Status: Superseded
Proposed branch: lp:~lderan/ubuntu-bots/meeetingology-output
Merge into: lp:~ubuntu-bots/ubuntu-bots/meetingology
Diff against target: 48 lines (+6/-5)
2 files modified
meeting.py (+2/-2)
writers.py (+4/-3)
To merge this branch: bzr merge lp:~lderan/ubuntu-bots/meeetingology-output
Reviewer Review Type Date Requested Status
Alan Bell Pending
Review via email: mp+210693@code.launchpad.net

This proposal supersedes a proposal from 2014-02-08.

This proposal has been superseded by a proposal from 2014-04-15.

Description of the change

fix for the moinmoin output & DONE items

To post a comment you must log in.
Revision history for this message
Alan Bell (alanbell) wrote : Posted in a previous version of this proposal

fix typo

review: Approve
21. By Alan Bell

accpeting merge

22. By Thomas Molloy

DONE items for MoinMoin outputs now show up as DONE instead of ACTION

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'meeting.py'
--- meeting.py 2014-02-07 17:30:02 +0000
+++ meeting.py 2014-04-15 19:06:02 +0000
@@ -574,10 +574,10 @@
574 commands = ["action", "info", "idea", "nick", "link", "commands"]574 commands = ["action", "info", "idea", "nick", "link", "commands"]
575 commands.sort()575 commands.sort()
576 self.reply("Available commands: "+(" ".join(commands)))576 self.reply("Available commands: "+(" ".join(commands)))
577 def do_done(self, nick, **kwargs):577 def do_done(self, nick, line, **kwargs):
578 """Add aggreement to the minutes - chairs only."""578 """Add aggreement to the minutes - chairs only."""
579 if not self.isChair(nick): return579 if not self.isChair(nick): return
580 m = items.Done(**kwargs)580 m = items.Done(nick=nick, line=line, **kwargs)
581 self.additem(m)581 self.additem(m)
582582
583583
584584
=== modified file 'writers.py'
--- writers.py 2014-02-08 12:05:30 +0000
+++ writers.py 2014-04-15 19:06:02 +0000
@@ -1213,7 +1213,6 @@
1213 M = self.M1213 M = self.M
1214 # Votes1214 # Votes
1215 Votes = [ ]1215 Votes = [ ]
1216 Votes.append(self.heading('Vote results'))
1217 # reversed to show the oldest first1216 # reversed to show the oldest first
1218 if len(M.votes) > 0:1217 if len(M.votes) > 0:
1219 for m in M.votes:1218 for m in M.votes:
@@ -1227,7 +1226,9 @@
1227 Votes.insert(0, " * Voters " + publicVoters)1226 Votes.insert(0, " * Voters " + publicVoters)
1228 Votes.insert(0," * " + motion + " (For/Against/Abstained "+str(M.votes[m][0])+"/"+str(M.votes[m][2])+"/"+str(M.votes[m][1]) + ")")1227 Votes.insert(0," * " + motion + " (For/Against/Abstained "+str(M.votes[m][0])+"/"+str(M.votes[m][2])+"/"+str(M.votes[m][1]) + ")")
1229 # differentiate denied votes somehow, strikethrough perhaps?1228 # differentiate denied votes somehow, strikethrough perhaps?
1230 Votes.insert(0," * [[%(fullLogsFullURL)s#"+str(M.votes[m][3])+" "+m+"]]")1229 voteLink = "%(fullLogsFullURL)s"%self.replacements()
1230 Votes.insert(0, " * [["+voteLink+"#"+str(M.votes[m][3])+" "+m+"]]")
1231 Votes.insert(0, self.heading('Vote results'))
1231 Votes = "\n".join(Votes) 1232 Votes = "\n".join(Votes)
1232 return Votes1233 return Votes
12331234
@@ -1336,7 +1337,7 @@
1336 body = [ ]1337 body = [ ]
1337 body.append(self.body_start%repl)1338 body.append(self.body_start%repl)
1338 body.append(self.meetingItems())1339 body.append(self.meetingItems())
1339 body.append(self.votes()%repl)1340 body.append(self.votes())
1340 body.append(self.actionItemsPerson())1341 body.append(self.actionItemsPerson())
1341 body.append(self.doneItems())1342 body.append(self.doneItems())
1342 body.append(self.peoplePresent())1343 body.append(self.peoplePresent())

Subscribers

People subscribed via source and target branches