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

A contributors page #15

Open
dinever opened this issue Apr 28, 2016 · 3 comments
Open

A contributors page #15

dinever opened this issue Apr 28, 2016 · 3 comments

Comments

@dinever
Copy link
Collaborator

dinever commented Apr 28, 2016

Let's build a contributors page which lists our contributors from github.com/dinever/dingo/graphs/contributors as a thank-you and encourage more people to get involved into this.

I'm thinking about writing a script to automatically fetch information from this GitHub API and creates a .go file before each release in the future.

@TimothyYe
Copy link
Contributor

What do you mean "creates a .go file before each release" ?

@dinever
Copy link
Collaborator Author

dinever commented May 26, 2016

Hi @TimothyYe,

The original idea is that we create a hard-coded .go file like this each time we create a release:

package Dingo

var contributors = []string{
    "dinever",
    "nak3",
    "samdfonseca",
    "bentranter",
    "TimothyYe",
    "youngsterxyf",
}

However, this idea is a little bit stupid.

We should probably just crawl and cache the contributors from api.github.com/repos/dingoblog/dingo/contributors, and render the content when user visits the contributors page.

Note that the page should be placed in the admin dashboard. Like in /admin/about/.

@TimothyYe
Copy link
Contributor

@dinever , We can use javascript to get JSON data from that API interface and render it to /admin/about instantly once user visit that page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants