v0.13.7
errors and warnings / manifest

errors and warnings / manifest / W4333

W4333 warning

.pkgmeta hg external cannot be converted

area
manifest (x4xxx)
fails the build
with --deny-warnings

A .pkgmeta external is a Mercurial (hg) repository, which wowlua cannot fetch, so it is not converted into a dependency and the library is missing from the AddOn. wowlua init reports it, and with compat.pkgmeta every check and build does.

Replace the external with a git mirror or a release archive of the library, or keep the library's files in the repository.

Example

× fails.pkgmetayaml
package-as: Playground externals:  libs/LibOld: https://hg.wowace.com/wow/libold/mainline
wowlua.jsonjson
{    "package": {        "name": "playground",        "version": "0.1.0",        "wowlua": "^0.13"    },    "flavors": {        "camelot": {}    },    "compat": {        "pkgmeta": true    }}
✓ compiles.pkgmetayaml
package-as: Playground
wowlua.jsonjson
{    "package": {        "name": "playground",        "version": "0.1.0",        "wowlua": "^0.13"    },    "flavors": {        "camelot": {}    },    "compat": {        "pkgmeta": true    }}

The compiler reports it like this:

warning[W4333]: external `libs/LibOld` is a Mercurial repository (`https://repos.wowace.com/wow/libold`), which wowlua cannot fetch; not converted
 = help: replace it with a git mirror or a release archive
codemessage
E4005Conflicting setting between .pkgmeta and wowlua.json in compatibility mode
W4332.pkgmeta move-folders use that cannot be converted

Offline

terminal
$ wowlua explain W4333
W4333 (warning): .pkgmeta hg external cannot be converted

source on GitHub ↗