Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fdroid-repo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
fdroid-repo
Commits
6c573e87
Verified
Commit
6c573e87
authored
3 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Use git in separate path
parent
11eeada0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#2592
passed
3 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Makefile
+6
-2
6 additions, 2 deletions
src/Makefile
src/update_repo.sh
+6
-3
6 additions, 3 deletions
src/update_repo.sh
with
12 additions
and
5 deletions
src/Makefile
+
6
−
2
View file @
6c573e87
.PHONY
:
all
all
:
$(TARGET_PATH)/index-v1.jar
$(TARGET_PATH)/index-v1.jar
:
s3
$(TARGET_PATH)/index-v1.jar
:
s3
git
fdroid update
--use-date-from-apk
fdroid signindex
fdroid deploy
rsync
-rlpcgoDv
$(
REPO_PATH
)
/
$(
TARGET_PATH
)
/
s3
:
update_s3
git
:
update_git
.PHONY
:
update_git
update_git
:
rsync
-rlpcgoDv
--exclude
=
".*"
$(
GIT_PATH
)
/
$(
WORKDIR
)
/
s3
:
update_s3
.PHONY
:
update_s3
update_s3
:
s3cmd
sync
--preserve
s3://releases/quasseldroid-ng/
$(
S3_PATH
)
/
...
...
This diff is collapsed.
Click to expand it.
src/update_repo.sh
+
6
−
3
View file @
6c573e87
#!/bin/sh
SOURCE_PATH
=
/tmp/fdroid
GIT_PATH
=
$SOURCE_PATH
/git
WORKDIR
=
$SOURCE_PATH
/work
TARGET_PATH
=
/repo
REPO_PATH
=
$SOURCE_PATH
/repo
REPO_PATH
=
$SOURCE_PATH
/
work/
repo
S3_PATH
=
$SOURCE_PATH
/s3
mkdir
-p
$SOURCE_PATH
/
cp
/Makefile
$SOURCE_PATH
/
cd
$SOURCE_PATH
mkdir
-p
$WORKDIR
mkdir
-p
$REPO_PATH
mkdir
-p
$S3_PATH
cd
$WORKDIR
while
true
;
do
make
S3_PATH
=
$S3_PATH
REPO_PATH
=
$REPO_PATH
TARGET_PATH
=
$TARGET_PATH
make
S3_PATH
=
$S3_PATH
REPO_PATH
=
$REPO_PATH
TARGET_PATH
=
$TARGET_PATH
GIT_PATH
=
$GIT_PATH
WORKDIR
=
$WORkDIR
sleep
$UPDATE_WAIT
done
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment