V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
SmiteChow
V2EX  ›  程序员

2016 你的 Github 成绩单

  •  
  •   SmiteChow · 2016-12-31 10:38:05 +08:00 · 7560 次点击
    这是一个创建于 2663 天前的主题,其中的信息可能已经有所发展或是发生改变。
    32 条回复    2017-01-03 09:51:40 +08:00
    finab
        1
    finab  
       2016-12-31 10:39:59 +08:00 via iPhone
    7 位数的代码量?我数错了嘛?
    SmiteChow
        2
    SmiteChow  
    OP
       2016-12-31 10:42:53 +08:00
    @finab 你没数错,今年我将一些很多年前的 svn 下的 code 放到了 Github 的 private repo 上,统一管理了。
    GjriFeu
        3
    GjriFeu  
       2016-12-31 10:52:01 +08:00
    图挂了
    aihimmel
        4
    aihimmel  
       2016-12-31 11:36:55 +08:00 via Android
    @GjriFeu 没挂 ,是 imgur 的,请自备梯子
    viosey
        5
    viosey  
       2016-12-31 11:49:50 +08:00
    github token 是?
    kn007
        6
    kn007  
       2016-12-31 11:55:43 +08:00
    kn007
        7
    kn007  
       2016-12-31 11:57:47 +08:00
    @viosey 给 repo 权限就好了,记得下面还有 read
    kn007
        8
    kn007  
       2016-12-31 12:00:12 +08:00

    我的。。貌似没啥贡献。。
    xwartz
        9
    xwartz  
       2016-12-31 12:18:10 +08:00
    仓库太多就出错了
    xwartz
        10
    xwartz  
       2016-12-31 12:19:09 +08:00
    @xwartz 也或者是空仓库,刚刚刷新了,没看报错信息。。
    quericy
        11
    quericy  
       2016-12-31 12:39:20 +08:00
    空仓库报错:
    https://api.github.com/repos/xxx/xxxxx/git/trees/master?recursive=1&_=1483159030030 Failed to load resource: the server responded with a status of 409 (Conflict)
    SmiteChow
        12
    SmiteChow  
    OP
       2016-12-31 13:41:10 +08:00
    @quericy ni
    @xwartz

    空仓库会导致收集到空仓库时 hanging ,不会导致报错,我 fix 了,更新一下脚本,再访问 https://github.com/YOUR_USER_NAME?show_current_year_statistic
    quericy
        13
    quericy  
       2016-12-31 13:51:14 +08:00
    @SmiteChow 脚本还是会在我的一个过期被禁用的 private 仓库时停止继续跳转,似乎是因为被 disable 了所以返回了一个 404?
    exoticknight
        14
    exoticknight  
       2016-12-31 13:55:56 +08:00
    虽然这个东西多少有点用,但是总是有 show off 的感觉= =
    Tink
        15
    Tink  
       2016-12-31 14:19:46 +08:00
    copyright xxxx-2017

    各位可以区各大 repo 提 request 了
    knarfeh
        16
    knarfeh  
       2016-12-31 14:35:54 +08:00 via Android
    @exoticknight 虚荣是最美好的罪恶
    vizards
        17
    vizards  
       2016-12-31 15:29:28 +08:00
    在逛自己创建的 organization 时看到一个 repo ,显示 0 contributor ,然后提交 MR 的人确实是我自己,却点不开。。有没有老司机知道为啥啊

    vizards
        18
    vizards  
       2016-12-31 15:31:14 +08:00
    @vizards 当然脚本遍历到这里的时候也就中止了。。
    SmiteChow
        19
    SmiteChow  
    OP
       2016-12-31 15:33:36 +08:00
    @quericy 过期被禁用 我不知道怎么生成这种 case ,你有条件 feel free fork and fix it then PR me
    but0n
        20
    but0n  
       2016-12-31 15:35:27 +08:00
    @vizards 我也遇到了, 把仓库删了之后就永远 404...
    SmiteChow
        21
    SmiteChow  
    OP
       2016-12-31 15:35:42 +08:00
    @vizards 应该是 git log 里的 email 地址未在 Github 注册过,你可以在 https://github.com/settings/emails 里添加
    SmiteChow
        22
    SmiteChow  
    OP
       2016-12-31 15:38:28 +08:00
    @exoticknight 只是想统计一下今年的 commits addline deleteline 官方 API 目前未开放 date filter ,所以只能 monkey hack 了,没其他意思
    hyuwang
        23
    hyuwang  
       2016-12-31 15:39:33 +08:00
    被 DMCA 拿掉的仓库也会报错 Error451
    loading
        24
    loading  
       2016-12-31 15:41:14 +08:00 via Android
    @Tink 这个……其实已经写成代码了,为了这个牺牲了一点性能。
    vizards
        25
    vizards  
       2016-12-31 15:48:21 +08:00
    @SmiteChow 确实,看了提示,曾经错用公司企业邮箱的 user push 了代码,现在加上就好了
    hantsy
        26
    hantsy  
       2016-12-31 16:16:43 +08:00
    880 contributions in the last year
    xpol
        27
    xpol  
       2016-12-31 16:46:58 +08:00
    878 contributions in the last year
    viosey
        28
    viosey  
       2016-12-31 17:22:58 +08:00
    395 contributions in the last year
    mingyun
        29
    mingyun  
       2016-12-31 23:34:22 +08:00
    请问油猴脚本怎么安装
    cleveryun
        30
    cleveryun  
       2017-01-02 10:48:14 +08:00
    16 年 9 月中旬开始频繁使用 github 管理个人项目
    403 contributions in the last year
    ivanlw
        31
    ivanlw  
       2017-01-02 11:51:20 +08:00
    你们的 Github 这么多代码,是公司的项目还是自己的客户时间项目呢?
    SmiteChow
        32
    SmiteChow  
    OP
       2017-01-03 09:51:40 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5572 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 08:30 · PVG 16:30 · LAX 01:30 · JFK 04:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.