apache / apache/maven-build-cache-extension

[MBUILDCACHE-29] Capture separate checksums of test source, dependencies and other code

Open
#260 0 comments 0 reactions 0 assignees View on GitHub
priority:major
Dominant language
Java
Stars
163
Forks
77
Avg merge
1d 2h
Merged PRs (30d)
4

Description

**[Alexander Ashitkin](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=alex_ashitkin)** opened **[MBUILDCACHE-29](https://issues.apache.org/jira/browse/MBUILDCACHE-29?redirect=false)** and commented

In process of calculating input need to produce 3 checksum
* for dependencies
* for private code (not shared with other models) - typically tests
* for shared code (typically src/main content)

 

Calculation logic should be as follows:
* dependencies - leave as know, just capture at the end of calculation
* private code - by now, consider any code in test folders private (later more sophisticated rules could be created)
* all other discovered code to considered a shared code

Checksums to be stored in fields introduced in MBUILDCACHE-28

---

This issue is a sub-task of [MBUILDCACHE-27](https://issues.apache.org/jira/browse/MBUILDCACHE-27)

1 votes, 2 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading MBUILDCACHE-28 for the checksum fields and MBUILDCACHE-27 for the parent task, then locate the existing input-checksum calculation. The work is done when dependency, private test-folder, and shared-code checksums are calculated according to the issue and stored in the fields introduced by MBUILDCACHE-28.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.