de.fragdenstaat.app.yml 6.76 KB
Newer Older
Pierre Rudloff's avatar
Pierre Rudloff committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
Categories:
  - Reading
  - Writing
License: MIT
WebSite: http://app.fragdenstaat.de/
SourceCode: https://github.com/jfilter/frag-den-staat-app
IssueTracker: https://github.com/jfilter/frag-den-staat-app/issues

AutoName: FragDenStaat
Description: |-
    This app is for FragDenStaat.de, a platform to simplify the process of sending
    and managing FOI requests to German public bodies.

    The app should include the basic functionalities of the website such as browsing
    through requests, searching, and creating new requests.

RepoType: git
Repo: https://github.com/jfilter/frag-den-staat-app.git

Builds:
  - versionName: 0.8.1
    versionCode: 23
    commit: v0.8.1
    subdir: android/app
    sudo:
      - curl -Lo node.tar.xz https://nodejs.org/dist/v8.11.1/node-v8.11.1-linux-x64.tar.xz
      - echo "6617e245fa0f7fbe0e373e71d543fea878315324ab31dc64b4eba10e42d04c11 node.tar.xz"
        | sha256sum -c -
      - tar xJf node.tar.xz
      - cp -a node-v8.11.1-linux-x64/. /usr/local/
    gradle:
      - yes
    prebuild:
      - npm install
      - truncate -s 0 ../../node_modules/react-native/local-cli/server/util/external/xsel
      - rm ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar
        ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
    scanignore:
      - android/build.gradle
    scandelete:
      - node_modules

  - versionName: 0.10.5
    versionCode: 37
    commit: v0.10.5
    subdir: android/app
    sudo:
      - apt-get update || apt-get update
      - apt-get install -y --no-install-recommends -t stretch-backports npm
      - npm -g install yarn react-native-cli
    init:
      - yarn install
      - pushd ../../
      - ./prepare_fdroid.sh
      - popd
    gradle:
      - yes
    srclibs:
      - transistor-background-fetch@0.3.0
    rm:
      - node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
      - node_modules/shaka-player/third_party/closure/compiler.jar
      - node_modules/react-native-background-fetch/android/build/
      - node_modules/react-native-video/android-exoplayer/build/
      - node_modules/react-native-background-fetch/android/libs/com/transistorsoft/tsbackgroundfetch/0.2.0/tsbackgroundfetch-0.2.0.aar
    prebuild: truncate -s 0 ../../node_modules/@react-native-community/cli/build/commands/server/external/xsel
    scanignore:
      - android/build.gradle
      - node_modules/react-native-webview/android/build.gradle
      - node_modules/react-native-screens/android/build.gradle
      - node_modules/react-native-background-fetch/android/build.gradle
    scandelete:
      - node_modules
    build:
      - pushd $$transistor-background-fetch$$/android/tsbackgroundfetch/
      - gradle assembleRelease
      - popd
      - mv $$transistor-background-fetch$$/android/tsbackgroundfetch/build/intermediates/packaged-classes/release/classes.jar
        ../../node_modules/react-native-background-fetch/android/libs/com/transistorsoft/tsbackgroundfetch/0.2.0/tsbackgroundfetch-0.2.0.jar

81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
  - versionName: 0.10.8
    versionCode: 40
    commit: v0.10.8
    subdir: android/app
    sudo:
      - apt-get update || apt-get update
      - apt-get install -y --no-install-recommends -t stretch-backports npm
      - npm -g install yarn react-native-cli
    init:
      - yarn install
      - pushd ../../
      - ./prepare_fdroid.sh
      - popd
    gradle:
      - yes
    srclibs:
      - transistor-background-fetch@0.3.0
    rm:
      - node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
      - node_modules/shaka-player/third_party/closure/compiler.jar
      - node_modules/react-native-background-fetch/android/build/
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
      - node_modules/react-native-video/android-exoplayer/build/
      - node_modules/react-native-background-fetch/android/libs/com/transistorsoft/tsbackgroundfetch/0.2.0/tsbackgroundfetch-0.2.0.aar
    prebuild: truncate -s 0 ../../node_modules/@react-native-community/cli/build/commands/server/external/xsel
    scanignore:
      - android/build.gradle
      - node_modules/react-native-webview/android/build.gradle
      - node_modules/react-native-screens/android/build.gradle
      - node_modules/react-native-background-fetch/android/build.gradle
    scandelete:
      - node_modules
    build:
      - pushd $$transistor-background-fetch$$/android/tsbackgroundfetch/
      - gradle assembleRelease
      - popd
      - mv $$transistor-background-fetch$$/android/tsbackgroundfetch/build/intermediates/packaged-classes/release/classes.jar
        ../../node_modules/react-native-background-fetch/android/libs/com/transistorsoft/tsbackgroundfetch/0.2.0/tsbackgroundfetch-0.2.0.jar

119
120
121
122
123
124
125
126
127
128
129
  - versionName: 0.10.10
    versionCode: 42
    commit: v0.10.10
    subdir: android/app
    sudo:
      - apt-get update || apt-get update
      - apt-get install -y --no-install-recommends -t stretch-backports npm
      - npm -g install yarn react-native-cli
    init:
      - yarn install
      - pushd ../../
130
131
      - sed -i -e 's#npm i jetifier#yarn add jetifier; rm -r node_modules/jetifier/lib/#'
        prepare_fdroid.sh
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
      - ./prepare_fdroid.sh
      - popd
    gradle:
      - yes
    srclibs:
      - transistor-background-fetch@0.3.0
    rm:
      - node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
      - node_modules/shaka-player/third_party/closure/compiler.jar
      - node_modules/react-native-background-fetch/android/build/
      - node_modules/react-native-video/android-exoplayer/build/
      - node_modules/react-native-background-fetch/android/libs/com/transistorsoft/tsbackgroundfetch/0.2.0/tsbackgroundfetch-0.2.0.aar
    prebuild: truncate -s 0 ../../node_modules/@react-native-community/cli/build/commands/server/external/xsel
    scanignore:
      - android/build.gradle
      - node_modules/react-native-webview/android/build.gradle
      - node_modules/react-native-screens/android/build.gradle
      - node_modules/react-native-background-fetch/android/build.gradle
    scandelete:
      - node_modules
    build:
      - pushd $$transistor-background-fetch$$/android/tsbackgroundfetch/
      - gradle assembleRelease
      - popd
      - mv $$transistor-background-fetch$$/android/tsbackgroundfetch/build/intermediates/packaged-classes/release/classes.jar
        ../../node_modules/react-native-background-fetch/android/libs/com/transistorsoft/tsbackgroundfetch/0.2.0/tsbackgroundfetch-0.2.0.jar

Pierre Rudloff's avatar
Pierre Rudloff committed
159
160
161
162
163
164
MaintainerNotes: scanignore is used to allow the "node_modules/react-native/android"
    local Maven repository which contains the prebuilt react-native library which
    we get from npm.

AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
165
166
CurrentVersion: 0.10.10
CurrentVersionCode: 42