Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/sourcecred/sourcecred
a social algorithm for computing cred
https://github.com/sourcecred/sourcecred
Summary:
Each change provides real value, by either testing a plausible happy
path that simply...
Summary:
This simplifies and clarifies the code with no observable change.
Test Plan:
Exist...
Summary:
This is mostly useful not for computational efficiency, but for ease of
implementatio...
Summary:
This commit augments the `Mirror` constructor to turn the provided
GraphQL schema int...
According to the [jest docs], setting `maxWorkers=4` can substantially
improve performance on C...
Our continuation-fetching code failed to properly get continuations for
pull request review com...
Summary:
Fixes #850.
Test Plan:
Regression test added; it fails before the change and passe...
This commit upgrades the flow-type eslint plugin to latest, and writes
new rules into the eslin...
Summary:
This commit introduces the `Mirror` class that will be the centerpiece
of the persist...
* Define Reaction edges
This adds support to `github/edges` for creating edges representing
...
Test plan: I verified that the spelling is correct
488c98c3e1a5ddd5db05b2e8f1d8762e188bbd4b authored over 6 years ago by Dandelion Mané <[email protected]>
This adds support to `github/edges` for creating edges representing
GitHub reactions. These edg...
Summary:
In implementing #622, we’ll want to run lots of things inside of
transactions. This c...
Summary:
This affords more flexibility to clients, because an exact value can be
used in place...
This commit updates the GitHub graphql query to also fetch reactions.
We update the JSON typede...
Summary:
Before this patch, an object whose type has read-only attributes cannot
be passed to ...
This commit updates the GitHub graphql query to also fetch reactions.
We update the JSON typede...
Now that #832 gave us logic to parse references to commits, we have the
RelationalView find and...
Summary:
The `flow-typed` repository doesn’t have type definitions for
`better-sqlite3`, so I ...
We add a new function, `findCommitReferences`, which can find both
explicit url references to c...
Summary:
I selected this over the alternatives, `sqlite` and `sqlite3`, primarily
because its ...
Summary:
GraphQL unions are required to be unions specifically of object types.
They cannot co...
Summary:
This commit introduces a module for declaratively specifying the schema
of a GraphQL ...
There was a bad interaction between #830 and #829, wherein they both
independently changed the ...
I added two new issues. One of them has references to commits, which is
relevant for work on #...
Now that the GitHub plugin knows about commit messages (#828), we can
parse those commit messag...
We could get this information from the Git plugin, but since we want to
use this for reference ...
In #824, we loaded every commit in the default branch's history into the
GitHub relational view...
This builds on #821 so that every commit in the default ref's history is
added as a Commit enti...
GitHub has a procedure for encoding node addresses into sequences of
string "parts", so that we...
This fixes another instance of the notorious [facebook/flow#6400]. We
also fix some type errors...
- the capitalization of the GitObject types was incorrect
- removed an outdated TODO
Test pl...
5c46636611d00321695fb0637a20143ea487352d authored over 6 years ago by Dandelion Mané <[email protected]>
This adds logic for retrieving every commit in the default branch's
history, along with authors...
It now mentions that we added `MentionsAuthor` edges to the GitHub
graph in #808.
Thanks @wh...
2a5c093286fb4fa4dd13564557923e78f09c759a authored over 6 years ago by Dandelion Mané <[email protected]>
This adds a `Commit` entity to the GitHub relational view. It has all
the standard methods: com...
The Git plugin owns Commits, but the GitHub plugin also creates commits.
This commit reifies th...
This commit pulls the graphql fields to request commit information into
a fragment, and request...
Both the GitHub and Git plugins create a `_Prefix` object for nodes and
edges, which gives the ...
Generated via `src/plugins/github/fetchGithubRepoTest.sh -u`
`yarn test --full` passes.
Cl...
70fe67799015e9fc1186e1c6445ca334e3019f05 authored over 6 years ago by Dandelion Mané <[email protected]>
This commit builds on the work in #806, adding the
`MentionsAuthorReference`s to the graph. It ...
A `MentionsAuthorReference` is created when a post mentions a user, and
that user has authored ...
With some frequency we find ourselves needing to maintain maps whose
values are arrays that we ...
Summary:
CI mode prevents Jest from automatically writing snapshots, and also
causes obsolete ...
Summary:
Resolves #800. The newly added test takes about 2ms per file.
Test Plan:
Run `yarn...
Summary:
Per #800, each test file should start with a `describe` block listing
its file path u...
Test plan: I ran `yarn test --full`. I also regenerated data from
scratch and manually tested t...
Previously, the WeightConfig (and the button that expanded it) were in
the credExplorer App. Th...
Test plan: `yarn test` sufficies for this simple move.
b632bd61887d1db4709d92f715d8c20944697bb9 authored over 6 years ago by Dandelion Mané <[email protected]>
This commit implements a [suggestion] to make `credExplorer/App` a
single source of truth on th...
This will make it easier to re-organize the weight components so that
the WeightedTypes have a ...
This commit refactors `credExplorer/App` so that instead of storing an
`EdgeEvaulator` in its s...
See the docstring for details.
Test plan: Unit tests.
417265a4d40bbf073b23e10707890e2ff57fe52e authored over 6 years ago by Dandelion Mané <[email protected]>
Summary:
This upgrade didn’t require fixing any new errors, but Flow is a good
dependency to k...
Test Plan:
`yarn flow` passes, and the [Jest docs][1] suggest that the added type
annotations ...
Summary:
Mostly Webpack loaders that have become unused through various config
changes.
Tes...
92514ad559598dab8b979c41e9188f17044575a5 authored over 6 years ago by William Chargin <[email protected]>
This refactors PluginWeightConfig so that it uses the
`defaultWeightsForAdapter` method introdu...
This commit creates a central `weights` module that defines all of the
weight-related types, an...
Currently, the `credExplorer` uses the `defaultStaticAdapters`, but it
imports these adapters i...
This commit adds `weightsToEdgeEvaluator`, a function for converting
weighted node types into a...
Summary:
Lots of tests need the output of `yarn backend`. Before this commit,
they tended to c...
This is convenient for testing other code, where we may want to directly
use the fallback types...
Summary:
This commit removes the `config/backend.js` script and replaces it with
a direct invo...
Summary:
We currently configure the Babel config with environment variables: in
particular, th...
Summary:
Over the past few commits, I have accidentally removed all Flow errors
from the Webpa...
Summary:
Previously, our `webpack.config.backend.js` file actually exported a
function that co...
This commit adds PluginWeightConfig, which is responsible for
adding all the weights for an ind...
Summary:
This logic isn’t currently useful to us. If we want this functionality,
we should con...
Summary:
As of #775, this is no longer used.
Test Plan:
A `git grep eslint-loader` shows no...
Summary:
Webpack will fail (quickly) if any required entry points do not exist.
The `scripts/b...
Summary:
We lint separately, with `yarn lint`. There’s no need to duplicate this
effort.
Te...
3d0f295ba7a3f011028ca4423a9862b9ef41b5ba authored over 6 years ago by William Chargin <[email protected]>
Summary:
Both the backend and the web builds want to empty the build directory
before starting...
`testUtil.configureEnzyme` now additionally asserts, after every test,
that `console.error` and...
Summary:
This patch fixes a particularly sneaky bug. Our test script contains a
literal backti...
Summary:
This change should have happened in #768. However, I didn’t catch it
then because `ya...
Summary:
This simplifies interfaces everywhere.
See also #216, which did the opposite of thi...
5e0833421af1902c6d5ffa08e79659303b8e962f authored over 6 years ago by William Chargin <[email protected]>
Summary:
The approach used by `create-react-app` (the source of this code) seems
to be the fol...
Summary:
The distinction was useful while `makeWebpackConfig` was being developed
(between #56...
Test Plan:
Run `mkdir /tmp/out; cd /tmp/out; python -m SimpleHTTPServer`. In
another shell, ru...
Currently, it's possible to lock the cred explorer UI via the following
sequence of actions:
...
a133a7252f0c1cfa982a3f8d7e300a01bca89c58 authored over 6 years ago by Dandelion Mané <[email protected]>
This commit modifies the edge type so that it has a
`defaultForwardWeight` and `defaultBackward...
This commit introduces a new component, `EdgeTypeConfig`, which is
responsible for configuring ...
This factors `NodeTypeConfig` out of the `WeightConfig` component. The
scope for a `NodeTypeCon...
* StateTransitionMachine.loadGraph reports success
Step one towards #586. This will enable us...
44407b5520bd570198e335851e23bb81a92f8304 authored over 6 years ago by Dandelion Mané <[email protected]>* StateTransitionMachine.loadGraph reports success
Step one towards #586. This will enable us...
1135141054d6edd19d07c25d4ec807048689656e authored over 6 years ago by Dandelion Mané <[email protected]>
Step one towards #586. This will enable us to chain runPagerank after
loadGraph only if the loa...
Fixes #732; see that issue for context.
Test plan:
The success case still works (verified th...
As of #699, the GITHUB_DELAY_MS code is vestigial. It should be removed.
Test plan: After reb...
f3fbb3940b0c7f82622397f7c0d6869d085eeb33 authored over 6 years ago by Dandelion Mané <[email protected]>
Summary:
In #715, I used Bash arrays for convenience. Our tests should run under
POSIX `sh` (a...
Test Plan:
Running `./test_build_static_site.t --long -v` no longer detects the
feedback URL a...
Summary:
To facilitate communication and contribution, the Discord
invitation has been linked....
Test Plan:
Note that `yarn backend; node bin/sourcecred.js help` still works.
Note that `git g...
Summary:
This commit changes the CLI to use the code in `cli` instead of `oclif`.
A subsequent...
Summary:
This ports the OClif version of `sourcecred load` to the sane CLI
system. The functio...
Summary:
This includes environment variables to specify the SourceCred directory
and the GitHu...
Summary:
This commit includes a minimal usage of an actual CLI application. It
provides the `h...
Summary:
This commit introduces the notion of a `Command`, which is simply a
function that tak...
Summary:
Per #580, we aim to remove OClif. To do so, we move the old system to a
directory `oc...
Our serialized RelationalView can get quite large - in the case of
TensorFlow it's over 190MB. ...
Summary:
We store the relational view in `view.json.gz` instead of `view.json`,
taking advanta...
Summary:
This is a follow-up to #746, wherein we exposed our fixed `env` to the
backend applic...