kernelci / kernelci/kcidb

Standardize `git_repository_url` for better parsing

Open
#622 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
26
Forks
40
PR merge metrics
No merged PRs in 30d

Description

kci-dev is currently matching repository git configurations to kcidb `git_repository_url`
The problem is that there is no way fro kci-dev to know if the url as been saved with git:// or http:// or https://
in same rare case the url could have a guest username and password
I propose to standardize `git_repository_url` in kcidb to the currently most used protocol `https://` without any authentication. this could be done easy from the result committer by cleaning the url to be sent or even directly by kcidb with something similar to what kci-dev is doing https://github.com/kernelci/kci-dev/pull/76#discussion_r1911888606

ref PR: https://github.com/kernelci/kci-dev/pull/76

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the issue text and the referenced kci-dev pull request discussion. Determine whether URL normalization belongs in the result committer or in kcidb itself, then verify that git_repository_url is consistently stored as an unauthenticated https:// URL and remains usable for kci-dev matching.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, python
Domain
backend-api-design, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.