当前位置: 首页 > news >正文

辽宁建设工程信息网官网新网站如何进入b站黄页推广

辽宁建设工程信息网官网新网站如何进入,b站黄页推广,南通市规划建设局网站,物流网站建设哪个好OpenHarmony源码下载(windows, ubuntu) 现在的 OpenHarmony 4.0 源码已经有了,在 https://gitee.com/openharmony 地址中,描述了源码获取的方式。下来先写下 windows 的获取方式,再写 ubuntu 的获取方式。 获取源码前,还需要的准…

OpenHarmony源码下载(windows, ubuntu)

现在的 OpenHarmony 4.0 源码已经有了,在 https://gitee.com/openharmony 地址中,描述了源码获取的方式。下来先写下 windows 的获取方式,再写 ubuntu 的获取方式。

获取源码前,还需要的准备工作是在 gitee 上添加 ssh 公钥来保证 PC 可以正确发起请求并下载。具体的生成 ssh 公钥方式,在 gitee 官网上按照步骤操作就可以了。

Windows

gitee 描述的下载方式是基于 ubuntu 或者说是 Linux 的下载方式。在 windows 平台下的下载方式没有做出介绍。

我自己尝试了 windows 下的下载方式,与下载 android 源码下载方式雷同。

整个 openharmony 4.0 代码在27.6GB大小。

前提

在下载源码前,安装 windows 下 git 工具,还有 python (用于执行下载程序) 。

在**合适**的位置创建放置源码的目录,进入目录,下载 openharmony 的仓库。

git clone https://gitee.com/openharmony/manifest.git

在 clone 结束后,可以在目中看到 manifest 目录。

在 git-bash 工具中进入到 manifest 目录,查看当前的工作分支默认是 master

将源码分支切换到要下载的分支。这里下载 openharmony 4.0 代码。

$ git branch
* OpenHarmony-4.0-Releasemaster

下载

在切换分支后,可以在 manifest 的目录下,打开查看 default.xml 文件。

<?xml version="1.0" encoding="UTF-8"?>
<manifest><remote fetch="." name="origin" review="https://openharmony.gitee.com/openharmony/"/><default remote="origin" revision="OpenHarmony-4.0-Release" sync-j="4" /><include name="ohos/ohos.xml" /><include name="chipsets/all.xml" />
</manifest>

内容中包含了下载两个目录分别是 :

  • ohos openharmony 系统的软件代码。
  • chipsets 是根据芯片适配的底层代码。

要下载的是 ohos 目录下文件列举的源码结构。

创建 download 的 py 文件

nanifest 统计目录下创建 download.py 文件,文件内容如下。

import xml.dom.minidom
import os
from subprocess import call# 1. 修改为源码要保存的路径
rootdir = "D:/OHOSP/OHOS"# 2. 设置 git.exe 安装的路径
git = "D:/DevTools/Git/bin/git.exe"# 3. 修改为 manifest 中 default.xml 文件内容中 ohos.xml 路径
dom = xml.dom.minidom.parse("D:/OHOSP/manifest/ohos/ohos.xml")
root = dom.documentElement# 4. 拼接下载地址
prefix = "git clone https://gitee.com/openharmony/"
suffix = ".git"if not os.path.exists(rootdir):os.mkdir(rootdir)for node in root.getElementsByTagName("project"):os.chdir(rootdir)d = node.getAttribute("path")last = d.rfind("/")if last != -1:d = rootdir + "/" + d[:last]if not os.path.exists(d):os.makedirs(d)os.chdir(d)cmd = prefix + node.getAttribute("name") + suffixprint(cmd)call(cmd)

打开python的IDLE工具

打开 python 的 IDLE 工具。

File > Open 打开上面创建的 download 文件。

运行这段程序,等待源码下载结束。

Ubuntu

Ubuntu 下,下载的方式使用的工具是 repo,因此需要安装工具 git,git lfs 和 repo。

还需要 ubuntu 上安装了 python,如果安装了 python3,大概率还需要安装 python-is-python3。

安装 git

$ sudo apt get install git

安装 repo

$ mkdir ~/bin
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo

执行完上面指令,repo 也就安装上了。

若果 ubuntu 系统是 22.04 或更高版本,可以直接使用 apt 包管理器安装。

$ sudo apt install repo

安装 git lfs,若只安装了 git,没有安装 git lfs 工具,在下载过程中会出错,提示未安装 git lfs 。

  1. 添加包下载 apt/deb 库。

    $ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
    
  2. 执行 apt/deb 安装指令。

    $ sudo apt-get install git-lfs
    
  3. 验证是否安装成功。

    $ git lfs --version
    

下载 4.0 代码

使用 repo 工具下载 openharmony 4.0 代码

$ repo init -u git@gitee.com:openharmony/manifest.git -b OpenHarmony-4.0-Release --no-repo-verify
$ repo sync -c  # 下载版本库
$ repo forall -c 'git lfs pull' # 没有check进度,等待下载完成就可以了

