Daan De Meyer
944faf6598
Make vcs-tag do something useful for non-developer mode as well
...
When building packages of arbitrary commits of systemd-stable,
distributors might want to include a git sha of the exact commit
they're on. Let's extend vcs-tag a little to make this possible.
If we're on a commit matching a tag, don't generate a git sha at all.
If we're not on a commit matching a tag, generate a vcs tag as usually.
However, if we're not in developer mode, don't append a '^' if the tree
is dirty to accomodate package builds applying various patches to the
tree which shouldn't be considered as "dirty" edits.
2024-07-22 12:04:40 +02:00
James Coglan
ce9b6819d6
resolved: tests for dns_packet_dup()
2024-07-22 10:48:52 +01:00
Zbigniew Jędrzejewski-Szmek
df5b65e15d
shared/exec-util: add macro to autoinsert sentinel for fork_agent()
2024-07-22 11:48:26 +02:00
Zbigniew Jędrzejewski-Szmek
52031044bf
repart: use new style for pointers in function signatures
2024-07-22 11:48:26 +02:00
Zbigniew Jędrzejewski-Szmek
262fa6864b
selinux-util: add missing char in comment
2024-07-22 11:48:26 +02:00
James Coglan
d6f1f962fe
resolved: tests for dns_packet_patch_max_udp_size()
2024-07-22 10:47:59 +01:00
James Coglan
b81b8faa43
resolved: tests for dns_packet_append_answer(); LOC records
2024-07-22 10:47:25 +01:00
James Coglan
346b0d3b18
resolved: tests for dns_packet_append_answer(); TXT records
2024-07-22 10:46:40 +01:00
James Coglan
053ec2c5a2
resolved: tests for dns_packet_append_answer(); NAPTR records
2024-07-22 10:45:34 +01:00
James Coglan
3c7ede7b88
resolved: tests for dns_packet_append_answer(); SVCB and HTTPS records
2024-07-22 10:44:02 +01:00
Zbigniew Jędrzejewski-Szmek
1c85d56349
tools/fetch-distro: switch to the target branch
...
We switch opensuse from "factory" to "devel". I had an old checkout that was
using the stale branch.
2024-07-22 11:38:08 +02:00
Zbigniew Jędrzejewski-Szmek
8e84e15445
tools/fetch-distro: only fetch the configured branch
...
We don't need the other branches. This mostly cuts down on the
noise in output. But add '-v' to show what we're fetching.
2024-07-22 11:38:08 +02:00
Zbigniew Jędrzejewski-Szmek
82c459f910
tools/update-distro-hash: rename, fetch the repository if appropriate
...
Let's rename the tool to tools/fetch-distro. It's useful to be able to fetch
the distro directly. But when that functionality is added, the old name is
confusing.
Now --update/-u must be specified to update the commits.
--reference-if-able is used to speed up the clone of debian.
It saves about 75% of the download.
2024-07-22 11:38:08 +02:00
James Coglan
6ff5ca8e09
resolved: tests for dns_packet_append_answer(); HINFO records
2024-07-22 10:37:44 +01:00
James Coglan
945a75c88c
resolved: tests for dns_packet_append_answer(); RRSIG records
2024-07-22 10:36:56 +01:00
Collin L
733518b413
zsh/_networkctl: remove duplicated argument for completion ( #31926 )
...
It is unnecessary, which will mess the completion.
2024-07-22 10:36:47 +01:00
James Coglan
1f66bd238f
resolved: tests for dns_packet_append_answer(); SRV records
2024-07-22 10:35:01 +01:00
James Coglan
bcd218151f
resolved: tests for dns_packet_append_answer(); NS, CNAME, PTR and MX records
2024-07-22 10:34:11 +01:00
James Coglan
1516ebfc02
resolved: tests for dns_packet_append_answer(); single A record
2024-07-22 10:31:11 +01:00
James Coglan
2927f43d2b
resolved: tests for dns_packet_truncate_opt()
2024-07-22 10:30:31 +01:00
James Coglan
b6899784b5
resolved: tests for dns_packet_append_opt()
2024-07-22 10:29:51 +01:00
James Coglan
1ac8f468b6
resolved: tests for dns_packet_append_key() domain name compression
2024-07-22 10:29:13 +01:00
James Coglan
fc838bd42a
resolved: tests for basic usage of dns_packet_append_key()
2024-07-22 10:27:58 +01:00
James Coglan
6bfbacc9b4
resolved: tests for dns_packet_set_flags()
2024-07-22 10:27:00 +01:00
Daan De Meyer
6d9d14e516
Merge pull request #33802 from DaanDeMeyer/packages
...
mkosi: Various packaging improvements
2024-07-22 11:23:22 +02:00
James Coglan
ca93c4fe75
resolved: tests for DNS parameter formatters
2024-07-22 10:21:05 +01:00
James Coglan
6e85e24376
resolved: tests for dns_packet_is_reply_for()
2024-07-22 10:20:58 +01:00
James Coglan
e7e2f01d7b
resolved: tests for dns_packet_validate_{query,reply}()
2024-07-22 10:18:59 +01:00
James Coglan
59e987a0b7
resolved: tests for dns_packet_has_nsid_request()
2024-07-22 10:17:36 +01:00
James Coglan
d6c13c6817
resolved: tests for dns_packet_ede_rcode()
2024-07-22 10:16:59 +01:00
James Coglan
9728540e61
resolved: tests for dns_ede_rcode_is_dnssec()
2024-07-22 10:15:22 +01:00
James Coglan
eedf263bd0
resolved: tests for dns_packet_equal()
2024-07-22 10:15:15 +01:00
James Coglan
e067858bb1
resolved: tests for dns_packet_extract(); parsing LOC records
2024-07-22 10:14:09 +01:00
James Coglan
2dd00dba25
resolved: tests for dns_packet_extract(); parsing TXT records
2024-07-22 10:13:03 +01:00
Mauri de Souza Meneguzzo
a408d44531
shared: log error when execve fail
...
If there is an error with the execv call in fork_agent the
program exits without any meaningful log message. Log the
command and errno so the user gets more information about
the failure.
Fixes : #33418
Signed-off-by: Mauri de Souza Meneguzzo <mauri870@gmail.com >
2024-07-22 10:12:35 +01:00
James Coglan
6cf9767e1c
resolved: tests for dns_packet_extract(); parsing OPT records
...
These tests identify a couple of problems with OPT pseudo-RR parsing.
First, any TTL value with the high bit set is replaced with zero before
checking the record type. For most types this is correct, since TTLs
have the range of signed int32. But for OPT records where the TTL is
repurposed to hold the extended RCODE, EDNS version and flags, it means
that the high bit cannot be used in extended RCODEs. Any RCODE with the
high bit set will be read as zero.
Second, the DNS_PACKET_RCODE() function bit-shifts the extended RCODE by
24 places instead of 20, so that it ends up forming the lower 8 bits of
a 12-bit RCODE, instead of the upper 8 bits as intended.
We intend to fix these issues in other pull requests.
2024-07-22 10:11:51 +01:00
James Coglan
99fe3607ca
resolved: tests for dns_packet_extract(); parsing NAPTR records
2024-07-22 10:09:23 +01:00
James Coglan
b0a0743b71
resolved: tests for dns_packet_extract(); parsing HINFO records
2024-07-22 10:08:35 +01:00
James Coglan
5e663903f3
resolved: tests for dns_packet_extract(); parsing SVCB and HTTPS records
2024-07-22 10:07:03 +01:00
Luca Boccassi
e261f27ef0
Merge pull request #33432 from gregorHerburger/add_IFLA_BR_FDB_MAX_LEARNED_support
...
network: bridge: add support for IFLA_BR_FDB_MAX_LEARNED
2024-07-22 10:06:16 +01:00
James Coglan
c0ae07ec2b
resolved: tests for dns_packet_extract(); parsing RRSIG records
2024-07-22 10:03:32 +01:00
James Coglan
02ea4cb919
resolved: tests for dns_packet_extract(); parsing SRV records
2024-07-22 10:02:46 +01:00
James Coglan
887bc36231
resolved: tests for dns_packet_extract(); handling ANY class/type in answers
2024-07-22 10:01:35 +01:00
James Coglan
3d0df33fc2
resolved: tests for dns_packet_extract(); parsing SOA records
2024-07-22 10:01:02 +01:00
James Coglan
8a5e122d95
resolved: tests for dns_packet_extract(); parsing NS records
2024-07-22 09:59:20 +01:00
James Coglan
0afc219da8
resolved: tests for dns_packet_extract(); parsing A records
2024-07-22 09:57:39 +01:00
James Coglan
326ba6a5b0
resolved: tests for dns_packet_extract(); check handling of self-referential compression pointers
2024-07-22 09:53:17 +01:00
James Coglan
f97d7a6969
resolved: tests for dns_packet_extract(); checking for malformed queries
2024-07-22 09:52:16 +01:00
James Coglan
48b0b8f0cd
resolved: tests for dns_packet_extract(); A and CNAME answers with domain compression
2024-07-22 09:49:01 +01:00
James Coglan
e50e5cffde
resolved: tests for dns_packet_extract(); parsing of queries
2024-07-22 09:47:47 +01:00