-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Another game to play just like #1795. This time, it's rexml
.
rexml
is a direct dependency in fpm and is used by only one place, osxpkg.rb
https://github.com/jordansissel/fpm/blob/master/lib/fpm/package/osxpkg.rb#L107
It looks like this code is only used when fpm -s osxpkg ...
(using an osx package as source/input to fpm).
I'm guessing we can probably remove rexml
and parse the xml ourselves without a library.
Lines 108 to 110 in dbd8baf
pkginfo_elem = doc.elements["pkg-info"] | |
identifier = pkginfo_elem.attribute("identifier").value | |
self.version = pkginfo_elem.attribute("version").value |
It's used to grab the attributes from what looks like <pkg-info identifier="..." version="...">
element.
Metadata
Metadata
Assignees
Labels
No labels