Files

64 lines
1.7 KiB
YAML
Raw Permalink Normal View History

2018-05-09 16:52:51 +02:00
name: gitea
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
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
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
environment:
GITEA_CUSTOM: "$SNAP_COMMON"
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:
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:
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:
command: gitea dump
2021-06-11 21:51:05 +03:00
plugs: [home, removable-media]
2018-05-09 16:52:51 +02:00
version:
command: gitea --version
2018-05-09 16:52:51 +02:00
sqlite:
command: usr/bin/sqlite3
parts:
gitea:
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 ]
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