mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-23 00:03:02 -04:00
18 lines
416 B
Python
18 lines
416 B
Python
# Imports
|
|
from .base import BasePlatform
|
|
|
|
|
|
class AssemblaPlatform(BasePlatform):
|
|
DOMAINS = ('git.assembla.com',)
|
|
PATTERNS = {
|
|
'ssh': r'git@(?P<domain>.+):(?P<repo>.+).git',
|
|
'git': r'git://(?P<domain>.+)/(?P<repo>.+).git',
|
|
}
|
|
FORMATS = {
|
|
'ssh': r'git@%(domain)s:%(repo)s.git',
|
|
'git': r'git://%(domain)s/%(repo)s.git',
|
|
}
|
|
DEFAULTS = {
|
|
'_user': 'git'
|
|
}
|