• TOPP Talks discussion

  • oh yeah. IRC

    from cdwinslow on Apr 07, 2008 12:13 PM
    We have an IRC channel now.  It's #topp-talks on freenode.  Just sending a 
    separate email to help out those of you who use the search function in their 
    mail clients.
    
    -d
    
    Thread Outline:
  • Trac talk: the aftermath

    from mchua on Apr 11, 2008 07:45 PM
    Yo! So we've got Trac Hackers in the office now, huzzah!
    
    The plugin made/discussed during tutorial is up here:
    http://trac-hacks.org/wiki/TracBacksPlugin
    Mad props and thanks to Josh, Tim, Doug, Jeff, and everyone else who's 
    made it look and work *way* better since the tutorial stub I posted. I 
    love open-source!
    
    And slides are here (go halfway down for transcript), but I'll try to 
    write them into a better tutorial, likely this weekend-ish. 
    https://svn.openplans.org/svn/topp-talks/trac/trac-talk-slides.pdf 
    Suggestions for improvements are quite welcome; I know I rambled on a 
    lot today and things could have Been Better.
    
    Also, we have a trac component in the openplans trac (way to be meta!) 
    Behold the long URL of things that we... can maybe fix now that we have 
    mad trac hacking skillz.
    
    http://trac.openplans.org/openplans/query?status=new&status=assigned&status=reopened&component=trac&order=priority
    
    In particular, Ethan wants some stuff:
    http://trac.openplans.org/openplans/ticket/927
    
    Design team, I'm also curious about what kind of things you're using 
    Trac for, and how it can be better tweaked to suit your needs. (Add 
    plugin requests and tweaks to the trac component in openplans trac, 
    unless there is a better place to put 'em.)
    
    Also, #trac - on freenode, coderanger (Noah) is The Plugin Ninja and a 
    fellow OLPCer who was in Boston with me last summer. Contribute plugins 
    to trac-hacks.org for massive upstream contributing goodness to 
    open-source projects that we love and all that good karma relationship 
    buildin' and the like.
    
    Love,
    
    -Mel
    
    • Re: Trac talk: the aftermath

      from magicbronson on Apr 11, 2008 08:41 PM
      w00t! Thanks again Mel for the awesome Trac info, and for all the general
      awesomeness over the course of your all-too-brief stint at TOPP!
      
      On Fri, Apr 11, 2008 at 7:45 PM, Mel Chua <mel@...> wrote:
      
      > Yo! So we've got Trac Hackers in the office now, huzzah!
      >
      > The plugin made/discussed during tutorial is up here:
      > http://trac-hacks.org/wiki/TracBacksPlugin
      > Mad props and thanks to Josh, Tim, Doug, Jeff, and everyone else who's
      > made it look and work *way* better since the tutorial stub I posted. I love
      > open-source!
      
      
      I just made an account on trac-hacks.org, checked out
      http://trac-hacks.org/svn/tracbacksplugin/0.11 and tried to commit the diff
      below (with the attached commit message), but got 403 forbidden. :(  I
      googled for "svn commit access trac-hacks.org" but nothing came up. shmer?
      
      >
      >
      > And slides are here (go halfway down for transcript), but I'll try to
      > write them into a better tutorial, likely this weekend-ish.
      > https://svn.openplans.org/svn/topp-talks/trac/trac-talk-slides.pdfSuggestions for improvements are quite welcome; I know I rambled on a lot
      > today and things could have Been Better.
      >
      > Also, we have a trac component in the openplans trac (way to be meta!)
      > Behold the long URL of things that we... can maybe fix now that we have mad
      > trac hacking skillz.
      >
      >
      > http://trac.openplans.org/openplans/query?status=new&status=assigned&status=reopened&component=trac&order=priority
      >
      > In particular, Ethan wants some stuff:
      > http://trac.openplans.org/openplans/ticket/927
      >
      > Design team, I'm also curious about what kind of things you're using Trac
      > for, and how it can be better tweaked to suit your needs. (Add plugin
      > requests and tweaks to the trac component in openplans trac, unless there is
      > a better place to put 'em.)
      >
      > Also, #trac - on freenode, coderanger (Noah) is The Plugin Ninja and a
      > fellow OLPCer who was in Boston with me last summer. Contribute plugins to
      > trac-hacks.org for massive upstream contributing goodness to open-source
      > projects that we love and all that good karma relationship buildin' and the
      > like.
      >
      > Love,
      >
      > -Mel
      
      
      
      Index: tracbacks/tracbacks.py
      ===================================================================
      --- tracbacks/tracbacks.py (revision 3498)
      +++ tracbacks/tracbacks.py (working copy)
      @@ -20,7 +20,7 @@
       """
       TracBacks Plugin
       author: Mel Chua <mchua@...>
      -version: 0.1
      +version: 0.11
      
       Detects when a ticket A is referenced in another ticket B and adds
       a comment "TracBack: #B" to ticket A.
      @@ -65,14 +65,14 @@
               tickets_referenced.discard(ticket.id)
      
               # put trackbacks on the tickets that we found
      -        trackback_preface = "Trackback: #"
      -        if trackback_preface not in comment: # prevent infinite recursion
      +        trackback_prefix = "Trackback: #"
      +        if trackback_prefix not in comment: # prevent infinite recursion
                   for ticket_to_trackback in tickets_referenced:
                       try:
                           t = Ticket(self.env, ticket_to_trackback)
                       except ResourceNotFound: # referenced ticket does not exist
                           continue
      -                trackback_string = trackback_preface + str(ticket.id)
      +                trackback_string = trackback_prefix + str(ticket.id)
                       t.save_changes(author, trackback_string)
      
           def ticket_deleted(self, ticket):
      
      
      • Re: Trac talk: the aftermath

        from mchua on Apr 12, 2008 03:00 AM
        > I just made an account on trac-hacks.org <http://trac-hacks.org>, 
        > checked out http://trac-hacks.org/svn/tracbacksplugin/0.11 and tried 
        > to commit the diff below (with the attached commit message), but got 
        > 403 forbidden. :(  I googled for "svn commit access trac-hacks.org 
        > <http://trac-hacks.org>" but nothing came up. shmer? 
        
        Whoops - sorry, folks. For future reference, to get commit access to a 
        trac-hacks-hosted* plugin, you need to
        
        1. make an account on trac-hacks.org
        2. get the owner of the project (for TracBacks, that is me; Tim also has 
        his own plugin now, etc.) to get on IRC and ask either coderanger or aak 
        to manually add additional committers to that plugin, by username.
        3. commit
        4. profit
        
        I would encourage everyone (again, I know, you're getting sick of this) 
        to put their Trac stuff directly into the Trac community's resource pool 
        - #trac, trac.edgewall.org, trac-hacks.org - for good karma and 
        hopefully reciprocity later on.
        
        I will be writing some devel docs for them on behalf of TOPP within the 
        next 5 days (since they're "my presentation at lunch, in more coherent 
        tutorial-like walkthrough format, with better diagrams"). This is 
        something that coderanger said is sorely needed, so... between that and 
        Tim asking some great questions on the channel tonight about his (new!) 
        plugin, I think we could get a lot of love from the Trac community 
        within a week or two if TOPPers commit a few solid bugfixes and some 
        useful plugins, and that's a connection that would stand us in good 
        stead (imo) and also give us another view of how another project creates 
        useful resources and support structures and generally makes it easy for 
        new devs to contribute *coughopenplanscomponentsdevcentercough*[1]
        
        Is there an appropriate place to place notes on TOPP development in 
        upstream projects?
        
        -Mel
        
        [1] which I'm planning to continue work on even as a not-intern because 
        I think It's Really Useful, but that's another email after I get 
        *coughcough* server space.
        
    • Re: Trac talk: the aftermath

      from k0s on Apr 12, 2008 04:09 PM
      On Fri, April 11, 2008 19:45, Mel Chua wrote:
      > Yo! So we've got Trac Hackers in the office now, huzzah!
      >
      >
      > The plugin made/discussed during tutorial is up here:
      > http://trac-hacks.org/wiki/TracBacksPlugin
      > Mad props and thanks to Josh, Tim, Doug, Jeff, and everyone else who's
      > made it look and work *way* better since the tutorial stub I posted. I love
      > open-source!
      >
      > And slides are here (go halfway down for transcript), but I'll try to
      > write them into a better tutorial, likely this weekend-ish.
      > https://svn.openplans.org/svn/topp-talks/trac/trac-talk-slides.pdf
      > Suggestions for improvements are quite welcome; I know I rambled on a
      > lot today and things could have Been Better.
      
      Not at all;  Thanks for giving an awesome talk and introducing how simple
      developing trac plugins can be.
      
      > Also, we have a trac component in the openplans trac (way to be meta!)
      > Behold the long URL of things that we... can maybe fix now that we have
      > mad trac hacking skillz.
      >
      > http://trac.openplans.org/openplans/query?status=new&status=assigned&stat
      > us=reopened&component=trac&order=priority
      >
      > In particular, Ethan wants some stuff:
      > http://trac.openplans.org/openplans/ticket/927
      >
      >
      > Design team, I'm also curious about what kind of things you're using
      > Trac for, and how it can be better tweaked to suit your needs. (Add
      > plugin requests and tweaks to the trac component in openplans trac, unless
      > there is a better place to put 'em.)
      >
      > Also, #trac - on freenode, coderanger (Noah) is The Plugin Ninja and a
      > fellow OLPCer who was in Boston with me last summer. Contribute plugins to
      > trac-hacks.org for massive upstream contributing goodness to open-source
      > projects that we love and all that good karma relationship buildin' and
      > the like.
      >
      > Love,
      >
      >
      > -Mel
      
      I have talked to coderanger a few times on irc and found him to be quite
      knowledgable and also (looking at his code) a good programmer.  So yeah,
      if you have a question thats not documented anywhere especially on one of
      his plugins, he's a good person to ask.  Didn't know he was involved in
      OLPC.
      
      Jeff
      
      > --
      > Archive:
      > http://www.openplans.org/projects/topp-talks/lists/topp-talks-discussion/
      > archive/2008/04/1207957500737 To unsubscribe send an email with subject
      > unsubscribe to topp-talks-discussion@....  Please contact
      > topp-talks-discussion-manager@... for questions.
      >
      >
      > !DSPAM:4014,47fff854304061849620573!
      >
      >
      >