Pierre-Louis Bonicoli
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
Pierre-Louis Bonicoli
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
Pierre-Louis Bonicoli
b64058ff43
upgrade script: add 'check' step
2022-03-09 02:33:17 +01:00
Pierre-Louis Bonicoli
3cdf79e896
'upgrade' step: run the migrate command first
2022-03-06 05:41:47 +01:00
Pierre-Louis Bonicoli
e929d49715
set permissions for the executable after downloading it
2022-03-06 05:39:34 +01:00
Pierre-Louis Bonicoli
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
Pierre-Louis Bonicoli
f95b79375f
notify script: reuse already defined strings
2022-02-26 01:13:40 +01:00
Christian P. MOMON
7aeee0a4ae
Added connected and unconnected account count in activity report script.
2022-02-25 11:30:51 +01:00
Pierre-Louis Bonicoli
513e8085dc
Add an upgrade shell script for Gitea
2022-02-23 20:45:34 +01:00
Pierre-Louis Bonicoli
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
Christian P. MOMON
7feee73ac1
Fixed bug in activity report script.
2021-01-02 17:10:37 +01:00
Christian P. MOMON
de37b23c25
Added license file.
2020-12-31 16:11:53 +01:00
Christian P. MOMON
299550d9b3
Fixed accountCount json bug.
2020-11-21 04:48:11 +01:00
Christian P. MOMON
9990833d88
Fixed activity report parameter.
2020-11-12 01:27:52 +01:00
Christian P. MOMON
269ab1f4c2
Improved configuration file management.
2020-11-12 01:25:37 +01:00
Christian P. MOMON
a1d316ccc2
Clean unuseful file.
2020-11-12 00:59:04 +01:00
Christian P. MOMON
90e13f8e84
Added activity report scripts ( #4848 ).
2020-11-12 00:54:01 +01:00
Christian P. MOMON
01c315fbf1
Renamed monitoring file.
2020-11-08 06:15:08 +01:00
Christian P. MOMON
0dadae8b43
Cleaned file.
2020-11-08 06:04:50 +01:00
Christian P. MOMON
7a1fffbcf3
Added gitignore file.
2020-11-08 06:02:33 +01:00
Christian P. MOMON
7b8d44b781
Added check update script ( #4847 ).
2020-11-08 05:59:01 +01:00
Christian P. MOMON
c2b3ce6619
First commit.
2020-11-01 00:17:04 +01:00