Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

merlimat
Copy link
Contributor

CI jobs has started failing because a new version of ZLib was released and the old one was removed.

We need to change the URL to point to the archive so that we won't get in the same situation on next release.

@merlimat merlimat added the build label Oct 14, 2022
@merlimat merlimat added this to the 3.0.0 milestone Oct 14, 2022
@nodece nodece merged commit a6b7c49 into apache:main Oct 14, 2022
BewareMyPower added a commit to BewareMyPower/pulsar-client-python that referenced this pull request Dec 6, 2022
…3.1.0

### Motivation

Currently there are many files that require the download URLs of
dependencies to download them. It's hard to maintain if some download
URL changed. For example,
apache#17 updates the ZLib
download URL under https://zlib.net/fossils/ for macOS build. However,
the ZLib download URL for Linux is under
https://github.com/madler/zlib/archive/. The same goes for the Pulsar
C++ client, it's hard to test another URL because the candidates and the
official releases are stored in different paths.

### Modifications

Add a `dep-url.sh` to provide two shell functions:
- `pulsar_cpp_base_url`: Print the base URL of the Pulsar C++ client
  release, there are the source code or binaries in the subpath.
- `download_dependency`: Download the source code according to the
  dependency file and the dependency name.

Then apply the `dep-url.sh` in all files that need to download the
source or binary of the dependencies.

In addition, this PR upgrades the `pulsar-cpp` dependency to 3.1.0 so
that the Windows build can depend on an official release.
BewareMyPower added a commit to BewareMyPower/pulsar-client-python that referenced this pull request Dec 6, 2022
…3.1.0

### Motivation

Currently there are many files that require the download URLs of
dependencies to download them. It's hard to maintain if some download
URL changed. For example,
apache#17 updates the ZLib
download URL under https://zlib.net/fossils/ for macOS build. However,
the ZLib download URL for Linux is under
https://github.com/madler/zlib/archive/. The same goes for the Pulsar
C++ client, it's hard to test another URL because the candidates and the
official releases are stored in different paths.

### Modifications

Add a `dep-url.sh` to provide two shell functions:
- `pulsar_cpp_base_url`: Print the base URL of the Pulsar C++ client
  release, there are the source code or binaries in the subpath.
- `download_dependency`: Download the source code according to the
  dependency file and the dependency name.

Then apply the `dep-url.sh` in all files that need to download the
source or binary of the dependencies.

In addition, this PR upgrades the `pulsar-cpp` dependency to 3.1.0 so
that the Windows build can depend on an official release.
BewareMyPower added a commit to BewareMyPower/pulsar-client-python that referenced this pull request Dec 7, 2022
…3.1.0

### Motivation

Currently there are many files that require the download URLs of
dependencies to download them. It's hard to maintain if some download
URL changed. For example,
apache#17 updates the ZLib
download URL under https://zlib.net/fossils/ for macOS build. However,
the ZLib download URL for Linux is under
https://github.com/madler/zlib/archive/. The same goes for the Pulsar
C++ client, it's hard to test another URL because the candidates and the
official releases are stored in different paths.

### Modifications

Add a `dep-url.sh` to provide two shell functions:
- `pulsar_cpp_base_url`: Print the base URL of the Pulsar C++ client
  release, there are the source code or binaries in the subpath.
- `download_dependency`: Download the source code according to the
  dependency file and the dependency name.

Then apply the `dep-url.sh` in all files that need to download the
source or binary of the dependencies.

In addition, this PR upgrades the `pulsar-cpp` dependency to 3.1.0 so
that the Windows build can depend on an official release.
BewareMyPower added a commit that referenced this pull request Dec 8, 2022
…3.1.0 (#56)

### Motivation

Currently there are many files that require the download URLs of
dependencies to download them. It's hard to maintain if some download
URL changed. For example,
#17 updates the ZLib
download URL under https://zlib.net/fossils/ for macOS build. However,
the ZLib download URL for Linux is under
https://github.com/madler/zlib/archive/. The same goes for the Pulsar
C++ client, it's hard to test another URL because the candidates and the
official releases are stored in different paths.

### Modifications

Add a `dep-url.sh` to provide two shell functions:
- `pulsar_cpp_base_url`: Print the base URL of the Pulsar C++ client
  release, there are the source code or binaries in the subpath.
- `download_dependency`: Download the source code according to the
  dependency file and the dependency name.

Then apply the `dep-url.sh` in all files that need to download the
source or binary of the dependencies.

In addition, this PR upgrades the `pulsar-cpp` dependency to 3.1.0 so
that the Windows build can depend on an official release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants