liblightdm-gobject: define common-user GIR type - #464
Conversation
|
Hi, I personally am a little uneasy about vibe coded contributions - I hope you understand that. I am not going to close the PR outright, since that would be rude, and likely violate Ubuntu Code of Conduct. In the meantime, I will get some other opinions about a contribution policy to lightdm, and acceptable uses of LLMs. I also am not sure that the PR would actually fix the problem, and I would go into detail, but again I'm not sure how I feel about it due to potential use of training. I will get back to you. Let me know if you need anything. Thanks :) |
The internal property generated an unnamed GIR type, so annotate its concrete type and guard generated GIR metadata in make check.
f3dd777 to
4be0ae5
Compare
|
Hm.. I'm not sure if the xmllint is needed because the .gir files are generated automatically. I guess perhaps they could be a way of checking the output of the girs? As for the type: It's now removed, and the |
|
Well, it is internal anyway. I'm going to hold onto this until I figure out whether it should or should not include the property at all if it's unused |
Summary
common-userproperty with its concrete introspection type<type>elements whenxmllintis availablexmllintat configure time and distinguish inspection errors from malformed type metadataTest verification (RED → GREEN)
RED check (same check with the production annotation removed): 1/1 new checks failed:
GREEN check (same check with the annotation restored): 1/1 new checks passed:
pinned downstream parser reproduction: gtk-rs
girat2ae5101reportsMissing name attribute on <type> elementbefore the fix and no error after itfull local suite, Ubuntu rolling: 352/352 passed
full local suite, Fedora latest: 352/352 passed
Fixes #463