2018-05-09 16:52:51 +02:00
|
|
|
name: gitea
|
2022-12-10 16:31:16 +02:00
|
|
|
summary: Gitea - A painless self-hosted Git service
|
2018-05-09 16:52:51 +02:00
|
|
|
description: |
|
|
|
|
|
The goal of this project is to make the easiest, fastest, and most painless
|
2026-05-13 10:58:43 -07:00
|
|
|
way of setting up a self-hosted Git service with GitHub-like experiences,
|
|
|
|
|
including issue tracking, code review, project management, wikis, package registry,
|
|
|
|
|
Gitea Actions and more.
|
2018-05-09 16:52:51 +02:00
|
|
|
|
2023-07-19 00:06:43 +08:00
|
|
|
icon: public/assets/img/logo.png
|
2018-05-09 16:52:51 +02:00
|
|
|
confinement: strict
|
2023-09-12 06:47:53 -06:00
|
|
|
base: core22
|
2020-05-08 17:21:28 -03:00
|
|
|
adopt-info: gitea
|
2018-05-09 16:52:51 +02:00
|
|
|
|
2020-05-09 05:39:19 +01:00
|
|
|
architectures:
|
|
|
|
|
- build-on: armhf
|
|
|
|
|
- build-on: amd64
|
|
|
|
|
- build-on: arm64
|
|
|
|
|
|
2020-05-08 17:21:28 -03:00
|
|
|
environment:
|
|
|
|
|
GITEA_CUSTOM: "$SNAP_COMMON"
|
2020-12-15 16:52:59 -05:00
|
|
|
GITEA_WORK_DIR: "$SNAP_COMMON"
|
2020-11-30 13:49:11 -05:00
|
|
|
GIT_TEMPLATE_DIR: "$SNAP/usr/share/git-core/templates"
|
|
|
|
|
GIT_EXEC_PATH: "$SNAP/usr/lib/git-core"
|
2018-05-09 16:52:51 +02:00
|
|
|
|
|
|
|
|
apps:
|
|
|
|
|
gitea:
|
2020-05-08 17:21:28 -03:00
|
|
|
command: gitea
|
2021-06-11 21:51:05 +03:00
|
|
|
plugs: [network, network-bind, removable-media]
|
2018-05-09 16:52:51 +02:00
|
|
|
web:
|
2020-05-08 17:21:28 -03:00
|
|
|
command: gitea web
|
2018-05-09 16:52:51 +02:00
|
|
|
daemon: simple
|
2021-06-11 21:51:05 +03:00
|
|
|
plugs: [network, network-bind, removable-media]
|
2018-05-09 16:52:51 +02:00
|
|
|
dump:
|
2020-05-08 17:21:28 -03:00
|
|
|
command: gitea dump
|
2021-06-11 21:51:05 +03:00
|
|
|
plugs: [home, removable-media]
|
2018-05-09 16:52:51 +02:00
|
|
|
version:
|
2020-05-08 17:21:28 -03:00
|
|
|
command: gitea --version
|
2018-05-09 16:52:51 +02:00
|
|
|
sqlite:
|
|
|
|
|
command: usr/bin/sqlite3
|
|
|
|
|
|
|
|
|
|
parts:
|
|
|
|
|
gitea:
|
2020-05-08 17:21:28 -03:00
|
|
|
plugin: make
|
2018-05-09 16:52:51 +02:00
|
|
|
source: .
|
|
|
|
|
stage-packages: [ git, sqlite3, openssh-client ]
|
2022-08-18 12:25:50 -04:00
|
|
|
build-packages: [ git, libpam0g-dev, libsqlite3-dev, build-essential]
|
2026-03-30 09:47:41 -04:00
|
|
|
build-snaps: [ go/1.26/stable, node/24/stable ]
|
2020-05-08 17:21:28 -03:00
|
|
|
build-environment:
|
|
|
|
|
- LDFLAGS: ""
|
2026-05-13 10:58:43 -07:00
|
|
|
override-pull: craftctl default && ./snap/part-gitea-pull.sh
|
|
|
|
|
override-build: ./snap/part-gitea-build.sh
|
2018-05-09 16:52:51 +02:00
|
|
|
prime:
|
|
|
|
|
- -etc
|
|
|
|
|
- -usr/lib/systemd
|
|
|
|
|
- -usr/lib/gcc
|
|
|
|
|
- -usr/lib/sasl2
|
|
|
|
|
- -usr/lib/x86_64-linux-gnu/krb5
|
|
|
|
|
- -usr/share/apport
|
|
|
|
|
- -usr/share/bash-completion
|
|
|
|
|
- -usr/share/git-core/contrib
|
|
|
|
|
- -usr/share/man
|
|
|
|
|
- -usr/share/upstart
|
|
|
|
|
- -var
|