From: leahneukirchen <leahneukirchen@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Merged]: lua54-luaexpat: update to 1.5.0
Date: Tue, 04 Oct 2022 21:26:20 +0200 [thread overview]
Message-ID: <20221004192620._UnDsYkhfaWVOhj21L29YtnN87yYXoKssYY5VP1FIKc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39694@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1567 bytes --]
There's a merged pull request on the void-packages repository
lua54-luaexpat: update to 1.5.0
https://github.com/void-linux/void-packages/pull/39694
Description:
#### Testing the changes
- I tested the changes in this PR: **briefly** ran the following example code sourced from the project's homepage and tested by writing a few xml tags to it's stdin.
```lua
lxp = require"lxp" -- added "lxp =" which was NOT IN the version on the homepage
local count = 0
callbacks = {
StartElement = function (parser, name)
io.write("+ ", string.rep(" ", count), name, "\n")
count = count + 1
end,
EndElement = function (parser, name)
count = count - 1
io.write("- ", string.rep(" ", count), name, "\n")
end
}
p = lxp.new(callbacks)
for l in io.lines() do -- iterate lines
p:parse(l) -- parses the line
p:parse("\n") -- parses the end of line
end
p:parse() -- finishes the document
p:close() -- closes the parser
```
Then I ran:
```shell
echo '<asdf>one level<noice>two</noice></asdf>' | lua<version> test.lua
```
and got the following every time:
```
+ asdf
+ noice
- noice
- asdf
```
#### Local build testing
- I built this PR locally for my native architecture, x86_64, glibc
- I build (and tested briefly) packages for lua versions 5.4, 5.3 5.2 and 5.1
Updated this package because it was mentioned on #39072 and go-ipfs turned out to be very hard to upgrade (not really but fs-repo-migration was hard 😡).
prev parent reply other threads:[~2022-10-04 19:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-04 6:56 [PR PATCH] " cultab
2022-10-04 6:58 ` [PR PATCH] [Updated] " cultab
2022-10-04 19:26 ` leahneukirchen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221004192620._UnDsYkhfaWVOhj21L29YtnN87yYXoKssYY5VP1FIKc@z \
--to=leahneukirchen@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).