collective.plone3bugfixes

28 messages Options
Embed this post
Permalink
1 2
Martin Aspeli

Re: collective.plone3bugfixes

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jim Nelson
Hi Jim,

>> I guess it depends on what kind of a company you work for. :)
>>
>> I do see how it can be a problem in some cases, of course, which is
>> unfortunate. But then the issue under discussion here is kind of moot:
>> you can't submit a patch and ask someone else to commit it either. :)
>>
>
> Doesn't that invalidate the work done in the tune-up days?

I was making a specific point about bugs fixed during customer
projects. If your customer won't let you commit patches yourself, they
won't let you submit a patch to a tracker either. The issue is
copyright, not the use of Subversion vs. Trac. :)

> If only core
> contributors can commit, and cannot commit work from anyone else, then there
> are a whole raft of problems that simply cannot be fixed, unless we get a
> lot of core developers with time on their hands who can clean-room
> reimplement the patch submitted by someone who doesn't have that same
> agreement.

I think you're missing the point. What is a "core" developer? It's
just someone who's signed a contributor agreement and can use "svn ci"
on a repository that starts with svn.plone.org/svn/plone. If everyone
who intends to go to more than one Tune-Up spent the first time
filling in a contributor agreement, checking out plonenext and
learning how to write a changelog entry and a test with their bug
fixes, then they'd be empowered to just fix things the next time
around.

Why should a smaller number of individuals become a bottleneck? It
doesn't make any sense. There is no "us" and "them". If you're
interested in working on Plone, then you should have a signed
contributor agreement, and you should be checking in code when you
have something worthwhile to check in.

> That seems a rather high bar.

I think you're assuming there's a bar between "core" and "not" which
just doesn't exist. I would trust you not to deliberately do something
stupid, and if you did it by accident, your change would just be
reverted or, hopefully, adjusted as necessary.

> Maybe there should be an exception for patches of five lines or less? Some
> kind of streamlined "I fixed this typo - don't put a pile of process in
> front of me" system?

What process? Yes, you need to sign the agreement. Otherwise we have
an intellectual property issue. But we're all adults and we know how
to fill in a one-page form. If you're a user of Plone and have the
capacity and ability to contribute, then you can navigate that one
little bit of process. Go grab a bug and fix it.

There's a slightly different issue around people who need a bit of
handholding because they don't know how to fix something. Tune-up days
also serve to mentor people. Think of it as free training. But that's
different.

> Speaking as someone who spends some time doing Plone coding, but also does
> enough other things that taking the implied commitment of signing a
> contributor agreement just to fix a few quick bugs in my spare time just
> doesn't feel... right.

Sorry, but that's rubbish. If you do your taxes, buy home insurance,
or sign up for a mobile phone contract, then you know how to put your
signature on a piece of paper and scan, fax or post it. Even if it
turned out you never actually got around to committing a line of code,
it's a tiny bit of personal admin that enables you to much more
effectively contribute to a community from which you probably benefit
quite a bit.

Martin

------------------------------------------------------------------------------
_______________________________________________
Plone-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-developers
Patrick Gerken

Re: collective.plone3bugfixes

Reply Threaded More More options
Print post
Permalink
In reply to this post by Hanno Schlichting-4
On Tue, Jun 30, 2009 at 23:31, Hanno Schlichting<[hidden email]> wrote:

> On Tue, Jun 30, 2009 at 10:58 PM, Wichert Akkerman<[hidden email]> wrote:
>> I'm not sure if we have any process for managing tickets. I know that I
>> at least only look at tickets if they are explicitly assigned to me and
>> I get an email for them, and I suspect that holds for many others as well.
>
> We don't really have a process anymore. Me and Alexander used to watch
> the incoming tickets and provide some initial filtering and assign to
> people / components that would fit. Neither of us has done that on a
> regular basis anymore for a while, so essentially anything that goes
> into the tracker is not looked at at all.
>
> Only once Gabrielle tries to find tickets suitable for a Tune-Up day,
> someone will actually look at tickets. I doubt she has the time to do
> much to any classification or actual feedback at that point, though.
>
> So if people currently rely on mails to get sent to them, that will
> actually never happen.
>
> I know that I'm personally not able to follow-up on all the tickets in
> the tracker anymore and am a bit tired of the "squash-300-bugs" in a
> weekend approach, I used to do once in a while. It's not a very
> entertaining and certainly not sustainable approach.
>
> So ideas on reorganizing the bug trackers are welcome as usual ;)

