Revision 1455:5e0957fe308d extra
| extra/soundsoftware/convert-external-repos.rb | ||
|---|---|---|
| 146 | 146 |
if project.identifier.empty? |
| 147 | 147 |
log("\tno identifier for project #{project.name}")
|
| 148 | 148 |
next |
| 149 |
elsif not project.identifier.match(/^[a-z0-9\-]+$/) |
|
| 149 |
elsif not project.identifier.match(/^[a-z0-9_\-]+$/)
|
|
| 150 | 150 |
log("\tinvalid identifier for project #{project.name} : #{project.identifier}");
|
| 151 | 151 |
next |
| 152 | 152 |
end |
| extra/soundsoftware/reposman-soundsoftware.rb | ||
|---|---|---|
| 263 | 263 |
if project.identifier.empty? |
| 264 | 264 |
log("\tno identifier for project #{project.name}!")
|
| 265 | 265 |
next |
| 266 |
elsif not project.identifier.match(/^[a-z0-9\-_]+$/)
|
|
| 266 |
elsif not project.identifier.match(/^[a-z0-9_\-]+$/)
|
|
| 267 | 267 |
log("\tinvalid identifier for project #{project.name} : #{project.identifier}!");
|
| 268 | 268 |
next; |
| 269 | 269 |
end |
Also available in: Unified diff