You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2024/02/20 03:54:00 UTC

[jira] [Resolved] (YUNIKORN-2425) Release build script should use "go mod" instead of manual replacements

     [ https://issues.apache.org/jira/browse/YUNIKORN-2425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wilfred Spiegelenburg resolved YUNIKORN-2425.
---------------------------------------------
    Fix Version/s: 1.5.0
       Resolution: Fixed

Using go mod edit instead of adding lines to go mod file.

> Release build script should use "go mod" instead of manual replacements
> -----------------------------------------------------------------------
>
>                 Key: YUNIKORN-2425
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2425
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: release
>            Reporter: Craig Condit
>            Assignee: Craig Condit
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.5.0
>
>
> The tools/build-release.py script included in yunikorn-release uses manual file editing to perform module replacements. This is fragile, and can fail in a number of cases (including when a replace directive already exists). Go provides native tooling to script this via the "go mod edit" command.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org