Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ManualsPublisherWiring #808

Merged
merged 43 commits into from
Mar 7, 2017
Merged

Conversation

chrisroos
Copy link
Contributor

@chrisroos chrisroos commented Feb 23, 2017

Supersedes PR #798.

This branch simplifies the app by removing the level of indirection introduced in the ManualsPublisherWiring class.

The changes in this branch and the feedback on PR #798 have revealed a number of further questions/improvements that we'll tackle separately:

chrislo added a commit to freerange/manuals-publisher that referenced this pull request Mar 6, 2017
@floehopper floehopper self-assigned this Mar 7, 2017
@floehopper
Copy link
Contributor

In this comment @h-lame recommended only merging this when #799 had been merged. That PR has since been merged, so there's no longer any need to hold off on this one.

@floehopper floehopper self-requested a review March 7, 2017 11:12
Copy link
Contributor

@floehopper floehopper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I previously reviewed #798, so I've confined my review to checking that all the feedback in that PR has been addressed in this PR.

@floehopper
Copy link
Contributor

I'm going to rebase this on master and force-push in preparation for merging.

The `:manual_builder` and `:manual_document_builder` are the only
entries in `ManualsPublisherWiring.get` whose name ends in `_builder`.
Making this explicit should help me remove the `ManualsPublisherWiring`
in future.
Note that `ManualPublishingApiBulkDraftExporter` takes `wiring` as a
parameter. I'm presuming that it's an instance of
`ManualsPublisherWiring`. I'm not worried about investigating too much
further as `ManualPublishingApiBulkDraftExporter` doesn't appear to be
instantiated anywhere anyway!
This does not appear to be used.
As in the commit title "Inline :repository_registry", I'm assuming that
the `wiring` passed to `ManualPublishingAPIBulkDraftExporter` is a
`ManualsPublishingWiring`. I can't be sure because
`ManualPublishingAPIBulkDraftExporter` doesn't appear to be
instantiated.
Note that this is memoised using a class instance variable as it was
previously defined as a singleton.
Note that this is memoised using a class instance variable as it was
previously defined as a singleton.
Note that this is memoised using a class instance variable as it was
previously defined as a singleton.
Note that this is memoised using a class instance variable as it was
previously defined as a singleton.
Note that this is memoised using a class instance variable as it was
previously defined as a singleton.
Now that it's no longer being used.
@floehopper floehopper force-pushed the remove-manuals-publisher-wiring branch from 92951e4 to ccc877a Compare March 7, 2017 16:18
@floehopper floehopper merged commit 18e09e1 into master Mar 7, 2017
@floehopper floehopper deleted the remove-manuals-publisher-wiring branch March 7, 2017 16:23
@chrislo chrislo modified the milestone: Simplify Apr 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants