[squash] split common data
instead of building the packaged binaries with the `bindata` tag, this introduces a new forgejo-common package which contains common assets and architecture independent files. This is the first of a handful of PRs that will ultimately enable building packages for multiple architectures.
This commit is contained in:
parent
7fcc7721f8
commit
b5914277d3
11 changed files with 54 additions and 25 deletions
|
@ -1,4 +1,4 @@
|
|||
forgejo (7.0.1-1) unstable; urgency=medium
|
||||
forgejo (7.0.1-2) unstable; urgency=medium
|
||||
|
||||
WARNING: Forgejo will be upgraded to v7.0.1 LTS
|
||||
|
||||
|
|
|
@ -2,13 +2,15 @@ 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
|
||||
|
||||
-- mkobel <moritz@kobelnet.ch> Fri, 05 July 2024 22:03:00 +0200
|
||||
-- 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
|
||||
|
||||
|
|
|
@ -8,16 +8,24 @@ Package: forgejo
|
|||
Architecture: amd64
|
||||
Priority: optional
|
||||
Provides: gitea
|
||||
Depends: adduser (>= 3.11),git
|
||||
Conflicts: forgejo-sqlite,forgejo-bin
|
||||
Depends: forgejo-common (= ${source:Version}), adduser (>= 3.11), git
|
||||
Conflicts: forgejo-sqlite, forgejo-bin
|
||||
Description: Forgejo: Beyond Coding. We Forge.
|
||||
Forgejo with bindata ONLY - Use this package for MySQL or PostgreSQL setup
|
||||
|
||||
Package: forgejo-sqlite
|
||||
Architecture: amd64
|
||||
Priority: optional
|
||||
Provides: forgejo,gitea
|
||||
Depends: adduser (>= 3.11),git
|
||||
Conflicts: forgejo,forgejo-bin
|
||||
Provides: forgejo, gitea
|
||||
Depends: forgejo-common (= ${source:Version}), adduser (>= 3.11), git
|
||||
Conflicts: forgejo, forgejo-bin
|
||||
Description: Forgejo: Beyond Coding. We Forge. (SQLite)
|
||||
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.
|
||||
|
|
5
deb/debian/forgejo-common.install
Normal file
5
deb/debian/forgejo-common.install
Normal file
|
@ -0,0 +1,5 @@
|
|||
public/ /usr/share/forgejo
|
||||
templates/ /usr/share/forgejo
|
||||
options/ /usr/share/forgejo
|
||||
forgejo.service /usr/lib/systemd/system
|
||||
app.ini /etc/forgejo
|
|
@ -1,3 +1 @@
|
|||
forgejo-sqlite-bin/forgejo /usr/bin
|
||||
forgejo.service /usr/lib/systemd/system
|
||||
app.ini /etc/forgejo
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
forgejo.preinst
|
|
@ -1,3 +1 @@
|
|||
forgejo-bin/forgejo /usr/bin
|
||||
forgejo.service /usr/lib/systemd/system
|
||||
app.ini /etc/forgejo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue