猪八戒APP
使用python开发开源软件包信息管理脚本
南京
其他工具软件开发
需求标题
使用python开发开源软件包信息管理脚本
需求描述
使用python开发开源软件包信息管理脚本
使用Python 3 开发实现各Linux发行版的开源软件包的信息分析**、效验文件值并把获取到的相关信息入库。
比如在centos发行版下有个rpm的nginx软件,使用rpm -qpi获取到的信息如下:
rpm -qpi nginx-1.12.0-1.el7.ngx.x86_64.rpm
warning: nginx-1.12.0-1.el7.ngx.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 7bd9bf62: NOKEY
Name : nginx Relocations: (not relocatable)
Version : 1.12.0 Vendor: Nginx, Inc.
Release : 1.el7.ngx Build Date: Wed Apr 12 23:23:49 2017
Install Date: (not installed) Build Host: centos7-amd64-builder-builder.gnt.nginx.com
Group : System Environment/Daemons Source RPM: nginx-1.12.0-1.el7.ngx.src.rpm
Size : 2640316 License: 2-clause BSD-like license
Signature : RSA/SHA1, Thu Apr 13 00:01:37 2017, Key ID abf5bd827bd9bf62
URL : [url=http://nginx.org/]http://nginx.org/[/url]
Summary : High performance web server
Description :
nginx [engine x] is an HTTP and reverse proxy server, as well as
a mail proxy server.
需要把name ,Version ,Release 等余下的信息写入MySQL相应的表里,并实现某一个仓库目录下的所有.rpm文件查询到的信息批量写入数据库,
预算金额
¥1元
允许参与人才数量
--
人才所在地
--
人才类型
--
工作反馈要求
无要求
期望完成日期
--
开票类型要求
无要求