You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Steve Rowe <sa...@gmail.com> on 2013/05/21 21:31:18 UTC

Commit Tag Bot -> ASF svngit2jira?

Mark Miller's Commit Tag Bot seems to be having trouble running consistently - for example, it's been offline for the last 9 days, AFAICT.

I noticed the following recently added web page on the ASF site: <http://www.apache.org/dev/svngit2jira>.  From that page:

-----
Many projects use JIRA for managing tracking bugs, milestones, feature
requests and so on, and many of these projects keep track of which
commit affects which ticket. In order to make things even easier, we
have a service called svngit2jira, which integrates Subversion and Git
commits with JIRA tickets.
-----

Since svngit2jira will be supported by ASF infra, it's likely to be more stable than Mark's Commit Tag Bot, which depends on one guy's efforts (thanks Mark - it has definitely been useful!); would it make sense to switch to using it?

@Mark, do you know if your bot has more/better features than svngit2jira, that would make such a switch a bad idea?

Steve


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: Commit Tag Bot -> ASF svngit2jira?

Posted by Steve Rowe <sa...@gmail.com>.
FYI, I found what looks like the script & config for svngit2jira here:

<https://svn.apache.org/repos/infra/infrastructure/trunk/projects/svngit2jira>

Steve

On May 21, 2013, at 3:47 PM, Mark Miller <ma...@gmail.com> wrote:

> Yeah, the current commit bot is now running on people.apache.org and seems to randomly get out of whack (this is the second time in a couple months if I remember right) - last time I just restarted it - I have not yet had a chance to see what happens after enough time goes by - but eventually, while it's still running, it stops getting events or something. It's really simple code - perhaps a stream is not being closed or something silly.
> 
> ASF infra does have some scripts that are basically the same as what I'm doing in Java - just subscribing to svnpubsub - I consulted them when writing the java code.
> 
> The main reason I did not pursue that avenue is lack of control - eg it's nice to have complete control of formatting and what not.   As a general rule, I prefer project control over infra control where we can get away with it.
> 
> I really can't focus on the commitbot though, so it's probably a better long term plan to migrate.
> 
> - Mark
> 
> On May 21, 2013, at 3:31 PM, Steve Rowe <sa...@gmail.com> wrote:
> 
>> Mark Miller's Commit Tag Bot seems to be having trouble running consistently - for example, it's been offline for the last 9 days, AFAICT.
>> 
>> I noticed the following recently added web page on the ASF site: <http://www.apache.org/dev/svngit2jira>.  From that page:
>> 
>> -----
>> Many projects use JIRA for managing tracking bugs, milestones, feature
>> requests and so on, and many of these projects keep track of which
>> commit affects which ticket. In order to make things even easier, we
>> have a service called svngit2jira, which integrates Subversion and Git
>> commits with JIRA tickets.
>> -----
>> 
>> Since svngit2jira will be supported by ASF infra, it's likely to be more stable than Mark's Commit Tag Bot, which depends on one guy's efforts (thanks Mark - it has definitely been useful!); would it make sense to switch to using it?
>> 
>> @Mark, do you know if your bot has more/better features than svngit2jira, that would make such a switch a bad idea?
>> 
>> Steve
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: Commit Tag Bot -> ASF svngit2jira?

Posted by Mark Miller <ma...@gmail.com>.
Here is the problem - should probably just try and restart on any exceptions:

Exception in thread "main" java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:185)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
	at sun.net.www.http.ChunkedInputStream.readAheadBlocking(ChunkedInputStream.java:543)
	at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:600)
	at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:687)
	at java.io.FilterInputStream.read(FilterInputStream.java:133)
	at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2582)
	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:282)
	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:324)
	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:176)
	at java.io.InputStreamReader.read(InputStreamReader.java:184)
	at java.io.BufferedReader.fill(BufferedReader.java:153)
	at java.io.BufferedReader.read(BufferedReader.java:174)
	at SvnPubSubListener.listen(SvnPubSubListener.java:71)
	at SvnPubSubJiraTagger.main(SvnPubSubJiraTagger.java:10)


