Package: github-backup
Version: 1.20170301-2

github-backup doesn't back up the list of watchers; instead it backs up stargazers twice:

  $ git clone --quiet https://github.com/jwilk/anorack

  $ cd anorack/

  $ github-backup --no-forks
  Gathering metadata for https://github.com/jwilk/anorack.git ...

  $ git checkout github
  Switched to branch 'github'

  $ md5sum */stargazers */watchers
  1d3223ccef24cde1b770094ec1a3b884  jwilk_anorack/stargazers
  1d3223ccef24cde1b770094ec1a3b884  jwilk_anorack/watchers

I guess this is because it uses the /repos/:owner/:repo/watchers method, which for legacy reasons[0] lists users starring the repository.

It should use /repos/:owner/:repo/subscribers instead.


[0] https://developer.github.com/changes/2012-09-05-watcher-api/

--
Jakub Wilk

Reply via email to