g0v issue tracker

最後編輯:2020-05-01 建立:2016-06-18 歷史紀錄

 

 

    JMEHSIEH專案簡介

 

JMEHSIEH緣由

第一次基礎松

projecthub redux

 

要解決的問題

增進人坑介面,讓人輕易找到自己能貢獻的 issue

 

預定使用者

設計師,工程師,任何想幫忙的人

 

預定功能

可以根據 language or label 搜尋 github issues

 

現有類似專案

https://github.com/youchenlee/g0v-issue-tracker

g0v issue label

JOHN Hhttps://github.com/chunyenHuang/awesome-g0v-projects

 

JMEHSIEH授權方式

MIT

 

使用資料

github api

 

專案目前狀態

把 json files 轉換成 postgresql database

 

 

實作細節(非技術背景可跳填)

目前使用 python, 會根據給定的 repo url list, call github api

  1. Download repos + issues 的 json files
  2. 將 json files 轉成 db tables (postgres)
  3. 使用 PostgREST 作為 api server
  4. 前端 js

 

 

協作工具

github repo:https://github.com/g0v/issues2db

hackfoldr 工作資料夾網址:

google drive 共用資料夾網址:

 

進度與 to-do

ui / visual design

 

 

成果展示

 

JOHN H令人驚奇的零時政府

https://github.com/chunyenHuang/awesome-g0v-projects

後端:AWS Lambda NodeJS + S3

前端:ReactJS + GitHub Page

流程:後端定時抓取 GitHub資訊與g0v database sheet,比對資料後放到S3以供前端使用

考量到流量問題,每100個Repo (query string 長度限制) 只抓取最新的100個,

 

const query = {

q: `type:issues+state:open+${repoNames.map((x)=>`repo:${x}`).join('+')}`,

sort: 'created',

order: 'desc',

per_page: 100,

};

 

頁面

https://chunyenhuang.github.io/awesome-g0v-projects/#/tasks