FactBase Extended (FBE)
It's a collection of tools for zerocracy/judges-action. You are not supposed to use it directly, but only in a combination with other tools of Zerocracy.
The following tools runs a block:
-
Fbe.regularlyruns a block of code every X days. -
Fbe.concluderuns a block on every fact from a query. -
Fbe.iterateruns a block on each repository, until it's time to stop. -
Fbe.repeatedlyruns a block of code every X hours, leaving a fact-marker in the factbase.
These tools help manage facts:
-
Fbe.fbmakes an entry point to the factbase. -
Fbe.overwritechanges a property in a fact to another value by deleting the fact first, and then creating a new similar fact with all previous properties but one changed.
They help with formatting:
-
Fbe.whoformats user name. -
Fbe.issueformats issue number. -
Fbe.awardcalculates award by the bylaw. -
Fbe.secformats seconds.
They help with external connections:
-
Fbe.octoconnects to GitHub API.
They help with management:
-
Fbe.pmptakes a PMP-related property by the area. -
Fbe.bylawsbuilds a hash with bylaws.
How to contribute
Read these guidelines. Make sure your build is green before you contribute your pull request. You will need to have Ruby 3.2+ and Bundler installed. Then:
bundle update
bundle exec rakeIf it's clean and you don't see any error messages, submit your pull request.