mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
Drop svn support in favour of git-svn
Reasons: * Cloning a svn repo via svn doesn't fetch the entire history * Svn checkout is incredibly slow * Svn doesn't have important features such as a 'clean' command The only reason why we kept svn was for anonymous logins to repositories. This is no longer a reason since git-svn also supports them.
This commit is contained in:
parent
13987b5c77
commit
78ff22d952
4 changed files with 6 additions and 56 deletions
|
@ -191,8 +191,6 @@ def check_repomanifest(app, branch=None):
|
|||
vcs.gotorevision(branch)
|
||||
elif repotype == 'git-svn':
|
||||
vcs.gotorevision(branch)
|
||||
elif repotype == 'svn':
|
||||
vcs.gotorevision(None)
|
||||
elif repotype == 'hg':
|
||||
vcs.gotorevision(branch)
|
||||
elif repotype == 'bzr':
|
||||
|
@ -250,8 +248,8 @@ def check_repotrunk(app, branch=None):
|
|||
build_dir = os.path.join('build/', app['id'])
|
||||
repotype = app['Repo Type']
|
||||
|
||||
if repotype not in ('svn', 'git-svn'):
|
||||
return (None, 'RepoTrunk update mode only makes sense in svn and git-svn repositories')
|
||||
if repotype not in ('git-svn', ):
|
||||
return (None, 'RepoTrunk update mode only makes sense in git-svn repositories')
|
||||
|
||||
# Set up vcs interface and make sure we have the latest code...
|
||||
vcs = common.getvcs(app['Repo Type'], app['Repo'], build_dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue