Drew DeVault
347dd67694
README.md: dispatch is deprecated
2023-01-26 08:44:42 +01:00
Drew DeVault
e3643badcb
Disable new task creation
2022-08-01 08:11:46 +02:00
Adnan Maolood
a6b110662e
Fix obsolete Jinja2 imports
2022-07-25 13:44:59 +02:00
Drew DeVault
f57b5f36fb
.builds/alpine.yml: upgrade to 3.15
2022-02-21 18:17:49 +01:00
Drew DeVault
2b861fdb23
patch => gitlab MR: fix cfg usage
2021-12-28 19:44:37 +01:00
Drew DeVault
cb7eb50877
patch to MR: better error handling
2021-11-18 09:51:43 +01:00
Drew DeVault
b60c24a35a
.builds/alpine.yml: upgrade to 3.14
2021-07-26 10:13:19 +02:00
Drew DeVault
e34fa0c7bc
More crappy Unicode handling
2021-06-08 15:02:55 -04:00
Drew DeVault
f49d82859d
Handle invalid encodings in emails more elegantly
2021-06-08 14:59:00 -04:00
Drew DeVault
3b0eed398b
Fix secret checkbox on gitlab tasks
2021-05-24 11:46:34 -04:00
Drew DeVault
cd8ffb3c2d
gitlab/patch to MR: fix _lists_sr_ht usage
2021-05-20 15:06:21 -04:00
Drew DeVault
4bd3797c8b
gitlab/patch to MR: list projects by membership
2021-05-20 15:00:33 -04:00
Drew DeVault
523654cc28
gitlab/patch to MR: use external lists URL for MR
2021-05-20 13:36:41 -04:00
Drew DeVault
f9b384e2d5
Submit branch name to gitlab, rather than ref name
2021-05-20 13:28:48 -04:00
Drew DeVault
8d0d4f65a3
gitlab/patch to MR: use patch/{id} branch name
2021-05-20 13:25:16 -04:00
Drew DeVault
0d06639f0e
gitlab/patches to MR: use a normal branch
...
This *should* have worked, but GitLab fucks it up.
2021-05-20 13:15:19 -04:00
Drew DeVault
2e7333efe8
gitlab/patch to MR: fix typo
2021-05-20 13:09:47 -04:00
Drew DeVault
05c09b2009
Further improvements to gitlab email matching
2021-05-20 13:06:53 -04:00
Drew DeVault
54314ceb54
Patch to MR: improve heuristic for gitlab emails
2021-05-20 13:01:44 -04:00
Drew DeVault
3f91fc6422
gitlab/patch to MR: use external address
2021-05-20 12:57:06 -04:00
Drew DeVault
416e9ef380
gitlab/patch to MR: use separate refs namespace
2021-05-20 12:54:06 -04:00
Drew DeVault
97869c3a8a
gitlab/patch to MR: use external URL for gitlab hook
...
This is kind of annoying.
2021-05-20 12:50:17 -04:00
Drew DeVault
50eaa6c8ec
gitlab/patch to MR: fix issue with previous
2021-05-20 12:45:41 -04:00
Drew DeVault
7cd4e30239
gitlab/patch to MR: use private origin for webhook
2021-05-20 12:43:00 -04:00
Drew DeVault
dae2ce9e9d
gitlab/patch to MR: use get_origin for lists
2021-05-20 12:38:24 -04:00
Drew DeVault
545f0745d3
Further improvements to optional builds support
2021-05-20 12:20:28 -04:00
Drew DeVault
304eaf5cd2
Fix dispatch without builds support
2021-05-20 12:18:23 -04:00
Drew DeVault
d8baba4fcb
Fix "secrets" checkbox for github tasks
2021-05-18 12:33:06 -04:00
Drew DeVault
7690a1a0c3
Revert "list private github repos"
...
This reverts commit b7617a5c55
.
2021-05-16 18:10:32 -04:00
Andrey Kuznetsov
b7617a5c55
list private github repos
2021-05-10 09:49:12 -10:00
Alexey Yerin
c2d458c4f5
Set BUILD_* environment variables
2021-03-01 08:53:26 -05:00
Drew DeVault
000a0e520e
Typo fix
2021-02-20 10:21:19 -05:00
Drew DeVault
1dbba05e51
Verify build owner before updating GitHub PR
2021-02-20 10:18:45 -05:00
Drew DeVault
ae46069a52
.builds/alpine: update to 3.13
2021-02-08 10:00:10 -05:00
Stephen Paul Weber
6b5c44a66d
Allow adding CI to any Gitlab project the user is a maintainer for
...
Instead of just looking for ownership status, allow maintainer status as well.
Access levels are defined at
https://docs.gitlab.com/ee/api/members.html#valid-access-levels which is where
the 40 comes from.
2021-02-05 10:38:43 -05:00
Drew DeVault
a39315380c
Fix copy in GitLab instance selection UI
2021-01-26 09:39:20 -05:00
Drew DeVault
6792fbe0a3
Fix repo-cache appearing in GitLab instances list
2021-01-26 09:34:17 -05:00
David Florness
0cca5fb62f
Add missing import
2021-01-15 20:27:55 -05:00
David Florness
6e93212a19
Fix typo
2021-01-15 20:13:29 -05:00
Drew DeVault
08a1b0fd72
Add task to link patches to gitlab MRs
2021-01-09 16:10:53 -05:00
Drew DeVault
424b2bbc37
GitHub: Fix directories in .builds
2020-12-21 14:18:17 -05:00
Drew DeVault
504892a0bd
Update wording on dashboard page
...
To encourage users to feel like a part of sr.ht
2020-11-20 11:34:14 -05:00
Drew DeVault
67b4b44be9
.builds/alpine.yml: increase specificity of sed
2020-09-01 17:23:14 -04:00
Greg Hewgill
02378d2347
builds: shuffle list of manifests before limiting to first 4
2020-08-31 20:11:18 -04:00
Drew DeVault
2280641828
builds: refuse to submit >4 builds at once
2020-08-21 09:34:43 -04:00
gildarts
23874e9a3d
add database stamp for core.sr.ht
2020-08-11 10:45:58 -04:00
Drew DeVault
b3ccbbf37a
Alpine: upgrade to 3.12
2020-06-15 13:03:43 -06:00
Paul Spooren
79b474a637
github: Add GITHUB_PR_BODY env variable
...
The body of a GitHub PR commit message is provided via the API v3 called
`body`[0]. This body can may contain information to incluence the CI
build.
An example, OpenWrt supports 80 different hardware architectures,
building all of them takes about 80 hours. Changing something for target
x86/64 should only trigger that specific target to be build. A PR commit
message could now contain a line like `CI: build x86/64` which is read
by the CI via a command like the following:
TARGET=$(echo $GITHUB_PR_BODY | grep "CI: build" | cut -d ' ' -f 3)"
[0]: https://developer.github.com/v3/pulls/
Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-06-11 09:26:35 -04:00
Eli Schwartz
562cf2dce6
setup.py: use importlib.resources from python 3.7 to find core.sr.ht Makefile
...
importlib.resources will guarantee to find any importable module, and
check that the resource ('Makefile') can be found within it.
This lets us get rid of the current getsitepackages() hack and
environment variable fallback, which is both verbose and badly handles
some edge cases when installing modules, and instead use the recommended
way to find data files shipped with a python module.
2020-05-11 09:35:59 -04:00
Luca Weiss
7cdf91a1fb
Indicate a successful 'Save' in github_commit_to_build
...
Previously there was no sign of the 'Save changes' button doing
anything. Now it displays the 'Changes saved.' message already present
on other pages, such as github_pr_to_build.
2020-05-01 11:03:15 -04:00