Closed ruuda closed 9 years ago
It certainly makes sense, I’ll get that done soon.
Fixed on the develop branch, will make a release soon. New behavior:
Awesome!
This is somewhat inconvenient since any diffs are lost after git pull
is done. I guess you could git diff
/ git merge
manually before running PKGBUILDer...
Are you sure about that? git pull
should not remove unstaged/uncommitted changes from your working copy.
Well, in particular I meant upstream changes, for example when someone else adopted an AUR package and made a bunch of changes to the PKGBUILD compared to the last checkout.
I’m not sure I understand the problem.
When I have new targets I'd run pkgbuilder -G
so that I can take a look at PKGBUILDs before building them.
When I have existing targets I'd run pkgbuilder -G
again, but since a git merge
was run (via git pull
) I'd have no way to see what changes are "new" (for example, a new maintainer changed the source to something malicious) and have to review the whole bunch anew.
Okay, got it. IMO the current behavior is the better option.
If I understand correctly, currently PKGBUILDer can only do a clone, but not a pull. For an update, an existing repository is not reused by doing a pull, but instead one has to use the
-c
flag to remove the old repository and clone again. It would be great if instead ofit would simply do a pull to get the latest version.