Merge lp:~leonardr/launchpadlib/multiversion into lp:launchpadlib
| Status: | Merged |
|---|---|
| Approved by: | Eleanor Berger on 2010-02-15 |
| Approved revision: | not available |
| Merged at revision: | not available |
| Proposed branch: | lp:~leonardr/launchpadlib/multiversion |
| Merge into: | lp:launchpadlib |
| Diff against target: |
225 lines (+39/-26) 7 files modified
setup.py (+1/-1) src/launchpadlib/__init__.py (+1/-1) src/launchpadlib/docs/introduction.txt (+1/-1) src/launchpadlib/launchpad.py (+18/-10) src/launchpadlib/testing/helpers.py (+8/-4) src/launchpadlib/tests/test_launchpad.py (+3/-2) src/launchpadlib/uris.py (+7/-7) |
| To merge this branch: | bzr merge lp:~leonardr/launchpadlib/multiversion |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Eleanor Berger (community) | code | 2010-02-15 | Approve on 2010-02-15 |
|
Review via email:
|
|||
| Leonard Richardson (leonardr) wrote : | # |
| Leonard Richardson (leonardr) wrote : | # |
s/lazr.
| Francis J. Lacoste (flacoste) wrote : | # |
On February 15, 2010, Leonard Richardson wrote:
> Leonard Richardson has proposed merging
> lp:~leonardr/launchpadlib/multiversion into lp:launchpadlib.
>
> Requested reviews:
> LAZR Developers (lazr-developers)
>
>
> This branch changes launchpadlib to take advantage of lazr.restful's
> 'version' constructor argument. Instead of a service root of
> http://
> http://
> easier to specify which version of a web service you want to use.
>
> This branch also changes the default version of the web service to 'devel'.
> Here is the plan (not yet ratified by distro developers):
>
> 1. We get a launchpadlib release based on this branch into Lucid before the
> feature freeze. At this point anyone who writes launchpadlib scripts with
> beta versions of Lucid will be using the unstable 'devel' version of the
> web service.
>
> 2. Before Lucid is released, we make some changes to the Launchpad web
> service and freeze a '1.0' release.
>
> 3. We make a small launchpadlib release that does nothing but change the
> default web service version to '1.0'. Anyone who writes launchpadlib
> scripts with the released version of Lucid will be using the frozen '1.0'
> version of the web service.
>
> This is flacoste's plan; I would prefer to change the default web service
> version to '1.0' in this branch, and not mess with Lucid any more after
> this.
>
> Either way, by releasing a '1.0' version of the web service and tying it to
> Lucid, we will be able to retire the 'beta' version when we retire Karmic.
> If we don't get this done, we won't be able to retire the 'beta' version
> until we retire Lucid.
>
The default for production should still be beta, at least until this code is
deployed to production. Otherwise, anybody will get breakage when they try
launchpadlib on lpnet.
--
Francis J. Lacoste
<email address hidden>
| Leonard Richardson (leonardr) wrote : | # |
"The default for production should still be beta, at least until this code is
deployed to production. Otherwise, anybody will get breakage when they try
launchpadlib on lpnet."
Then maybe the launchpadlib default should continue to be "beta", and once we're ready, we can change it to "1.0". Rather than changing it to "devel" and then to "1.0".
| Francis J. Lacoste (flacoste) wrote : | # |
On February 16, 2010, Leonard Richardson wrote:
> "The default for production should still be beta, at least until this code
> is deployed to production. Otherwise, anybody will get breakage when they
> try launchpadlib on lpnet."
>
> Then maybe the launchpadlib default should continue to be "beta", and once
> we're ready, we can change it to "1.0". Rather than changing it to "devel"
> and then to "1.0".
It's really something to discuss with the Ubuntu release team. Each scenario
has different trade-off in expectations management.
--
Francis J. Lacoste
<email address hidden>
| Leonard Richardson (leonardr) wrote : | # |
On further reflection I believe this point is moot. Right now, the "devel" version isn't deployed any more than the "1.0" version is. https:/

This branch changes launchpadlib to take advantage of lazr.restful's 'version' constructor argument. Instead of a service root of http:// api.launchpad. net/beta/, you now use a service root of http:// api.launchpad. net/ and a version of "beta". This makes it much easier to specify which version of a web service you want to use.
This branch also changes the default version of the web service to 'devel'. Here is the plan (not yet ratified by distro developers):
1. We get a launchpadlib release based on this branch into Lucid before the feature freeze. At this point anyone who writes launchpadlib scripts with beta versions of Lucid will be using the unstable 'devel' version of the web service.
2. Before Lucid is released, we make some changes to the Launchpad web service and freeze a '1.0' release.
3. We make a small launchpadlib release that does nothing but change the default web service version to '1.0'. Anyone who writes launchpadlib scripts with the released
version of Lucid will be using the frozen '1.0' version of the web service.
This is flacoste's plan; I would prefer to change the default web service version to '1.0' in this branch, and not mess with Lucid any more after this.
Either way, by releasing a '1.0' version of the web service and tying it to Lucid, we will be able to retire the 'beta' version when we retire Karmic. If we don't get this done, we won't be able to retire the 'beta' version until we retire Lucid.