1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-01 17:38:33 +00:00

snap-packaging for gitea (#2568)

* Modify tbraeutigam/gogs-snap for gitea

* Fix building on 16.04 (manually build go-bindata).
-> add _source.tar.bz2 to .gitignore (used by snapcraft cleanbuild)

* Streamline Snap packaging:
 - Take advantage of install-hooks (snapd 2.27)
 - Use snapctl configuration storage for unchanging values

* Move to using Snap Hooks for configuration

* Missed re-adding daemon statement

* Fix two warnings from Codacy.
This commit is contained in:
Thorben 2018-05-09 16:52:51 +02:00 committed by Lunny Xiao
parent 02ecc03d6d
commit 14f16d6c2e
7 changed files with 394 additions and 0 deletions

3
snap/hooks/configure vendored Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
$SNAP/bin/gconfig configure