Compare commits

..

3 commits
main ... 1.21

Author SHA1 Message Date
crystal
cbd2456137
Forgejo v1.21.11-2 2024-06-15 12:35:03 -06:00
crystal
e450cc20ba
fix forgejo-bin deps and conflicts 2024-06-15 11:00:44 -06:00
crystal
5c8e34621a
[squash] actions for v1.21.x-x 2024-06-15 09:39:03 -06:00
20 changed files with 82 additions and 252 deletions

7
.action-forgejo-mirror.sh Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
git fetch --tags
git remote add action-forgejo-mirror https://action-forgejo-mirror:$FORGEJO_KEY@$FORGEJO_DEST/$GITHUB_REPOSITORY
git push action-forgejo-mirror --all
git push action-forgejo-mirror --tags "refs/remotes/origin/*:refs/heads/*"
git remote remove action-forgejo-mirror

View file

@ -8,10 +8,6 @@ CI_VERIFY_RETRY_COUNT=30 # How many times to retry before giving up if the pipel
case "$1" in case "$1" in
"submodule-build") "submodule-build")
cd "$2" cd "$2"
LDFLAGS="$LDFLAGS -X \"code.gitea.io/gitea/modules/setting.StaticRootPath=/usr/share/forgejo\""
LDFLAGS="$LDFLAGS -X \"code.gitea.io/gitea/modules/setting.AppWorkPath=/var/lib/forgejo\""
LDFLAGS="$LDFLAGS -X \"code.gitea.io/gitea/modules/setting.CustomConf=/etc/forgejo/app.ini\""
export LDFLAGS
make build make build
EXIT_STATUS=$? EXIT_STATUS=$?
mv gitea ../"$3" mv gitea ../"$3"
@ -99,18 +95,7 @@ case "$1" in
if [ ! $CI_COMMIT_TAG_RESOLVE ] ; then if [ ! $CI_COMMIT_TAG_RESOLVE ] ; then
echo "Failed to resolve exact tag! Getting as close as we can..." echo "Failed to resolve exact tag! Getting as close as we can..."
git describe --tags HEAD git describe --tags HEAD
FORGEJO_CLOSEST_TAG=$(git describe --tags HEAD --abbrev=0) CI_COMMIT_TAG_RESOLVE=$(git describe --tags HEAD --abbrev=0)
echo "Looking for experimental tag..."
EXPERIMENTAL_REPO="forgejo-experimental/forgejo"
git remote add experimental $CI_VERIFY_API/$EXPERIMENTAL_REPO
git fetch experimental --tags
CI_COMMIT_TAG_RESOLVE=$(git tag --points-at HEAD)
if [ $CI_COMMIT_TAG_RESOLVE ] ; then
CI_VERIFY_REPO=$EXPERIMENTAL_REPO
FORGEJO_CLOSEST_TAG=$CI_COMMIT_TAG_RESOLVE
echo "Found it! Using experimental tag and downloading binary from $CI_VERIFY_REPO"
fi
CI_COMMIT_TAG_RESOLVE=$FORGEJO_CLOSEST_TAG
echo "Closest existing tag: $CI_COMMIT_TAG_RESOLVE" echo "Closest existing tag: $CI_COMMIT_TAG_RESOLVE"
if [ "$CI_COMMIT_TAG_RESOLVE" != "${CI_COMMIT_TAG_RESOLVE%"-dev"}" ] || [ ! "$CI_COMMIT_TAG_RESOLVE" ] ; then if [ "$CI_COMMIT_TAG_RESOLVE" != "${CI_COMMIT_TAG_RESOLVE%"-dev"}" ] || [ ! "$CI_COMMIT_TAG_RESOLVE" ] ; then
if [ $PR_MODE ] ; then if [ $PR_MODE ] ; then
@ -149,14 +134,11 @@ case "$1" in
mkdir deb/forgejo-sqlite-bin mkdir deb/forgejo-sqlite-bin
mv forgejo-bin deb/forgejo-bin/forgejo mv forgejo-bin deb/forgejo-bin/forgejo
mv forgejo-sqlite-bin deb/forgejo-sqlite-bin/forgejo mv forgejo-sqlite-bin deb/forgejo-sqlite-bin/forgejo
cp -r forgejo/public deb/public
cp -r forgejo/templates deb/templates
cp -r forgejo/options deb/options
if [ -x forgejo-bin-dl ] ; then if [ -x forgejo-bin-dl ] ; then
mkdir deb/forgejo-bin-dl mkdir deb/forgejo-bin-dl
mv forgejo-bin-dl deb/forgejo-bin-dl/forgejo mv forgejo-bin-dl deb/forgejo-bin-dl/forgejo
mv deb/.forgejo-bin.install deb/debian/forgejo-bin.install mv deb/.forgejo-bin.install deb/debian/forgejo-bin.install
ln -s forgejo-common.preinst deb/debian/forgejo-bin.preinst ln -s forgejo.preinst deb/debian/forgejo-bin.preinst
ln -s forgejo.postinst deb/debian/forgejo-bin.postinst ln -s forgejo.postinst deb/debian/forgejo-bin.postinst
ln -s forgejo.prerm deb/debian/forgejo-bin.prerm ln -s forgejo.prerm deb/debian/forgejo-bin.prerm
echo >> deb/debian/control echo >> deb/debian/control
@ -199,27 +181,13 @@ case "$1" in
"install-run-test") "install-run-test")
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
apt update apt update
if [ "$2" = "${2#"./forgejo-bin_"}" ] ; then apt install -y ./"$2"
APT_FORGEJO_COMMON_RESOLVE="$(ls -1 ./forgejo-common_*_all.deb)" [ -f "/etc/default/forgejo" ] && . /etc/default/forgejo
if [ -f "$APT_FORGEJO_COMMON_RESOLVE" ] ; then [ -z "$FORGEJO_HOME" ] && FORGEJO_HOME=/var/lib/forgejo
APT_FORGEJO_COMMON="./$APT_FORGEJO_COMMON_RESOLVE" [ -z "$FORGEJO_USER" ] && FORGEJO_USER=forgejo
else sudo -u $FORGEJO_USER USER=$FORGEJO_USER \
echo "ERR! Unable to find the necessary forgejo-common package!" HOME=$FORGEJO_HOME GITEA_WORK_DIR=$FORGEJO_HOME \
exit 96 forgejo web -q --config /etc/forgejo/app.ini &
fi
fi
apt install -y $APT_FORGEJO_COMMON ./"$2"
if [ -f "/etc/default/forgejo" ] || [ "$2" != "${2#"./forgejo-bin_"}" ] ; then
[ -f "/etc/default/forgejo" ] && . /etc/default/forgejo
[ -z "$FORGEJO_HOME" ] && FORGEJO_HOME=/var/lib/forgejo
[ -z "$FORGEJO_USER" ] && FORGEJO_USER=forgejo
sudo -u $FORGEJO_USER USER=$FORGEJO_USER \
HOME=$FORGEJO_HOME FORGEJO_WORK_DIR=$FORGEJO_HOME \
forgejo web -q --config /etc/forgejo/app.ini &
else
echo "No env setup! Run testing defaults using hardcoded vars..."
sudo -u forgejo USER=forgejo forgejo web -q &
fi
sleep 10 sleep 10
curl http://localhost:3000/ | grep -A 4 "Powered by Forgejo" curl http://localhost:3000/ | grep -A 4 "Powered by Forgejo"
exit $? exit $?
@ -234,7 +202,7 @@ case "$1" in
apt update -qq apt update -qq
apt install -y "$3" apt install -y "$3"
sudo -u forgejo USER=forgejo \ sudo -u forgejo USER=forgejo \
HOME=/var/lib/forgejo FORGEJO_WORK_DIR=/var/lib/forgejo \ HOME=/var/lib/forgejo GITEA_WORK_DIR=/var/lib/forgejo \
forgejo web -q --config /etc/fogejo/app.ini & forgejo web -q --config /etc/fogejo/app.ini &
sleep 10 sleep 10
curl http://localhost:3000/ | grep -A 4 "Powered by Forgejo" curl http://localhost:3000/ | grep -A 4 "Powered by Forgejo"

