archlinuxcn / repo

Arch Linux CN Repository
1.51k stars 290 forks source link

vim-youcompleteme-git 上游更新,打包需修改 #1487

Closed Universebenzene closed 4 years ago

Universebenzene commented 4 years ago

问题类型 / Type of issues

受影响的软件包 / Affected packages


请在此补充说明。 ycm上游又更新,源里的r2610打出来不能用了,AUR已跟进上游,目前看来打出来能用,咱这也跟进下罢

ghost commented 4 years ago

已跟進:https://github.com/archlinuxcn/repo/commit/d75c3122f7fa72c37c3133a06880769b6b9b5252

poscat0x04 commented 4 years ago

在 update_on 里加入 aur 比较好

ghost commented 4 years ago

在 update_on 里加入 aur 比较好

update_on 裡的 githubaur 可以直接混用的嘛?

poscat0x04 commented 4 years ago

update_on 是只要有一个触发了就会重新打包 同时可以在 pre_build 里面同步 AUR 的 PKGBUILD

ghost commented 4 years ago

update_on 是只要有一个触发了就会重新打包 同时可以在 pre_build 里面同步 AUR 的 PKGBUILD

我注意 repo 裡的 -git 更多是類似如下情況:

pre_build: vcs_update

post_build: git_pkgbuild_commit

update_on:
    - github: Valloric/YouCompleteMe
    - alias: clang

maintainers:
    - github: dctxmei

而混用的情況倒是比較少見,我參考了 vokoscreen-git,不知如下是否可行:

pre_build: aur_pre_build

post_build: aur_post_build

update_on:
    - aur: vim-youcompleteme-git
    - github: Valloric/YouCompleteMe
    - alias: clang

maintainers:
    - github: dctxmei
poscat0x04 commented 4 years ago

我觉得没有问题 👍

ghost commented 4 years ago

新的推送:https://github.com/archlinuxcn/repo/commit/97ec273f7afc8f438cd3e503c03f4c1e29284974

MarvelousBlack commented 4 years ago

update_on 的第一項纔是檢出更新,後面的均爲觸發 rebuild。 aur_pre_build 如果包名帶 -git ,update on 下面第一項爲 github 的時候,也會觸發 vcs_update 。 所以我覺得還是 github 那一項寫前面。

ghost commented 4 years ago

update_on 的第一項纔是檢出更新,後面的均爲觸發 rebuild。 aur_pre_build 如果包名帶 -git ,update on 下面第一項爲 github 的時候,也會觸發 vcs_update 。 所以我覺得還是 github 那一項寫前面。

多謝提示,已更正:https://github.com/archlinuxcn/repo/commit/0c5fda195ee5698780b6e7c6c0659389f874acb7