pacman/scripts/libmakepkg
Eli Schwartz ac0e21a6df libmakepkg: optimize get_protocol to always return proto, not proto+uri
e.g. git+https:// is commonly used for git repositories cloned over
HTTPS, but we assume a proto with a plus in it is actually a protocol
followed by some URI handler. So we might as well simplify the return
value and not have to always add glob matching everywhere when checking
the proto in use.

This is required in order to use the proto directly in function calls,
which will be used in a followup patch.

Signed-off-by: Allan McRae <allan@archlinux.org>
2019-01-22 09:38:21 +10:00
..
buildenv Split prepare_buildenv() to libmakepkg 2018-11-27 22:48:43 +10:00
executable libmakepkg: simplify splitting command output into array 2019-01-10 17:03:04 +10:00
integrity libmakepkg: optimize get_protocol to always return proto, not proto+uri 2019-01-22 09:38:21 +10:00
lint_config libmakepkg: add routine for linting $SOURCE_DATE_EPOCH 2019-01-10 17:01:30 +10:00
lint_package Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
lint_pkgbuild libmakepkg: make gettext replacements more templated 2019-01-22 07:32:41 +10:00
source Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
tidy Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
util libmakepkg: optimize get_protocol to always return proto, not proto+uri 2019-01-22 09:38:21 +10:00
.gitignore libmakepkg: fix .gitignore to simply ignore all generated .sh files 2017-12-07 15:37:20 +10:00
buildenv.sh.in Split prepare_buildenv() to libmakepkg 2018-11-27 22:48:43 +10:00
executable.sh.in libmakepkg/executable: don't rely on scoped value of $ret to flag outcomes 2018-12-04 17:22:27 +10:00
integrity.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
lint_config.sh.in libmakepkg: Add basic rules to lint makepkg.conf variables 2018-03-15 14:34:13 +10:00
lint_package.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
lint_pkgbuild.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
meson.build meson: remove useless mkdir -p 2018-12-12 10:12:41 +10:00
source.sh.in libmakepkg: optimize get_protocol to always return proto, not proto+uri 2019-01-22 09:38:21 +10:00
srcinfo.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
tidy.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
util.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00