christianspecht / scm-backup

Makes offline backups of your cloud hosted source code repositories
https://scm-backup.org/
GNU General Public License v3.0
61 stars 20 forks source link

How to disable the backup for Mecurial Repos? #60

Closed IT-Yogi closed 4 years ago

IT-Yogi commented 4 years ago

Hi,

maybe a dumb question, but how can I disable the backups for mercurial repos? I've found nothing at your documentation and if I remove the path to hg.exe the backup process will completly abort. Without disabling the legacy repos, the backup process will fail with first mecurial repo. Any ideas?

image

christianspecht commented 4 years ago

This is a bug on Bitbucket's side - even though they deleted/disabled/[whatever] all Mercurial repos almost 2 months ago, their API still returns them (and of course backing them up fails).

I have the same problem with the user I'm using for integration tests:
https://bitbucket.org/scm-backup-testuser/ The Mercurial repo scm-backup-test is even still visible in the UI, but I can't open it in the UI, and cloning fails.

I'll publish a bugfix, so SCM Backup ignores all HG repos that the Bitbucket API returns.

IT-Yogi commented 4 years ago

Hey Christian,

Thanks for the clarification and the lightspeed support. I really appreciate it!