insertProject(self,
projectName,
projectVersion,
projectUri,
sourceInCategory,
duplicateCategory)
|
|
Updates the repo_checkout table
repo_uri VARCHAR(512),
checkout_date DATE DEFAULT
CURRENT_TIMESTAMP,
/* name of the project in sourceforge, eg: jEdit */ storage_root
VARCHAR(512) NOT NULL,
/* see === note on status === below */ state
SMALLINT DEFAULT 0,
/* false, for now */ has_binary BOOLEAN
DEFAULT FALSE,
/* false, for now */ has_source BOOLEAN
DEFAULT FALSE,
/* the version ID that was found in sourceforge eg: 1.0 (NOT, v_1.0)
*/ version VARCHAR(30),
/* lookup category-id from above */ source_in_category_type_id
INTEGER /* REFERENCES repo_category_types(category_type_id)
*/,
/* the primary category folder under which the source code resides
physically */ default_category_id INTEGER /*
REFERENCES repo_category_types(source_in_category_type_id) */
|