comparison mod_pubsub_forgejo/webhook-examples/push/content.json @ 6175:131b8bfbefb4

mod_pubsub_forgejo: new module for forgejo webhooks
author nicoco <nicoco@nicoco.fr>
date Mon, 17 Feb 2025 23:28:05 +0100
parents
children
comparison
equal deleted inserted replaced
6174:6d5a19bdd718 6175:131b8bfbefb4
1 {
2 "ref": "refs/heads/dev",
3 "before": "3f8b7a2f69c6c891d8ab07700f113103db73faa3",
4 "after": "dd7c6923c788b38312fbc27cffba3b7007d0126e",
5 "compare_url": "https://codeberg.org/slidge/slidgram/compare/3f8b7a2f69c6c891d8ab07700f113103db73faa3...dd7c6923c788b38312fbc27cffba3b7007d0126e",
6 "commits": [
7 {
8 "id": "dd7c6923c788b38312fbc27cffba3b7007d0126e",
9 "message": "build: update pre-commit hooks\n",
10 "url": "https://codeberg.org/slidge/slidgram/commit/dd7c6923c788b38312fbc27cffba3b7007d0126e",
11 "author": {
12 "name": "nicoco",
13 "email": "nicoco@nicoco.fr",
14 "username": "nicoco"
15 },
16 "committer": {
17 "name": "nicoco",
18 "email": "nicoco@nicoco.fr",
19 "username": "nicoco"
20 },
21 "verification": null,
22 "timestamp": "2025-01-16T13:33:08+01:00",
23 "added": [],
24 "removed": [],
25 "modified": [
26 ".pre-commit-config.yaml"
27 ]
28 },
29 {
30 "id": "790116333966f395cc268b032c7a6173486955f4",
31 "message": "chore: update lockfile\n\nbecause we must",
32 "url": "https://codeberg.org/slidge/slidgram/commit/790116333966f395cc268b032c7a6173486955f4",
33 "author": {
34 "name": "nicoco",
35 "email": "nicoco@nicoco.fr",
36 "username": "nicoco"
37 },
38 "committer": {
39 "name": "nicoco",
40 "email": "nicoco@nicoco.fr",
41 "username": "nicoco"
42 },
43 "verification": null,
44 "timestamp": "2025-01-13T15:47:16+01:00",
45 "added": [
46 "uv.lock"
47 ],
48 "removed": [],
49 "modified": []
50 },
51 {
52 "id": "776de82113f8a860408f78c22e8539e73306ac87",
53 "message": "ci: use woodpecker\n",
54 "url": "https://codeberg.org/slidge/slidgram/commit/776de82113f8a860408f78c22e8539e73306ac87",
55 "author": {
56 "name": "nicoco",
57 "email": "nicoco@nicoco.fr",
58 "username": "nicoco"
59 },
60 "committer": {
61 "name": "nicoco",
62 "email": "nicoco@nicoco.fr",
63 "username": "nicoco"
64 },
65 "verification": null,
66 "timestamp": "2025-01-11T15:57:59+01:00",
67 "added": [
68 ".woodpecker/container-ci.yaml",
69 ".woodpecker/container.yaml",
70 ".woodpecker/docs.yaml",
71 ".woodpecker/package.yaml",
72 ".woodpecker/test.yaml"
73 ],
74 "removed": [
75 ".builds/ci.yml",
76 ".builds/container.yml",
77 ".copier-answers.yml"
78 ],
79 "modified": [
80 ".gitignore",
81 "Dockerfile",
82 "README.md",
83 "docs/Makefile",
84 "docs/source/conf.py",
85 "pyproject.toml"
86 ]
87 }
88 ],
89 "total_commits": 3,
90 "head_commit": {
91 "id": "dd7c6923c788b38312fbc27cffba3b7007d0126e",
92 "message": "build: update pre-commit hooks\n",
93 "url": "https://codeberg.org/slidge/slidgram/commit/dd7c6923c788b38312fbc27cffba3b7007d0126e",
94 "author": {
95 "name": "nicoco",
96 "email": "nicoco@nicoco.fr",
97 "username": "nicoco"
98 },
99 "committer": {
100 "name": "nicoco",
101 "email": "nicoco@nicoco.fr",
102 "username": "nicoco"
103 },
104 "verification": null,
105 "timestamp": "2025-01-16T13:33:08+01:00",
106 "added": [],
107 "removed": [],
108 "modified": [
109 ".pre-commit-config.yaml"
110 ]
111 },
112 "repository": {
113 "id": 301703,
114 "owner": {
115 "id": 205842,
116 "login": "slidge",
117 "login_name": "",
118 "source_id": 0,
119 "full_name": "",
120 "email": "",
121 "avatar_url": "https://codeberg.org/avatars/aa0eeeb5fe173938bdc665be92bf605efa1e8f4a905bc3327e4d5c7eddf584e5",
122 "html_url": "https://codeberg.org/slidge",
123 "language": "",
124 "is_admin": false,
125 "last_login": "0001-01-01T00:00:00Z",
126 "created": "2024-08-30T14:16:14Z",
127 "restricted": false,
128 "active": false,
129 "prohibit_login": false,
130 "location": "",
131 "pronouns": "",
132 "website": "https://slidge.im",
133 "description": "",
134 "visibility": "public",
135 "followers_count": 3,
136 "following_count": 0,
137 "starred_repos_count": 0,
138 "username": "slidge"
139 },
140 "name": "slidgram",
141 "full_name": "slidge/slidgram",
142 "description": "A feature-rich Telegram to XMPP gateway",
143 "empty": false,
144 "private": false,
145 "fork": false,
146 "template": false,
147 "parent": null,
148 "mirror": false,
149 "size": 1561,
150 "language": "",
151 "languages_url": "https://codeberg.org/api/v1/repos/slidge/slidgram/languages",
152 "html_url": "https://codeberg.org/slidge/slidgram",
153 "url": "https://codeberg.org/api/v1/repos/slidge/slidgram",
154 "link": "",
155 "ssh_url": "git@codeberg.org:slidge/slidgram.git",
156 "clone_url": "https://codeberg.org/slidge/slidgram.git",
157 "original_url": "",
158 "website": "",
159 "stars_count": 0,
160 "forks_count": 1,
161 "watchers_count": 3,
162 "open_issues_count": 7,
163 "open_pr_counter": 0,
164 "release_counter": 0,
165 "default_branch": "main",
166 "archived": false,
167 "created_at": "2025-01-10T09:19:40Z",
168 "updated_at": "2025-01-16T12:15:22Z",
169 "archived_at": "1970-01-01T00:00:00Z",
170 "permissions": {
171 "admin": true,
172 "push": true,
173 "pull": true
174 },
175 "has_issues": true,
176 "internal_tracker": {
177 "enable_time_tracker": true,
178 "allow_only_contributors_to_track_time": true,
179 "enable_issue_dependencies": true
180 },
181 "has_wiki": false,
182 "wiki_branch": "main",
183 "globally_editable_wiki": false,
184 "has_pull_requests": true,
185 "has_projects": false,
186 "has_releases": true,
187 "has_packages": true,
188 "has_actions": false,
189 "ignore_whitespace_conflicts": false,
190 "allow_merge_commits": true,
191 "allow_rebase": true,
192 "allow_rebase_explicit": true,
193 "allow_squash_merge": true,
194 "allow_fast_forward_only_merge": true,
195 "allow_rebase_update": true,
196 "default_delete_branch_after_merge": false,
197 "default_merge_style": "merge",
198 "default_allow_maintainer_edit": false,
199 "avatar_url": "",
200 "internal": false,
201 "mirror_interval": "",
202 "object_format_name": "sha1",
203 "mirror_updated": "0001-01-01T00:00:00Z",
204 "repo_transfer": null,
205 "topics": [
206 "bridge",
207 "chat",
208 "gateway",
209 "instant-messaging",
210 "slidge",
211 "telegram",
212 "telegram-userbot",
213 "xmpp"
214 ]
215 },
216 "pusher": {
217 "id": 64076,
218 "login": "nicoco",
219 "login_name": "",
220 "source_id": 0,
221 "full_name": "",
222 "email": "nicoco@noreply.codeberg.org",
223 "avatar_url": "https://codeberg.org/avatars/32a918ca7a66e4e484ee2ccc625dc6451da728355c060ed0ed54fa69d89224a5",
224 "html_url": "https://codeberg.org/nicoco",
225 "language": "",
226 "is_admin": false,
227 "last_login": "0001-01-01T00:00:00Z",
228 "created": "2022-09-12T11:13:13Z",
229 "restricted": false,
230 "active": false,
231 "prohibit_login": false,
232 "location": "Nice, France",
233 "pronouns": "",
234 "website": "https://nicoco.fr",
235 "description": "wannabe-hacker",
236 "visibility": "public",
237 "followers_count": 1,
238 "following_count": 0,
239 "starred_repos_count": 3,
240 "username": "nicoco"
241 },
242 "sender": {
243 "id": 64076,
244 "login": "nicoco",
245 "login_name": "",
246 "source_id": 0,
247 "full_name": "",
248 "email": "nicoco@noreply.codeberg.org",
249 "avatar_url": "https://codeberg.org/avatars/32a918ca7a66e4e484ee2ccc625dc6451da728355c060ed0ed54fa69d89224a5",
250 "html_url": "https://codeberg.org/nicoco",
251 "language": "",
252 "is_admin": false,
253 "last_login": "0001-01-01T00:00:00Z",
254 "created": "2022-09-12T11:13:13Z",
255 "restricted": false,
256 "active": false,
257 "prohibit_login": false,
258 "location": "Nice, France",
259 "pronouns": "",
260 "website": "https://nicoco.fr",
261 "description": "wannabe-hacker",
262 "visibility": "public",
263 "followers_count": 1,
264 "following_count": 0,
265 "starred_repos_count": 3,
266 "username": "nicoco"
267 }
268 }