You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2025/05/27 19:58:00 UTC

[jira] [Comment Edited] (CASSANDRA-20422) improve the golang download when building source code

    [ https://issues.apache.org/jira/browse/CASSANDRA-20422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17954411#comment-17954411 ] 

Michael Semb Wever edited comment on CASSANDRA-20422 at 5/27/25 7:57 PM:
-------------------------------------------------------------------------

It was intentionally moved from {{`ant artifacts`}} to {{`ant check`}}, as {{`ant gen-doc`}} catches when code changes breaks the generation of docs from code (e.g. config, nodetool).   Breakages had happened post-commit and we had to chase folk, it's really not stuff that's typically on their radar when working on patches.  {{`ant gen-doc`}}  doesn't actually generate the documentation, it's only that which is from the code.

I'm stumped where the missing stuff from the PR came from (but it was discussed and must be somewhere, i think in [~smiklosovic]'s fork there's a PR that we forgot to link here…) 🤷


was (Author: michaelsembwever):
It was intentionally moved from {{`ant artifacts`}} to {{`ant check`}}, as {{`ant gen-doc`}} catches when code changes breaks the generation of docs from code (e.g. config, nodetool).   Breakages had happened post-commit and we had to chase folk, it's really not stuff that's typically on their radar when working on patches.  {{`ant gen-doc`}}  doesn't actually generate the documentation, it's only that which is from the code.

It'm stumped where the missing stuff from the PR came from (but it was discussed and must be somewhere, i think in [~smiklosovic]'s fork there's a PR that we forgot to link here…) 🤷

> improve the golang download when building source code
> -----------------------------------------------------
>
>                 Key: CASSANDRA-20422
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20422
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Ling Mao
>            Assignee: Ling Mao
>            Priority: Low
>             Fix For: 5.0.4, 5.1
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 1. Optimized the download process for Go (Golang) to make it faster if you already have it installed locally. Every build typically requires fetching Go, which can be time-consuming
> 2. In regions where access to Google is restricted (e.g., China), the build process can hang indefinitely while attempting to download Go. To address this, we can enhance the wget command by adding timeout and retry options.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org