... | ... |
@@ -1,3 +1,5 @@ |
1 |
+1.6 |
|
2 |
+ fix bug that can't create collaborator more than one |
|
1 | 3 |
1.5 |
2 | 4 |
- fix bug that git clone via http failed. |
3 | 5 |
- show readme file in sub directory. |
... | ... |
@@ -341,6 +341,24 @@ You can import already existing repositories by **script/import_rep** script. |
341 | 341 |
|
342 | 342 |
If **description** file exists in git repository, it is copied. |
343 | 343 |
|
344 |
+### I can't add collabortor more than one |
|
345 |
+ |
|
346 |
+This is GitPrep bug before version 1.5.1. |
|
347 |
+Please use after version 1.5.2. |
|
348 |
+ |
|
349 |
+If you contine to use GitPrep before version 1.5.1, |
|
350 |
+collaboration table is broken. |
|
351 |
+Please fix it by the following way. |
|
352 |
+ |
|
353 |
+ # Run SQLite client |
|
354 |
+ sqlite3 data/gitprep.db |
|
355 |
+ |
|
356 |
+ # drop collaboration table |
|
357 |
+ drop table collaboration; |
|
358 |
+ |
|
359 |
+ # Restart |
|
360 |
+ ./gitprep |
|
361 |
+ |
|
344 | 362 |
## Web Site |
345 | 363 |
|
346 | 364 |
[GitPrep Web Site](http://perlcodesample.sakura.ne.jp/gitprep-site/) |
... | ... |
@@ -16,7 +16,7 @@ use Validator::Custom; |
16 | 16 |
eval {require Digest::SHA; import Digest::SHA qw(sha1 sha1_hex)}; |
17 | 17 |
} |
18 | 18 |
|
19 |
-our $VERSION = '1.05'; |
|
19 |
+our $VERSION = 'v1.5.2'; |
|
20 | 20 |
|
21 | 21 |
has 'dbi'; |
22 | 22 |
has 'git'; |
... | ... |
@@ -361,9 +361,9 @@ EOS |
361 | 361 |
my $sql = <<"EOS"; |
362 | 362 |
create table collaboration ( |
363 | 363 |
row_id integer primary key autoincrement, |
364 |
- user_id not null unique default '', |
|
365 |
- project_name not null unique default '', |
|
366 |
- collaborator_id not null unique default '', |
|
364 |
+ user_id not null default '', |
|
365 |
+ project_name not null default '', |
|
366 |
+ collaborator_id not null default '', |
|
367 | 367 |
unique(user_id, project_name, collaborator_id) |
368 | 368 |
); |
369 | 369 |
EOS |