Configure HTTPS/libcurl by default because it's now needed to access CRAM reference registry
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- networking
Research direction
Start with the ./configure path described in the issue and inspect how libcurl support is currently enabled or disabled. Check the CRAM Reference Registry access path and existing configuration tests, if present. Done means HTTPS access to the registry works by default while users can still opt out of libcurl support.
Written by the indexing model from the issue text.
Description
Per @tk2, EBI recently began switching all www connections, including to the CRAM Reference Registry, to HTTPS. This is good even though the references are public data, because it helps to ensure the data can't be corrupted in-flight.
However, it means that htslib now requires HTTPS support (i.e. libcurl, ./configure --enable-libcurl) in order to access the CRAM Reference Registry. Otherwise (by default!), viewing a CRAM file fails with a cryptic error "Failed to populate reference for id ..."
My suggestion therefore would be to change libcurl from opt-in to opt-out.
- Dominant language
- C
- Stars
- 950
- Forks
- 475
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from samtools/htslib
-
Difficulty 3/5 1-2 days Newbie friendliness 74/100
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
-
tabix performance Open
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100