GithubHelp home page GithubHelp logo

ziggy1030 / deb2uos-bak Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gaozw1/deb2uos

0.0 0.0 0.0 48.25 MB

将deb包转化为符合uos标准的deb包

Shell 0.03% C++ 0.21% Python 94.81% C 1.89% Fortran 0.02% XSLT 0.01% Smarty 0.01% Cython 3.03%

deb2uos-bak's Introduction

deb2uos

本工程目前有两个功能已经实现,还有两个功能目前暂未实现

.
├── D2U             将Debian下的deb文件转换成UOS的deb文件
├── debCrawler      收集[https://packages.debian.org/buster/]此站点下的deb包
├── README.md
├── Snap2Deb        暂未实现。将Ubuntu下的snap包转换成UOS下的deb包
└── test            编码中用于测试问题模块

D2U

deb2uos.sh
将deb包转化为符合uos标准的deb包

使用方法:

  1. 将下载的包放到debs目录,并将这些包改名为应用名_包名_版本号_架构[amd64,arm,arm64]格式, 例如:Minder_com.github.phase1geo.minder_1.9.2-1_amd64.deb
  2. 执行脚本
  • ./deb2uos.sh 无参数:清理冗余文件,如:日志文件、src、outputs文件中上次的输出结果
  • ./deb2uos.sh build build参数:开始转化
  1. 转换完成的包在会输出到output目录中

也可以:

  1. 将debCrawler工程中downloadLinkData.txt中的链接复制到D2U/inputs/deb.txt
  2. 进入input目录
  • 运行./download.sh,会自动下载deb.txt中的内容,并自动改名,符合上述规范
  • 运行./download.sh clear会自动清除inputs目录中的deb文件

debCrawler

getDebianDeb.py
爬取指定页面的deb包内容以及下载链接。可以在

使用方法

  1. 配置typelist.list中,需要爬取的包类型
  2. 执行./venv/bin/python3.7 getDebianDeb.py

注意:重新爬取数据之前建议手动删除 downloadLinkData.txt all.xlsx *.xlsx 除了appStore_1678695568532.xlsx这个文件!

deb2uos-bak's People

Contributors

gaozw1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.