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

Move some rhbz bug handling into the backend. #419

Merged
merged 11 commits into from Aug 28, 2015
Merged

Conversation

ralphbean
Copy link
Contributor

This should hopefully help some with performance, and it paves the way for
moving other slow cross-system integration stuff into offline processes.

This handles (as you can see) both new updates which get their request set to
testing as well as updates that get edited. For updates that get edited, we
only sync up new bugs that have been added. Pre-existing bugs don't get
bothered.

A couple not related changes worth mentioned:

  • I moved the bodhi masher into bodhi.consumers.masher, for namespacing.
  • When new updates are created, I switched the order of assigning the alias and
    setting the request. Setting the request publishes a fedmsg message, and
    it's helpful to have the alias already assigned at that point (so we can use
    the alias in fedmsg consumers).

This changeset is relevant to tickets #314, #301 and #272.

@lmacken
Copy link
Contributor

lmacken commented Aug 28, 2015

Awesome. 👍

lmacken added a commit that referenced this pull request Aug 28, 2015
Move some rhbz bug handling into the backend.
@lmacken lmacken merged commit 10745ae into develop Aug 28, 2015
@lmacken lmacken deleted the feature/offline-bugs branch August 28, 2015 20:08
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

2 participants