Move onto the plugin surface: Application, Suggestion, suggest and Contact are on it now #2
Labels
No labels
bug
documentation
enhancement
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Postulo/postulo-imap#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The surface it was waiting for landed in the core (postulo/postulo#229,
1d6cdd7e0):postulo.plugins.apinow carries the notifier contract, the records a sync works on, thecalls that write to a timeline, the details that hang off a contact, and the calendar text.
The core also publishes the check itself as
postulo.plugins.testing, so a plugin canassert the same thing about its own source that Postulo asserts about the ones it ships.
What moves
REACHING_PASTintests/test_surface.pyhas three entries and all three are answered:postulo.applications.modelsApplication,Suggestionpostulo.applications.suggestionssuggestpostulo.jobs.modelsContactsync.pyandmatching.pyimport them frompostulo.plugins.apiinstead, andREACHING_PASTgoes empty — which is the point of it: the list was the map of what thecore still had to move, and there is nothing left on it.
EventKindis on the surface too, if the rules are naming event kinds as bare strings.Also
1d6cdd7e0or later; the names do not exist before it.Run the published check
Replace this repository's hand-written copy of the AST check with the core's:
One check rather than several near-copies that can drift apart, and it resolves relative
imports, which the copy here does not.