Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Patchbot applying an unwanted patch
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rob H.  
View profile  
 More options Sep 2 2012, 1:37 pm
From: "Rob H." <robert.har...@gmail.com>
Date: Sun, 2 Sep 2012 10:37:25 -0700 (PDT)
Local: Sun, Sep 2 2012 1:37 pm
Subject: Patchbot applying an unwanted patch

If I understand correctly, patchbot simply attempts every now and then to
apply a patch to the most recent sage release. For the ticket
http://trac.sagemath.org/sage_trac/ticket/11770, which has now received a
positive review, patchbot keeps trying to apply the patches
trac_11770_CM_field_functionality.patch and
trac_11770_CM_field_functionality_v2.3.patch. However, the former patch is
old and it should not be trying to apply it. Only v2.3 should be applied
(hence patchbot keeps failing). Is there a way to tell patchbot to only
apply v2.3? The person who gave a positive review edited the description to
indicate to only apply v2.3, but patchbot doesn't seem to have caught on
(though it is skipping v2, 2.1, and 2.2).

Thanks,

Rob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon King  
View profile  
 More options Sep 2 2012, 2:10 pm
From: Simon King <simon.k...@uni-jena.de>
Date: Sun, 2 Sep 2012 18:10:15 +0000 (UTC)
Local: Sun, Sep 2 2012 2:10 pm
Subject: Re: Patchbot applying an unwanted patch
Hi Rob!

On 2012-09-02, Rob H. <robert.har...@gmail.com> wrote:

> ------=_Part_201_17510807.1346607445074
> Content-Type: text/plain; charset=ISO-8859-1

> Is there a way to tell patchbot to only
> apply v2.3? The person who gave a positive review edited the description to
> indicate to only apply v2.3, but patchbot doesn't seem to have caught on
> (though it is skipping v2, 2.1, and 2.2).

Yes. First of all, if the ticket depends on another ticket, state it in
the dependency field. And if the ticket has several patches posted, but
only my_fine.patch and my_better.patch are to be applied *in that
order*, then write

Apply my_fine.patch my_better.patch

in some comment.

That's for the patchbot, which only reads the comments, but not the
ticket description.

If you want to help the release manager once the ticket has a positive
review, also state the to-be-applied patches in the ticket description.

Cheers,
Simon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob H.  
View profile  
 More options Sep 2 2012, 2:14 pm
From: "Rob H." <robert.har...@gmail.com>
Date: Sun, 2 Sep 2012 11:14:16 -0700 (PDT)
Local: Sun, Sep 2 2012 2:14 pm
Subject: Re: Patchbot applying an unwanted patch

Aha! Awesome thanks! I've done that. Hopefully it works out!

Best,

Rob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeroen Demeyer  
View profile  
 More options Sep 2 2012, 5:19 pm
From: Jeroen Demeyer <jdeme...@cage.ugent.be>
Date: Sun, 02 Sep 2012 23:19:15 +0200
Local: Sun, Sep 2 2012 5:19 pm
Subject: Re: [sage-devel] Re: Patchbot applying an unwanted patch
On 2012-09-02 20:10, Simon King wrote:
> That's for the patchbot, which only reads the comments, but not the
> ticket description.

IMHO, that's still a bug in the patchbot.

> If you want to help the release manager once the ticket has a positive
> review, also state the to-be-applied patches in the ticket description.

I would say: you *must* do this when it's not obvious which patches to
apply. You cannot rely on the fact that the release manager has read all
comments on the ticket. Besides, this also helps potential reviewers who
have not been following the whole history of the ticket.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Franco Saliola  
View profile  
 More options Sep 2 2012, 9:17 pm
From: Franco Saliola <sali...@gmail.com>
Date: Sun, 2 Sep 2012 21:16:32 -0400
Local: Sun, Sep 2 2012 9:16 pm
Subject: Re: [sage-devel] Re: Patchbot applying an unwanted patch

On Sun, Sep 2, 2012 at 2:10 PM, Simon King <simon.k...@uni-jena.de> wrote:
> And if the ticket has several patches posted, but
> only my_fine.patch and my_better.patch are to be applied *in that
> order*, then write

> Apply my_fine.patch my_better.patch

> in some comment.

Is the "in that order" new? Around mid-July, it seemed to ignore the
order of the patches specified in the Apply directive and applied the
patches in the order in which they get attached *or updated*. At
least, that's what seemed to be happening here:

    http://trac.sagemath.org/sage_trac/ticket/8899#comment:8

Probably the patchbot page could confirm/refute this.

Franco

--


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Franco Saliola  
View profile  
 More options Sep 2 2012, 9:20 pm
From: Franco Saliola <sali...@gmail.com>
Date: Sun, 2 Sep 2012 21:19:28 -0400
Local: Sun, Sep 2 2012 9:19 pm
Subject: Re: [sage-devel] Re: Patchbot applying an unwanted patch

On Sun, Sep 2, 2012 at 5:19 PM, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:
> On 2012-09-02 20:10, Simon King wrote:
>> That's for the patchbot, which only reads the comments, but not the
>> ticket description.
> IMHO, that's still a bug in the patchbot.

>> If you want to help the release manager once the ticket has a positive
>> review, also state the to-be-applied patches in the ticket description.
> I would say: you *must* do this when it's not obvious which patches to
> apply. You cannot rely on the fact that the release manager has read all
> comments on the ticket. Besides, this also helps potential reviewers who
> have not been following the whole history of the ticket.

Would it be possible to have a "patches to apply" field on the ticket
(similar to the fields dependencies, keywords, etc.)? Then the release
manager, reviewers and patchbots would easily know where to look.

Take care,
Franco

--


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Mathas  
View profile  
 More options Sep 3 2012, 1:23 am
From: Andrew Mathas <andrew.mat...@gmail.com>
Date: Sun, 2 Sep 2012 22:23:34 -0700 (PDT)
Local: Mon, Sep 3 2012 1:23 am
Subject: Re: [sage-devel] Re: Patchbot applying an unwanted patch

I've found that it is continually necessary to repost the apply directives
for the patchbot. If I don't do this then whenever I update the patches in
trac then the patchbot will attempt to apply everything -- I found this to
be necessary with the trac tickets #9265 and #13072.

If Franco's suggestion isn't taken up would it be possible to make the
patchbot follow the last apply directive given in the comments?

Cheers,
Andrew


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »