Giter VIP home page Giter VIP logo

forgejo_ynh's Introduction

Forgejo for YunoHost

Integration level Working status Maintenance status

Install Forgejo with YunoHost

Read this README in other languages.

This package allows you to install Forgejo quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job.

Brought to you by an inclusive community under the umbrella of Codeberg e.V., a democratic non-profit organization, Forgejo can be trusted to be exclusively Free Software. It focuses on security, scaling, federation and privacy.

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.

Shipped version: 7.0.4~ynh1

Screenshots

Screenshot of Forgejo

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that:

sudo yunohost app install https://github.com/YunoHost-Apps/forgejo_ynh/tree/testing --debug
or
sudo yunohost app upgrade forgejo -u https://github.com/YunoHost-Apps/forgejo_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps

forgejo_ynh's People

Contributors

aeris1one avatar alexaubin avatar ericgaspar avatar grosmanal avatar oniricorpe avatar yunohost-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

forgejo_ynh's Issues

User synchronization

User synchronization doesn't work if «forgejo» permission is not set to «Visitors» group.

Explanation : the user synchronization is triggered with a call to forgejo API (with curl). This request is not authenticated against yunohost, that's why Yunohost firewall won't let it pass unless «forgejo» permission is granted to unauthenticated users (aka Visitors).

Resolving clues :

Forgejo doesn't show images

Images (i.e. png file) included in repositories are not shown to logged users.

How to reproduce:

=> if you're logged in, the image is broken (401 in the browser network console)
=> if you are a visitor (not logged in), you can see the image

Login issue after update 1.19.3-0~ynh2 to 1.19.3-0~ynh5

After the update it was impossible to connect to my account. In addition, it seems to have completely bugged the server, which becomes unreachable (services are cut off, only to become accessible again 5 to 10 minutes later).

Forgejo Upgrade logs
https://paste.yunohost.org/raw/ajoqinewot

In /var/log/forgejo/forgejo.log

