Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: develop
Commits on May 4, 2015
  1. @ralphbean

    Merge pull request #44 from fedora-infra/feature/email2fas

    ralphbean authored
    Add a new email2fas flag modeled off the existing nick2fas flag.
  2. @ralphbean
  3. @ralphbean
  4. @ralphbean
Commits on Nov 4, 2014
  1. @ralphbean
  2. @ralphbean

    Turbo Mode

    ralphbean authored
    When we first receive a message, we put ourselves to sleep to wait for a
    moment.  The reason for this is that, when things are 'calm' on the bus, we
    receive messages "too fast".  A message that arrives to the badge awarder
    triggers (usually) a check against datanommer to count messages.  But if we try
    to count them before this message arrives at datanommer, we'll get skewed
    results!  Race condition.  We go to sleep to allow ample time for datanommer to
    consume this one before we go and start doing checks on it.  When fedbadges was
    first released, this was absolutely necessary.
    
    Since that time, the fedmsg bus has become much more congested.  So, to improve
    our average speed at handling messages, we only do that sleep statement if
    we're not already backlogged.  If we know we have a huge workload ahead of us,
    then go ahead and start handling messages as fast as we can.
  3. @ralphbean

    Remove unused imports.

    ralphbean authored
Commits on Oct 8, 2014
  1. @ralphbean

    Merge pull request #42 from fedora-infra/feature/suppress-integrity-e…

    ralphbean authored
    …rrors
    
    Suppress integrity errors.
  2. @ralphbean

    Suppress integrity errors.

    ralphbean authored
Commits on Oct 7, 2014
  1. @ralphbean

    Icky.

    ralphbean authored
  2. @ralphbean
Commits on Oct 3, 2014
  1. @ralphbean

    Merge pull request #41 from fedora-infra/feature/race-conditions

    ralphbean authored
    Use threading.local to separate sessions.
  2. @ralphbean

    PEP8.

    ralphbean authored
  3. @ralphbean

    PEP8.

    ralphbean authored
  4. @ralphbean

    Use threading.local to separate sessions.

    ralphbean authored
    The fedbadges backend was designed to only have one thread.
    
    This past week we gave it many threads (so that it could keep up with
    its increasingly demanding workload), but this has started to generate
    crashes from race conditions (mostly inside sqlalchemy).
    
    This patch will not solve all of those problems, but it will solve some.
    This will make it so that *each* thread will get its very own database
    session so that they don't stomp on each other quite so much.
Commits on Oct 1, 2014
  1. @ralphbean

    Demote this log statement.

    ralphbean authored
Commits on Sep 30, 2014
  1. @ralphbean

    Add missing import.

    ralphbean authored
Commits on Sep 29, 2014
  1. @ralphbean
  2. @ralphbean

    0.5.0

    ralphbean authored
Commits on Sep 13, 2014
  1. @ralphbean

    Merge pull request #40 from fedora-infra/feature/fedmsg-queueing

    ralphbean authored
    Rely on fedmsg-provided queue.
Commits on Sep 11, 2014
  1. @ralphbean

    Rely on fedmsg-provided queue.

    ralphbean authored
    fedbadges implemented this little callLater mechanism a long time ago
    before fedmsg and moksha provided a much more sophisticated queueing and
    monitoring framework.  This callLater logic actually serves to **hide**
    how many messages are in the fedbadges backlog.  By removing it, we can
    get a better sense of what the consumer is doing.
  2. @ralphbean
Commits on Jun 25, 2014
  1. @ralphbean

    Merge pull request #39 from fedora-infra/feature/configurable-fas-url

    ralphbean authored
    Allow a configurable FAS url for staging..
  2. @ralphbean

    Allow a configurable FAS url for staging..

    ralphbean authored
    .. so that we don't keep getting these ssl cert errors.
Commits on Jun 9, 2014
  1. @ralphbean

    Merge pull request #38 from fedora-infra/feature/pkgdb2-fixes-mark-ii

    ralphbean authored
    Don't let pkgdb2 errors turn into false positives.
  2. @ralphbean
  3. @ralphbean

    Delete old pkgdb1 code.

    ralphbean authored
Commits on May 16, 2014
  1. @ralphbean
  2. @ralphbean
  3. @ralphbean

    0.4.3

    ralphbean authored
  4. @ralphbean

    Merge pull request #37 from fedora-infra/feature/pkgdb2-fixes

    ralphbean authored
    pkgdb2 fixes like we did for fmn.
  5. @ralphbean

    continue

    ralphbean authored
  6. @ralphbean
  7. @ralphbean
Commits on Apr 7, 2014
  1. @ralphbean

    Merge pull request #36 from fedora-infra/feature/limit-to-fas

    ralphbean authored
    Limit the awarding of badges to only FAS users.
Something went wrong with that request. Please try again.