Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/sourcecred/odyssey-hackathon
Repo for working on our Odyssey Hackathon project
https://github.com/sourcecred/odyssey-hackathon
Previously, when expanding a node in the cred explorer, it would display
the neighboring nodes,...
Summary:
It looks like this now:
![Screenshot](https://user-images.githubusercontent.com/43178...
Summary:
This commit adds sliders for each node and edge type (hard-coded for
now), and hooks ...
Summary:
PageRank wants an _edge evaluator_: a function mapping an edge to its
to-weight and f...
Summary:
As we add sliders for adjusting the PageRank parameters, we trigger a
bunch of unneed...
Summary:
To verify that the correct graph is loaded, we display the graph’s node
and edge coun...
Rewrites the README to be a lot more concrete about what SourceCred is
doing, and to give more ...
Summary:
See #432. This commit switches the GitHub Markdown parser from matching
regular expre...
Summary:
This commit exposes a function of type `(string): string[]` to
encapsulate the whole ...
Summary:
The regular expressions used to detect GitHub references were of the
form `/(?:\W|^)(...
Summary:
The `^` metacharacter only matches the start of a non-initial line when
the `m` (“mul...
It references a non-existent file.
Test plan: `yarn travis --full` passed.
664b8ac8d06d085f9edbbd0119c2dcfe7935b346 authored over 6 years ago by Dandelion Mané <[email protected]>
Test plan:
`git grep -i v3` only shows incidental hits in longer strings
`yarn travis --full` ...
Summary:
The bridge introduced in #448 has now served its purpose, and may be
deconstructed. T...
Test plan:
`node bin/sourcecred.js load sourcecred example-github` works
`yarn start` works
`...
Summary:
This could also be moved into the bridge directory, but this way is
marginally easier...
The `load` command replaces `plugin-load`. By default, it loads data for
all plugins, and does ...
Test Plan:
`yarn start` and `node bin/sourcecred.js start` both still work.
wchargin-branch:...
bb75cc54cd75ee00b9bd730501aebdd886798218 authored over 6 years ago by William Chargin <[email protected]>
This integrates the PageRank table from #466 into the v3 cred explorer
app, bringing the v3 fro...
Summary:
Fixes #445. Created with:
```
$ src/v1/plugins/github/fetchGithubRepoTest.sh -u
$...
Ports #265 to the v3 branch, along with some tweaks:
- Only display log score, and normalize th...
Summary:
This enables plugins to specify different semantic types of nodes, along
with human-r...
Summary:
This presents a human-readable name for a plugin. It’s not yet used
anywhere.
Pair...
728a3cdf3753b7719c2f11b124497dcbe44d5372 authored over 6 years ago by William Chargin <[email protected]>
Test plan:
Run the following commands:
```
node bin/sourcecredV3.js load-plugin-v3 sourcecr...
Summary:
This enables grabbing the GitHub relational view from disk and
converting it to a gra...
Summary:
Text input boxes for repository owner and name now appear. “Loading the
data” consist...
In GitHub, you can make cross repo references. For example,
sourcecred/sourcecred#459 is one su...
This commit adds `loadGitData`, which clones the git repository for a
given repo and saves the ...
Summary:
Pending the resolution of brigand/babel-plugin-flow-react-proptypes#201,
we’re removi...
This method takes an arbitrary structured address and returns an entity
for it (if a matching e...
This module exposes a method, `pagerank`, which is a convenient entry
point for taking a `Graph...
I'm planning to make a `pagerank.js` module that is a clean entry point
for all the graph-pager...
If `findStationaryDistribution` is passed `0` as `maxIterations`, then
it should return the ini...
This commit enables paired authorship on GitHub authored entities.
If the entity has the string...
Summary:
This implements Step 3 of the plan described in #448.
Test Plan:
Run `yarn start` ...
Summary:
The bridge now lets you select any version of the app that you want, as
long as that’...
Summary:
Our build system doesn’t make it easy to have two separate React
applications, which ...
Summary:
This provides a command-line entry point `load-plugin-v3` (which will
become `load-pl...
Summary:
Due to oclif’s structure, this entry point shares its `commands`
directory with that ...
Generated via
```
$ src/v3/plugins/github/fetchGithubRepoTest.sh -u
```
Test plan: travis
3bf496b06fd55b3e231bfbc9e90f1229b246c6c7 authored over 6 years ago by Dandelion Mané <[email protected]>
This adds additions and deletions to the v3 Pull data model, and also
uses them in the pull des...
This adds methods for serializing the GitHub RelationalView.
We have not put in the work to e...
6356c5477f3716e5a241cda0108505874f729dac authored over 6 years ago by Dandelion Mané <[email protected]>
Now that we want to implement RelationalView de/serialization, we need a
way to construct one w...
Summary:
This makes progress on #432. We’d like to look for GitHub references
only within each...
Summary:
We plan to use this to more intelligently extract references from GitHub
text content...
This commit adds a `description` method that takes a GitHub entity, and
returns a description o...
`match` implements pattern matching over `Entity`
Test plan:
Unit tests included.
Callers will want to write functions that are generic over `Entity`.
This makes those call sign...
Currently, GitHub tests load example data with ad-hoc methods. It makes
it easy for the author ...
The Git and GitHub plugins have folders that contain small example data,
as used for tests and ...
This is a very simple extension of #431 to use the new reference
detection logic added in #429....
This commit modifies `github/createGraph` to use the `RelationalView`
class created in #424. Th...
For every `TextContentEntity` (`Issue`, `Pull`, `Review`, `Comment`),
this commit adds a `refer...
Based on offline design discussion with @wchargin, we've decided to
upgrade the `RelationalView...
Summary:
This is based on the V1 file `basicPagerank.js`. The API is necessarily
changed for t...
Summary:
We’d like to use this test case to generate a Markov chain, which
requires that it no...
Summary:
This code is independent of the graph abstraction, and so is mostly
copied. The only ...
This code is about parsing references out of text, so `parseReferences`
is a better name.
Th...
659fc51d9b623a19fef2fabdda9963155a7376b8 authored over 6 years ago by Dandelion Mané <[email protected]>
Summary:
Closes #417. Submodule commits are dead; long live commits. The ontology
is now:
...
518d5b819c2628b20f5f12e406ce312f7e35cd73 authored over 6 years ago by William Chargin <[email protected]>
Summary:
Submodule commits need not have associated tree objects, in case the
repository to wh...
Summary:
Similar in structure to the GitHub graph view.
Test Plan:
Unit tests added, with f...
Summary:
This commit adds logic to create the Git graph, modeled after the GitHub
graph creato...
The `RelationalView` maps the GitHub GraphQL response data into a View
class, which makes it ea...
The code will be refactored so that references are expressed in terms of
the GitHub node addres...
Summary:
The public method `checkInvariants` on graph is now cached. The cache is
invalidated ...
This commit:
- adds `github/createGraph.js`
- which ingests GitHub GraphQL response
- and...
Test plan:
`yarn travis` passes
Summary:
This is modeled after the GitHub edge module format. In particular, the
whole length ...
Summary:
This is modeled after the GitHub node module format, with the obvious
alterations plu...
Test Plan:
Existing Flow and unit tests suffice.
wchargin-branch: git-v3-remove-payloads
83151d9fac552abd0e6b94ba38ff3ced2c0c3c12 authored over 6 years ago by William Chargin <[email protected]>
Summary:
Many files are unchanged. Some files have had paths updated, or new
build/test target...
Summary:
We had `edgeExamples`, wherein we constructed examples of edge addresses
(not actual ...
Test Plan:
Observe that the new snapshots are easier to read. Might as well make
sure that the...
Summary:
We have `edgeToString`, which formats edges as nicely human-readable
strings. However...
Summary:
In #394, we uppercased the constants for GitHub node types. However, we
were using st...
- Switch string constant node and edge types (e.g. "REPO") to exported
consts (eg `export const...
Test plan: Not needed.
Paired with @wchargin
a8bf6a36bf2c995dc91d778fc8be6664e371f3e8 authored over 6 years ago by Dandelion Mané <[email protected]>
Summary:
@decentralion wants this! :-)
Test Plan:
Verify that the case-insensitive diff is ...
Summary:
This fixes up all instances of `fromParts([])` that are not in
`address.js` or `addre...
Summary:
This can make invocations of `FooAddress.fromParts([])` a bit more
succinct.
Paire...
6ba6d885ad65ed4264cb365c8afa367f9706fc00 authored over 6 years ago by William Chargin <[email protected]>
Similar to #390, we now allow filtering the results from `Graph.edges`
by address prefixes. It'...
Simple API addition to match v1/v2 semantics.
In the future, we can perf optimize this if we sw...
Test plan:
Unit tests added. Run `yarn travis`.
The GitHub regex code is inspired by work in...
95c5af36d934ccea2015f52fcc79098324ecc157 authored over 6 years ago by Dandelion Mané <[email protected]>
Summary:
This module includes a raw edge type, a structured edge type, and edge
creation funct...
Will be useful in graph creation logic, and in #385
Test plan: Only change is to add types. N...
17b390afe94e9f0bdf0635c2b8bdf04287e04d7f authored over 6 years ago by Dandelion Mané <[email protected]>
Summary:
We’ll want to use this in the upcoming `edges` module.
Test Plan:
Existing unit te...
Test plan:
`yarn travis`
Summary:
First, we rename the module itself from `address` to `nodes`: we’d like
to put the ed...
One of the slight modifications we've made in v3 is to effect the
following renames (as impleme...
Summary:
This has two primary benefits:
- Humans can look at this snapshot file to see what’...
Summary:
This module exposes a structured type `StructuredAddress`, an embedding
`GithubAddres...
This commit copies the following logic necessary for downloading GitHub
data into v3. Minimal c...
Summary:
We’ve added a comment directly on a pull request.
Paired with @decentralion.
Tes...
ed70947c634380db64beacfdc6df3081908d10e3 authored over 6 years ago by William Chargin <[email protected]>
Summary:
Each of the invariants listed at the top of the `Graph` class is now
explicitly check...
The `advancedGraph` is an example graph defined in `graph.test.js`.
It shows off many tricksy f...
The serialization scheme uses `IndexedEdge`s:
```js
type Integer = number;
type IndexedEdge...
* Implement `Graph.merge`
Tests are mostly copied over from the v2, as implemented in #320.
...
Tests are mostly copied over from the v2, as implemented in #320.
Some new tests were added, e....
No changes made to the code - it's a straight copy.
Test plan:
Unit tests are included.
Summary:
The previously listed invariants were weak on two counts. First, it was
unstated that...