Create helper methods to distinguish between different drivers
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
We have all over the code the check like this one.
if strings.HasPrefix(u.Scheme, "s3+http") {
// do something only in case of S3 Object Store
}
We should have some helper functions in the go-tools project.
A related discussion and a comment from @victorges:
At some point we should make some helpers in the go-tools lib to parse these URLs and just return the structured data.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by reviewing the repeated strings.HasPrefix checks shown in the issue and the linked task-runner discussion. Identify the driver URL cases the helpers must distinguish and confirm the expected structured result with maintainers; done means the agreed helper API covers those cases and is usable from go-tools.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100