mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 05:33:03 -05:00
Merge pull request 'settings_submodule' (!70) from settings_submodule into main
Reviewed-on: https://codeberg.org/librewolf/source/pulls/70
This commit is contained in:
commit
ae22d6d1a7
7 changed files with 30 additions and 6 deletions
|
@ -8,6 +8,8 @@ jobs:
|
||||||
- run: apk update -U && apk add make gnupg patch python3 bash xz nodejs git
|
- run: apk update -U && apk add make gnupg patch python3 bash xz nodejs git
|
||||||
shell: sh
|
shell: sh
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
- run: make fetch-upstream-woodpecker
|
- run: make fetch-upstream-woodpecker
|
||||||
- run: make check-patchfail-woodpecker
|
- run: make check-patchfail-woodpecker
|
||||||
- run: make all
|
- run: make all
|
||||||
|
|
|
@ -4,10 +4,11 @@ stages:
|
||||||
- release
|
- release
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Linux:
|
Linux:
|
||||||
stage: test
|
stage: test
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
variables:
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
tags:
|
tags:
|
||||||
- autoscale
|
- autoscale
|
||||||
image: debian
|
image: debian
|
||||||
|
@ -25,6 +26,8 @@ Linux:
|
||||||
macOS:
|
macOS:
|
||||||
stage: test
|
stage: test
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
variables:
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
when: manual
|
when: manual
|
||||||
tags:
|
tags:
|
||||||
- autoscale
|
- autoscale
|
||||||
|
@ -43,6 +46,8 @@ macOS:
|
||||||
Windows:
|
Windows:
|
||||||
stage: test
|
stage: test
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
variables:
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
when: manual
|
when: manual
|
||||||
tags:
|
tags:
|
||||||
- autoscale
|
- autoscale
|
||||||
|
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "settings"]
|
||||||
|
path = settings
|
||||||
|
url = https://codeberg.org/librewolf/settings.git
|
5
Makefile
5
Makefile
|
@ -47,6 +47,7 @@ help :
|
||||||
@echo "docker:" $(docker_targets)
|
@echo "docker:" $(docker_targets)
|
||||||
|
|
||||||
check :
|
check :
|
||||||
|
-bash -c ./scripts/update-settings-module.sh
|
||||||
python3 scripts/update-version.py
|
python3 scripts/update-version.py
|
||||||
cut -f1 version > version.tmp
|
cut -f1 version > version.tmp
|
||||||
mv -vf version.tmp version
|
mv -vf version.tmp version
|
||||||
|
@ -55,9 +56,9 @@ check :
|
||||||
@echo "LibreWolf release : " $$(cat release)
|
@echo "LibreWolf release : " $$(cat release)
|
||||||
@echo ""
|
@echo ""
|
||||||
|
|
||||||
|
|
||||||
update :
|
update :
|
||||||
git submodule update --recursive --remote
|
-bash -c ./scripts/update-settings-module.sh
|
||||||
|
# git submodule update --recursive --remote
|
||||||
|
|
||||||
|
|
||||||
all : $(lw_source_tarball)
|
all : $(lw_source_tarball)
|
||||||
|
|
|
@ -117,9 +117,9 @@ def librewolf_patches():
|
||||||
|
|
||||||
exec('mkdir -p lw')
|
exec('mkdir -p lw')
|
||||||
enter_srcdir('lw')
|
enter_srcdir('lw')
|
||||||
exec('wget -q https://codeberg.org/librewolf/settings/raw/branch/master/librewolf.cfg')
|
exec('cp -v ../../settings/librewolf.cfg .')
|
||||||
exec('wget -q https://codeberg.org/librewolf/settings/raw/branch/master/distribution/policies.json')
|
exec('cp -v ../../settings/distribution/policies.json .')
|
||||||
exec('wget -q https://codeberg.org/librewolf/settings/raw/branch/master/defaults/pref/local-settings.js')
|
exec('cp -v ../../settings/defaults/pref/local-settings.js .')
|
||||||
leave_srcdir();
|
leave_srcdir();
|
||||||
|
|
||||||
|
|
||||||
|
|
12
scripts/update-settings-module.sh
Executable file
12
scripts/update-settings-module.sh
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
cd settings
|
||||||
|
git checkout master
|
||||||
|
git pull origin master
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
git add settings
|
||||||
|
git commit -m "Updated settings submodule to the latest version"
|
||||||
|
git push
|
1
settings
Submodule
1
settings
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit b587388bdbe63511c478cb8b5f82c2e80040414c
|
Loading…
Reference in a new issue