-- gitlab (renamed key "api_baseurl" to "url")
update task set arguments='{"args": [], "kwargs": {"instance": "inria", "url": "https://gitlab.inria.fr/api/v4"}}' where arguments#>>'{kwargs,instance}' = 'inria' and type in ('list-gitlab-full', 'list-gitlab-incremental');
update task set arguments='{"args": [], "kwargs": {"instance": "framagit", "url": "https://framagit.org/api/v4"}}' where arguments#>>'{kwargs,instance}' = 'framagit' and type in ('list-gitlab-full', 'list-gitlab-incremental');
update task set arguments='{"args": [], "kwargs": {"instance": "riseup", "url": "https://0xacab.org/api/v4"}}' where arguments#>>'{kwargs,instance}' = 'riseup' and type in ('list-gitlab-full', 'list-gitlab-incremental');
update task set arguments='{"args": [], "kwargs": {"instance": "gitlab", "url": "https://gitlab.com/api/v4"}}' where arguments#>>'{kwargs,instance}' = 'gitlab' and type in ('list-gitlab-full', 'list-gitlab-incremental');
update task set arguments='{"args": [], "kwargs": {"instance": "freedesktop", "url": "https://gitlab.freedesktop.org/api/v4"}}' where arguments#>>'{kwargs,instance}' = 'freedesktop' and type in ('list-gitlab-full', 'list-gitlab-incremental');
update task set arguments='{"args": [], "kwargs": {"instance": "ow2", "url": "https://gitlab.ow2.org/api/v4"}}' where arguments#>>'{kwargs,instance}' = 'ow2' and type in ('list-gitlab-full', 'list-gitlab-incremental');
update task set arguments='{"args": [], "kwargs": {"instance": "debian", "url": "https://salsa.debian.org/api/v4"}}' where arguments#>>'{kwargs,instance}' = 'debian' and type in ('list-gitlab-full', 'list-gitlab-incremental');
update task set arguments='{"args": [], "kwargs": {"instance": "gite.lirmm", "url": "https://gite.lirmm.fr/api/v4"}}' where arguments#>>'{kwargs,instance}' = 'gite.lirmm' and type in ('list-gitlab-full', 'list-gitlab-incremental');
update task set arguments='{"args": [], "kwargs": {"instance": "common-lisp", "url": "https://gitlab.common-lisp.net/api/v4"}}' where arguments#>>'{kwargs,instance}' = 'common-lisp' and type in ('list-gitlab-full', 'list-gitlab-incremental');
update task set arguments='{"args": [], "kwargs": {"instance": "gnome", "url": "https://gitlab.gnome.org/api/v4"}}' where arguments#>>'{kwargs,instance}' = 'gnome' and type in ('list-gitlab-full', 'list-gitlab-incremental');
-- phabricator (renamed the key "forge_url" to "url")
update task set arguments='{"args": [], "kwargs": {"instance": "llvm", "url": "https://reviews.llvm.org"}}' where arguments#>>'{kwargs,instance}' = 'llvm' and type='list-phabricator-full';
update task set arguments='{"args": [], "kwargs": {"instance": "wikimedia", "url": "https://phabricator.wikimedia.org"}}' where arguments#>>'{kwargs,instance}' = 'wikimedia' and type='list-phabricator-full';
update task set arguments='{"args": [], "kwargs": {"instance": "blender", "url": "https://developer.blender.org"}}' where arguments#>>'{kwargs,instance}' = 'blender' and type='list-phabricator-full';
update task set arguments='{"args": [], "kwargs": {"instance": "kde", "url": "https://phabricator.kde.org"}}' where arguments#>>'{kwargs,instance}' = 'kde' and type='list-phabricator-full';
update task set arguments='{"args": [], "kwargs": {"instance": "swh", "url": "https://forge.softwareheritage.org"}}' where arguments#>>'{kwargs,instance}' = 'swh' and type='list-phabricator-full';
-- cgit ("prefix_url" key dropped, kept only the "forge_url" and renamed it "url")
update task set arguments='{"args": [], "kwargs": {"instance": "fedora", "url": "https://fedorapeople.org/cgit/"}}' where type='list-cgit' and arguments#>>'{kwargs,instance}' = 'fedora';
update task set arguments='{"args": [], "kwargs": {"instance": "git.gnu.org.ua", "url": "http://git.gnu.org.ua/cgit/"}}' where type='list-cgit' and arguments#>>'{kwargs,instance}' = 'git.gnu.org.ua';
update task set arguments='{"args": [], "kwargs": {"instance": "yoctoproject", "url": "http://git.yoctoproject.org/clean/cgit.cgi/"}}' where type='list-cgit' and arguments#>>'{kwargs,instance}' = 'yoctoproject';
update task set arguments='{"args": [], "kwargs": {"instance": "kde", "url": "https://cgit.kde.org/"}}' where type='list-cgit' and arguments#>>'{kwargs,instance}' = 'kde';
update task set arguments='{"args": [], "kwargs": {"instance": "hdiff.luite", "url": "http://hdiff.luite.com/cgit/"}}' where type='list-cgit' and arguments#>>'{kwargs,instance}' = 'hdiff.luite';
update task set arguments='{"args": [], "kwargs": {"instance": "tor", "url": "https://gitweb.torproject.org/"}}' where type='list-cgit' and arguments#>>'{kwargs,instance}' = 'tor';
update task set arguments='{"args": [], "kwargs": {"instance": "alpinelinux", "url": "https://git.alpinelinux.org/", "instance": "alpinelinux"}}' where type='list-cgit' and arguments#>>'{kwargs,instance}' = 'alpinelinux';
update task set arguments='{"args": [], "kwargs": {"instance": "qt.io", "url": "https://code.qt.io/cgit/"}}' where type='list-cgit' and arguments#>>'{kwargs,instance}' = 'qt.io';
update task set arguments='{"args": [], "kwargs": {"instance": "baserock", "url": "https://git.baserock.org/cgit/"}}' where type='list-cgit' and arguments#>>'{kwargs,instance}' = 'baserock';
update task set arguments='{"args": [], "kwargs": {"instance": "happyassassin", "url": "https://www.happyassassin.net/cgit/"}}' where type='list-cgit' and arguments#>>'{kwargs,instance}' = 'happyassassin';
update task set arguments='{"args": [], "kwargs": {"instance": "git-kernel", "url": "https://git.kernel.org/"}}' where type='list-cgit' and arguments#>>'{kwargs,instance}' = 'git-kernel';
update task set arguments='{"args": [], "kwargs": {"instance": "openembedded", "url": "https://git.openembedded.org/"}}' where type='list-cgit' and arguments#>>'{kwargs,instance}' = 'openembedded';
update task set arguments='{"args": [], "kwargs": {"instance": "zx2c4", "url": "https://git.zx2c4.com/"}}' where type='list-cgit' and arguments#>>'{kwargs,instance}' = 'zx2c4';
update task set arguments='{"args": [], "kwargs": {"instance": "gnu-savannah", "url": "https://git.savannah.gnu.org/cgit/"}}' where type='list-cgit' and arguments#>>'{kwargs,instance}' = 'gnu-savannah';