The application’s model objects
created_on: | Nov 25, 2010 |
---|---|
author: | marcink |
copyright: |
|
license: | GPLv3, see COPYING for more details. |
example: | from paste.deploy import appconfig
from pylons import config
from sqlalchemy import engine_from_config
from rhodecode.config.environment import load_environment
conf = appconfig('config:development.ini', relative_to = './../../')
load_environment(conf.global_conf, conf.local_conf)
engine = engine_from_config(config, 'sqlalchemy.')
init_model(engine)
# RUN YOUR CODE HERE
|
comments model for RhodeCode
created_on: | Nov 11, 2011 |
---|---|
author: | marcink |
copyright: |
|
license: | GPLv3, see COPYING for more details. |
Model for notifications
created_on: | Nov 20, 2011 |
---|---|
author: | marcink |
copyright: |
|
license: | GPLv3, see COPYING for more details. |
permissions model for RhodeCode
created_on: | Aug 20, 2010 |
---|---|
author: | marcink |
copyright: |
|
license: | GPLv3, see COPYING for more details. |
repository permission model for RhodeCode
created_on: | Oct 1, 2011 |
---|---|
author: | nvinot, marcink |
copyright: |
|
copyright: |
|
license: | GPLv3, see COPYING for more details. |
Repository model for rhodecode
created_on: | Jun 5, 2010 |
---|---|
author: | marcink |
copyright: |
|
license: | GPLv3, see COPYING for more details. |
users groups model for RhodeCode
created_on: | Jan 25, 2011 |
---|---|
author: | marcink |
copyright: |
|
license: | GPLv3, see COPYING for more details. |
Scm model for RhodeCode
created_on: | Apr 9, 2010 |
---|---|
author: | marcink |
copyright: |
|
license: | GPLv3, see COPYING for more details. |
Generic Scm Model
recursive walk in root dir and return a set of all path in that dir based on repository walk function
Parameters: |
|
---|
Get all repos from db and for each repo create it’s backend instance and fill that backed with information from database
Parameters: | all_repos – list of repository names as strings give specific repositories list, good for filtering |
---|
users model for RhodeCode
created_on: | Apr 9, 2010 |
---|---|
author: | marcink |
copyright: |
|
license: | GPLv3, see COPYING for more details. |
users group model for RhodeCode
created_on: | Oct 1, 2011 |
---|---|
author: | nvinot |
copyright: |
|
copyright: |
|
license: | GPLv3, see COPYING for more details. |