Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shawn Webb
pkg
Commits
deaa4dc5
Commit
deaa4dc5
authored
May 04, 2021
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
libpkg/pkg_repo_meta.c
View file @
deaa4dc5
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment