Re: RBTools 0.5.2 is released!

2013-08-23 Thread Stephen Gallagher
On 08/22/2013 05:02 PM, Matthew Woehlke wrote:
 Ah, well, I was wanting to rewrite the whole thing in Python anyway :-).
 (Trying to do that and skirt around where RBTools wants a deprecated
 optparse... now that's interesting...)
 

optparse is deprecated, not removed. It's not going to see any new
development, but last I heard it's going to remain available
indefinitely. Also, as python 2.7 is the last release in the Python 2
line, it's pretty clear that it's never going to be removed from that
series. That gives ReviewBoard (and anyone consuming RBTools) until at
least 2015 to deal with the migration (since the Python upstream has
committed to bug-fix support of Python 2.7 for five years after its
release). Beyond that, I know of certain enterprise OSes that will
likely extend the usable life of Python themselves.

With that in mind, though: Christian, will ReviewBoard 1.8 be supporting
Python 3.x?

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: RBTools 0.5.2 is released!

2013-08-23 Thread Christian Hammond
On Fri, Aug 23, 2013 at 4:43 AM, Stephen Gallagher 
step...@gallagherhome.com wrote:

 On 08/22/2013 05:02 PM, Matthew Woehlke wrote:
  Ah, well, I was wanting to rewrite the whole thing in Python anyway :-).
  (Trying to do that and skirt around where RBTools wants a deprecated
  optparse... now that's interesting...)
 

 optparse is deprecated, not removed. It's not going to see any new
 development, but last I heard it's going to remain available
 indefinitely. Also, as python 2.7 is the last release in the Python 2
 line, it's pretty clear that it's never going to be removed from that
 series. That gives ReviewBoard (and anyone consuming RBTools) until at
 least 2015 to deal with the migration (since the Python upstream has
 committed to bug-fix support of Python 2.7 for five years after its
 release). Beyond that, I know of certain enterprise OSes that will
 likely extend the usable life of Python themselves.

 With that in mind, though: Christian, will ReviewBoard 1.8 be supporting
 Python 3.x?


Right, it should be safe to depend on RBTools with optparse and all that
for some time. We have a lot of people relying on Python 2.x, and will
probably support it for quite a while.

Review Board 1.8 will not support Python 3.x. While Django is now starting
to support it, we still have a number of dependencies we need to check on,
several of which likely need work, and nobody has even begun that, let
alone tested any of it with Review Board. There's going to be a lot of work
needed on our codebase as well. It's going to be quite an undertaking (one
that I very much want help with).

I'm spending almost every waking moment of 1.8, and there's still a lot of
work to do on it. I don't want to delay the release any further than it's
already delayed. Maybe we can prioritize this for the next big release.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: RBTools 0.5.2 is released!

2013-08-23 Thread Stephen Gallagher
On 08/23/2013 03:32 PM, Christian Hammond wrote:
 On Fri, Aug 23, 2013 at 4:43 AM, Stephen Gallagher
 step...@gallagherhome.com mailto:step...@gallagherhome.com wrote:
 
 On 08/22/2013 05:02 PM, Matthew Woehlke wrote:
  Ah, well, I was wanting to rewrite the whole thing in Python
 anyway :-).
  (Trying to do that and skirt around where RBTools wants a deprecated
  optparse... now that's interesting...)
 
 
 optparse is deprecated, not removed. It's not going to see any new
 development, but last I heard it's going to remain available
 indefinitely. Also, as python 2.7 is the last release in the Python 2
 line, it's pretty clear that it's never going to be removed from that
 series. That gives ReviewBoard (and anyone consuming RBTools) until at
 least 2015 to deal with the migration (since the Python upstream has
 committed to bug-fix support of Python 2.7 for five years after its
 release). Beyond that, I know of certain enterprise OSes that will
 likely extend the usable life of Python themselves.
 
 With that in mind, though: Christian, will ReviewBoard 1.8 be supporting
 Python 3.x?
 
 
 Right, it should be safe to depend on RBTools with optparse and all that
 for some time. We have a lot of people relying on Python 2.x, and will
 probably support it for quite a while.
 
 Review Board 1.8 will not support Python 3.x. While Django is now
 starting to support it, we still have a number of dependencies we need
 to check on, several of which likely need work, and nobody has even
 begun that, let alone tested any of it with Review Board. There's going
 to be a lot of work needed on our codebase as well. It's going to be
 quite an undertaking (one that I very much want help with).
 
 I'm spending almost every waking moment of 1.8, and there's still a lot
 of work to do on it. I don't want to delay the release any further than
 it's already delayed. Maybe we can prioritize this for the next big release.
 


Sorry, I should have been clear that this was a curiosity, not a request :)


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: RBTools 0.5.2 is released!

