-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New Model GitFile to manage the files inside a repository.
* Added a TODO file with the things to do. * Some changes and bugfixes en git.php and git_source.php
- Loading branch information
1 parent
8d8b693
commit 175a195
Showing
7 changed files
with
148 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
TODO: | ||
[More Priority] | ||
* Model Tag to manage the repository tags. | ||
* Model Branch to manage the repository branchs. | ||
* Move all the functions that have an "exec('git_command')" inside them to the git library. | ||
* Make the associations between models work. | ||
* Rename the models to "GitModel" format for prevent posible problems with others models in the application. | ||
|
||
[Minor Priority] | ||
* Make helpers to display the commits history and graphs for the log. | ||
* Document the classes and functions. (Doxygen) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
class GitFile extends AppModel { | ||
var $name = 'GitFile'; | ||
public $useDbConfig = 'git'; | ||
|
||
var $belongsTo = array( | ||
'Repository' => array( | ||
'classname' => 'Repository' | ||
), | ||
'Commit' | ||
); | ||
} | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
debug($repositories); | ||
debug($commits); | ||
debug($files); | ||
?> |