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

Bump sourcecred from 0.10.2 to 0.11.2 #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2022

Bumps sourcecred from 0.10.2 to 0.11.2.

Release notes

Sourced from sourcecred's releases.

sourcecred v0.11.2

Summary

Critical bug patch to solve discord server ids passing the quintillion mark

Contributions

3c76945ef1c7b4d892602764d6a1ec70aebfecbc Discord message IDs have passed the quintillion mark and this has led to an infinite loop in the codebase due to a string comparison on numeric IDs. This PR proposes a simple fix of casting the IDs to numbers before doing the comparison. (#3361)

sourcecred v0.11.1

Summary

Critical bug patch to solve [Error: ENOENT: no such file or directory, open '/home/runner/work/org/repo/output/graphs/sourcecred/discourse/graph'] during the graph step of the Generate Cred Action.

Contributions

24f8be32f4fbbfb15bee8d299d322b988af4e935 Bugfix: explicit directory creation for plugin outputs (#3348)

sourcecred v0.11.0

Note: critical bug involving directory creation patched in 0.11.1

Summary

Wowee! As our core developers move on to other opportunities, this will be the last 1st-party update for the foreseeable future. But it is an EXCITING one. And it should be a safe, zero-effort upgrade (except for a small breaking change in our developer library).

CredEquate: an experimental alternative core algorithm

CredEquate is a new scoring algorithm based on simple algebra. It can be used instead of, or in parallel with, our existing pagerank-based algorithm CredRank. As of this release we consider CredEquate to be sufficiently production-ready. So far, it supports implementations in the Discord and Github plugins, and it comes with a broad set of advantages compared to CredRank. To learn more about the comparison, and to learn how to try it out, go to https://sourcecred.io/docs/guides/core-algorithm

Configuration Editor GUI

Setting up a SourceCred instance has long been a very manual and technical process that requires local git managment, terminal commands, and hand-editing JSON. In this version, a new Configuration Editor GUI makes a major step towards reducing the barriers to using SourceCred.

Now, you can edit the sourcecred.json file (which is especially important when using CredEquate) in a local-hosted admin portal by navigating to the new menu option "Edit Plugins." There, your sourcecred.json file will be loaded into a webform, where you can edit it and then click "Save" to save the changes back to disk. For more information on how to configure the CredEquate plugins section of this page, go to https://sourcecred.io/docs/guides/core-algorithm

Additionally, we have created an experimental no-clone, no-terminal way of using this GUI with a static remote-hosted site. This experience involves inputting a GitHub API key so that the page can read and write to GitHub instead of to a local disk. The API key is only stored in your browser's memory, and only used to make client-to-GitHub API calls. There are potential security risks with this method, but the benefits are worth exploring. To try it out, go to https://cred.sourcecred.io/#/instance-config in Google Chrome (make sure you trust your Chrome extensions).

Our dream is that one day, this config editing experience will be available for all of the JSON configuration files used by a SourceCred instance. We hope that others will be inspired to build this dream out using the foundation that we have laid here.

CSV Grain Integration and Payout Address storage

FINALLY, a feature that makes it easy to distribute tokens using SourceCred! While this is not a direct on-chain integration, it is a HUGE improvement to treasury workflows. The basic outline is:

  1. An integration currency can be configured in grain.json
  2. Participant payout addresses can be stored in the SourceCred ledger.
  3. The Grain distribution CLI / Action can be configured to output CSV files compatible with either disperse.app or Gnosis Safe's CSV Airdrop app.

For detailed instructions, go to https://sourcecred.io/docs/guides/csv-grain

Load Discord data starting at a configured date

Discord has always been a major scalability limit. Some Discord servers are just too big to reasonable load and process all their historical data. Now, you can add an attribute to the config/plugins/sourcecred/discord/config.json file to set a beginning date, and the plugin will only load data after that date. For example, to only load Discord data after December 1st, 2021, add "beginningDate": "2021/12/1"

[devs] [Breaking Change] Reversed the GithubStorage breaking change from 0.10.1/0.10.2

In 0.10.1/0.10.2 we renamed the github writing class from GithubStorage to WritableGithubStorage, which was a breaking change for 3rd-party code that used GithubStorage. In this version, we have renamed the export back to GithubStorage. We apologize to developers who have already updated to 0.10.2 for the churn, but we are glad to say that developers who hadn't updated yet will not experience a breaking change as they move to 0.11.0.

[devs] Polymorphic WriteInstance class

Our library now exports the new WriteInstance module, which allows for easy reading and writing of SourceCred inputs and outputs. It's constructor accepts an object that implements our WritableDataStorage interface (get and set methods). The module also includes a factory for creating a GitHub-compatible WriteInstance like so: sc.instance.writeInstance.getGithubWriteInstance(myApiKey, myRepo, myBranch)

Contributions

cb45917cd2aa06404754367273e90d010928f867 Create a GUI config editor for RawInstanceConfig (#3343)

... (truncated)

Commits
  • 3da222e Bump sourcecred version to 0.11.2 (#3362)
  • 3c76945 Discord message IDs have passed the quintillion mark and this has led to an i...
  • a6e1d82 Bump sourcecred version to 0.11.1 (#3349)
  • 24f8be3 Bugfix: explicit directory creation for plugin outputs (#3348)
  • 16c62d5 Bump SourceCred version to 0.11.0 (#3347)
  • cb45917 Create a GUI config editor for RawInstanceConfig (#3343)
  • 0506e48 Addng WriteInstance into LocalInstance inheritance hierarchy (#3325)
  • 6f66bce Github action for generating docs (#3346)
  • 6a4c808 CredRank: add timestamp to MarkovProcessGraph nodes (#3345)
  • 37144a0 take and pass args to storage in persist (#3339)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [sourcecred](https://github.com/sourcecred/sourcecred) from 0.10.2 to 0.11.2.
- [Release notes](https://github.com/sourcecred/sourcecred/releases)
- [Commits](sourcecred/sourcecred@sourcecred-v0.10.2...sourcecred-v0.11.2)

---
updated-dependencies:
- dependency-name: sourcecred
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants