Tobias Balle-Petersen e67f74efc8
fix: do not return archive download URLs in API if downloads are disabled (#34324)
If archive downloads are are disabled using
_DISABLE_DOWNLOAD_SOURCE_ARCHIVES_, archive links are still returned by
the API.

This PR changes the data returned, so the fields _zipball_url_ and
_tarball_url_ are omitted if archive downloads have been disabled.

Resolve #32159
2025-04-30 10:06:37 -07:00
..
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2025-03-31 01:53:48 -04:00
2025-03-31 01:53:48 -04:00
2025-03-31 01:53:48 -04:00
2025-03-13 07:04:50 +08:00
2025-04-01 10:14:01 +00:00
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2025-03-13 07:04:50 +08:00
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2024-12-24 01:54:19 +00:00
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2025-04-01 10:14:01 +00:00
2025-03-11 10:40:38 -07:00