about summary refs log tree commit diff
path: root/xgensum
Commit message (Collapse)AuthorAgeFilesLines
* xgensum: allow gensumming multiple templatesclassabbyamp2023-11-021-111/+125
| | | | | | | this should allow xgensum to checksum multiple templates at once, hopefully keeping everything isolated between template sources too exit code now counts the number of templates with errors
* Clean up shell redirectstriallax2023-06-261-1/+1
| | | | | | | Some of these are outright wrong (e.g. `echo foo 2>&1`), others are just more verbose than they need to be. Closes: #304 [via git-merge-pr]
* xgensum: use getopts for argument parsing, update completionsclassabbyamp2022-08-131-18/+18
| | | | Closes: #256 [via git-merge-pr]
* xgensum: handle packages unavailable for host archPiraty2020-09-221-1/+8
| | | | | | | | | Detect if the package is unavailable for the host architecture and pick the first supported arch. Packages like bootloaders and kernels for arm boards obviously restrict `archs=` which might exclude the host's architecture. Therefore xbps-src couldn't fetch the distfiles without specifying `-a <arch>`.
* xgensum: don't fore hostdir path if -H is omittedPiraty2020-03-161-6/+4
| | | | | | This way, XBPS_HOSTDIR will be used by xbps-src just like XBPS_MASTERDIR. `-H` can still overwrite it. It's kept for compatibility.
* xgensum: default to /home/user1/src/void-packages/hostdir v0.58Piraty2020-02-261-2/+2
| | | | | | to not create hostdirs in package dirs Signed-off-by: Piraty <piraty1@inbox.ru>
* xgensum: return non-zero if getting the digest failedLeah Neukirchen2020-02-181-7/+16
| | | | Fixes #167.
* xgensum: respect the -H flagToyam Cox2019-08-261-5/+11
| | | | Closes: #147 [via git-merge-pr]
* xgensum: eliminate unnecessary '\n'Doan Tran Cong Danh2019-07-141-6/+6
| | | | | | Those newlines ain't printed out anyway. Closes: #137 [via git-merge-pr]
* xgensum: quote all XBPS_* variable expansionDoan Tran Cong Danh2019-07-141-5/+5
| | | | | With 2 previous changes, we probadly don't need this, just in case someone have spaces in their directory's name.
* xgensum: exit early when xdistdir is failedDoan Tran Cong Danh2019-07-141-1/+1
|
* xgensum: use xbps-uhelper digest, reduce basename(1) usagemaxice82019-04-141-11/+13
| | | | Closes: #130 [via git-merge-pr]
* xgensum: try to source the environment for the build-style as well.maxice82019-03-201-0/+5
| | | | Closes: #128 [via git-merge-pr]
* xgensum: use xdistdir to find the template (as fallback)Leah Neukirchen2018-10-131-1/+4
| | | | | | By @Piraty. Closes #98.
* xgensum: add -c switch for generating content checksumsJohn2018-05-011-2/+57
| | | | Closes: #90 [via git-merge-pr]
* xgensum: fix xgensum <directory> v0.51Michael Gehring2018-03-081-3/+5
| | | | Closes: #78 [via git-merge-pr]
* xgensum: more robust variable namesChristian Neukirchen2016-05-221-5/+5
|
* xgensum: make a bit more robustChristian Neukirchen2016-05-221-5/+4
|
* xgensum: -f to force redownload of distfiles.Christian Neukirchen2015-06-161-4/+17
|
* xgensum: use xdistdirChristian Neukirchen2014-09-151-11/+3
|
* mv gensum xgensumChristian Neukirchen2014-09-151-0/+44