archlinuxcn / lilac

Lilac is the build bot for archlinuxcn
GNU General Public License v3.0
114 stars 40 forks source link

有关vcs_update中的makepkg -od #54

Closed petronny closed 6 years ago

petronny commented 6 years ago

https://github.com/archlinuxcn/lilac/blob/76cde381fc557d1e9ca1833da7b3da6be137e832/lilaclib.py#L318 这个是打算仅下载文件的意思吗?

就是现在其实会运行pkgver()和prepare(),但实际上需要吗?

lilydjwg commented 6 years ago

是啊,仅仅需要更新文件而已。

petronny commented 6 years ago

那是不是可以makepkg --verifysource呢 我试了一下这个不会运行运行pkgver()和prepare() 不过会产生一个空的src目录

lilydjwg commented 6 years ago

好像是需要 pkgver 的耶,不然 PKGBUILD 里的版本号怎么更新呢?

petronny commented 6 years ago

*-build里面再运行的makepkg时调用的pkgver()会修改吧(?) 总之如果需要pkgver()的话,那就-od --noprepare ?

lilydjwg commented 6 years ago

在 -build 里修改的话,外边还能看到吗?

那加上 --noprepare 好了。

lilydjwg commented 6 years ago

close as inactive.