CentOS Wiki
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • FrontPage
  • Documentation
  • TipsAndTricks
  • HowTos
  • FAQ
  • Events
  • Contribute
  • ReportBugs
  • RecentChanges

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

  • zh
  • SIGGuide
  • Content
  • GitBranchesandKojiTags

把 Git 分支对照到 Koji 标签的命名方法及模式

Git 分支

所有 Git 分支都拥有相同命名模式,可匹配以下 python 正规表达式:

r'sig-(?P<shortname>\w+)(?P<centosversion>\d)-?(?P<projectname>\w+)?-?(?P<releasename>\w+)?'

譬如说一位开发者在 云端 SIG 内为 CentOS 7 创建 Openstack 的 Juno 发行本,它的分支将会是:

sig-cloud7-openstack-juno

项目及发行版本特性是可选择的组件:

sig-cloud7              # Packages in common with all projects and releases in the Cloud SIG
sig-cloud7-openstack    # Packages in common with every release of Openstack in the Cloud SIG

Koji 标签

以上述的  sig-cloud7-openstack-juno  分支为例,我们首先要把它对照到一个 建设目标,然后再转成 Koji 内的 目的地标签。

我们的分支将会对照到  cloud7-openstack-juno-el7  这个建设目标,然后变成  cloud7-openstack-juno-candidate  这个目的地标签。

我们推荐 SIG 遵从「创建 -> 测试 -> 发行」的程序并采用在 Koji 创建的缺省标签。

组件由测试到发行的周期大致是:

[建设] => cloud7-openstack-juno-candidate => [初步测试] => cloud7-openstack-juno-testing => [更严紧的测试] => cloud7-openstack-juno-release => [签署+发行]

Translation of revision 3

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01