mirror of
https://github.com/systemd/systemd
synced 2026-03-22 23:04:52 +01:00
Compare commits
3 Commits
3f49d1faf5
...
a2efdaac07
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a2efdaac07 | ||
|
|
e5d86ebed5 | ||
|
|
95b63c755b |
@ -39,4 +39,5 @@ jobs:
|
||||
targets:
|
||||
- fedora-rawhide-aarch64
|
||||
- fedora-rawhide-i386
|
||||
- fedora-rawhide-ppc64le
|
||||
- fedora-rawhide-x86_64
|
||||
|
||||
@ -278,6 +278,7 @@ conf.set_quoted('USER_PRESET_DIR', userpresetdir)
|
||||
conf.set_quoted('VENDOR_KEYRING_PATH', join_paths(rootlibexecdir, 'import-pubring.gpg'))
|
||||
|
||||
conf.set('ANSI_OK_COLOR', 'ANSI_' + get_option('ok-color').underscorify().to_upper())
|
||||
conf.set10('ENABLE_URLIFY', get_option('urlify'))
|
||||
conf.set10('ENABLE_FEXECVE', get_option('fexecve'))
|
||||
conf.set10('MEMORY_ACCOUNTING_DEFAULT', memory_accounting_default)
|
||||
conf.set('STATUS_UNIT_FORMAT_DEFAULT', 'STATUS_UNIT_FORMAT_' + status_unit_format_default.to_upper())
|
||||
|
||||
@ -444,6 +444,8 @@ option('ok-color', type : 'combo',
|
||||
'highlight-cyan', 'highlight-white'],
|
||||
value : 'green',
|
||||
description: 'color of the "OK" status message')
|
||||
option('urlify', type : 'boolean', value : 'true',
|
||||
description : 'enable pager Hyperlink ANSI sequence support')
|
||||
option('fexecve', type : 'boolean', value : 'false',
|
||||
description : 'use fexecve() to spawn children')
|
||||
|
||||
|
||||
@ -19,6 +19,7 @@
|
||||
#include "util.h"
|
||||
|
||||
bool urlify_enabled(void) {
|
||||
#if ENABLE_URLIFY
|
||||
static int cached_urlify_enabled = -1;
|
||||
|
||||
if (cached_urlify_enabled < 0) {
|
||||
@ -32,6 +33,9 @@ bool urlify_enabled(void) {
|
||||
}
|
||||
|
||||
return cached_urlify_enabled;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
int terminal_urlify(const char *url, const char *text, char **ret) {
|
||||
|
||||
@ -4,5 +4,6 @@ set -eu
|
||||
|
||||
tag="$(git describe --abbrev=0 --match 'v[0-9][0-9][0-9]')"
|
||||
git log --pretty=tformat:%aN --author=noreply@weblate.org --invert-grep -s "${tag}.." | \
|
||||
sed 's/ / /g; s/--/-/g; s/.*/ \0,/' |
|
||||
sort -u
|
||||
sed 's/ / /g; s/--/-/g; s/.*/\0,/' |
|
||||
sort -u | tr '\n' ' ' | sed -e "s/^/Contributions from: /g" -e "s/,\s*$/\n/g" | fold -w 72 -s | \
|
||||
sed -e "s/^/ /g" -e "s/\s*$//g"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user