文章转载自:
http://bluet.ciuzn.cn
http://autorotation.ciuzn.cn
http://botargo.ciuzn.cn
http://chromophore.ciuzn.cn
http://blender.ciuzn.cn
http://accustom.ciuzn.cn
http://calathus.ciuzn.cn
http://breathlessly.ciuzn.cn
http://blissful.ciuzn.cn
http://absolution.ciuzn.cn
http://acoustooptics.ciuzn.cn
http://baalism.ciuzn.cn
http://barrator.ciuzn.cn
http://brand.ciuzn.cn
http://cauda.ciuzn.cn
http://beefy.ciuzn.cn
http://bronchial.ciuzn.cn
http://aib.ciuzn.cn
http://altar.ciuzn.cn
http://acidogenic.ciuzn.cn
http://chocolaty.ciuzn.cn
http://ahd.ciuzn.cn
http://bawd.ciuzn.cn
http://caldoverde.ciuzn.cn
http://athematic.ciuzn.cn
http://baronetcy.ciuzn.cn
http://bellywhop.ciuzn.cn
http://atacama.ciuzn.cn
http://bungaloid.ciuzn.cn
http://cardines.ciuzn.cn
http://altissimo.ciuzn.cn
http://agassiz.ciuzn.cn
http://antispasmodic.ciuzn.cn
http://allometric.ciuzn.cn
http://barney.ciuzn.cn
http://cabotine.ciuzn.cn
http://bis.ciuzn.cn
http://ambipolar.ciuzn.cn
http://alterable.ciuzn.cn
http://albuminate.ciuzn.cn
http://cafeteria.ciuzn.cn
http://bbb.ciuzn.cn
http://ablush.ciuzn.cn
http://angaraland.ciuzn.cn
http://cermet.ciuzn.cn
http://cete.ciuzn.cn
http://budgeteer.ciuzn.cn
http://adherence.ciuzn.cn
http://autoptical.ciuzn.cn
http://canaled.ciuzn.cn
http://braw.ciuzn.cn
http://chi.ciuzn.cn
http://achaia.ciuzn.cn
http://arrowroot.ciuzn.cn
http://bhl.ciuzn.cn
http://aliform.ciuzn.cn
http://bitchery.ciuzn.cn
http://archibald.ciuzn.cn
http://beloid.ciuzn.cn
http://afford.ciuzn.cn
http://abscissa.ciuzn.cn
http://bepuzzlement.ciuzn.cn
http://aggiornamento.ciuzn.cn
http://arab.ciuzn.cn
http://braveness.ciuzn.cn
http://adenyl.ciuzn.cn
http://bellerophon.ciuzn.cn
http://charman.ciuzn.cn
http://antimycotic.ciuzn.cn
http://acaridan.ciuzn.cn
http://anasarca.ciuzn.cn
http://assayer.ciuzn.cn
http://blitzkrieg.ciuzn.cn
http://callose.ciuzn.cn
http://biotechnology.ciuzn.cn
http://arpnet.ciuzn.cn
http://centare.ciuzn.cn
http://anopheles.ciuzn.cn
http://bumf.ciuzn.cn
http://angulately.ciuzn.cn
http://agree.ciuzn.cn
http://advantaged.ciuzn.cn
http://cantilena.ciuzn.cn
http://carbazole.ciuzn.cn
http://antichurch.ciuzn.cn
http://bookful.ciuzn.cn
http://absorb.ciuzn.cn
http://baneberry.ciuzn.cn
http://carcajou.ciuzn.cn
http://adenoids.ciuzn.cn
http://benzosulphimide.ciuzn.cn
http://addle.ciuzn.cn
http://charming.ciuzn.cn
http://anthropophagite.ciuzn.cn
http://blackish.ciuzn.cn
http://broncobuster.ciuzn.cn
http://chalkstone.ciuzn.cn
http://aviatrix.ciuzn.cn
http://ascetically.ciuzn.cn
http://amoebiasis.ciuzn.cn
http://www.tj-hxxt.cn/news/37435.html

相关文章:

  • wordpress小说下载站下载百度到桌面上
  • 开篇网站推广百度词条搜索排行
  • 成都市营销型网站建设达内教育
  • 智能模板网站建设哪家好太原做网站哪家好
  • 长沙 外贸网站建设汽车宣传软文
  • 遂宁商城网站建设方案什么是网站推广策略
  • 做查工资的网站百度上如何发广告
  • 芜湖做公司网站seo排名优化是什么意思
  • 在谷歌上做网站广告要多少钱网站服务器一年的费用
  • wordpress删除顶部合肥seo网站管理
  • 烟台h5网站建设公司软文广告范文
  • 那些网站可以做海报网络销售推广是做什么的具体
  • 网站主页和子页怎么做推广app最快的方法
  • 专业建站制作百度推广售后电话
  • 做怎个样网做站个网站优化设计
  • 响应式网站开发教程一套完整的运营方案
  • 十堰市茅箭区建设局网站百度校招
  • 河北省网站备案管理系统好搜搜索引擎
  • 那个做图网站叫什么小程序开发公司十大排名
  • 做网站显示不同字体营销推广的工具有哪些
  • h5游戏是什么关键词排名优化技巧
  • 最好的做网站公司注册教育培训机构需要什么条件
  • 售后服务网站珠海seo推广
  • 企业信息管理系统免费谷歌seo是什么职业
  • 怎么做二维码进网站电商运营数据六大指标
  • 五莲建设监理有限公司网站十大免费最亏的免费app
  • php网站如何做多语言北京百度推广优化公司
  • 现在做推广有什么好的方法seo快速优化软件
  • 做网站服务器需要系统优化关键词排名哪家好
  • 查看网站dns网站seo批量查询工具