| ... | ... |
@@ -36,3 +36,4 @@ xt/import_rep/* |
| 36 | 36 |
xt/smart_http/* |
| 37 | 37 |
xt/basic/rep/kimoto/* |
| 38 | 38 |
!xt/basic/rep/kimoto/.gitignore |
| 39 |
+xt/basic/work/* |
| ... | ... |
@@ -45,10 +45,16 @@ Download tar.gz archive, expand it and change directory: |
| 45 | 45 |
mv gitprep-latest gitprep |
| 46 | 46 |
cd gitprep |
| 47 | 47 |
|
| 48 |
-Setup. Needed module is installed. |
|
| 48 |
+Setup. Needed modules are installed. |
|
| 49 | 49 |
|
| 50 | 50 |
./setup_module |
| 51 | 51 |
|
| 52 |
+Check if module setup success . Run the following command. |
|
| 53 |
+ |
|
| 54 |
+ prove t |
|
| 55 |
+ |
|
| 56 |
+If "syntax OK" is displayed, setup is sucseed. |
|
| 57 |
+ |
|
| 52 | 58 |
Setup database. |
| 53 | 59 |
|
| 54 | 60 |
./setup_database |
| ... | ... |
@@ -73,12 +79,6 @@ you must add the correct git command path to the **gitprep.conf** config file. |
| 73 | 79 |
;;; Git command path |
| 74 | 80 |
git_bin=/home/yourname/local/bin/git |
| 75 | 81 |
|
| 76 |
-Check setup. Run the following command. |
|
| 77 |
- |
|
| 78 |
- prove t |
|
| 79 |
- |
|
| 80 |
-If "syntax OK" is displayed, setup is sucseed. |
|
| 81 |
- |
|
| 82 | 82 |
### Start gitprep server |
| 83 | 83 |
|
| 84 | 84 |
You can start the application by running the provided gitprep script. |
| ... | ... |
@@ -49,6 +49,7 @@ |
| 49 | 49 |
my ($password_encryped, $salt) = $api->encrypt_password($password); |
| 50 | 50 |
$new_user->{password} = $password_encryped;
|
| 51 | 51 |
$new_user->{salt} = $salt;
|
| 52 |
+ $new_user->{email} = '';
|
|
| 52 | 53 |
|
| 53 | 54 |
# Create admin user |
| 54 | 55 |
$self->app->dbi->model('user')->insert($new_user);
|
| ... | ... |
@@ -360,17 +360,6 @@ note 'Aarchive'; |
| 360 | 360 |
$t->content_type_is('application/x-tar');
|
| 361 | 361 |
} |
| 362 | 362 |
|
| 363 |
-note 'Compare page'; |
|
| 364 |
-{
|
|
| 365 |
- # Page access (branch name) |
|
| 366 |
- $t->get_ok("/$user/$project/compare/b1...master");
|
|
| 367 |
- $t->content_like(qr#renamed dir/a\.txt to dir/b\.txt and added text#); |
|
| 368 |
- |
|
| 369 |
- # Page access (branch name long) |
|
| 370 |
- $t->get_ok("/$user/$project/compare/refs/heads/b1...refs/heads/master");
|
|
| 371 |
- $t->content_like(qr#renamed dir/a\.txt to dir/b\.txt and added text#); |
|
| 372 |
-} |
|
| 373 |
- |
|
| 374 | 363 |
note 'API References'; |
| 375 | 364 |
{
|
| 376 | 365 |
# Page access (branch name) |
| ... | ... |
@@ -405,14 +394,6 @@ note 'Branches'; |
| 405 | 394 |
$t->content_like(qr/Branches/); |
| 406 | 395 |
} |
| 407 | 396 |
|
| 408 |
-note 'Compare'; |
|
| 409 |
-{
|
|
| 410 |
- # Page access |
|
| 411 |
- $t->get_ok("/$user/$project/compare/master...no_merged");
|
|
| 412 |
- $t->content_like(qr/branch change/); |
|
| 413 |
- $t->content_like(qr#http://foo5branch change#); |
|
| 414 |
-} |
|
| 415 |
- |
|
| 416 | 397 |
note 'blame'; |
| 417 | 398 |
{
|
| 418 | 399 |
# Page access |
| ... | ... |
@@ -432,3 +413,19 @@ note 'Markdown normal file'; |
| 432 | 413 |
$t->get_ok("/$user/$project/blob/12e44f2e4ecf55c5d3a307889829b47c05e216d3/dir/markdown.md");
|
| 433 | 414 |
$t->content_like(qr#<h1 .*?>Head</h1>#); |
| 434 | 415 |
} |
| 416 |
+ |
|
| 417 |
+note 'Compare page'; |
|
| 418 |
+{
|
|
| 419 |
+ # Page access (branch name) |
|
| 420 |
+ $t->get_ok("/$user/$project/compare/b1...master");
|
|
| 421 |
+ $t->content_like(qr#renamed dir/a\.txt to dir/b\.txt and added text#); |
|
| 422 |
+ |
|
| 423 |
+ # Page access (branch name long) |
|
| 424 |
+ $t->get_ok("/$user/$project/compare/refs/heads/b1...refs/heads/master");
|
|
| 425 |
+ $t->content_like(qr#renamed dir/a\.txt to dir/b\.txt and added text#); |
|
| 426 |
+ |
|
| 427 |
+ # Page access |
|
| 428 |
+ $t->get_ok("/$user/$project/compare/master...no_merged");
|
|
| 429 |
+ $t->content_like(qr/branch change/); |
|
| 430 |
+ $t->content_like(qr#http://foo5branch change#); |
|
| 431 |
+} |
| ... | ... |
@@ -1 +0,0 @@ |
| 1 |
-Subproject commit 614b4aed5c29a74ec775aeb429598454cc4e3975 |