Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: #132 支持公共库 #133

Merged
merged 1 commit into from May 12, 2022

Conversation

gosszhang
Copy link
Contributor

Which changes (Bug/Feature):

支持 #132

Special notes for reviewers:

  1. 创建【代码源】增加开源选项
    image
  2. 创建应用仓库路径支持手动输入
  3. 后台创建scm客户端支持无token

Copy link
Member

@colynn colynn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, 很好的一次提交!

只是现在 Jenkins pipeline 再运行时也会依赖 user和token , 用于jnlp镜像内的app_checkout.py ,我来单独做一个兼容,更新下jnlp的镜像版本, 然后我们可以合并这个提交。

@sampsonye
Copy link
Collaborator

sampsonye commented May 10, 2022

/LGTM
更进一步优化:

  1. 系统管理-->源代码集成 页面可以考虑默认添加个固定的“开源仓库”源,在应用添加页面可以直接选择
  2. 在应用添加阶段支持“检测是否可以clone”以提供更好的前期体验

@colynn
Copy link
Member

colynn commented May 11, 2022

thanks, 很好的一次提交!

只是现在 Jenkins pipeline 再运行时也会依赖 user和token , 用于jnlp镜像内的app_checkout.py ,我来单独做一个兼容,更新下jnlp的镜像版本, 然后我们可以合并这个提交。

已经解决: go-atomci/jenkins-jnlp-agent#2

Copy link
Collaborator

@fanhousanbu fanhousanbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/LGTM

}
p.Data["json"] = NewResult(true, rsp, "")
p.ServeJSON()
}

// 获取仓库域名
// TODO现在用反射获取,有更好方法再替换
func getBaseConfigUrl(config interface{}) string {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

将interface{}变更为强类型,或者接口?这样更OO

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

config是 interface{} 是由 pm.GetIntegrateSettings返回定义好的

@colynn
Copy link
Member

colynn commented May 12, 2022

/LGTM 更进一步优化:

  1. 系统管理-->源代码集成 页面可以考虑默认添加个固定的“开源仓库”源,在应用添加页面可以直接选择
  2. 在应用添加阶段支持“检测是否可以clone”以提供更好的前期体验

@sampsonye 可以将第1点转为 issues

@colynn colynn merged commit 07d6823 into go-atomci:master May 12, 2022
@gosszhang gosszhang deleted the feat-132-support-open-repo branch May 13, 2022 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants