Coder Social home page Coder Social logo

Comments (3)

jiangxin avatar jiangxin commented on May 6, 2024

从 manifest 仓库进行初始化,可以根据 manifest 仓库的 URL 来算出其他仓库的 URL 地址。

  1. 如果没有 manifest 仓库,而是从一个本地 XML 来初始化,要么在 XML 中为每一个项目写上完整的仓库路径,要么通过新的标签设置仓库的 base url。
  2. 如何确定工作区的根目录?目前的设计是在子仓库工作中,通过向上递归找到 .repo/ 目录就找到了工作区的根,在其中也就找到了 manifest 文件。

from git-repo-go.

Ncerzzk avatar Ncerzzk commented on May 6, 2024

从 manifest 仓库进行初始化,可以根据 manifest 仓库的 URL 来算出其他仓库的 URL 地址。

  1. 如果没有 manifest 仓库,而是从一个本地 XML 来初始化,要么在 XML 中为每一个项目写上完整的仓库路径,要么通过新的标签设置仓库的 base url。
  2. 如何确定工作区的根目录?目前的设计是在子仓库工作中,通过向上递归找到 .repo/ 目录就找到了工作区的根,在其中也就找到了 manifest 文件。

如何通过新的标签来设置仓库的base url呢?

from git-repo-go.

jiangxin avatar jiangxin commented on May 6, 2024

从 manifest 仓库进行初始化,可以根据 manifest 仓库的 URL 来算出其他仓库的 URL 地址。

  1. 如果没有 manifest 仓库,而是从一个本地 XML 来初始化,要么在 XML 中为每一个项目写上完整的仓库路径,要么通过新的标签设置仓库的 base url。
  2. 如何确定工作区的根目录?目前的设计是在子仓库工作中,通过向上递归找到 .repo/ 目录就找到了工作区的根,在其中也就找到了 manifest 文件。

如何通过新的标签来设置仓库的base url呢?

manifest 仓库的 XML 文件中,项目地址都是相对地址,是通过 git repo init -u <URL> 中给定的 manifest 仓库地址确定的。“新的标签” 是什么含义?

from git-repo-go.

Related Issues (20)

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.