2013-08-23 Thread Christian Hammond
On Friday, August 23, 2013, Stephen Gallagher wrote:

 On 08/23/2013 03:32 PM, Christian Hammond wrote:
  On Fri, Aug 23, 2013 at 4:43 AM, Stephen Gallagher
  step...@gallagherhome.com javascript:; mailto:
 step...@gallagherhome.com javascript:; wrote:
 
  On 08/22/2013 05:02 PM, Matthew Woehlke wrote:
   Ah, well, I was wanting to rewrite the whole thing in Python
  anyway :-).
   (Trying to do that and skirt around where RBTools wants a
 deprecated
   optparse... now that's interesting...)
  
 
  optparse is deprecated, not removed. It's not going to see any new
  development, but last I heard it's going to remain available
  indefinitely. Also, as python 2.7 is the last release in the Python 2
  line, it's pretty clear that it's never going to be removed from that
  series. That gives ReviewBoard (and anyone consuming RBTools) until
 at
  least 2015 to deal with the migration (since the Python upstream has
  committed to bug-fix support of Python 2.7 for five years after its
  release). Beyond that, I know of certain enterprise OSes that will
  likely extend the usable life of Python themselves.
 
  With that in mind, though: Christian, will ReviewBoard 1.8 be
 supporting
  Python 3.x?
 
 
  Right, it should be safe to depend on RBTools with optparse and all that
  for some time. We have a lot of people relying on Python 2.x, and will
  probably support it for quite a while.
 
  Review Board 1.8 will not support Python 3.x. While Django is now
  starting to support it, we still have a number of dependencies we need
  to check on, several of which likely need work, and nobody has even
  begun that, let alone tested any of it with Review Board. There's going
  to be a lot of work needed on our codebase as well. It's going to be
  quite an undertaking (one that I very much want help with).
 
  I'm spending almost every waking moment of 1.8, and there's still a lot
  of work to do on it. I don't want to delay the release any further than
  it's already delayed. Maybe we can prioritize this for the next big
 release.
 


 Sorry, I should have been clear that this was a curiosity, not a request :)


Oh I know, just figured I'd talk about it a bit :)

Christian


-- 
-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: RBTools 0.5.2 is released!

2013-08-23 Thread Matthew Woehlke

On 2013-08-23 07:43, Stephen Gallagher wrote:

On 08/22/2013 05:02 PM, Matthew Woehlke wrote:

Ah, well, I was wanting to rewrite the whole thing in Python anyway :-).
(Trying to do that and skirt around where RBTools wants a deprecated
optparse... now that's interesting...)


optparse is deprecated, not removed.


Sure, but (1) I'd prefer to not have any more barriers than necessary 
for eventually moving my code to Python 3.x (e.g. I'm also trying to 
respect some syntax issues with 2 vs. 3 that I know about), and honsetly 
(2) I like argparse better :-).


Anyway, as it turns out I don't want to be calling all of rbt's option 
handling anyway, so it becomes more an 'issue' that I need to synthesize 
an 'options' object with the attributes that the pieces I'm calling 
expect to be there.


--
Matthew

--
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups reviewboard group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: RBTools 0.5.2 is released!

2013-08-22 Thread Matthew Woehlke

On 2013-08-15 17:38, Christian Hammond wrote:

New version of RBTools, with some new features, some bug fixes, and some
usability improvements.

The highlights include git-p4 support, better errors, new tools, and some
important changes to support Bitbucket Git repositories with the upcoming
Review Board 1.7.13 release.


So I took a look at api-get, but can't figure out how to get individual 
fields out of a request. Am I missing something? (Note: I need to do 
this in shell, and don't know of an easy way to parse JSON in shell; I 
was hoping rbt would do that for me...)


--
Matthew

--
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups reviewboard group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: RBTools 0.5.2 is released!

2013-08-22 Thread Matthew Woehlke

On 2013-08-22 15:35, Christian Hammond wrote:

On Thu, Aug 22, 2013 at 11:32 AM, Matthew Woehlke  wrote:

So I took a look at api-get, but can't figure out how to get individual
fields out of a request. Am I missing something? (Note: I need to do this
in shell, and don't know of an easy way to parse JSON in shell; I was
hoping rbt would do that for me...)


[snip]

What I'd recommend is doing the api-get, and then using a command line JSON
parser intended for scripting. One such tool is jq:
http://stedolan.github.io/jq/.


Bleh. RBTools itself is bad enough as an external dependency for my 
target audience. Adding another, even more esoteric dependency is pretty 
low on my list of desired solutions.


Ah, well, I was wanting to rewrite the whole thing in Python anyway :-). 
(Trying to do that and skirt around where RBTools wants a deprecated 
optparse... now that's interesting...)


--
Matthew

--
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups reviewboard group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


RBTools 0.5.2 is released!

2013-08-15 Thread Christian Hammond
Hey everyone,

New version of RBTools, with some new features, some bug fixes, and some
usability improvements.

The highlights include git-p4 support, better errors, new tools, and some
important changes to support Bitbucket Git repositories with the upcoming
Review Board 1.7.13 release.

You can read more at
http://www.reviewboard.org/news/2013/08/15/rbtools-0-5-2-released/

- Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.