View file

@ -1,14 +1,25 @@
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
mirror:
runs-on: bookworm
if: github.event_name == 'push' && github.repository == 'forgejo-contrib/forgejo-deb'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "mirror repo: code.forgejo.org"
env:
FORGEJO_DEST: code.forgejo.org
FORGEJO_KEY: ${{ secrets.cfo_api_key }}
run: ./.action-forgejo-mirror.sh
build-forgejo-deb: build-forgejo-deb:
runs-on: bullseye runs-on: bullseye
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true
fetch-depth: 0
fetch-tags: true
filter: tree:0
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
@ -16,13 +27,19 @@ jobs:
- uses: actions/setup-go@v4 - uses: actions/setup-go@v4
with: with:
go-version: "1.23" go-version: "1.21"
check-latest: true check-latest: true
- name: "actions prep: build-forgejo-deb" - name: "actions prep: build-forgejo-deb"
id: ciprep id: ciprep
run: ./.ci-make.sh actions-prep build-forgejo-deb run: ./.ci-make.sh actions-prep build-forgejo-deb
- name: fetch tags
run: |
git config --add safe.directory '*'
git fetch --tags --force
git submodule foreach 'git fetch --tags --force'
- uses: crystal/install-jq-action@v2.1.0 - uses: crystal/install-jq-action@v2.1.0
- run: ./.ci-make.sh ci-verify forgejo - run: ./.ci-make.sh ci-verify forgejo
@ -45,11 +62,13 @@ jobs:
- name: Build Forgejo for amd64 - name: Build Forgejo for amd64
run: ./.ci-make.sh submodule-build forgejo forgejo-bin run: ./.ci-make.sh submodule-build forgejo forgejo-bin
env:
TAGS: bindata
- name: Build Forgejo (with SQLite) for amd64 - name: Build Forgejo (with SQLite) for amd64
run: ./.ci-make.sh submodule-build forgejo forgejo-sqlite-bin run: ./.ci-make.sh submodule-build forgejo forgejo-sqlite-bin
env: env:
TAGS: sqlite sqlite_unlock_notify TAGS: bindata sqlite sqlite_unlock_notify
- run: ./.ci-make.sh package-prep - run: ./.ci-make.sh package-prep
- run: ./.ci-make.sh package-build-deps - run: ./.ci-make.sh package-build-deps
@ -80,8 +99,6 @@ jobs:
installtest-bookworm-sqlite: installtest-bookworm-sqlite:
runs-on: bookworm runs-on: bookworm
needs:
- build-forgejo-deb
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -97,8 +114,6 @@ jobs:
installtest-bullseye-sqlite: installtest-bullseye-sqlite:
runs-on: bullseye runs-on: bullseye
needs:
- build-forgejo-deb
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -114,8 +129,6 @@ jobs:
installtest-buster-sqlite: installtest-buster-sqlite:
runs-on: buster runs-on: buster
needs:
- build-forgejo-deb
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -131,8 +144,6 @@ jobs:
installtest-bookworm-user: installtest-bookworm-user:
runs-on: bookworm runs-on: bookworm
needs:
- build-forgejo-deb
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -149,8 +160,6 @@ jobs:
testsuite-repo-upgrade-sqlite: testsuite-repo-upgrade-sqlite:
runs-on: bookworm runs-on: bookworm
needs:
- build-forgejo-deb
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -169,8 +178,6 @@ jobs:
installtest-buster-bin: installtest-buster-bin:
runs-on: buster runs-on: buster
needs:
- build-forgejo-deb
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -186,8 +193,7 @@ jobs:
publish-release-repo: publish-release-repo:
runs-on: bookworm runs-on: bookworm
needs: if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && github.repository == 'forgejo-contrib/forgejo-deb'
- build-forgejo-deb
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -202,21 +208,28 @@ jobs:
- uses: crystal/install-jq-action@v2.1.0 - uses: crystal/install-jq-action@v2.1.0
- run: mkdir forgejo-release - run: mkdir forgejo-release
- run: mv *.deb *.deb.sha256 forgejo-release/ - run: mv *.deb *.deb.sha256 forgejo-release/
- uses: actions/forgejo-release@v1
with:
direction: upload
url: https://codeberg.org
token: ${{ secrets.codeberg_api_key }}
release-dir: forgejo-release
# - uses: actions/forgejo-release@v1 - uses: actions/forgejo-release@v1
# with: with:
# direction: upload direction: upload
# url: https://forgejo.glicid.fr url: https://code.forgejo.org
# token: ${{ secrets.CFO_API_KEY }} token: ${{ secrets.cfo_api_key }}
# release-dir: forgejo-release release-dir: forgejo-release
- name: Debian package registry publish - name: Debian package registry publish
env: env:
FORGEJO_SITE: https://forgejo.glicid.fr FORGEJO_SITE: https://code.forgejo.org
FORGEJO_OWNER: GLiCID FORGEJO_OWNER: forgejo-contrib
DEBIAN_DIST: bookworm DEBIAN_DIST: bullseye
DEBIAN_COMPONENT: forgejo DEBIAN_COMPONENT: forgejo
FORGEJO_KEY: ${{ secrets.CFO_API_KEY }} FORGEJO_KEY: ${{ secrets.cfo_api_key }}
run: | run: |
cd forgejo-release cd forgejo-release
../.ci-forgejo-apt.sh *.deb ../.ci-forgejo-apt.sh *.deb

