mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Merge branch 'fetchsrclib' into 'master'
fetch_srclib: fetch source code See merge request fdroid/fdroidserver!1407
This commit is contained in:
commit
79adc6f57a
@ -438,7 +438,7 @@ plugin_fetchsrclibs:
|
||||
- curl https://gitlab.com/fdroid/fdroiddata/-/archive/${commitid}/fdroiddata-${commitid}.tar.gz
|
||||
| tar -xz --directory=fdroiddata --strip-components=1
|
||||
- cd fdroiddata
|
||||
- fdroid fetchsrclibs freemap.opentrail:9 --verbose
|
||||
- fdroid fetchsrclibs freemap.opentrail:4 --verbose
|
||||
- test -d build/freemap.opentrail/.git
|
||||
- test -d build/srclib/andromaps/.git
|
||||
- test -d build/srclib/freemaplib/.git
|
||||
|
@ -29,8 +29,12 @@ def main():
|
||||
srclibpaths = []
|
||||
for appid, app in apps.items():
|
||||
vcs, _ignored = common.setup_vcs(app)
|
||||
vcs.gotorevision('HEAD', refresh=False)
|
||||
for build in app.get('Builds', []):
|
||||
vcs.gotorevision(build.commit, refresh=False)
|
||||
if build.submodules:
|
||||
vcs.initsubmodules()
|
||||
else:
|
||||
vcs.deinitsubmodules()
|
||||
for lib in build.srclibs:
|
||||
srclibpaths.append(common.getsrclib(lib, srclib_dir, prepare=False, build=build))
|
||||
print('Set up srclibs:')
|
||||
|
Loading…
Reference in New Issue
Block a user