Automattic / Automattic/style-config-android

Parametrize download URL to download from other branches

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Groovy
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Description

This would be useful to test open PRs in other projects, using following process:
- Import from WPAndroid.
- Open a new PR from branch `BRANCH`.
- Fetch from FluxC / WooCommerce using `./gradlew downloadConfigs BRANCH` and check everything works fine.

Ref: https://github.com/Automattic/style-config-android/blob/27796d8ca0141153afdd47726e31d327b0c10bbe/fetchstyle-gradle/src/main/groovy/com/automattic/android/fetchstyle/FetchStylePlugin.groovy#L7

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with fetchstyle-gradle/src/main/groovy/com/automattic/android/fetchstyle/FetchStylePlugin.groovy at the referenced line and inspect how downloadConfigs handles its argument. Use the documented ./gradlew downloadConfigs BRANCH flow against an open PR branch. Done means configs can be fetched from that branch and the resulting setup can be checked in WPAndroid, FluxC, or WooCommerce.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.