Commit deaa4dc5 authored by Emmanuel Vadot's avatar Emmanuel Vadot
Browse files

repo: Add a big warning if one is using meta v1 as we will remove support after 1.17

Discussed with: bapt
parent 6f9d7843
......@@ -357,8 +357,10 @@ pkg_repo_meta_load(const int fd, struct pkg_repo_meta **target)
}
/* Now we support only v1 and v2 meta */
if (version == 1)
if (version == 1) {
schema = pkg_repo_meta_open_schema_v1();
printf("WARNING: Meta v1 support will be removed in the next version\n");
}
else if (version == 2)
schema = pkg_repo_meta_open_schema_v2();
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment