Skip to content

Latest commit

 

History

History
290 lines (249 loc) · 29.6 KB

CHANGELOG.md

File metadata and controls

290 lines (249 loc) · 29.6 KB

Changelog

Version 2.2.0

  • Remove args from grep() that are not in get_first() (5dcd107)
  • Rollback on exception (d3cefe5)
  • Rollback in case of errors (d23cf4e)
  • Also rollback the connection to avoid https://sqlalche.me/e/20/8s2b (6138ee0)
  • Rollback the datanommer session ( ef7358b, 532ee5c )
  • Zodbot is not a real Fedora user (bow nonetheless) (1d325da)
  • When querying for the first message, don't look earlier than the user's creation (3e5605b)
  • Handle sending Fedora Message from outside the consumer (like in scripts) (f4cc60b)
  • Update the Mirrormanager URL (0c9f553)
  • Fix the DN end datetime to be naive (db83d57)
  • Rate-limit the libravatar checker (5d8cccf)
  • Fix the tests after 3e5605bf (92fadc9)
  • Update the libravatar checker to look for the email we use, not openid (9418f13)
  • Adjust tests to changes in tahrir-api (0f727a3)
  • Better error handling in libravatar awarder (ef7b074)
  • Better protection against message schemas with flaky usernames properties (e0cbba1)
  • Update tahrir-api and tahrir-messages (c4cc4e5)
  • Fix build in Openshift (3d58828)
  • Check that mirror admins are in FAS before awarding them a badge (56ed3f8)
  • Fix the Vagrant development environment (614bb3d)
  • Major rework of how the rules are constructed (b4a9675)
  • Stop caching raw messages from datanommer (e1f7a80)
  • Store the message counts in the cache almost forever (d9e6067)
  • Only cache datanommer query results for the duration of message processing (0c19156)
  • Put FASJSON function in its own module. (8c864ef)
  • Add more blocklisted users (fd23f61)
  • Silence the false-positive detection (e96423a)
  • Set rows_per_page to zero by default (1278e62)
  • Update documentation for the new rules format (eac59e5)
  • Update dependencies in lockfile ( 9e4082b, e3907f4, f9302ba, eb1ab62, 6952631, 24ff73a )

Version 2.1.1

  • Add rows_per_page to the allowed datanommer grep args (ccfc0f6)
  • Python 3.10 compat for sent-at (b689df6)
  • Use the release datanommer version (e585557)
  • Remove the get_first reimplementation now that it's in datanommer-models (1737740)
  • Update dependencies

Version 2.1.0

  • Fix the libravatar manual awarder (86c402f)
  • Renew the diagrams (286507e)
  • Guard against libravatar failures (8202917)
  • Fix the github action to trigger on tags (4cf8894)
  • Guard against FASJSON returning 404 (fad6a70)
  • Add pagure to the list of banned users (32ecfbd)
  • Add one more banned user (55ad1d4)
  • Make the FASJSON call earlier, it's not that expensive anymore (6ab36d2)
  • Don't wait for datanommer for more than 5 seconds (77b176d)
  • Add a way for rules to run the datanommer query (137ff81)
  • Optimize the query to check if the message is in datanommer (d79ca05)
  • Add packit in the banned users (f2c2f18)
  • Add koschei to the banned users (1328636)
  • Add a caching system for some datanommer values (18b39cd, 3f42962, 35316d5, a8becdd)
  • Add Redis support for caching (a572468)
  • Fix the tahrir DB session in the consumer (8d4908e)
  • Retry FASJSON connections (c9cd62e)
  • By default, award badges to the message agent, not all users affected by it (25f5c28)
  • Minor refactor (5cc404c)
  • Temporarily use blockingCallFromThread to publish Fedora Messages (75a9b73)
  • Ignore osbuild-automation-bot (8665481)
  • Don't check datanommer if the message is old enough (18b6025)
  • Add a schema package (ef365b0)
  • Run year-specific datanommer queries and cache them accordingly (19a65a7)
  • Make the rules reload interval configurable (f06aee8)
  • Convert Changlog to Markdown and use it in the Github action (2b16bb8)
  • Update dependencies

Version 2.0.0

  • Rebase on Fedora Messaging
  • Use Poetry
  • Use FASJSON Client
  • Make it work in Openshift
  • Add CI with Github Actions
  • Drop badgrclient and go back to tahrir-api as the implementation was never finished
  • Use Black for formatting
  • Use Ruff for linting
  • Lots of other changes, see the git log for details

Version 1.0.3

  • Add quick support for FASJSON (using requests, as fasjson-client is python3 only)

Version 1.0.2

  • Get the list of authors form pagure to query datanommer #69

Version 1.0.1

  • Bug Fix: Make sure the fedmsg is iterable in the rules matches function 5e3476c

