Skip to content

Commit 98ffe10

Browse files
committed
update
1 parent 7a95791 commit 98ffe10

File tree

990 files changed

+150827
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

990 files changed

+150827
-0
lines changed

fqnews2/.build.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
image: debian/stretch
2+
packages:
3+
- git
4+
- openjdk-8-jdk-headless
5+
- wget
6+
- tar
7+
- unzip
8+
- lib32stdc++6
9+
- lib32z1
10+
- file
11+
- mesa-utils
12+
- pciutils
13+
environment:
14+
ANDROID_COMPILE_SDK: "28"
15+
ANDROID_BUILD_TOOLS: "28.0.3"
16+
ANDROID_EMULATOR_SDK: "28"
17+
GRADLE_USER_HOME: "/home/build/.gradle"
18+
ANDROID_HOME: "/home/build/.androidhome"
19+
sources:
20+
- https://git.sr.ht/~cowboyprogrammer/feeder
21+
triggers:
22+
- action: email
23+
condition: failure
24+
25+
secrets:
26+
- d9eb6ad0-7288-447a-954b-74e22ef4d054
27+
- c492e32e-551e-42e8-b8d5-c252fc20b625
28+
- 8a654fa4-6c85-480f-abee-d3b50d92d5f7
29+
tasks:
30+
- setup: |
31+
export PATH="${ANDROID_HOME}/emulator/:${ANDROID_HOME}/tools/bin/:${ANDROID_HOME}/tools/:${ANDROID_HOME}/platform-tools/:${PATH}"
32+
env
33+
cd feeder
34+
echo 'org.gradle.jvmargs=-Xmx1g' >> gradle.properties
35+
ci/before
36+
- build: |
37+
cd feeder
38+
./gradlew build
39+
- deploy: |
40+
cd feeder
41+
ci/deploy_playstore

fqnews2/.editorconfig

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[*]
2+
charset = utf-8
3+
end_of_line = lf
4+
indent_size = 4
5+
indent_style = space
6+
insert_final_newline = true
7+
tab_width = 4
8+
ij_continuation_indent_size = 8
9+
ij_formatter_off_tag = @formatter:off
10+
ij_formatter_on_tag = @formatter:on
11+
ij_formatter_tags_enabled = false
12+
ij_smart_tabs = false
13+
ij_visual_guides = none
14+
ij_wrap_on_typing = false
15+
16+
[*.{kt,kts}]
17+
max_line_length = 200
18+
ktlint_code_style = ktlint_official
19+
ktlint_function_naming_ignore_when_annotated_with=Composable
20+
compose_allowed_composition_locals = LocalTypographySettings,LocalDI,LocalDimens,LocalWindowSizeMetrics,LocalWindowSize,LocalFoldableHinge
21+
compose_allowed_forwarding = .*Screen
22+
23+
[{*.ant,*.fxml,*.jhm,*.jnlp,*.jrxml,*.opml,*.rng,*.tld,*.wsdl,*.xml,*.xsd,*.xsl,*.xslt,*.xul,rss_kuketz,rss_morningpaper}]
24+
indent_size = 2
25+
tab_width = 2
26+
27+
[{*.bash,*.sh,*.zsh}]
28+
indent_size = 2
29+
tab_width = 2

fqnews2/.gitignore

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
*.iml
2+
build
3+
.gradle
4+
.idea
5+
local.properties
6+
*.db
7+
*.substvars
8+
.pybuild
9+
*.debhelper
10+
captures
11+
creds.json
12+
report.xml
13+
app/creds.b64
14+
keystore.b64
15+
devenv.local
16+
keystore

fqnews2/.gitlab-ci.bak

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
stages:
2+
- build
3+
- validate_deploy
4+
- deploy
5+
6+
image: registry.gitlab.com/spacecowboy/feeder:builder
7+
8+
variables:
9+
GIT_SUBMODULE_STRATEGY: recursive
10+
11+
cache:
12+
key: "uber"
13+
paths:
14+
- .gradle/caches
15+
- .gradle/wrapper
16+
17+
lint:
18+
stage: build
19+
script:
20+
- source devenv && ./gradlew :app:lint
21+
needs: []
22+
23+
test:
24+
stage: build
25+
script:
26+
- source devenv && ./gradlew test :jsonfeed-parser:check
27+
needs: []
28+
artifacts:
29+
paths:
30+
- app/build/reports/
31+
32+
compileTest:
33+
stage: build
34+
script:
35+
- source devenv && ./gradlew packageDebugAndroidTest
36+
needs: []
37+
artifacts:
38+
paths:
39+
- app/build/outputs/
40+
- build/logs/
41+
42+
compilePlay:
43+
stage: build
44+
script:
45+
- source devenv && ./gradlew assemblePlay
46+
needs: []
47+
artifacts:
48+
paths:
49+
- app/build/outputs/
50+
- build/logs/
51+
52+
compileRelease:
53+
stage: build
54+
script:
55+
- source devenv && ./gradlew assembleRelease
56+
needs: []
57+
artifacts:
58+
paths:
59+
- app/build/outputs/
60+
- build/logs/
61+
62+
validate_deployment:
63+
stage: validate_deploy
64+
script:
65+
- source devenv && ci/run-if-not-release ./deploy_playstore.sh --dry-run
66+
needs: []
67+
only:
68+
- master
69+
- tags
70+
71+
deploy_playstore:
72+
stage: deploy
73+
script:
74+
- source devenv && ./deploy_playstore.sh
75+
needs: ["validate_deployment", "compilePlay", "compileRelease", "compileTest", "lint", "test"]
76+
only:
77+
- tags
78+
environment:
79+
name: Play
80+
url: https://play.google.com/store/apps/details?id=jww.app.hwnews

fqnews2/.gitmodules

Whitespace-only changes.

0 commit comments

Comments
 (0)