Add LWP::Protocol::https
Tool name
LWP::Protocol::https
Tool license
Artistic
Add or update?
- [x] Add
- [ ] Update
Desired version
latest
Approximate size
No response
Brief description of tool
Runners already include LWP::Simple and LWP::UserAgent, Perl libraries that take care of making HTTP(S) requests. However, they need this separate library to actually make https requests.
URL for tool's homepage
https://metacpan.org/dist/LWP-Protocol-https
Provide a basic test case to validate the tool's functionality.
perl -MLWP::Simple -e 'getprint "https://jj.github.io/IV"'
### Platforms where you need the tool
- [X] Azure DevOps
- [X] GitHub Actions
### Runner images where you need the tool
- [X] Ubuntu 20.04
- [X] Ubuntu 22.04
- [X] Ubuntu 24.04
- [X] macOS 12
- [X] macOS 13
- [X] macOS 13 Arm64
- [X] macOS 14
- [X] macOS 14 Arm64
- [X] Windows Server 2019
- [X] Windows Server 2022
### Can this tool be installed during the build?
```bash
It can be installed in Ubuntu through its package https://launchpad.net/ubuntu/focal/+package/liblwp-protocol-https-perl
There are probably other ways of installing it in Windows/MacOS, but I really have no idea.
Tool installation time in runtime
16 seconds through apt
Are you willing to submit a PR?
Certainly.
Hi @JJ Thank you for bringing this issue to us. We are looking into this issue and will update you on this issue after investigating.
Hi @JJ Thank you for bringing this issue to us. We are looking into this issue and will update you on this issue after investigating.
As a matter of fact, I've looked up a list of Perl modules installed some time ago, and it was actually there; that should have been Ubuntu-18 or thereabouts.
Hi @JJ, Do you still need this library. Also, it would be helpful if you can help us understand a bit more about the use case or this library.
As the runners seldom need to make outbound (http/https) requests to external systems. Thanks.
Certainly, as it was there in other versions. I use it to access APIs, or to scrape; in general, it gives support to LWP for the protocol that is used the most. Without it, the runner lacks this functionality and you need a lengthy installation process, a cache or a container
We are checking this, internally. However, for Perl we are not updating/installing any package. It is all default that ships with Ubuntu Will keep you posted on the outcome.
Hi @JJ - As for Perl we are currently having the default Perl installation that comes with the base Ubuntu image. The package seems to have been removed from Ubuntu base package. Unfortunately, we are unable to accommodate this as of now as it would require to configure Perl package manager and other maintenance tasks. We will surely look into this in future. Thanks.