Hi Chengyu,
On 2025/11/30 18:42, Yifan Zhao wrote:
Currently, `ocierofs_parse_ref()` fails to correctly parse OCI
reference strings of the form "localhost:5000/myapp:latest", as it
assumes a valid registry name must contain '.', which is not the case.
Let's also treat `ref_str` with a colon before slash (i.e., containing a
port number) as valid registry names.
This patch also adds unit tests for `ocierofs_parse_ref()`.
This patch also removes repeated codes in `ocierofs_parse_ref()`.
Signed-off-by: Yifan Zhao <[email protected]>
Could you take a look at this series too?
Thanks,
Gao Xiang