Migration of the Ruby team to Salsa

Salsa is the new forge for Debian to host repositories.

Since 2018-01-04, the old repositories on Alioth have been made read-only. New contributions should not be pushed to Alioth. Instead, they should be sent to the corresponding project on Salsa, either as commits if you are a member of the ruby-team group, or as a merge request.

See the documentation for Salsa service.

The ruby-team group

The Ruby team is represented by the ruby-team group on Salsa.

Gitlab API

The packages ruby-gitlab can be used to get info about the ruby-team group and the projects it contains. The following script has been used for example to activate on all projects irker IRC notifications.

require "gitlab"

SALSA_URL="https://salsa.debian.org/api/v4"
SALSA_TOKEN="XXXXX"
SALSA_NAMESPACE=2159
SALSA_GROUP="ruby-team"
Gitlab.endpoint=SALSA_URL
Gitlab.private_token=SALSA_TOKEN

ruby=Gitlab.group(SALSA_NAMESPACE)

ruby.projects.each do |project|
  Gitlab.change_service(project["id"], :irker,
                          "recipients=debian-ruby&default_irc_uri=irc://irc.oftc.net:6667/&server_host=ruprecht.snow-crash.org&server_port=6659&colorize_messages=true")
end

DONE

TODO