diff --git a/pkg/build/git/git.go b/pkg/build/git/git.go index 334977e7..36e67f13 100644 --- a/pkg/build/git/git.go +++ b/pkg/build/git/git.go @@ -7,7 +7,16 @@ const ( // Git stores the configuration details for // executing Git commands. type Git struct { + // Depth options instructs git to create a shallow + // clone with a history truncated to the specified + // number of revisions. Depth *int `yaml:"depth,omitempty"` + + // The name of a directory to clone into. + // TODO this still needs to be implemented. this field is + // critical for forked Go projects, that need to clone + // to a specific repository. + Path string `yaml:"path,omitempty"` } // GitDepth returns GitDefaultDepth diff --git a/pkg/database/migrate/migrate_20150209.go b/pkg/database/migrate/migrate_20150209.go deleted file mode 100644 index 92164eb8..00000000 --- a/pkg/database/migrate/migrate_20150209.go +++ /dev/null @@ -1,19 +0,0 @@ -package migrate - -import ( - "database/sql" -) - -type Change_20150209 struct{} - -func (Change_20150209) Up(tx *sql.Tx) error { - return nil -} - -func (Change_20150209) Down(tx *sql.Tx) error { - return nil -} - -func (Change_20150209) Revision() int64 { - return 20150209 -} diff --git a/pkg/database/schema/schema.sql b/pkg/database/schema/schema.sql index d0babf32..f3ec6f0e 100644 --- a/pkg/database/schema/schema.sql +++ b/pkg/database/schema/schema.sql @@ -51,7 +51,7 @@ CREATE TABLE repos ( ,private BOOLEAN ,disabled BOOLEAN ,disabled_pr BOOLEAN - ,priveleged BOOLEAN + ,privileged BOOLEAN ,timeout INTEGER ,scm VARCHAR(25)