* deploy data files into FRS to ease load on projectweb
This commit is contained in:
parent
f50e0450c6
commit
2c459bdbe9
|
@ -60,7 +60,7 @@ def gz(file, lines) {
|
|||
|
||||
|
||||
// LOAD osdb-imdb.txt (already verified data)
|
||||
def imdb_tsv = new File("website/data/osdb-imdb.txt")
|
||||
def imdb_tsv = new File("osdb-imdb.txt")
|
||||
def imdb = [].asSynchronized() // thread-safe list
|
||||
|
||||
imdb_tsv.getText('UTF-8').eachLine{
|
||||
|
|
17
build.xml
17
build.xml
|
@ -27,6 +27,9 @@
|
|||
<property name="deploy.release" value="web.sourceforge.net:/home/frs/project/f/fi/filebot/filebot" />
|
||||
<property name="deploy.website" value="web.sourceforge.net:htdocs" />
|
||||
|
||||
<property name="deploy.data" value="web.sourceforge.net:htdocs/data" />
|
||||
<property name="deploy.data.frs" value="web.sourceforge.net:/home/frs/project/f/fi/filebot/data" />
|
||||
|
||||
|
||||
<target name="jar" depends="build">
|
||||
<!-- create dist dir -->
|
||||
|
@ -551,8 +554,6 @@
|
|||
<include name="*.png" />
|
||||
<include name="*.ico" />
|
||||
<include name="images/**" />
|
||||
<include name="data/**" />
|
||||
<include name="scripts/**" />
|
||||
<include name="screenshots/**" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
@ -572,9 +573,15 @@
|
|||
|
||||
|
||||
<target name="upload-data" depends="login">
|
||||
<scp todir="${sf.user}:${sf.password}@${deploy.website}" trust="yes" verbose="true">
|
||||
<fileset dir="${dir.website}">
|
||||
<include name="data/**" />
|
||||
<scp todir="${sf.user}:${sf.password}@${deploy.data}" trust="yes" verbose="true">
|
||||
<fileset dir="${dir.website}/data">
|
||||
<include name=".htaccess" />
|
||||
<include name="*.txt" />
|
||||
</fileset>
|
||||
</scp>
|
||||
<scp todir="${sf.user}:${sf.password}@${deploy.data.frs}" trust="yes" verbose="true">
|
||||
<fileset dir="${dir.website}/data">
|
||||
<include name="*.gz" />
|
||||
</fileset>
|
||||
</scp>
|
||||
</target>
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
options +indexes
|
||||
|
||||
redirect 301 /data/movies.txt.gz http://sourceforge.net/projects/filebot/files/data/movies.txt.gz/download
|
||||
redirect 301 /data/series.list.gz http://sourceforge.net/projects/filebot/files/data/series.list.gz/download
|
Loading…
Reference in New Issue