1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitea_ynh.git synced 2024-09-03 20:36:22 +02:00
This commit is contained in:
Éric Gaspar 2022-07-23 09:36:49 +02:00
parent 5026d1c591
commit 346cfb26db
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 33 additions and 34 deletions

View file

@ -1,9 +1,10 @@
;; General
; Manifest
domain="domain.tld" (DOMAIN)
path="/path" (PATH)
admin="john" (USER)
is_public=1 (PUBLIC|public=1|private=0)
domain="domain.tld"
path="/path"
admin="john"
password="1Strong-Password"
is_public=1
; Checks
pkg_linter=1
setup_sub_dir=1
@ -12,15 +13,15 @@
setup_private=1
setup_public=1
upgrade=1
upgrade=1 from_commit=349992d4f3921e4e1adb37a0cace4a5a9eb67099
upgrade=1 from_commit=4e078e91129725c8b09ba551ab2a04e0328a45b3
#1.14.5
upgrade=1 from_commit=7ea357724f2371aa1173f15ba5a7502609a0a131
backup_restore=1
multi_instance=1
incorrect_path=0
port_already_use=1 (6000)
change_url=1
;;; Options
Email=
Notification=none
;;; Upgrade options
; commit=349992d4f3921e4e1adb37a0cace4a5a9eb67099
name=First package version
; commit=4e078e91129725c8b09ba551ab2a04e0328a45b3
name=Gogs code, check migration from gogs
; commit=7ea357724f2371aa1173f15ba5a7502609a0a131
name=1.14.5
manifest_arg=domain=DOMAIN&path=PATH&is_public=1&language=fr&admin=USER&password=pass&port=666&

View file

@ -1 +1,14 @@
Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub.
Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket, and GitLab. Gitea is a fork of Gogs. See the Gitea Announcement blog post to read about the justification for a fork.
### Features
- User dashboard, user profile and activity timeline.
- User, organization and repository management.
- Repository and organization webhooks, including Slack, Discord and Dingtalk.
- Repository Git hooks, deploy keys and Git LFS.
- Repository issues, pull requests, wiki, protected branches and collaboration.
- Migrate and mirror repositories with wiki from other code hosts.
- Web editor for quick editing repository files and wiki.
- Jupyter Notebook and PDF rendering.
- Authentication via SMTP, LDAP.
- Customize HTML templates, static files and many others.

View file

@ -56,22 +56,6 @@ This application now uses the core-only feature of the backup. To keep the integ
Due of the backup core only feature the data directory in `/home/yunohost.app/gitea` **is not removed**. It must be manually deleted to purge user data from the app.
### LFS setup
To use a repository with an `LFS` setup, you need to activate it on `/opt/gitea/custom/conf/app.ini`
```ini
[server]
LFS_START_SERVER = true
LFS_HTTP_AUTH_EXPIRY = 20m
```
By default, NGINX is configured with a maximum value for uploading files at 200 MB. It's possible to change this value on `/etc/nginx/conf.d/my.domain.tld.d/gitea.conf`.
```
client_max_body_size 200M;
```
Don't forget to restart Gitea `sudo systemctl restart gitea.service`.
> These settings are restored to the default configuration when updating Gitea. Remember to restore your configuration after all updates.
### Git command access with HTTPS
If you want to use the Git command (like `git clone`, `git pull`, `git push`), you need to set this app as **public**.

View file

@ -3,18 +3,18 @@
"id": "gitea",
"packaging_format": 1,
"description": {
"en": "Lightweight Git forge",
"fr": "Forge Git légère"
"en": "Lightweight self-hosted Git forge",
"fr": "Forge Git légère auto-hébergé"
},
"version": "1.16.9~ynh1",
"url": "https://gitea.io/",
"upstream": {
"license": "MIT",
"website": "https://gitea.io/",
"admindoc": "https://docs.gitea.io/",
"code": "https://github.com/go-gitea/gitea"
},
"url": "http://gitea.io",
"license": "MIT",
"version": "1.16.9~ynh1",
"maintainer": {
"name": "Josué Tille",
"email": "josue@tille.ch"
@ -29,7 +29,7 @@
"mysql"
],
"requirements": {
"yunohost": ">= 4.2.6.1"
"yunohost": ">= 4.3.0"
},
"arguments": {
"install" : [
@ -40,6 +40,7 @@
{
"name": "path",
"type": "path",
"example": "/gitea",
"default": "/gitea"
},
{