Skip to content

Commit ec9a5e7

Browse files
committed
Documented -affected-by and -blocked-by
1 parent 42b7e36 commit ec9a5e7

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

user_guide.adoc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,6 +1589,31 @@ seq:
15891589
----
15901590
====
15911591

1592+
[[affected-by]]
1593+
==== `-affected-by`
1594+
Sometimes your spec cannot be implemented optimally because of
1595+
missing features and bugs in Kaitai Struct Compiler. You can
1596+
leave a machine-readable reference to a bug, so it is possible
1597+
to implement a bot, tracking the specs affected, generating reports
1598+
and notifying specs authors when the bug affecting them is fixed.
1599+
1600+
If the spec cannot be implemented at all because of a bug/missing
1601+
feature, you shouldn't use `-affected-by`, instead you should use
1602+
`-blocked-by`. It makes sense to track it only in PRs, since we
1603+
don't accept broken specs to KSF.
1604+
1605+
* Leave just an issue identifier (on GitHub it is just an issue
1606+
number, not the internal one, but the one you usually see),
1607+
if the bug is in kaitai_struct repo. (The type may be a string
1608+
or integer.)
1609+
* If the bug is in another repo in kaitai-io, leave a repo
1610+
name and an issue number separated by a space. (The type is string.)
1611+
* If the bug is in another repo on the same code hosting platform,
1612+
prefix repo name with its owner name and a slash.
1613+
* If the bug is in a repo on another platform, give its full URI.
1614+
* If the issue is affected by multiple bugs, use an array.
1615+
1616+
15921617
[[verbose-enums]]
15931618
==== Verbose enums
15941619

0 commit comments

Comments
 (0)