You are not logged in.

#1 2010-08-16 19:47:32

gauthma
Member
Registered: 2010-02-16
Posts: 217
Website

[SOLVED] PKGBUILD and git

I'm currently using a PKGBUILD to download the most recent development version of KMess, and build it. The source control manager used is git. It works fine, except one thing: even when there are no changes in the development tree, the package is built nonetheless. Is there anyway to prevent this, i.e. to only build the package when there have been changes committed to the source tree? Thanks in advance.

Last edited by gauthma (2010-08-16 21:53:11)

Offline

#2 2010-08-16 20:48:44

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] PKGBUILD and git

Nope. It's been on the chopping block to revamp the VCS based PKGBUILDs for quite some time now. It's currently implemented as somewhat of an afterthought and lacks a substantial amount of robustitude(tm).

Git in particular is going to be difficult since the data in a git repo is the sum of its metadata. Furthermore, a successful git pull returns no error regardless of whether or not any new commits were transferred.

Offline

#3 2010-08-16 21:52:53

gauthma
Member
Registered: 2010-02-16
Posts: 217
Website

Re: [SOLVED] PKGBUILD and git

Thanks for the reply, that answers my question. Marking the thread as solved...

Offline

Board footer

Powered by FluxBB