Skip to content

Commit 72fa2ff

Browse files
chore: Update F-Droid index 7
0 parents  commit 72fa2ff

24 files changed

+444
-0
lines changed

.github/workflows/update.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Nightly F-Droid CI
2+
3+
on:
4+
push:
5+
branches:
6+
- fdroid-repo
7+
8+
jobs:
9+
deploy-changes:
10+
name: Deploy Changes
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
# Step 1: Checkout is REQUIRED to access the APKs and repo files
15+
- name: Checkout Code
16+
uses: actions/checkout@v4
17+
18+
# Step 2: Java is REQUIRED for keystore operations and apksigner
19+
- uses: actions/setup-java@v4
20+
with:
21+
distribution: "temurin"
22+
java-version: "17.x"
23+
24+
# Step 3: Run F-Droid Update
25+
- name: Run F-Droid Update
26+
env:
27+
FDROID_CONFIG_YML_B64: ${{ secrets.FDROID_CONFIG_YML }}
28+
FDROID_KEYSTORE_P12_B64: ${{ secrets.FDROID_KEYSTORE_P12 }}
29+
run: |
30+
# Decode the secrets into files
31+
echo $FDROID_CONFIG_YML_B64 | base64 --decode > config.yml
32+
echo $FDROID_KEYSTORE_P12_B64 | base64 --decode > keystore.p12
33+
34+
# Install fdroidserver
35+
sudo apt-get update
36+
sudo apt-get install -y fdroidserver
37+
38+
# Run the update command (updates index.xml based on current APKs)
39+
fdroid update -c
40+
41+
# Step 4: Push with Zero Bloat (Orphan Branch Strategy)
42+
- name: Push F-Droid updates
43+
run: |
44+
git config --global user.name "github-actions[bot]"
45+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
46+
47+
# 1. Create a temporary orphan branch (fresh start, no history)
48+
# This keeps the current files (APKs + updated index) but removes the commit history links
49+
git checkout --orphan temp_update_branch
50+
51+
# 2. Add all files currently on disk
52+
git add .
53+
54+
# 3. Create a new 'Initial Commit'
55+
git commit -m "chore: Update F-Droid index ${{ github.run_number }}"
56+
57+
# 4. Force push this new state to overwrite fdroid-repo
58+
# The branch will now have exactly 1 commit total.
59+
git push origin temp_update_branch:fdroid-repo --force

.gitignore

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
config.yml
2+
keystore.p12
3+
4+
# Miscellaneous
5+
*.class
6+
*.log
7+
*.pyc
8+
*.swp
9+
.DS_Store
10+
.atom/
11+
.buildlog/
12+
.history
13+
.svn/
14+
**/.cxx/
15+
16+
# IntelliJ related
17+
*.iml
18+
*.ipr
19+
*.iws
20+
.idea/
21+
22+
# The .vscode folder contains launch configuration and tasks you configure in
23+
# VS Code which you may wish to be included in version control, so this line
24+
# is commented out by default.
25+
#.vscode/
26+
27+
# Flutter/Dart/Pub related
28+
**/doc/api/
29+
**/ios/Flutter/.last_build_id
30+
.dart_tool/
31+
.flutter-plugins
32+
.flutter-plugins-dependencies
33+
.packages
34+
.pub-cache/
35+
.pub/
36+
/build/
37+
38+
# Web related
39+
lib/generated_plugin_registrant.dart
40+
41+
# Symbolication related
42+
app.*.symbols
43+
44+
# Obfuscation related
45+
app.*.map.json
46+
47+
# Android Studio will place build artifacts here
48+
/android/app/debug
49+
/android/app/profile
50+
/android/app/release
51+
52+
# FVM Version Cache
53+
.fvm/
54+
55+
# Platform specific directories
56+
# this branch does not require these files
57+
58+
/ios
59+
/linux
60+
/macos
61+
/windows
62+
/android
63+
/tmp

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Taskwarrior Flutter Application
2+
## Nightly Builds
3+
We have fdroid self hosted repo to release a nightly build after each commit to [`main`](https://github.com/CCExtractor/taskwarrior-flutter/tree/main) branch of [github repo](https://github.com/CCExtractor/taskwarrior-flutter/)
4+
<p align=center>
5+
<a href="https://ccextractor.github.io/taskwarrior-flutter/repo/index.html">
6+
<img src="assets/fdroid.png" alt="F-Droid Repository" style="height:100px">
7+
</a>
8+
</p>
9+
10+
## Stable Release
11+
Stable releases are released on Google Play Store.
12+
<p align=center>
13+
<a href="https://play.google.com/store/apps/details?id=com.ccextractor.taskwarriorflutter">
14+
<img src="assets/GetItOnGooglePlay_Badge_Web_color_English.png" alt="F-Droid Repository" style="height:70px">
15+
</a>
16+
</p>
17+
18+
> Note: fdroid-repo branch should only be committed by the github actions workflows.
19+

assets/GetItOnGooglePlay_Badge_Web_color_English.png

Lines changed: 1 addition & 0 deletions
Loading

assets/fdroid.png

Lines changed: 1 addition & 0 deletions
Loading

icons/icon.png

3.55 KB
Loading

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
goto /repo
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
AuthorName: 'CCExtractor Development'
2+
Categories:
3+
- taskwarrior-flutter
4+
CurrentVersionCode: 2147483647
5+
IssueTracker: 'https://github.com/CCExtractor/taskwarrior-flutter/issues'
6+
Name: Taskwarrior Nightly
7+
SourceCode: 'https://github.com/CCExtractor/taskwarrior-flutter'
8+
Summary: 'Taskwarrior is Free and Open Source Software that manages your TODO list from the command line. It is flexible, fast, and unobtrusive. It does its job then gets out of your way. The CLI tool and other relevant documentation can be found at Taskwarrior. This project aims to build an app for Taskwarrior. It is your task management app across all platforms. It helps you manage your tasks and filter them as per your needs.'
9+
WebSite: 'https://github.com/CCExtractor/taskwarrior-flutter'

repo/categories.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
taskwarrior-flutter

repo/entry.jar

2.69 KB
Binary file not shown.

0 commit comments

Comments
 (0)