gradle / gradle/actions

Feature request: Add override for where to fetch unknown checksums

Open Beginner friendly
#1,050 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
340
Forks
118
Avg merge
1d 9h
Merged PRs (30d)
11

Description

We run github actions without access to `services.gradle.org`, and use our own, internal mirror.

The address `services.gradle.org` is, however, hard-coded here:

https://github.com/gradle/actions/blob/main/sources/src/wrapper-validation/checksums.ts#L43

Would it be possible to allow for an override? That is, optional input parameter, with `https://services.gradle.org/versions/all` as default value?

Contributor guide

Open the contributing guide

Research direction

Start in sources/src/wrapper-validation/checksums.ts at the hard-coded services.gradle.org URL and trace how the wrapper-validation action receives inputs. Add an optional input using https://services.gradle.org/versions/all as the default, while allowing an internal mirror to be supplied. Done means the action fetches unknown checksums from the configured address.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
82/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.