Jump to navigation Jump to search
276 bytes added ,  15:24, 10 November 2010
password_key = user.forgot_password!
Mailer.deliver_forgotten_password(user, password_key)
# add new committer
committer = User.find_by_login("user")
project = Project.find_by_title("project")
repo = {|i| i.title == 'mainline'}.pop
repo.committerships.create_with_permissions!({:committer => committer}, [Committership::CAN_COMMIT])
== Upgrade notes ==
Upgrade will be triggered on every puppet session (if there is such need), vcs repository will be rebased to the HEAD commit with all related changes like database migration.

Navigation menu