Merge lp:~james-w/launchpad/export-code-import into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Tim Penhey on 2010-03-18 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | not available | ||||
| Proposed branch: | lp:~james-w/launchpad/export-code-import | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
330 lines (+142/-45) 11 files modified
lib/canonical/launchpad/doc/canonical_url_examples.txt (+10/-0) lib/canonical/launchpad/interfaces/_schema_circular_imports.py (+2/-0) lib/lp/code/browser/branch.py (+5/-0) lib/lp/code/browser/codeimport.py (+3/-3) lib/lp/code/browser/configure.zcml (+5/-0) lib/lp/code/doc/codeimport.txt (+4/-4) lib/lp/code/interfaces/branch.py (+4/-2) lib/lp/code/interfaces/codeimport.py (+48/-36) lib/lp/code/interfaces/webservice.py (+1/-0) lib/lp/code/stories/webservice/xx-branch.txt (+1/-0) lib/lp/code/stories/webservice/xx-code-import.txt (+59/-0) |
||||
| To merge this branch: | bzr merge lp:~james-w/launchpad/export-code-import | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Tim Penhey (community) | 2010-03-16 | Approve on 2010-03-17 | |
|
Review via email:
|
|||
Commit Message
Expose the main code import attributes read only.
Description of the Change
This exports ICodeImport.
It's not intended to be all-singing, all-dancing, just export
the objects, we can do more in future branches.
Thanks,
James
| Francis J. Lacoste (flacoste) wrote : | # |
On March 16, 2010, James Westby wrote:
+ owner = exported(
> + PublicPersonChoice(
> + title=_('Owner'), required=True, readonly=False,
> + vocabulary=
> + description=_("The community contact for this import.")))
>
> + review_status = exported(
> + Choice(
> + title=_("Review Status"), vocabulary=
> + default=
> + description=
> reviewed." + " Only reviewed imports are processed.")))
> +
Do we know if the security wrapper were properly defined for the exported field?
> + date_last_
> + Datetime(
>
This should probably be a readonly field?
--
Francis J. Lacoste
<email address hidden>
| James Westby (james-w) wrote : | # |
> On March 16, 2010, James Westby wrote:
> + owner = exported(
> > + PublicPersonChoice(
> > + title=_('Owner'), required=True, readonly=False,
> > + vocabulary=
> > + description=_("The community contact for this import.")))
> >
>
> > + review_status = exported(
> > + Choice(
> > + title=_("Review Status"), vocabulary=
> > + default=
> > + description=
> > reviewed." + " Only reviewed imports are processed.")))
> > +
>
> Do we know if the security wrapper were properly defined for the exported
> field?
I don't know what that means, so probably not.
> > + date_last_
> > + Datetime(
> >
>
> This should probably be a readonly field?
It is in the latest diff.
Thanks,
James

I think this is a great start.