Commit 674e74a
committed
[repro] Rework PKGBUILD fetching
Some PKGBUILDs use _pkgver and so on, so we are unable to count on them being
"correct" when fetching PKGBUILDs. We also never implemented support for epoch.
Another problem is that we can't go over the commit history and look at `updpkg:
...` values as they might not be there.
Instead we traverse the history and find the correct PKGBUILD by checksumming it
against the one in the PKGBUILD.
Signed-off-by: Morten Linderud <morten@linderud.pw>1 parent 64931c7 commit 674e74a
1 file changed
Lines changed: 11 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
256 | 255 | | |
257 | 256 | | |
258 | 257 | | |
| |||
0 commit comments