Skip to content

fix(loader): use HTTPS download URLs in travis scripts#717

Open
VGalaxies wants to merge 1 commit intomasterfrom
codex/fix-https-build-script-urls
Open

fix(loader): use HTTPS download URLs in travis scripts#717
VGalaxies wants to merge 1 commit intomasterfrom
codex/fix-https-build-script-urls

Conversation

@VGalaxies
Copy link
Contributor

Purpose of the PR

This fixes the similar HTTP download URL issue called out for the toolchain repository in apache/hugegraph#2971.

Main Changes

  • switch hugegraph-loader/assembly/travis/install-hadoop.sh to download Hadoop 2.8.5 from https://archive.apache.org
  • update the retained legacy MySQL download comment in hugegraph-loader/assembly/travis/install-mysql.sh to its HTTPS form so the script no longer points to an insecure URL

Verifying these changes

  • Trivial rework / code cleanup without any test coverage. (No Need)
  • Already covered by existing tests, such as (please modify tests here).
  • Need tests and can be verified as follows:
    • bash -n hugegraph-loader/assembly/travis/install-hadoop.sh hugegraph-loader/assembly/travis/install-mysql.sh
    • curl -I -L --max-time 20 https://archive.apache.org/dist/hadoop/common/hadoop-2.8.5/hadoop-2.8.5.tar.gz

Does this PR potentially affect the following parts?

  • Nope
  • Dependencies (add/update license info)
  • Modify configurations
  • The public API
  • Other affects (typed here)

Documentation Status

  • Doc - TODO
  • Doc - Done
  • Doc - No Need

@github-actions github-actions bot added the loader hugegraph-loader label Mar 19, 2026
@VGalaxies VGalaxies requested review from Copilot and imbajin March 19, 2026 14:18
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates HugeGraph Loader’s Travis helper scripts to avoid insecure HTTP download URLs, aligning with the security concern raised in apache/hugegraph#2971.

Changes:

  • Switch Hadoop 2.8.5 download in Travis install script from HTTP to HTTPS (archive.apache.org).
  • Update the legacy (commented) MySQL download URL reference from HTTP to HTTPS.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
hugegraph-loader/assembly/travis/install-hadoop.sh Uses an HTTPS URL when downloading the Hadoop tarball.
hugegraph-loader/assembly/travis/install-mysql.sh Updates the legacy commented MySQL download URL to HTTPS to avoid pointing to HTTP.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

loader hugegraph-loader

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] use HTTPS addresses in build scripts

2 participants