View file

@ -1,8 +1,8 @@
Package: forgejo-bin Package: forgejo-bin
Architecture: amd64 Architecture: amd64
Priority: optional Priority: optional
Provides: forgejo, gitea Provides: forgejo,gitea
Depends: adduser (>= 3.11), git Depends: adduser (>= 3.11), git
Conflicts: forgejo, forgejo-sqlite, forgejo-common Conflicts: forgejo,forgejo-sqlite,forgejo-common
Description: Forgejo: Beyond Coding. We Forge. (binary) Description: Forgejo: Beyond Coding. We Forge. (binary)
The official Forgejo release binary in a Debian package The official Forgejo release binary in a Debian package

View file

@ -1,18 +1,3 @@
forgejo (7.0.1-2) unstable; urgency=medium
WARNING: Forgejo will be upgraded to v7.0.1 LTS
Please read the Forgejo v7.0 release announcement and the release notes
for all v7.0.x versions and make any necessary adjustments to your
configuration before proceeding with the upgrade.
You may need to manually restart Forgejo after the upgrade is complete.
https://forgejo.org/2024-04-release-v7-0/
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-1
-- crystal <crystal@noreply.codeberg.org> Sat, 27 Apr 2024 15:42:00 +0000
forgejo (1.21.4.0-2) unstable; urgency=medium forgejo (1.21.4.0-2) unstable; urgency=medium
WARNING: Forgejo will be upgraded to v1.21.4-0 WARNING: Forgejo will be upgraded to v1.21.4-0