Assuming I am willing to subscribe to the plone-tickets mailing list
to react on new tickets, what is the expected workflow?

I would guess, I first check if this is a valid ticket, maybe asking
the ticket creator a question. If I am really lucky I can try to write
a fix, or at least write a test case.

If I cant fix it, I would look in trac who has modified the relevant
source lately and assign the tickets to them.

If he has no idea/time/interest in the ticket, I'll try to find
somebody else. What happens if I find nobody?

Patrick

------------------------------------------------------------------------------
_______________________________________________
Plone-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-developers
Jim Nelson

Re: collective.plone3bugfixes

Reply Threaded More More options
Print post
Permalink
In reply to this post by Martin Aspeli
Martin Aspeli wrote:

> Jim Nelson wrote:
>
>> As someone who primarily does bug fixes, it's really, really hard to get the
>> attention of a core developer to push a one-line patch into Plone core.  There
>> are several QA'd and ready to apply patches from the last tune-up that haven't
>> been cleared yet - and that has been the problem for some time.
>
> In general, we should never be waiting for anyone to "approve" bug
> fixes. Get the contributor agreement signed, and commit the fix. People
> *do* watch the checkin list and will revert anything that's obviously
> bad. 9 times out of 10, the fix won't be bad and having it in will be
> way better than waiting.
>
> Don't let other people become a bottleneck. And don't fall into the trap
> of dropping responsibility on no-one in particular. As wiggy once said
> "You assigned the body to the 'somebody' user. He tends not to do too much".
>
> I've got a patch sitting in my inbox that I know is safe to commit, and
> I've left it there for two days now. Yes, it's a simple thing to do, but
> my Plone to-do list is basically endless and prioritising is sometimes hard.
>

All right, in the interests of becoming part of the solution, I'm getting my
boss to get this set up.  We're reviewing it right now, and should have it
mailed off this week.

Now, in the case of someone who doesn't have commit rights, and submits one of
those patches, how would that be handled? The patch submitter still maintains
rights to that code, so it can't just be committed by anyone.  How would that be
handled?

------------------------------------------------------------------------------
_______________________________________________
Plone-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-developers
Martin Aspeli

Re: collective.plone3bugfixes

Reply Threaded More More options
Print post
Permalink
Jim Nelson wrote:

> All right, in the interests of becoming part of the solution, I'm getting my
> boss to get this set up.  We're reviewing it right now, and should have it
> mailed off this week.

Awesome! :)

> Now, in the case of someone who doesn't have commit rights, and submits one of
> those patches, how would that be handled? The patch submitter still maintains
> rights to that code, so it can't just be committed by anyone.  How would that be
> handled?

I think anyone with commit rights can commit it, on the assumption that
the original maintainer intended to contribute it. The contributor
agreement is there to protect Plone, not to create agony and obstacles.

Martin

--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book


------------------------------------------------------------------------------
_______________________________________________
Plone-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-developers
Matthew Wilkes

Re: collective.plone3bugfixes

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jim Nelson

On 1 Jul 2009, at 14:27, Jim Nelson wrote:

> The patch submitter still maintains
> rights to that code, so it can't just be committed by anyone.  How  
> would that be
> handled?

This is the thing that worries me about committing other people's  
patches. I always ask them if they're willing to put it in the public  
domain before I commit it.  I think that's enough, but I would love a  
real, legal position from the foundation's advisors.

I reckon that will boil down to a notice in trac saying any patches  
submitted are considered to become the property of the plone  
foundation, and by submitting them you assert you have the right to  
assign copyright.

Matt

------------------------------------------------------------------------------
_______________________________________________
Plone-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-developers
Yuri-11

Re: collective.plone3bugfixes

Reply Threaded More More options
Print post
Permalink
In reply to this post by Hanno Schlichting-4
Hanno Schlichting ha scritto:

> On Tue, Jun 30, 2009 at 6:01 PM, Jon Stahl<[hidden email]> wrote:
>  
>> Just to clear, I'm not talking about fixing bugs (Tune-up Days rock, and we can always use more hands on deck), I'm talking about a missing process for reviewing and committing real *patches* from non-core devs.
>>
>> In other projects, that seems to be an important step before becoming a core committer.
>>    
>
> Well, we don't have a separate "contribute patch" process at all and
> never had. We always treated that as a form of bug+patch contribution.
>
> One of the reasons other projects do special-case this, is to build up
> some form of "merit" that is required to get contributer access in the
> first place.
>
> We on the other hand just rely on the hurdle of motivation (I want to
> be a contributer) and process knowledge (how the hell does this work -
> ah I need to sent a fax/letter to Toby with that signed document) to
> restrict contributions to Plone itself. That process has so far served
> us well, as far as I can tell. The number of times we had to revert
> changes made by someone in any of the repositories is very low. The
> success of the collective as the "default place" to put your code and
> share is a huge success from my point of view.
>  