2023/07/17 05:13:37 ...s/graceful/server.go:62:NewServer() [I] [64b4ce01-2] Starting new Web server: tcp:127.0.0.1:6001 on PID: 1810816
2023/07/17 05:13:39 ...rvices/cron/tasks.go:140:GetTask() [I] [64b4ce03] Getting sync_external_users in &{{0 0} sync_external_users 0xc0053ee270 0x21f1560    0}
2023/07/17 05:13:39 .../ldap/source_sync.go:128:Sync() [E] [64b4ce03-2] SyncExternalUsers[YunoHost LDAP]: Error creating user kazukyakayashi: user already exists [name: kazukyakayashi]
2023/07/17 06:09:18 ...ers/web/auth/auth.go:206:SignInPost() [I] [64b4db0d] Failed authentication attempt for KazukyAkayashi from my-ip:0: user does not exist [uid: 1, name: KazukyAkayashi, keyid: 0]
2023/07/17 06:09:21 ...ers/web/auth/auth.go:206:SignInPost() [I] [64b4db11] Failed authentication attempt for KazukyAkayashi from my-ip:0: user does not exist [uid: 1, name: KazukyAkayashi, keyid: 0]
2023/07/17 06:09:23 ...ers/web/auth/auth.go:206:SignInPost() [I] [64b4db13] Failed authentication attempt for KazukyAkayashi from my-ip:0: user does not exist [uid: 1, name: KazukyAkayashi, keyid: 0]
2023/07/17 06:09:29 ...ers/web/auth/auth.go:206:SignInPost() [I] [64b4db18-2] Failed authentication attempt for KazukyAkayashi from my-ip:0: user does not exist [uid: 1, name: KazukyAkayashi, keyid: 0]
2023/07/17 06:10:45 ...ers/web/auth/auth.go:206:SignInPost() [I] [64b4db65] Failed authentication attempt for KazukyAkayashi from my-ip:0: user does not exist [uid: 1, name: KazukyAkayashi, keyid: 0]
2023/07/17 06:22:58 ...ers/web/auth/auth.go:206:SignInPost() [I] [64b4de41-2] Failed authentication attempt for KazukyAkayashi from my-ip:0: user does not exist [uid: 1, name: KazukyAkayashi, keyid: 0]
2023/07/17 06:22:59 ...ers/web/auth/auth.go:206:SignInPost() [I] [64b4de43] Failed authentication attempt for KazukyAkayashi from my-ip:0: user does not exist [uid: 1, name: KazukyAkayashi, keyid: 0]
2023/07/17 06:23:08 ...odels/user/avatar.go:56:GenerateRandomAvatar() [I] [64b4de4c] New random avatar created: 2
2023/07/17 06:23:15 ...ers/web/auth/auth.go:206:SignInPost() [I] [64b4de53] Failed authentication attempt for KazukyAkayashi from my-ip:0: user does not exist [uid: 1, name: KazukyAkayashi, keyid: 0]
2023/07/17 06:23:17 ...ers/web/auth/auth.go:206:SignInPost() [I] [64b4de55] Failed authentication attempt for KazukyAkayashi from my-ip:0: user does not exist [uid: 1, name: KazukyAkayashi, keyid: 0]
2023/07/17 06:27:08 ...rvices/cron/tasks.go:140:GetTask() [I] [64b4df3c] Getting sync_external_users in &{{0 0} sync_external_users 0xc0053ee270 0x21f1560 finished   1}
2023/07/17 06:27:08 .../ldap/source_sync.go:128:Sync() [E] [64b4df3c-2] SyncExternalUsers[YunoHost LDAP]: Error creating user kazukyakayashi: user already exists [name: kazukyakayashi]
2023/07/17 06:27:40 ...ers/web/auth/auth.go:206:SignInPost() [I] [64b4df5c] Failed authentication attempt for KazukyAkayashi from my-ip:0: user does not exist [uid: 1, name: KazukyAkayashi, keyid: 0]
2023/07/17 06:40:19 ...ers/web/auth/auth.go:206:SignInPost() [I] [64b4e253] Failed authentication attempt for KazukyAkayashi from my-ip:0: user does not exist [uid: 1, name: KazukyAkayashi, keyid: 0]
2023/07/17 06:40:27 ...ers/web/auth/auth.go:206:SignInPost() [I] [64b4e25b] Failed authentication attempt for KazukyAkayashi from my-ip:0: user does not exist [uid: 1, name: KazukyAkayashi, keyid: 0]
2023/07/17 06:40:29 ...ers/web/auth/auth.go:206:SignInPost() [I] [64b4e25d] Failed authentication attempt for KazukyAkayashi from my-ip:0: user does not exist [uid: 1, name: KazukyAkayashi, keyid: 0]
2023/07/17 06:43:35 ...ers/web/auth/auth.go:206:SignInPost() [I] [64b4e317] Failed authentication attempt for KazukyAkayashi from my-ip:0: user does not exist [uid: 1, name: KazukyAkayashi, keyid: 0]
2023/07/17 06:43:58 ...ers/web/auth/auth.go:206:SignInPost() [I] [64b4e32e] Failed authentication attempt for KazukyAkayashi from my-ip:0: user does not exist [uid: 1, name: KazukyAkayashi, keyid: 0]

Log file

Check if log file (in /var/log/forgejo) is named : forgejo.log or gitea.log, and update (if necessary) :

  • install script (fail2ban part)
  • install script (monitored service part)
  • install script (reload service part)

warings in ci upgrade step

The CI test shows some warnings during the upgrade step.
Find out how to make them away.

============================================
  [Test 7/9] (General) Upgrade from the same version
 ============================================


 > Preliminary install...

(Reusing existing snapshot snap_rootinstall)

 > Upgrade...