View file

@ -1,106 +1,10 @@
forgejo (10.0.3-1) unstable; urgency=medium forgejo (1.21.11.2-1) unstable; urgency=medium
* Forgejo version 10.0.3 * Forgejo version 1.21.11-2
* See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#10.0.3 * See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#1-21-11-2
* Split `forgejo-common` package for extra data * Uses Forgejo Actions for build process
-- crystal <crystal@noreply.codeberg.org> Sat, 29 Mar 2025 00:55:00 +0000 -- crystal <crystal@noreply.codeberg.org> Fri, 19 Apr 2024 15:46:00 +0000
forgejo (10.0.2-1) unstable; urgency=medium
* Forgejo version 10.0.2
* See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#10.0.2
* Split `forgejo-common` package for extra data
-- crystal <crystal@noreply.codeberg.org> Sat, 29 Mar 2025 00:55:00 +0000
forgejo (10.0.1-1) unstable; urgency=medium
* Forgejo version 10.0.1
* See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#10.0.1
* Split `forgejo-common` package for extra data
-- crystal <crystal@noreply.codeberg.org> Mon, 17 Feb 2025 00:55:00 +0000
forgejo (10.0.0-1) unstable; urgency=medium
* Forgejo version 10.0.0
* See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#10.0.0
* Split `forgejo-common` package for extra data
-- crystal <crystal@noreply.codeberg.org> Sun, 19 Dec 2025 00:55:00 +0000
forgejo (9.0.3-1) unstable; urgency=medium
* Forgejo version 9.0.3
* See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#9.0.3
* Split `forgejo-common` package for extra data
-- crystal <crystal@noreply.codeberg.org> Sat, 14 Dec 2024 00:55:00 +0000
forgejo (9.0.2-1) unstable; urgency=medium
* Forgejo version 9.0.2
* See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#9.0.2
* Split `forgejo-common` package for extra data
-- crystal <crystal@noreply.codeberg.org> Sat, 14 Dec 2024 00:55:00 +0000
forgejo (9.0.1-1) unstable; urgency=medium
* Forgejo version 9.0.1
* See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#9.0.1
* Split `forgejo-common` package for extra data
-- crystal <crystal@noreply.codeberg.org> Mon, 28 Oct 2024 00:55:00 +0000
forgejo (8.0.3-1) unstable; urgency=medium
* Forgejo version 8.0.3
* See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#8.0.3
* Split `forgejo-common` package for extra data
-- crystal <crystal@noreply.codeberg.org> Sun, 15 Sep 2024 00:55:00 +0000
forgejo (8.0.2-1) unstable; urgency=medium
* Forgejo version 8.0.2
* See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#8.0.2
* Split `forgejo-common` package for extra data
-- crystal <crystal@noreply.codeberg.org> Sun, 01 Sep 2024 00:55:00 +0000
forgejo (8.0.1-1) unstable; urgency=medium
* Forgejo version 8.0.1
* See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#8.0.1
* Split `forgejo-common` package for extra data
-- crystal <crystal@noreply.codeberg.org> Tue, 27 Aug 2024 00:55:00 +0000
forgejo (7.0.7-1) unstable; urgency=medium
* Forgejo version 7.0.7
* See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-7
* Split `forgejo-common` package for extra data
-- crystal <crystal@noreply.codeberg.org> Mon, 26 Aug 2024 00:55:00 +0000
forgejo (7.0.5-1) unstable; urgency=medium
* Forgejo version 7.0.5
* See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-5
* Split `forgejo-common` package for extra data
-- crystal <crystal@noreply.codeberg.org> Sun, 07 July 2024 17:22:00 +0000
forgejo (7.0.1-1) unstable; urgency=medium
* Forgejo version 7.0.1
* See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-1
* Forgejo Actions based build process
-- crystal <crystal@noreply.codeberg.org> Sat, 27 Apr 2024 15:35:00 +0000
forgejo (1.21.11.1-1) unstable; urgency=medium forgejo (1.21.11.1-1) unstable; urgency=medium

