Il 05/04/2018 17:09, Bas Couwenberg ha scritto: > On 2018-04-05 16:59, Paolo Greppi wrote: >> GITLAB_TOKEN=XXXXXXXXXXXXXXXXXXXXX ./alioth-migration/migrate-repo >> /git/pkg-javascript/node-xxx /js-team/node-xxx > > There are also many node packages under collab-maint, these should also be > migrated to js-team on Salsa. > > I did that for node-mapnik & mapnik-reference. > > Kind Regards, > > Bas >
I have looked up the current vcs_browser fields from udd (1356 packages) and the repos the js-team already has on salsa (217 repos). 4 packages have empty vcs_browser: node-daemon (15), node-growl (56), node-utilities (42) and queue-async (19) 127 have repos on salsa, 36 of those already have vcs_browser set to salsa but 4 are incorrect (they all share the same error: the vcs_browser field should be without trailing .git , see https://wiki.debian.org/Salsa/Doc#Canonical_URLS): jquery-tablesorter, less-elements.js, libjs-jquery-colorpicker and node-macaddress The remaining 127-36 = 91 have yet to update the vcs_browser field in the package with an upload. We have 130 repos on collab-maint. Of these, 3 already have the salsa repo but have yet to update the vcs_browser field in the package with an upload: mapnik-reference, node-mapnik and nodejs. There is one in a non-team repo (node-util) The rest 1356-4-36-130-1 = 1185 are on pkg-javascript. Paolo P.S. How to reproduce Get the data from udd: ssh git.debian.org psql -U guest -h udd.debian.org -p 5452 udd SELECT source, vcs_browser FROM all_sources WHERE maintainer_email='pkg-javascript-devel@lists.alioth.debian.org' AND release='sid'; Get the repos that exist on salsa via the github API: https://salsa.debian.org/api/v4/groups/js-team/projects?per_page=100&page=1 https://salsa.debian.org/api/v4/groups/js-team/projects?per_page=100&page=2 https://salsa.debian.org/api/v4/groups/js-team/projects?per_page=100&page=3 >From that JSON array extract the repo URLs with: cat projects.json | jq 'map(.http_url_to_repo)' -- Pkg-javascript-devel mailing list Pkg-javascript-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel