From 485977e258f3917b272634fac3f777177e964eb2 Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Sun, 24 Jan 2021 17:18:47 -0700 Subject: [PATCH] Girocco/Config.pm: add a Bitbucket mirror source Originally Bitbucket was hg only. Then Atlassian acquired Bitbucket. Not long afterwards support for git was added. And then we have this: https://bitbucket.org/blog/sunsetting-mercurial-support-in-bitbucket Nicely commented on by this: https://www.theregister.com/2019/08/21/bitbucket_mercurial_repositories/ As of 2020-08-26 (according to the first link above): > All hg repos have now been disabled and cannot be accessed. Therefore, since Bitbucket is now git only, go ahead and add a new mirror source option to easily clone from a specified user and project on Bitbucket. And, at the same time, update the labels for Gitlab to "User" and "Project" instead of the incorrect leftover old labels from the Gitorious conversion. Signed-off-by: Kyle J. McKay --- Girocco/Config.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Girocco/Config.pm b/Girocco/Config.pm index 177c06a..a8f4b8a 100644 --- a/Girocco/Config.pm +++ b/Girocco/Config.pm @@ -680,7 +680,14 @@ our $mirror_sources = [ url => 'https://gitlab.com/%1/%2.git', desc => 'Engulfed the Green and Orange Boxes', link => 'https://gitlab.com/', - inputs => [ { label => 'Project:' }, { label => 'Repository:', suffix => '.git' } ] + inputs => [ { label => 'User:' }, { label => 'Project:', suffix => '.git' } ] + }, + { + label => 'Bitbucket', + url => 'https://bitbucket.org/%1/%2.git', + desc => 'Embraced the best DVCS', + link => 'https://bitbucket.org/', + inputs => [ { label => 'User:' }, { label => 'Project:', suffix => '.git' } ] } ]; -- 2.11.4.GIT