I agree, collective.plone3bugfixes does exactly this, puts the patches
somewhere so people can pick them up when needed :)

------------------------------------------------------------------------------
_______________________________________________
Plone-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-developers
Daniel Kraft-5

Re: collective.plone3bugfixes

Reply Threaded More More options
Print post
Permalink
In reply to this post by Darryl Dixon - Winterhouse Consulting-2
Andreas,

thanks for the long explanation and I'm really thankful for how
detailled you describe the kinds of plone developers, because I wouldn't
have been able to do so ;)

[...]

> If the question is 'how do we turn (3a) and (4) into core contributors?'
> then the first suggestion I would offer is simply that the mere existence
> of bugreports + patch attempts, no matter how poor, are the signal that
> someone is *ready* to *potentially* become a core contributor, and
> therefore that these efforts should be *actively sought out* and
> *encouraged* so that they will develop further. I took the liberty of
> searching for tickets created by one of the authors of the plone3bugfixes
> product. It seems he submitted a bugreport/feature request along with a
> tentative patch some 18 months ago. It is languishing, because his patch
> wasn't a "working patch" so that ball was punted back into his court to
> action. I guess if it Worked For Him, then at that point flat-out
> rejection was enough to kill that nascent motivation dead.

Not really. As I understood, the fix was not good enough, what I really
do understand. But I haven't been able to provide a better fix, as I
don't know enough about the underlying structure [1].

But this single bugreport didn't demotivate me. As a non-code developer,
all I can do is provide bugreports, maybe with a included testcase and a
patch. I did that and I tried to discuss things with very little success
[2] [3] [4].

Sure, I had success sometimes, and sometimes even so fast that it helped
me with the current project [5] [6], but just creating a fix-product is
the only alternative when you're in a project and need a fix *now*.

I think, releasing such a product to pypi is a good solution, because
 - I have a fix now
 - others have a fix now
 - core devs may just steal the code and use it for the next release

I have some more products like this (e.g. to fix [1]) but didn't release
them, because the quality is too low (although it works for me (tm)).

I also have a text-file on my desktop called "plone_bugs.txt" where I
just write down a problem, a description and a solution for each
annoyance I find in plone, zope or somewhere else in the stack. It
contains a endless list of things like those:

"""
CMFPlone/CatalogTool.py:387
===========================

387     security.declareProtected(ManageZCatalogEntries, 'catalog_object')
388     def uncatalog_object(self, *args, **kwargs):
389         self._increment_counter()
390         return BaseTool.uncatalog_object(self, *args, **kwargs)


Typo:
Shouldn't the security.declareProtected for "uncatalog_object" instead
of "catalog_object"? The latter
one is already defined above ;)




CMFPlone/skins/plone_images/shopping_cart.gif
=============================================
Exists. What for?



Wipe of indexes when applying a GS Profile
==========================================
When reinstalling / applying a product with a catalog.xml which defines
indexes,
the indexes are wiped out. The catalog must then be reindexed.
Tested on 3.1.3, 3.1.5.1
See https://bugs.launchpad.net/zope-cmf/+bug/161682
Solution:
Reindex your defined indexes in your Extensions/Install.py or don't define
indexes in GenericSetup, but in Extensions/Install
"""


Maybe I'll submit them once when I'm convinced that the effort is worth it.



Regards
Daniel



[1] http://dev.plone.org/old/plone/ticket/7794
[2] http://plone.org/products/linguaplone/issues/184
[3] https://dev.plone.org/plone/ticket/8162
[4] https://dev.plone.org/plone/ticket/7146
[5] http://plone.org/products/ploneformgen/issues/174
[6] https://dev.plone.org/plone/ticket/8402



------------------------------------------------------------------------------
_______________________________________________
Plone-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-developers
Daniel Kraft-5

Re: collective.plone3bugfixes

Reply Threaded More More options
Print post
Permalink
Daniel Kraft schrieb:
> Andreas,

ehm - I don't know how that worked. Sorry, Darryl.


------------------------------------------------------------------------------
_______________________________________________
Plone-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-developers
1 2