View file

@ -8,24 +8,16 @@ Package: forgejo
Architecture: amd64 Architecture: amd64
Priority: optional Priority: optional
Provides: gitea Provides: gitea
Depends: forgejo-common (= ${source:Version}), adduser (>= 3.11), git Depends: adduser (>= 3.11),git
Conflicts: forgejo-sqlite, forgejo-bin Conflicts: forgejo-sqlite,forgejo-bin
Description: Forgejo: Beyond Coding. We Forge. Description: Forgejo: Beyond Coding. We Forge.
Forgejo with bindata ONLY - Use this package for MySQL or PostgreSQL setup Forgejo with bindata ONLY - Use this package for MySQL or PostgreSQL setup
Package: forgejo-sqlite Package: forgejo-sqlite
Architecture: amd64 Architecture: amd64
Priority: optional Priority: optional
Provides: forgejo, gitea Provides: forgejo,gitea
Depends: forgejo-common (= ${source:Version}), adduser (>= 3.11), git Depends: adduser (>= 3.11),git
Conflicts: forgejo, forgejo-bin Conflicts: forgejo,forgejo-bin
Description: Forgejo: Beyond Coding. We Forge. (SQLite) Description: Forgejo: Beyond Coding. We Forge. (SQLite)
Forgejo with bindata and SQLite support - Use this package to get started immediately Forgejo with bindata and SQLite support - Use this package to get started immediately
Package: forgejo-common
Architecture: all
Priority: optional
Depends: forgejo | forgejo-sqlite (= ${source:Version})
Conflicts: forgejo-bin
Description: Common files for Forgejo
Common data used for all Forgejo packages and architectures.

View file

@ -1,5 +0,0 @@
public/ /usr/share/forgejo
templates/ /usr/share/forgejo
options/ /usr/share/forgejo
forgejo.service /usr/lib/systemd/system
app.ini /etc/forgejo

View file

@ -1 +1,3 @@
forgejo-sqlite-bin/forgejo /usr/bin forgejo-sqlite-bin/forgejo /usr/bin
forgejo.service /usr/lib/systemd/system
app.ini /etc/forgejo

View file

@ -0,0 +1 @@
forgejo.preinst

View file

@ -1 +1,3 @@
forgejo-bin/forgejo /usr/bin forgejo-bin/forgejo /usr/bin
forgejo.service /usr/lib/systemd/system
app.ini /etc/forgejo

View file