On May 21, 2013, at 3:47 PM, Mark Miller <ma...@gmail.com> wrote:

> Yeah, the current commit bot is now running on people.apache.org and seems to randomly get out of whack (this is the second time in a couple months if I remember right) - last time I just restarted it - I have not yet had a chance to see what happens after enough time goes by - but eventually, while it's still running, it stops getting events or something. It's really simple code - perhaps a stream is not being closed or something silly.
> 
> ASF infra does have some scripts that are basically the same as what I'm doing in Java - just subscribing to svnpubsub - I consulted them when writing the java code.
> 
> The main reason I did not pursue that avenue is lack of control - eg it's nice to have complete control of formatting and what not.   As a general rule, I prefer project control over infra control where we can get away with it.
> 
> I really can't focus on the commitbot though, so it's probably a better long term plan to migrate.
> 
> - Mark
> 
> On May 21, 2013, at 3:31 PM, Steve Rowe <sa...@gmail.com> wrote:
> 
>> Mark Miller's Commit Tag Bot seems to be having trouble running consistently - for example, it's been offline for the last 9 days, AFAICT.
>> 
>> I noticed the following recently added web page on the ASF site: <http://www.apache.org/dev/svngit2jira>.  From that page:
>> 
>> -----
>> Many projects use JIRA for managing tracking bugs, milestones, feature
>> requests and so on, and many of these projects keep track of which
>> commit affects which ticket. In order to make things even easier, we
>> have a service called svngit2jira, which integrates Subversion and Git
>> commits with JIRA tickets.
>> -----
>> 
>> Since svngit2jira will be supported by ASF infra, it's likely to be more stable than Mark's Commit Tag Bot, which depends on one guy's efforts (thanks Mark - it has definitely been useful!); would it make sense to switch to using it?
>> 
>> @Mark, do you know if your bot has more/better features than svngit2jira, that would make such a switch a bad idea?
>> 
>> Steve
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: Commit Tag Bot -> ASF svngit2jira?

Posted by Mark Miller <ma...@gmail.com>.
Yeah, the current commit bot is now running on people.apache.org and seems to randomly get out of whack (this is the second time in a couple months if I remember right) - last time I just restarted it - I have not yet had a chance to see what happens after enough time goes by - but eventually, while it's still running, it stops getting events or something. It's really simple code - perhaps a stream is not being closed or something silly.

ASF infra does have some scripts that are basically the same as what I'm doing in Java - just subscribing to svnpubsub - I consulted them when writing the java code.

The main reason I did not pursue that avenue is lack of control - eg it's nice to have complete control of formatting and what not.   As a general rule, I prefer project control over infra control where we can get away with it.

I really can't focus on the commitbot though, so it's probably a better long term plan to migrate.

- Mark

On May 21, 2013, at 3:31 PM, Steve Rowe <sa...@gmail.com> wrote:

> Mark Miller's Commit Tag Bot seems to be having trouble running consistently - for example, it's been offline for the last 9 days, AFAICT.
> 
> I noticed the following recently added web page on the ASF site: <http://www.apache.org/dev/svngit2jira>.  From that page:
> 
> -----
> Many projects use JIRA for managing tracking bugs, milestones, feature
> requests and so on, and many of these projects keep track of which
> commit affects which ticket. In order to make things even easier, we
> have a service called svngit2jira, which integrates Subversion and Git
> commits with JIRA tickets.
> -----
> 
> Since svngit2jira will be supported by ASF infra, it's likely to be more stable than Mark's Commit Tag Bot, which depends on one guy's efforts (thanks Mark - it has definitely been useful!); would it make sense to switch to using it?
> 
> @Mark, do you know if your bot has more/better features than svngit2jira, that would make such a switch a bad idea?
> 
> Steve
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org