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.0 #35

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 18, 2022

Bumps sourcecred from 0.10.2 to 0.11.0.

Release notes

Sourced from sourcecred's releases.

sourcecred v0.11.0

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 conside 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) 0506e483a68e742d55ef1a5a02ac0ed3628cc243 Addng WriteInstance into LocalInstance inheritance hierarchy (#3325) 6f66bcec7591a0145a3857766cdcbbe2d98d4267 Github action for generating docs (#3346) 6a4c808d72f5866220ce01c9d2ebbe61893f5a8a CredRank: add timestamp to MarkovProcessGraph nodes (#3345) 37144a0cb7a5f31a6d593eea6900413ff8d78fef take and pass args to storage in persist (#3339) 3939ea0a5d32ae9fea631f02f095cabd71c63bc1 fix backward compatibility for gh storage (#3340) 67af2540b38961913e458f0497872b1e1da20e70 Discord: fetch backwards and add a beginningDate config (#3329) 404b11cc92e648fbe2844f85a77650c1596cf5a4 Change the Go CLI to run contributions, and use hybrid instead of credrank (#3337) ac5d05df39bb13a9620b4f5ceb7dff29e3c2ae63 CredEquate: create MVP GitHub plugin (#3338) 68b9fbd835c95e016cb148def5099aa92f613255 Helper method for finding CredEquate contributions by key/subkey (#3330) e8950b3624b6fee976f1aed2f5cc1faf67e9baa6 Dependency cred support for CredEquate (#3328) b5298c04723fe49a163049757cb35b968a4a419a Get CSV grain integration production-ready (#3320) 86189db34b3635b975ce37595b5c2478b99f9f24 Add hybrid CLI that calls both credrank and credequate (#3322) 77dde287650ee0aa80a11bca54f978f330b57436 Add static method for merging CredGrainViews (#3323) 7e4518db2446418a04e1f7a05f2af22230a8085b Explorer Home: Make Grain column name match configuration (#3318) 8bafdf9c89bb4bd3957597eaf6ff9f583808eebc Support for Gnosis in Csv Grain Integration (#3321)

... (truncated)

Commits
  • 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)
  • 3939ea0 fix backward compatibility for gh storage (#3340)
  • 67af254 Discord: fetch backwards and add a beginningDate config (#3329)
  • 404b11c Change the Go CLI to run contributions, and use hybrid instead of credrank (#...
  • ac5d05d CredEquate: create MVP GitHub plugin (#3338)
  • 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.0.
- [Release notes](https://github.com/sourcecred/sourcecred/releases)
- [Commits](sourcecred/sourcecred@sourcecred-v0.10.2...sourcecred-v0.11.0)

---
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 Mar 18, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 24, 2022

Superseded by #38.

@dependabot dependabot bot closed this Mar 24, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/sourcecred-0.11.0 branch March 24, 2022 06:19
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