Version 1.0.0

  • Handle authors from pagure messages #67
  • Remove the pkgdb criteria #66
  • Add cico.pipeline to run tests in CentOS CI #63
  • Add support for tox runner #62

Version 0.5.3

  • Force lowercase when comparing package names with pkgdb #47
  • A diagram for how fedbadges relates to the other badges.fp.o pieces. #48
  • Ignore service users (e.g. mbs/mbs.fedoraproject.org) #55
  • Use open() rather than file() #56
  • Add openid2fas resolution #59

Version 0.5.2

  • Set the consumer to consume all topics. e24b892f7
  • Merge pull request #45 from fedora-infra/feature/liberal-topic 5236b6e4e
  • Don't award badges to bodhi or taskotron.. c81f57ecd

Version 0.5.1

  • Add missing import. 302431e64
  • Demote this log statement. 4a835748c
  • Use threading.local to separate sessions. d98a1ca6d
  • PEP8. 6c8f89d61
  • PEP8. 602c6abb2
  • Merge pull request #41 from fedora-infra/feature/race-conditions 0baa4599c
  • How did this work before...? 80eeeda53
  • Icky. 8de7b563d
  • Suppress integrity errors. 4b69382af
  • Merge pull request #42 from fedora-infra/feature/suppress-integrity-errors f72d8d07b
  • Remove unused imports. dc0691e92
  • Turbo Mode 169142cb1
  • Merge pull request #43 from fedora-infra/feature/turbo-mode 529fbdd27
  • Remove unused reference to nick2fas. 2a70f25b3
  • Add a new email2fas flag modeled off the existing nick2fas flag. 49941717b
  • Update test that changed since fedmsg_meta changed. 5e2a2305d
  • Merge pull request #44 from fedora-infra/feature/email2fas d922631b7

Version 0.5.0

  • Apparently its supposed to work this way. 308a1031d
  • Delete old pkgdb1 code. 37ebfa746
  • Don't let pkgdb2 errors turn into false positives. afbb41efe
  • Merge pull request #38 from fedora-infra/feature/pkgdb2-fixes-mark-ii 2abbedcd0
  • Allow a configurable FAS url for staging.. dcfd724ba
  • Merge pull request #39 from fedora-infra/feature/configurable-fas-url c7f6275c1
  • Enhance logging around the main loop. d36ca095b
  • Rely on fedmsg-provided queue. 0c278f068
  • Merge pull request #40 from fedora-infra/feature/fedmsg-queueing c6a771451

Version 0.4.3

  • Limit badges to only FAS usernames. a14fd7826
  • Merge pull request #36 from fedora-infra/feature/limit-to-fas 2ae084050
  • Add an old forgotten test file for pkgdb stuff. 3870e951a
  • pkgdb2 fixes like we did for fmn. 88beb2f17
  • continue 9c21bd099
  • Merge pull request #37 from fedora-infra/feature/pkgdb2-fixes 6edfa17c0

Version 0.4.2

  • Add some more verbosity to the fedbadges pkgdb caching logs. 617b3901a
  • Some rules are expecting this to be in scope when they are compiled. b7964226b
  • Handle None from the recipient_key. 40976161f
  • Merge pull request #35 from fedora-infra/feature/handle-None 891b5a454

Version 0.4.1

  • fedbadges.rules is expecting this to be user, not username. 8dd27fa7a
  • Use a large tg pagination value to really get all of the user's packages. dea5f0cb7
  • Datagrepper is expecting a lowercase "t" here. 347f23475
  • Merge pull request #34 from fedora-infra/feature/datagrepper-link-correction b723ad079
  • Merge pull request #32 from fedora-infra/feature/signature-mismatch 1d3a14039
  • pkgdb2 pagination. 12d65d69a
  • sigh, unrelated pep8. 7f2be375d
  • Actually use "page" here, duh. 677c13994
  • Simpler. a6208075c
  • Simply simpler. 9c0e5349b
  • ..and.. 0d2e1ed20
  • Merge pull request #33 from fedora-infra/feature/tg-pagination 0709c0297

Version 0.4.0

  • Allow ints in there. c355c71da
  • Merge pull request #26 from fedora-infra/feature/allow-ints bb832c302
  • Typofix. 017244d27
  • Add some explanation to the top of the README. d21a528d3
  • Add failing tests for using formatting in the criteria operation. dcfe26971
  • Fix tests by allowing formatting in criteria operations. 7bc69e9ae
  • Reorganize things and add doc strings to clarify whats going on here. abf57005e
  • Merge pull request #27 from fedora-infra/feature/formattable-operations d22581c6a
  • Add a negation operator. 6e857bb2f
  • Add a pkgdb criteria checker. c84fb8c76
  • PEP8. e1580a92b
  • Consolidate pkgdb api urls. 4b557bf64
  • Merge pull request #29 from fedora-infra/feature/pkgdb 8320d7127
  • Replace internally-used sets with frozensets. Fixes #25. e3f225fca
  • Merge pull request #30 from fedora-infra/feature/frozensets 7bc96b1a5
  • Store a link back to the triggering event. 774079532
  • Merge pull request #31 from fedora-infra/feature/store-a-link f711d7886

