Closed remicollet closed 1 year ago
This may be a little tricky as we are placed in the ASF. In the source tar, we should not release dependencies source codes unless have to do.
@remicollet Could you share why you expect offline build? Is there any specific case requiring this?
this is a common practice (even mandatory for official repository) to build packages (RPM or other formats) offline also required for reproducible builds.
I will leave this to @heyanlong @jmjoy to decide. After all, at the ASF, we either provide ASF-owned source codes or a compiled binary for convenience. All repositories of SkyWalking, even the whole ASF, follow this practice. It seems we face conflicts cross-orgs.
BTW, a workaround exists and can be used on the packager side. And as (from other issues/discussions) is seems this PHP extension is not suitable for Enterprise distribution So probably don't worth the work to try to build RPM of it.
I think you can run cargo vendor
and repackage by yourself, instead of using the official PECL package.
Search before asking
Apache SkyWalking Component
CLI (apache/skywalking-cli)
What happened
Unable to build offline as the dependencies are download on the fly
What you expected to happen
Able to buid offline
How to reproduce
pecl install skywalking_agent-0.1.0.tgz
Anything else
A possible workaround (used for success for other extension skywalking)
run "cargo vendor xxx" and add this folder (its archive) in the package
Are you willing to submit PR?
Code of Conduct