Line 107: |
Line 107: |
| repo.name = "sat-solver" | | repo.name = "sat-solver" |
| repo.save! | | repo.save! |
| + | |
| + | === TODO === |
| + | |
| + | Current gitorious patch doesn't handle renaming repositories properly and doesn't update symliks in {{Code|/srv/gitorious/repos-by-name}}. For now, run code to recreate symlinks: |
| + | |
| + | Repository::find_each {|i| s='/srv/gitorious/repos/' + i.real_gitdir; d='/srv/gitorious/repos-by-name/' + i.gitdir; FileUtils.makedirs(File.dirname(d)) if !File.exist?(File.dirname(d)); File.symlink(s, d) if !File.exists? d} |
| | | |
| == Upgrade notes == | | == Upgrade notes == |