Version 0.3.0

  • make recipient_nick2fas an allowed config value. e93b00295
  • Grab tags from yaml if they exist and throw them in the db. 70c00692a
  • Fix spelling error in readme. cfd77ad13
  • Correctly deal with counting paginated results from datanommer. f3df5c9bc
  • Ignore anyone who is an ip address. d5c401e45
  • Fix that syntax error. be7a826b2
  • PEP8. e08a60d06
  • Import the regex module for use by rule lambdas. b301ed364
  • Update test mock now that tahrir-api has changed. 926268871
  • Improve mocked datanommer results for the tests. dafe6abfd
  • Improve test mocks to account for Person.opt_out. f3ef596b1
  • More improved mocking. This gets the test suite running again. f3288a9ed
  • Allow lambda expressions in the datanommer-criteria "operation". f636733fc
  • Use the modern link to the live badge rules. 67bd15bdf
  • Allow criteria definitions to overload these query arguments too. 4ebcd3caf
  • Publish a fedmsg message when a user's rank changes. af624bfda
  • Oh, and tahrir-api will emit this message for us too using our notification_callback. 6a0aec465
  • Remove explicit fedmsg initialization. It is unnecessary. 932d28bb3
  • Move notification_callback from a method to a function in fedbadges.utils. aa8f6878a
  • Merge pull request #22 from fedora-infra/feature/lambads-in-criteria 30433cfeb
  • Merge pull request #23 from fedora-infra/feature/publish-message-on-rank-change f9070dbad

Version 0.2.4

Version 0.2.3

  • In the future, add_badge will always return a smart id. 1fcd7a5eb

Version 0.2.2

  • Include requirements in the next release. 8ce3baad1
  • How did that get in there? 21d4323cc
  • Make BadgeRules accept the actual issuer_id. f771bb5c9
  • Pass the whole badge dict along with the fedmsg message. 5719a556a
  • Link to the ansible repo. c87c25925
  • Merge pull request #9 from fedora-infra/feature/link-to-badge-repo 97cb530f8
  • Merge pull request #7 from fedora-infra/feature/issuer-ambiguity a1c6568c1
  • Merge pull request #8 from fedora-infra/feature/more-info-in-messages ceeea73ae
  • Allow topic and otherwise comparisons to use "endswith". c8e66962c
  • Initialize fedmsg early. c854d72c6
  • Pass along the tahrir user_id so we can construct URLs from it elsewhere. c9f648148
  • Merge pull request #10 from fedora-infra/feature/endswith-comparisons 141ead243
  • Merge pull request #11 from fedora-infra/feature/init-fedmsg-early 6a027e6fb
  • Merge pull request #12 from fedora-infra/feature/still-more-fedmsg-info 75c2b3dc1
  • This is the right way to do this. 1d7d33639
  • Patch out fedmsg.init so tests are idempotent. fe3d098d9
  • Add failing test for dotted substitutions. e509c4058
  • Clarify that it is "recipient" not "recipient_key". 5082c3075
  • Enforce possible arguments to BadgeRule. 1774dd555
  • Use older formatting so we can use dotted lookups directly. 155cc28bd
  • Lowercase subsitutions. Workaround for wiki username. 4dd16600b
  • Use twisted's callLater to mitigate potential race conditions. 14c9f9a7d
  • .get_person doesn't work the way I thought it did. 7cbcb49c2
  • Typofix. e99b6619b
  • Remove redundant clause in the docs. a6a6e377e
  • Make badge matching fail more gracefully. 553a00647
  • Add an example yaml file from our realdeal badges repo to the tests. 1cbbf7fad
  • Move MockHub out into a test utils module. 821b78ef2
  • Add failing test for complicated tagger trigger. f09523a4a
  • Add a parent relationship to the badgerule tree. 5f3c0416e
  • Add and test a graceful decorator. 691c8285b
  • Add a positive test for the complicated tagger trigger. 9a057db4d
  • PEP8. 679dd0011
  • Stop using __builtins__ directly. 1813c1d54
  • Support numeric substitutions with type in tact. a570a43a1
  • Make sure that nested subs work like that too. dfe313140
  • Expand the way subsitutions are constructed. 74314be3d
  • Further fix and test for nested recipient_key. df2ee10f1
  • Use transactions and update to the latest tahrir-api. 2b1e55d13