Skip to content

Commit

Permalink
refacto: get rid of XML::TreePP lib
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Oct 12, 2022
1 parent a1c8161 commit f244499
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/glpi-agent-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v2
- name: Install packages
run: |
sudo apt -y install cpanminus libmodule-install-perl \
sudo apt -y install cpanminus libmodule-install-perl libxml-libxml-perl \
libxml-treepp-perl libxml-xpath-perl \
libdatetime-perl libparallel-forkmanager-perl libparse-edid-perl \
libcpanel-json-xs-perl libossp-uuid-perl libfile-copy-recursive-perl \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/glpi-agent-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ jobs:
libtest-exception-perl libtest-mockmodule-perl \
libtest-mockobject-perl libtext-template-perl \
libsocket-getaddrinfo-perl libuniversal-require-perl liburi-perl \
libwww-perl libxml-treepp-perl libxml-xpath-perl libyaml-perl \
libwww-perl libxml-libxml-perl libxml-xpath-perl libyaml-perl \
libossp-uuid-perl libcpanel-json-xs-perl devscripts
shell: bash
- name: Build debian packages
Expand Down
1 change: 0 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ requires 'Net::IP' => '0';
requires 'Text::Template' => '0';
requires 'UNIVERSAL::require' => '0';
requires 'XML::LibXML' => '0';
requires 'XML::TreePP' => '0.26';
requires 'XML::XPath' => '0';
requires 'YAML::Tiny' => '0';
requires 'Memoize' => '0';
Expand Down
2 changes: 1 addition & 1 deletion contrib/unix/install-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ echo "Installing agent dependencies"
apt-get -y install dmidecode hwdata ucf hdparm
apt-get -y install perl libuniversal-require-perl libwww-perl libparse-edid-perl
apt-get -y install libproc-daemon-perl libfile-which-perl libhttp-daemon-perl
apt-get -y install libxml-treepp-perl libyaml-perl libnet-cups-perl libnet-ip-perl
apt-get -y install libxml-libxml-perl libyaml-perl libnet-cups-perl libnet-ip-perl
apt-get -y install libdigest-sha-perl libsocket-getaddrinfo-perl libtext-template-perl
apt-get -y install libxml-xpath-perl
apt-get -y install libwrite-net-perl
Expand Down
2 changes: 1 addition & 1 deletion contrib/windows/packaging/PerlBuildJob.pm
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ sub _build_steps {
# GLPI-Agent deps
qw/ Text::Template UNIVERSAL::require UNIVERSAL::isa Net::SSH2
XML::LibXML Memoize Time::HiRes Compress::Zlib
XML::TreePP XML::XPath
XML::XPath
Parse::EDID Cpanel::JSON::XS JSON::PP YAML::Tiny Parallel::ForkManager
URI::Escape Net::NBName Thread::Queue Thread::Semaphore
Net::SNMP Net::SNMP::Security::USM Net::SNMP::Transport::IPv4::TCP
Expand Down
4 changes: 2 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Build-Depends-Indep:
libuniversal-require-perl <!nocheck>,
liburi-perl <!nocheck>,
libwww-perl <!nocheck>,
libxml-treepp-perl <!nocheck>,
libxml-libxml-perl <!nocheck>,
libxml-xpath-perl <!nocheck>,
libyaml-perl <!nocheck>,
libossp-uuid-perl <!nocheck>,
Expand Down Expand Up @@ -65,7 +65,7 @@ Depends:
libproc-daemon-perl,
libuniversal-require-perl,
libfile-which-perl,
libxml-treepp-perl,
libxml-libxml-perl,
libxml-xpath-perl,
libyaml-perl,
libtext-template-perl,
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ parts:
Crypt::DES Crypt::Rijndael Digest::HMAC Digest::SHA1
Net::IP Net::Ping Net::SNMP Net::NBName Net::CUPS Net::SSH2
Thread::Queue Parse::EDID Cpanel::JSON::XS JSON::PP
Text::Template XML::TreePP XML::XPath Memoize
Text::Template XML::LibXML XML::XPath Memoize
YAML::Tiny Data::UUID Digest::SHA
#Net::PCAP Net::Write::Layer2
MODULES
Expand Down

0 comments on commit f244499

Please sign in to comment.