Commit Graph

26 Commits

Author SHA1 Message Date
0c75469fec
rapport d'activité: le rapport généré n'est pas du JSON 2024-06-17 01:45:43 +02:00
69286e36fd
use a writable directory for backups and logs
and remove --work-path switch: WORK_PATH parameter is defined within
/etc/gitea/gitea.ini
2024-04-07 00:11:30 +02:00
2bfa4d5101
Fix chown warning: '.' should be ':': « gitea.gitea » 2024-04-07 00:09:11 +02:00
33fead1a68
notify_owners script: fix a typo in comment 2024-04-07 00:08:14 +02:00
3c28a545d7
use a switch instead of an environment variable
the switch is more reliable (the migrate step would fail if the switch
was removed, the step would not fail if the environment variable was
ignored).
2022-03-09 02:34:01 +01:00
2f6bbf644f
upgrade script: dump gitea db with pg_dump
the dump generated by gitea is unusable (an import of a 100Mb dump
takes ~40 hours).

Reuse the BINDIR variable.
2022-03-09 02:33:20 +01:00
b64058ff43
upgrade script: add 'check' step 2022-03-09 02:33:17 +01:00
3cdf79e896
'upgrade' step: run the migrate command first 2022-03-06 05:41:47 +01:00
e929d49715
set permissions for the executable after downloading it 2022-03-06 05:39:34 +01:00
aed354c99a
notify script: handle organizations
Mail every owners of an organization when a repository belongs to an
organization.
2022-02-26 02:39:43 +01:00
f95b79375f
notify script: reuse already defined strings 2022-02-26 01:13:40 +01:00
7aeee0a4ae
Added connected and unconnected account count in activity report script. 2022-02-25 11:30:51 +01:00
513e8085dc
Add an upgrade shell script for Gitea 2022-02-23 20:45:34 +01:00
6a422f6b70
Send a notification to users
Email the owners of the given repositories telling them that terms and
conditions of the service must be abided. A private redmine note is
added to an issue to keep track of these requests. This script must be
executed on the Gitea host.

Usage:

    # cat repositories.txt
    https://forge.chapril.org/user1/repo1
    https://forge.chapril.org/userX/repoZ
    # ./notify_owners.py repositories.txt
2022-02-23 20:45:31 +01:00
7feee73ac1 Fixed bug in activity report script. 2021-01-02 17:10:37 +01:00
de37b23c25 Added license file. 2020-12-31 16:11:53 +01:00
299550d9b3 Fixed accountCount json bug. 2020-11-21 04:48:11 +01:00
9990833d88 Fixed activity report parameter. 2020-11-12 01:27:52 +01:00
269ab1f4c2 Improved configuration file management. 2020-11-12 01:25:37 +01:00
a1d316ccc2 Clean unuseful file. 2020-11-12 00:59:04 +01:00
90e13f8e84 Added activity report scripts (#4848). 2020-11-12 00:54:01 +01:00
01c315fbf1 Renamed monitoring file. 2020-11-08 06:15:08 +01:00
0dadae8b43 Cleaned file. 2020-11-08 06:04:50 +01:00
7a1fffbcf3 Added gitignore file. 2020-11-08 06:02:33 +01:00
7b8d44b781 Added check update script (#4847). 2020-11-08 05:59:01 +01:00
c2b3ce6619 First commit. 2020-11-01 00:17:04 +01:00