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
Summary:
When we shell out to `git`, we don’t want the end user’s environment
variables and Gi...
Summary:
Using `array.join()` added commas at the start of some lines; I meant to
use `array.j...
Some consumers of the graph may prefer to treat it as an undirected
graph. For example, when fi...
Summary:
The main example repository now covers the currently desired features:
it has blobs, ...
Summary:
We’ll use this to create the repositories on disk and then push them to
GitHub.
Te...
d6e9b0a72b85990f9a81d290fa26f858ffeb1425 authored over 6 years ago by William Chargin <[email protected]>
Summary:
In particular, we excluded `bin`, but this was catching non-root
directories named `b...
Summary:
We want our main repository to include submodules so that we can test
submodule suppo...
Test Plan:
Note that the snapshot change is simply a move: no SHAs were changed.
wchargin-br...
75fd068a359ca3778084e3eb87e70b454aad81f8 authored over 6 years ago by William Chargin <[email protected]>
Summary:
The `loadRepository` test tries to clean up temporary directories, but
failed to do s...
Summary:
A few reasons for this:
1. This _is_ a utility, so it makes sense semantically.
2....
Summary:
Utilities like `deterministicCommit` provide valuable functionality that
we will want...
This commit adds an optional `typeOptions` argument to Graph.getInEdges
and Graph.getOutEdges. ...
In preparation for using type info in the Graph apis, it is helpful to
have richer type info in...
Our GitHub parser is implemented via a `GithubParser` class which builds
the GitHub graph. This...
Summary:
We should be able to get the types without depending on the function to
load a Git re...
There's some context at #127, in which I initially proposed this change.
In addition to the l...
ad56ba087cb6fad34362647cf70a1c51cbb35bc7 authored over 6 years ago by Dandelion Mané <[email protected]>
Once the type was added, flow correctly discovered a bug in
GithubGraphFetcher.js, which result...
The example-repo.json file is regenerated with large diffs due to the
change in indentation lev...
This commit adds flow typing for the JSON result from hitting the GitHub
graphql api. We can't ...
Summary:
In this newly added module, we load the structural state of a git
repository into mem...
github/githubPlugin.js was growing ungainly - it contained two major
pieces: all of the node an...
We have urls for all the author types, so for consistency across GitHub
payloads, I am adding u...
Add logic to findReferences for finding GitHub username references,
e.g. "Hello, @wchargin!". T...
This is consistent with the single export (findReferences.js now exports
`findReferences`)
Currently, every type of reference has its own type signature: numeric
references are returned ...
Summary:
This replaces the implementation of a static check from a somewhat
complicated use of...
Keeping the GitHub demo data up-to-date is important, and there isn't
good documentation for ho...
This commit modifies our GitHub graphql query so that we request urls
for all objects (e.g. use...
- Give a more detailed and up-to-date vision for SourceCred
- Update the discuss link to point ...
Summary:
This commit completes the ad hoc pagination solution described in #117:
we implement ...
Summary:
Once we execute the root query, find continuations, embed the
continuations into quer...
Summary:
Per #117, this is a first step toward at writing a pagination API that
specifically t...
Summary:
Any time that we pull fields off a connection object, we may need to
repeat the query...
Summary:
Per #117, we want to develop an ad hoc pagination API written
specifically against th...
Summary:
This was created by re-crawling the GitHub repo via `fetchGithubRepo`,
and then updat...
Summary:
For pagination, we’ll want to query against multiple entities of the
same type. Graph...
Test Plan:
Standard `yarn flow` and `yarn test` suffice.
wchargin-branch: get-no-all
2f50aa7364f3fd889b32c4dcd324f98cc45f56d2 authored over 6 years ago by William Chargin <[email protected]>
Summary:
It looks like this:
![Screenshot](https://user-images.githubusercontent.com/4317806/3...
Summary:
This component now maintains a graph of just artifacts and the edges
among them. It o...
Update GitHub plugin to respect two new conventions:
- Node/Edge types are exported as UPPER_CA...
Summary:
This commit revises our implementations of node and edge types, and
specifies the sem...
Summary:
Wherein we change the semantics to allow\* dangling edges. This is
necessary for plug...
Summary:
Clients of `Graph` that wish to treat the graph as immutable will
benefit from a `cop...
Summary:
We need to know the repo owner and name for purposes other than fetching
the GitHub g...
* Generate Edge ids automatically
Adds edgeID in graph, which creates a string id from src an...
d310561b9473ecaa0e22da3dac089ab61df2f723 authored over 6 years ago by Dandelion Mané <[email protected]>* Add a toString and fromString method on addresses
The toString and fromString methods use j...
043c37f9c6a0e202df890e25d5f3bb33af522856 authored over 6 years ago by Dandelion Mané <[email protected]>This pull request adds a string type as a field of the address, thus canonicalizing that all Nod...
b2c13ac89144fc8cdcd37c3809df3789bd1479ba authored over 6 years ago by Dandelion Mané <[email protected]>
Summary:
This commit moves our existing frontend tests to use Enzyme’s shallow
rendering API <...
Summary:
This is our first dynamic test of a React component! Enzyme looks pretty
easy to use ...
Summary:
Filter options are “all contributions” or a specific plugin/type
combination. This in...
* Make GitHub capitalization consistent within code
We now never capitalize the H in GitHub w...
39fd3fa35406765bae6053e13ae91717d2965b29 authored almost 7 years ago by Dandelion Mané <[email protected]>
This commit only adds logic for finding references in GitHub posts,
either by #-numeric referen...
Summary:
Any tests that render Aphrodite-styled React elements will need to do
this, so it’s n...
5b420c6294490043af5ec847c9f67b8ea6ba3541 authored almost 7 years ago by Dandelion Mané <[email protected]>
Summary:
In addition to being nicer on the eyes, this enables the query to be
statically analy...
Summary:
This commit begins to extend the artifact editor to display
contributions. To display...
Summary:
This is useful for metaprogramming. For instance, suppose we have an
object like this...
I added some new issues to sourcecred/example-repo to test unicode
support and parsing of extre...
Also, since there are now two types of things that are being
"contained" (comments and pull req...
Running prettify on build takes a whole second!
ab6e0d91a8a8beffebc14a2c642e9c24ca4f8577 authored almost 7 years ago by Dandelion Mané <[email protected]>
Summary:
Paired with @dandelionmane.
Test Plan:
```
$ CI=true yarn test
$ yarn backend
$ GITHUB...
Test Plan:
Note that the header, when rendered, is magenta.
wchargin-branch: stylish-artifacts
d18cb945af861516b4bbe6b6c762060ed69d9f52 authored almost 7 years ago by William Chargin <[email protected]>
Test Plan:
Make a request, then refresh, and note that the fields are populated.
Paired with @d...
55225fd53e2bf745ddc0e7288261e01bfdc7ff7f authored almost 7 years ago by William Chargin <[email protected]>
Summary:
Paired with @dandelionmane.
wchargin-branch: create-artifacts
0eed384850bec6d933ba059fc88b337a1cbd2a0e authored almost 7 years ago by William Chargin <[email protected]>
Summary:
This is quick and dirty. No error handling yet. We’ll soon save
credentials and reposit...
Summary:
Paired with @dandelionmane.
wchargin-branch: create-artifact-viewer
0c3aa9c7ba199ab0a23535d0292dd69cf8e8cc8f authored almost 7 years ago by William Chargin <[email protected]>
Summary:
We’ll now start creating the artifact plugin. A large part of this will
be the user i...
Summary:
We’re not deleting it because it works with the build system and has the
service work...
Test Plan:
Note that tests still pass, and all changes to snapshot files are
verbatim moves.
...
The GitHub parser transforms GraphQL api data from GitHub into our Graph
data structure. This c...
Summary:
Running `yarn backend` will now bundle backend applications. They’ll be
placed into t...
Summary:
See motivation in #76. Feel free to look at the new snapshot file to
inspect the stru...
Summary:
Closes #82. This affords clients type-safety without needing to
verbosely annotate ev...
Summary:
Flow doesn’t allow us to specify variance annotations in generic
function parameters,...
Graph.addNode and Graph.addEdge now allow adding the same node or edge
multiple times, provided...
I moved sourcecred/tiny-example-repository to sourcecred/example-repo
as it's simpler to rememb...
Summary:
It’s a whole new world of GraphQL! Our parser is now just a GraphQL
query that asks f...
Guide contributors to participate via issues.
ef7160d7d4b6d6b2c69f9cec3829673eb81ff107 authored almost 7 years ago by Dandelion Mané <[email protected]>* Factor evertide graph demo data to a new module
It would be helpful to make our standard ti...
fb00c358236c43a4dd1092d273f66a0827036fc0 authored almost 7 years ago by Dandelion Mané <[email protected]>* Make App.js into skeleton for GraphExplorer
We make a very basic skeleton for the Graph Exp...
7ea8bdd964dff9719ccd899af23e40cfdbcdb117 authored almost 7 years ago by Dandelion Mané <[email protected]>
Summary:
This commit adds `toJSON()` and `static fromJSON()` on `Graph`. The main
benefit at t...
Summary:
This commit simplifies the implementation of `Graph` without changing
its interface. ...
Summary:
This commit reifies the concept of an `Addressable`, which is any object
that has a c...
Summary:
We’re stripping down the payload types for the GitHub plugin, to only
include what we...
Summary:
`graph.js` coverage is now 100% :-)
Test Plan:
`yarn jest --env=jsdom --coverage` ...
Summary:
Merging graphs will be a common operation. At a per-plugin level, it
will often be us...
Summary:
We need this for testing graph equality: deep-equality is not sufficient
because two ...
Summary:
Nothing big; these were just organized wrong.
wchargin-branch: test-reorg
5a2380d486e78f5c0ff0e5b66ecc46f19c553bfd authored almost 7 years ago by William Chargin <[email protected]>2e5bea2f5e5c77e30f963dd4a725dba29693f0e3 authored almost 7 years ago by William Chargin <[email protected]>
Observe that it passed on this commit, but failed builds [#2: Break Tests][2], [#3: Break Flow][...
6ecf282956a995aa979a7754876d7b22fd99a127 authored almost 7 years ago by Dandelion Mané <[email protected]>
Summary:
In merging #54, there was a semantic merge conflict that was not also a
textual merge...
Summary:
Again: we assume these invariants, so we may as well encode them.
We should just keep...
Summary:
These will make nicer error functions in cases where static analysis
doesn’t detect t...
Create an 'advancedMealGraph' test case
The advancedMealGraph will be a grab-all that holds a...
ca3502009be957bbb0d7f4f4cd9d47d054bdedb2 authored almost 7 years ago by Dandelion Mané <[email protected]>
Summary:
Without these functions, it is not possible to meaningfully operate on
an arbitrary g...
Summary:
We’ve realized that `u: Edge<T>` implies `u: Node<T>`. That certainly
wasn’t what we ...
d26b264e8d5b33f7ee1001638e49989c2b9c8c34 authored almost 7 years ago by Dandelion Mané <[email protected]>
Summary:
We had planned to expose our core types as simple Plain Old JavaScript
Objects, with ...
Summary:
The main problem with having these fields on the node is that this
presents the illus...
Summary:
This is an experiment. There are a couple diffferent meanings of
“weight” in play: mo...