403  INFO Now upgrading forgejo...
3665 INFO [....................] > Loading installation settings... [00h00m,00s]
6423 INFO [++..................] > Stopping a systemd service... [00h00m,03s]
10193 INFO [##..................] > Backing up the app before upgrading (may take a while)... [00h00m,03s]
19530 INFO [##+.................] > Ensuring downward compatibility... [00h00m,10s]
19745 INFO [###+................] > Making sure dedicated system user exists... [00h00m,00s]
20384 INFO [####++..............] > Setting up source files... [00h00m,01s]
49369 INFO [######..............] > Adding a configuration file... [00h00m,29s]
49863 WARNING File /opt/forgejo/custom/conf/app.ini has been manually modified since the installation or last upgrade. So it has been duplicated in /var/cache/yunohost/appconfbackup//opt/forgejo/custom/conf/app.ini.backup.20230112.073656
52245 WARNING --- /var/cache/yunohost/appconfbackup//opt/forgejo/custom/conf/app.ini.backup.20230112.073656	2023-01-12 07:35:46.006113904 +0000
52247 WARNING +++ /opt/forgejo/custom/conf/app.ini	2023-01-12 07:36:58.526013966 +0000
52247 WARNING @@ -1,52 +1,51 @@
52248 WARNING -; https://codeberg.org/forgejo/forgejo/src/branch/forgejo/custom/conf/app.example.ini
52249 WARNING +;https://codeberg.org/forgejo/forgejo/src/branch/forgejo/custom/conf/app.example.ini
52249 WARNING  APP_NAME = Forgejo
52250 WARNING  RUN_USER = forgejo
52250 WARNING  RUN_MODE = prod
52251 WARNING  [database]
52252 WARNING -DB_TYPE  = postgres
52253 WARNING -HOST     = 127.0.0.1:5432
52253 WARNING -NAME     = forgejo
52254 WARNING -USER     = forgejo
52254 WARNING -PASSWD   = GnY6ohYOjiLHK17zX5Covcdc
52255 WARNING +DB_TYPE = postgres
52256 WARNING +HOST = 127.0.0.1:5432
52257 WARNING +NAME = forgejo
52257 WARNING +USER = forgejo
52258 WARNING +PASSWD = GnY6ohYOjiLHK17zX5Covcdc
52258 WARNING  SSL_MODE = disable
52259 WARNING  LOG_SQL  = false
52260 WARNING  [repository]
52261 WARNING -ROOT          = /home/yunohost.app/forgejo/repositories
52261 WARNING +ROOT = /home/yunohost.app/forgejo/repositories
52262 WARNING  FORCE_PRIVATE = false
52263 WARNING  [server]
52263 WARNING -DOMAIN           = sub.domain.tld
52264 WARNING -HTTP_PORT        = 6000
52264 WARNING -HTTP_ADDR        = 127.0.0.1
52265 WARNING -ROOT_URL         = https://sub.domain.tld/
52266 WARNING -DISABLE_SSH      = false
52266 WARNING -SSH_PORT         = 22
52267 WARNING -OFFLINE_MODE     = false
52267 WARNING -APP_DATA_PATH    = /home/yunohost.app/forgejo/data
52268 WARNING -LANDING_PAGE     = explore
52268 WARNING +DOMAIN       = sub.domain.tld
52269 WARNING +HTTP_PORT    = 6000
52269 WARNING +HTTP_ADDR    = 127.0.0.1
52270 WARNING +ROOT_URL     = https://sub.domain.tld/
52271 WARNING +DISABLE_SSH  = false
52271 WARNING +SSH_PORT     = 22
52272 WARNING +OFFLINE_MODE = false
52272 WARNING +APP_DATA_PATH = /home/yunohost.app/forgejo/data
52273 WARNING +LANDING_PAGE = explore
52273 WARNING  LFS_START_SERVER = true
52274 WARNING -LFS_JWT_SECRET   = zMJY1H_yoz27ebMnj_FX8c2BZyG-he7T3Dm8qzDf6u4
52274 WARNING -LOCAL_ROOT_URL   = http://127.0.0.1:6000/
52275 WARNING +LFS_JWT_SECRET = JRZloN2fkN6azOodJlgpC39B
52276 WARNING  [mailer]
52277 WARNING -ENABLED     = true
52277 WARNING -HOST        = 127.0.0.1:25
52278 WARNING -FROM        = "Forgejo" <[email protected]>
52278 WARNING +ENABLED = true
52279 WARNING +HOST = 127.0.0.1:25
52280 WARNING +FROM = "Forgejo" <[email protected]>
52280 WARNING  SKIP_VERIFY = true
52281 WARNING  [service]
52282 WARNING -REGISTER_EMAIL_CONFIRM                 = false
52282 WARNING -ENABLE_NOTIFY_MAIL                     = true
52283 WARNING -DISABLE_REGISTRATION                   = true
52283 WARNING -ENABLE_CAPTCHA                         = false
52284 WARNING -REQUIRE_SIGNIN_VIEW                    = false
52285 WARNING -ENABLE_REVERSE_PROXY_AUTHENTICATION    = true
52285 WARNING +REGISTER_EMAIL_CONFIRM = false
52286 WARNING +ENABLE_NOTIFY_MAIL     = true
52286 WARNING +DISABLE_REGISTRATION   = true
52287 WARNING +ENABLE_CAPTCHA         = false
52287 WARNING +REQUIRE_SIGNIN_VIEW    = false
52288 WARNING +ENABLE_REVERSE_PROXY_AUTHENTICATION = true
52288 WARNING  ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = true
52290 WARNING  [picture]
52290 WARNING -AVATAR_UPLOAD_PATH            = /home/yunohost.app/forgejo/data/avatars
52291 WARNING +AVATAR_UPLOAD_PATH = /home/yunohost.app/forgejo/data/avatars
52291 WARNING  REPOSITORY_AVATAR_UPLOAD_PATH = /home/yunohost.app/forgejo/data/repo-avatars
52292 WARNING  [attachment]
52293 WARNING @@ -56,15 +55,19 @@
52293 WARNING  PROVIDER = memory
52294 WARNING  [log]
52295 WARNING -MODE                 = file
52296 WARNING -LEVEL                = Info
52296 WARNING -ROOT_PATH            = /var/log/forgejo
52297 WARNING +MODE      = file
52297 WARNING +LEVEL     = Info
52298 WARNING +ROOT_PATH = /var/log/forgejo
52298 WARNING +
52299 WARNING  REDIRECT_MACARON_LOG = true
52299 WARNING  MACARON              = file
52300 WARNING +
52301 WARNING  ROUTER_LOG_LEVEL     = Warn
52301 WARNING  ROUTER               = file
52302 WARNING +
52302 WARNING  ENABLE_ACCESS_LOG    = Warn
52303 WARNING  ACCESS               = file
52303 WARNING +
52304 WARNING  ENABLE_XORM_LOG      = Warn
52304 WARNING  XORM                 = file
52305 WARNING @@ -72,8 +75,7 @@
52306 WARNING  FILE_NAME = forgejo.log
52307 WARNING  [security]
52307 WARNING -INSTALL_LOCK                      = true
52308 WARNING -SECRET_KEY                        = 2faRYk5xcSbwIPHO7teS3jBE
52309 WARNING +INSTALL_LOCK = true
52309 WARNING +SECRET_KEY   = 2faRYk5xcSbwIPHO7teS3jBE
52310 WARNING  REVERSE_PROXY_AUTHENTICATION_USER = REMOTE-USER
52310 WARNING  REVERSE_PROXY_TRUSTED_PROXIES     = 127.0.0.0/8,::1/128
52311 WARNING -INTERNAL_TOKEN                    = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE2NzM1MDUxNjd9.mQIsB163U7xIX5UsD6TWH75_0Y5PxTaYVcJikdYaq2o
52524 INFO [######+.............] > Upgrading systemd configuration... [00h00m,03s]
76161 INFO [#######+............] > Upgrading NGINX web server configuration... [00h00m,23s]
85846 INFO [########+++++++.....] > Upgrading dependencies... [00h00m,10s]
132125 INFO [###############+....] > Configuring log rotation... [00h00m,46s]
134117 INFO [################+...] > Integrating service in YunoHost... [00h00m,02s]
136241 INFO [#################+..] > Starting a systemd service... [00h00m,02s]
152963 INFO The service forgejo has correctly executed the action start.
153276 INFO [##################..] > Configuring Fail2Ban... [00h00m,17s]
161374 INFO The service fail2ban has correctly executed the action reload-or-restart.
161743 INFO [##################+.] > Reloading NGINX web server... [00h00m,09s]
162470 INFO [####################] > Upgrade of forgejo completed [00h00m,01s]
165926 SUCCESS forgejo upgraded
166081 SUCCESS Upgrade complete

 > Validating that the app forgejo can/can't be accessed with its URL...

Test URL: sub.domain.tld/
Real URL: https://sub.domain.tld/explore/repos

HTTP code: 200
Page title: Explore - Forgejo
Page extract:
   This website works better with JavaScript.
   [1]Logo
   [2]Explore [3]Help
   [4]Sign In
   [5]Repositories [6]Users [7]Organizations
   Sort
   [8]Newest [9]Oldest [10]Alphabetically [11]Reverse alphabetically
   [12]Recently updated [13]Least recently updated [14]Most stars
   [15]Fewest stars [16]Most forks [17]Fewest forks
   ____________________ (BUTTON) Search
   No matching repositories found.

   [18]Powered by Forgejo Version: 1.18.0-1 Page: 8ms Template: 2ms
   English
   Bahasa Indonesia Deutsch English Español Français Italiano Latviešu
   Magyar nyelv Nederlands Polski Português de Portugal Português do
   Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский
   Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
   [19]Licenses [20]API

--- SUCCESS ---

Error: Apparently the log is telling that 'some file got manually modified' ... which should not happen, considering that no human modified the file ... ! Maybe you need to check what's happening with ynh_store_file_checksum and ynh_backup_if_checksum_is_different between install and upgrade.
Error: There's quite a lot of warnings in the output ! If those warnings are coming from some app build step and ain't actual warnings, please redirect them to the standard output instead of the error output ...!
Working time for this test: 4 minutes, 29 seconds (08:39:22)

Catalog says package is broken

According to the Yunohost catalog, the Forgejo package is broken:

image

Additionally, Forgejo 1.18.2-0 is now available with a variety of bugfixes.

Cannot upgrade: "login source is still used by some users"

When trying to upgrade to Forgejo v. 1.19.3.0~ynh2 I get the following error message:

Info: DEBUG - ++ grep 'YunoHost LDAP'
Info: DEBUG - ++ ynh_exec_as forgejo ./forgejo admin auth list
Info: DEBUG - ++ local user=forgejo
Info: DEBUG - ++ shift 1
Info: DEBUG - ++ cut -f 1
Info: DEBUG - +++ whoami
Info: DEBUG - ++ grep 'via BindDN'
Info: DEBUG - ++ [[ forgejo = root ]]
Info: DEBUG - ++ sudo -u forgejo ./forgejo admin auth list
Info: DEBUG - + old_login_source_id=1
Info: DEBUG - + '[' '!' -z 1 ']'
Info: DEBUG - + ynh_exec_as forgejo ./forgejo admin auth delete --id 1
Info: DEBUG - + local user=forgejo
Info: DEBUG - + shift 1
Info: DEBUG - ++ whoami                                                                                                                                                                                          Info: DEBUG - + [[ forgejo = root ]]
Info: DEBUG - + sudo -u forgejo ./forgejo admin auth delete --id 1                                                                                                                                               Info: DEBUG - 2023/06/25 22:04:55 ...dules/setting/log.go:286:generateNamedLogger() [I] Xorm Log: File(file:info)
Info: DEBUG - 2023/06/25 22:04:55 main.go:130:main() [F] Failed to run app with [./forgejo admin auth delete --id 1]: login source is still used by some users [id: 1]
Info: DEBUG - + ynh_exit_properly

From what I gather, the "login source is still used by some users" error is related to a function called ErrLoginSourceInUse, but I can't determine what is causing the issue.

Upgrade fail 1.19.3-0~ynh1 to 1.19.3-0~ynh2

When I try to update Forgejo, it fails every time.
Apparently a problem with fail2ban that doesn't restart during the Forgejo update process.

Fail2toBan logs when update Forgejo :

Jul 09 07:02:05 systemd[1]: Started Fail2Ban Service.
Jul 09 07:02:05 fail2ban-server[712556]: 2023-07-09 07:02:05,936 fail2ban                [712556]: ERROR   Failed during configuration: Have not found any log file for forgejo jail
Jul 09 07:02:05 fail2ban-server[712556]: 2023-07-09 07:02:05,944 fail2ban                [712556]: ERROR   Async configuration of server failed
Jul 09 07:02:06 systemd[1]: fail2ban.service: Main process exited, code=exited, status=255/EXCEPTION
Jul 09 07:02:06 systemd[1]: fail2ban.service: Failed with result 'exit-code'.

Forgejo log : https://paste.yunohost.org/raw/iqunijosof

Use default theme in screenshot

Hi there, thanks for creating this package!

One small suggestion: I think it would be best if the screenshot in the README used the default forgejo-dark or forgejo-light theme, instead of the codeberg-dark theme.

What do you think?

Custom configuration gets reset

Description
When editing the forgejo configuration, I expect it to stay the same, though it resets on updates. Is there any reason this is the case?

Expected Behavior
Custom configuration doesn't change

Actual Behavior
Custom configuration gets replaced with stock configuration

impossible to create a second organization

Hi

I've successfully added one organization in Forgejo but wanted to create a second one. When I do I get a message saying that this second organization cannot be created as it already exists. I can't find it anywhere though.

Any clue?

Thanks!

Permission denied (publickey).

Hello, I am getting crazy with this issue, and I cannot seem to be able to fix in any way.

I would like to manage all of my repositories via SSH. My configuration works perfectly both with GitHub and Codeberg.

Nevertheless, when I try to push to my self-hosted Forgejo instance, I get this error:

➜  test git:(main) git push --set-upstream origin main -vvv              
Pushing to gitmi.dev:tommi/test.git
#=================================#
#                                 #
#         XPLOSION SERVER         #
#                                 #
#=================================#
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

The SSH key is successfully added and verified in Forgejo’s GUI.

The fact that the banner of my remote YunoHost server appears means that the connection with the server itself works fine. Apparently, the problem is with Forgejo.

Information

Remove LDAP sync?

Hi

Forgejo works fine but I intend to use it independently from Yuno user management. I don't want LDAP enabled. How can I disable this ?

Thanks

Updating Forgejo adds a duplicate entry on Logrotate, causing the latter to fail

When Forgejo is updated, the update script blindly adds content to /etc/logrotate.d/forgejo without looking at whether the lines it's adding are already on the file. Adding the entries twice causes Logrotate to fail running altogether, unfortunately:

Feb 25 00:00:01 example.net systemd[1]: Starting Rotate log files...
Feb 25 00:00:01 example.net logrotate[845821]: error: forgejo:20 duplicate log entry for /var/log/forgejo/forgejo.log
Feb 25 00:00:01 example.net logrotate[845821]: error: found error in file forgejo, skipping
Feb 25 00:01:54 example.net systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE
Feb 25 00:01:54 example.net systemd[1]: logrotate.service: Failed with result 'exit-code'.
Feb 25 00:01:54 example.net systemd[1]: Failed to start Rotate log files.

Next version will no longer be a soft fork

According to Forgejo blog : https://forgejo.org/2024-02-forking-forward/

Today, Forgejo has a healthy number of people contributing to its main mission:

  • The community is in control, and ensures we develop to address community needs.
  • We will help liberate software development from the shackles of proprietary tools.

To continue living by that statement, a decision was made in early 2024 to become a hard fork. By doing so, Forgejo is no longer bound to Gitea, and can forge its own path going forward, allowing maintainers and contributors to reduce tech debt at a much higher pace, and implement changes - whether they’re new features or bug fixes - that would otherwise have a high risk of conflicting with changes made in Gitea. Simply put, the governance and development models of Gitea and Forgejo diverged over time, and so did their goals. Becoming a hard fork is the culmination of that divergence.

Those lines should me modified then : 
https://github.com/YunoHost-Apps/forgejo_ynh/blob/master/README.md?plain=1#L21
https://github.com/YunoHost-Apps/forgejo_ynh/blob/master/README_fr.md?plain=1#L21 (and maybe translate README_fr in french ? )

Compiling Forgejo 7.0

Hi,

With version 7.0 Forgejo adopts semantic versioning. All efforts are made to ensure the change is backward compatible with the existing package scripts. I'm not familiar with YunoHost packaging and I would be grateful if you could point me in the right direction. Does the package rely on the GITEA_VERSION variable to set the version when building from source? Or does it build from a git repository and rely on the tags, which would also work. Or by setting FORGEJO_VERSION which would also work.

Thanks for your help!

Refs: https://codeberg.org/forgejo/forgejo/pulls/2861

Cannot reinstall the app after uninstalling

Hello! and thank you for packaging the app for younohost. As per title, I installed Forgejo on my VPS, I then removed it and tried to reinstall it after a while. But I get an error during the installation process (the ui is at the "starting a systemd service" step).

Yunohost version: 11.2.9.1
Debian version: Debian 11.8

I tested this also on a local server (RaspberryPI) and I was able to reproduce the same issue. Log is here: https://paste.yunohost.org/raw/yukanovoki.

The error is highlighted in yunohost as Command error: pq: relation "login_source" does not exist. Could something interfere with the app installation process? Nothing has changed since I first installed it tough.

Yunohost admin user doesn't have the admin role in Forgejo

When I try to enter the admin settings in Forgejo, I can't do it, because my user (the admin user) doesn't have admin permissions. Can you please fix it? I want to change some settings that are only available in the UI. Also, I didn't find any command that can be used to change that user permissions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.