From f3bda2f2c0ed785b28d32671b4321f71ccd17c19 Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Thu, 24 Mar 2022 21:27:40 +0100 Subject: [PATCH] docs: replace defunct git://github.com urls with https:// --- doc/languages-frameworks/vim.section.md | 2 +- .../services/continuous-integration/buildbot/master.nix | 4 ++-- pkgs/applications/science/math/sage/README.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/languages-frameworks/vim.section.md b/doc/languages-frameworks/vim.section.md index a615d585b151..a3b47461a6bd 100644 --- a/doc/languages-frameworks/vim.section.md +++ b/doc/languages-frameworks/vim.section.md @@ -286,7 +286,7 @@ Sample output1: "reload" = buildVimPluginFrom2Nix { # created by nix#NixDerivation name = "reload"; src = fetchgit { - url = "git://github.com/xolox/vim-reload"; + url = "https://github.com/xolox/vim-reload"; rev = "0a601a668727f5b675cb1ddc19f6861f3f7ab9e1"; sha256 = "0vb832l9yxj919f5hfg6qj6bn9ni57gnjd3bj7zpq7d4iv2s4wdh"; }; diff --git a/nixos/modules/services/continuous-integration/buildbot/master.nix b/nixos/modules/services/continuous-integration/buildbot/master.nix index aaa159d3cb18..80c6c6abfd0b 100644 --- a/nixos/modules/services/continuous-integration/buildbot/master.nix +++ b/nixos/modules/services/continuous-integration/buildbot/master.nix @@ -64,7 +64,7 @@ in { description = "Factory Steps"; default = []; example = [ - "steps.Git(repourl='git://github.com/buildbot/pyflakes.git', mode='incremental')" + "steps.Git(repourl='https://github.com/buildbot/pyflakes.git', mode='incremental')" "steps.ShellCommand(command=['trial', 'pyflakes'])" ]; }; @@ -74,7 +74,7 @@ in { description = "List of Change Sources."; default = []; example = [ - "changes.GitPoller('git://github.com/buildbot/pyflakes.git', workdir='gitpoller-workdir', branch='master', pollinterval=300)" + "changes.GitPoller('https://github.com/buildbot/pyflakes.git', workdir='gitpoller-workdir', branch='master', pollinterval=300)" ]; }; diff --git a/pkgs/applications/science/math/sage/README.md b/pkgs/applications/science/math/sage/README.md index 26e91fc63133..c3a81c2109ee 100644 --- a/pkgs/applications/science/math/sage/README.md +++ b/pkgs/applications/science/math/sage/README.md @@ -17,7 +17,7 @@ If the build broke as a result of a package update, try those solutions in order - fix the problem yourself. First clone the sagemath source and then check out the sage version you want to patch: ``` -[user@localhost ~]$ git clone git://github.com/sagemath/sage.git +[user@localhost ~]$ git clone https://github.com/sagemath/sage.git [user@localhost ~]$ cd sage [user@localhost sage]$ git checkout 8.2 # substitute the relevant version here ``` @@ -41,7 +41,7 @@ You can [login the sage trac using GitHub](https://trac.sagemath.org/login). You Here's the gist, assuming you want to use ssh key authentication. First, [add your public ssh key](https://trac.sagemath.org/prefs/sshkeys). Then: ``` -[user@localhost ~]$ git clone git://github.com/sagemath/sage.git +[user@localhost ~]$ git clone https://github.com/sagemath/sage.git [user@localhost ~]$ cd sage [user@localhost sage]$ git remote add trac git@trac.sagemath.org:sage.git -t master [user@localhost sage]$ git checkout -b u/gh-/ develop