GitHub - mozilla/contribute.json: A JSON schema for open-source project contribution data. · GitHub
Skip to content
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
This repository was archived by the owner on Mar 7, 2024. It is now read-only.
mozilla
contribute.json
Public archive
Notifications
You must be signed in to change notification settings
Fork
28
Star
42
Branches
Tags
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
162 Commits
162 Commits
app
app
legacyredirect
legacyredirect
.buildpacks
.buildpacks
.gitignore
.gitignore
.travis.yml
.travis.yml
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
Gruntfile.js
Gruntfile.js
LICENSE
LICENSE
Procfile
Procfile
README.md
README.md
contribute.json
contribute.json
knownurls.txt
knownurls.txt
package.json
package.json
requirements.txt
requirements.txt
runtime.txt
runtime.txt
schema.json
schema.json
setup.cfg
setup.cfg
stackato.yml
stackato.yml
Repository files navigation
contribute.json
NOTE: This project is decommissioned and is no longer active. We will leave the repository here along with the JSON schema and the code for the website, but the website itself has been taken down and the contributejson.org domain now redirects to the repository on GitHub.
A JSON schema for open-source project contribution data.
This is currently a proposal and is not yet stable. Suggestions and pull-requests welcome.
This is the current draft. I'm presenting the schema as an example instance using
mozilla/bedrock
as the subject. Previous discussion can be found in the comments of
the original gist
// required
"name"
Bedrock
"description"
The app powering (most of) www.mozilla.org.
"repository"
: {
"url"
"license"
MPL2
// optional
"type"
git
"tests"
"clone"
},
// optional
"participate"
: {
"home"
"docs"
// optional
"mailing-list"
"irc"
irc://irc.mozilla.org/#www
"irc-contacts"
: [
pmac
jgmize
malexis
cmore
],
"chat"
: {
"url"
irc://irc.mozilla.org/#www
"contacts"
: [
pmac
jgmize
malexis
cmore
},
"bugs"
: {
"list"
"report"
"mentored"
},
"urls"
: {
"prod"
"stage"
"dev"
"demo1"
},
"keywords"
: [
python
less-css
django
html5
jquery
Validation
We're currently using the
JSON Schema
standard and we publish our schema at
schema.json
You can, for example, use the
json-schema-validator
to validate your own
contribute.json
against this schema.
Flask app
There's a server-side app that is currently available on
Running the Flask app locally
clone from the main repo
git clone https://github.com/mozilla/contribute.json.git
go into the directory
cd
contribute.json
using virtualenv wrapper, create a new virtual environment for the project.
mkvirtualenv contribute.json
intall the requirements
pip install -r requirements.txt
install the npm dependencies
npm install
generate the CSS files (use `grunt watch` to work on the LESS files)
grunt less
You can run the app with
DEBUG=true python app

open http://localhost:5000/
NB! Most of the functionality is built as an
AngularJS
app.
Sentry
To use Sentry you just need to create an environment variable called
SENTRY_DSN
and it will be used.
About
A JSON schema for open-source project contribution data.
www.contributejson.org/
Resources
Readme
License
MPL-2.0 license
Code of conduct
Code of conduct
Uh oh!
There was an error while loading.
Please reload this page
Activity
Custom properties
Stars
42
stars
Watchers
watching
Forks
28
forks
Report repository
Releases
No releases published
Packages
Uh oh!
There was an error while loading.
Please reload this page
Uh oh!
There was an error while loading.
Please reload this page
Contributors
Uh oh!
There was an error while loading.
Please reload this page
Languages
Less
65.8%
HTML
11.8%
JavaScript
11.0%
Python
7.3%
CSS
4.1%
You can’t perform that action at this time.