Commit Graph

21 Commits

Author SHA1 Message Date
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