@ -61,7 +61,7 @@ WorkingDirectory=~
#RuntimeDirectory=forgejo #RuntimeDirectory=forgejo
ExecStart=/usr/bin/forgejo web --config /etc/forgejo/app.ini ExecStart=/usr/bin/forgejo web --config /etc/forgejo/app.ini
Restart=always Restart=always
Environment=USER=forgejo HOME=/var/lib/forgejo FORGEJO_WORK_DIR=/var/lib/forgejo Environment=USER=forgejo HOME=/var/lib/forgejo GITEA_WORK_DIR=/var/lib/forgejo
# If you install Git to directory prefix other than default PATH (which happens # If you install Git to directory prefix other than default PATH (which happens
# for example if you install other versions of Git side-to-side with # for example if you install other versions of Git side-to-side with
# distribution version), uncomment below line and add that prefix to PATH # distribution version), uncomment below line and add that prefix to PATH

View file

@ -3,4 +3,4 @@
# LimitNOFILE=524288:524288 # LimitNOFILE=524288:524288
User=git User=git
Group=git Group=git
Environment=USER=git HOME=/var/lib/forgejo FORGEJO_WORK_DIR=/var/lib/forgejo Environment=USER=git HOME=/var/lib/forgejo GITEA_WORK_DIR=/var/lib/forgejo

@ -1 +1 @@
Subproject commit dde3f51c72feffac4805fc3133b6a681d8c97c6f Subproject commit cd36b74cdebd8cc5e6ea9674aea6340d1bfa111f

View file

@ -1 +1 @@
deb https://code.forgejo.org/api/packages/forgejo-contrib/debian bullseye forgejo-lts deb https://code.forgejo.org/api/packages/forgejo-contrib/debian bullseye forgejo

View file

@ -1,26 +0,0 @@
forgejo-deb-repo (2-4) unstable; urgency=medium
WARNING: You are switching to the Forgejo LTS release channel!
After this upgrade is complete, you must run `apt upgrade` again to upgrade
to Forgejo 7.0.x LTS. You will no longer recieve new major Forgejo versions
until the next LTS version is available.
If you wish to switch to the standard release channel, use the following
commands to install the setup package. This package will be removed when the
release channel is successfully switched during the upgrade.
sudo apt install forgejo-deb-repo-stable
sudo apt update
sudo apt full-upgrade
More info: https://codeberg.org/forgejo-contrib/forgejo-deb/issues/35
Please read the Forgejo v7.0 release announcement and the release notes
for all v7.0.x versions and make any necessary adjustments to your
configuration before proceeding with the following upgrade.
https://forgejo.org/2024-04-release-v7-0/
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-1
-- crystal <crystal@noreply.codeberg.org> Sun, 28 Apr 2024 17:48:00 +0000

View file

@ -1,15 +1,3 @@
forgejo-deb-repo (2-4) unstable; urgency=medium
* Switch to forgejo-lts component (LTS release channel)
-- crystal <crystal@noreply.codeberg.org> Sun, 28 Apr 2024 17:48:00 +0000
forgejo-deb-repo (2-2) unstable; urgency=medium
* Add apt-listchanges dep for important upgrade notices
-- crystal <crystal@noreply.codeberg.org> Sun, 28 Apr 2024 13:13:00 +0000
forgejo-deb-repo (2-1) unstable; urgency=medium forgejo-deb-repo (2-1) unstable; urgency=medium
* Move to https://code.forgejo.org/forgejo-contrib/-/packages * Move to https://code.forgejo.org/forgejo-contrib/-/packages

View file

@ -7,8 +7,7 @@ Build-Depends: debhelper (>= 10)
Package: forgejo-deb-repo Package: forgejo-deb-repo
Architecture: all Architecture: all
Priority: optional Priority: optional
Depends: forgejo-deb-repokey, apt-transport-https, apt-listchanges Depends: forgejo-deb-repokey, apt-transport-https
Conflicts: forgejo-deb-repo-lts
Description: APT Repository for forgejo-deb builds Description: APT Repository for forgejo-deb builds
Forgejo will be updated via apt along with other software on your system Forgejo will be updated via apt along with other software on your system

View file

@ -2,4 +2,4 @@ forgejo-deb-repo (0-0) unstable; urgency=medium
* forgejo-deb APT repository stub * forgejo-deb APT repository stub
-- crystal <crystal@noreply.codeberg.org> Sun, 28 Jul 2024 18:25:00 +0000 -- crystal <crystal@noreply.codeberg.org> Tue, 25 Jul 2023 10:50:00 +0000