Github: Can I see the number of downloads for a repo?

后端 未结 17 1104
甜味超标
甜味超标 2020-11-28 02:35

In Github, is there a way I can see the number of downloads for a repo?

17条回答
  •  甜味超标
    2020-11-28 03:00

    Formerly, there was two methods of download code in Github: clone or download as zip a .git repo, or upload a file (for example, a binary) for later download.

    When download a repo (clone or download as zip), Github doesn't count the number of downloads for technical limitations. Clone a repository is a read-only operation. There is no authentication required. This operation can be done via many protocols, including HTTPS, the same protocol that the web page uses to show the repo in the browser. It's very difficult to count it.

    See: http://git-scm.com/book/en/Git-on-the-Server-The-Protocols

    Recently, Github deprecate the download functionality. This was because they understand that Github is focused in building software, and not in distribute binaries.

    See: https://github.com/blog/1302-goodbye-uploads

提交回复
热议问题