Commit Graph

23 Commits

Author SHA1 Message Date
Natanael Copa 3695cd2008 apkgrel: fix usage and invalid options and add test 2023-01-10 17:47:22 +01:00
psykose b070451ae3 apkgrel: pass -- to git with name of file in do_add
the name of the file can be ambiguous, as it might also be the name of a
branch. passing -- makes git look at it as a file only, and not a
potential branch.
2022-06-14 13:41:14 +00:00
Leo 8eeca0adad *: say we are using GPL-2.0-only 2020-10-23 11:39:18 -03:00
Natanael Copa c486b3b4f3 allow override sharedir for testing
Aloow overrid sharedir with global ABUILD_SHAREDIR so we test the local
functions.sh instead of a system installed functions.sh
2019-11-07 11:42:23 +00:00
Natanael Copa f3dc428ea0 rename datadir -> sharedir
abuild uses datadir as local variable in various functions. Rename the
global datadir to sharedir to avoid confusion.
2019-11-07 11:42:23 +00:00
Jakub Jirutka 35077b43e8 replace deprecated `...` syntax with $(...) in shell scripts 2016-08-23 00:09:07 +02:00
Jakub Jirutka 948fedc5f7 indent heredocs when possible 2016-08-23 00:09:06 +02:00
Jakub Jirutka e8508f7b18 add .editorconfig and fix code formatting 2016-08-20 16:16:37 +02:00
Natanael Copa f7e6d79ec3 apkgrel: cosmetic fixes for help message 2013-10-25 08:01:22 +00:00
Natanael Copa 4757588caf functions: rename abuild_ver to program_version 2013-10-25 07:26:22 +00:00
Natanael Copa 1822f3f624 functions: rename prog to program 2013-10-25 07:24:46 +00:00
Dubiousjim 89afa41792 apkgrel, functions: refactor calculation of APKBUILD's path 2013-07-09 07:13:13 +00:00
Dubiousjim b2d6b47be1 various: s/echo/msg/, s/echo/error/, tweak error messages 2013-07-09 07:12:56 +00:00
Dubiousjim f15c630cb8 apkgrel: handle missing pkgrel in do_add 2013-07-09 07:12:40 +00:00
Dubiousjim 97f790a731 apkgrel: tweaks to loops, add quotes 2013-07-09 07:12:17 +00:00
Dubiousjim 59fd82d944 apkgrel: show_plain, show_pretty 2013-07-09 07:11:52 +00:00
Dubiousjim e6313b54a4 apkgrel: --clean-git enhancements 2013-07-09 07:11:14 +00:00
Dubiousjim ef9fb52908 various: use long options, rework usages 2013-07-09 06:59:30 +00:00
Dubiousjim db1314ac55 various: move conf-loading and i/o to functions 2013-07-09 06:44:01 +00:00
Dubiousjim 811a215018 various: tweak opening comments, whitespace
Also remove incomplete efforts at listing "Depends on: ..."
2013-07-08 14:49:36 +00:00
Dubiousjim e1339a9b77 various: add descriptions, attribution, license 2013-07-08 14:48:56 +00:00
Natanael Copa 0a11c5e3c1 apkgrel: optionally bump pkgrel when git is unclean 2012-02-13 13:49:25 +00:00
Natanael Copa dfac60a00b apkgrel: new tool for bumping pkgrel 2010-12-30 14:21:49 +00:00