~andrey-fedoseev/launchpad:uct-import-upstream-packaging-model

Last commit made on 2022-09-12
Get this branch:
git clone -b uct-import-upstream-packaging-model https://git.launchpad.net/~andrey-fedoseev/launchpad
Only Andrey Fedoseev can upload to this branch. If you are Andrey Fedoseev please log in for upload directions.

Branch merges

Branch information

Name:
uct-import-upstream-packaging-model
Repository:
lp:~andrey-fedoseev/launchpad

Recent commits

d4942b8... by Andrey Fedoseev

Add a comment explaining the meaning of `upstream_product`

1a6a98a... by Andrey Fedoseev

Fix the case when a product is not found

14e9e00... by Andrey Fedoseev

Improve naming

- {DistroPackage,SeriesPackage,UpstreamPackage}.package -> target
- Add `package_name` attribute to `DistroPackage` and `SeriesPackage` for consistency

819f20b... by Andrey Fedoseev

UCT import: use `Packaging` model for `upstream`

Previously, we were trying to find an LP `Product` with exactly the same name as a package in UCT record to handle the status of `upstream`.

Now, we use the `Packaging` model to locate a `Product` by package name.

More specifically, we use the `DistributionSourcePackage.upstream_product` property for that.

4c54584... by Colin Watson

Run with ZOPE_INTERFACE_STRICT_IRO=1

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/429741

5b7c0fa... by Colin Watson

Run with ZOPE_INTERFACE_STRICT_IRO=1

This is intended to become `zope.interface`'s default in the future, and
in the meantime its documentation recommends running with this variable
set if possible.

393cb40... by Colin Watson

Fix IRO problems with XHTML representations

As of zope.interface 5.0.2, objects that implement no interfaces still
include `Interface` itself in their interface resolution order. Several
classes which adapt objects to webservice XHTML representations declared
`@implementer(Interface)`, which causes
`InconsistentResolutionOrderError` under `ZOPE_INTERFACE_STRICT_IRO=1`.

Removing the redundant declaration fixes this, though we now need to add
`provides` attributes to ZCML since `zope.component.zcml.adapter` can no
longer figure it out automatically.

fc7a9e1... by Jürgen Gmach

Fix regression from applying blackdoc

Merged from https://code.launchpad.net/~jugmac00/launchpad/+git/launchpad/+merge/429718

94168f3... by Jürgen Gmach

Fix regression from applying blackdoc

827e461... by Colin Watson

charm: Bump to focal

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/429710