Re: [Rpm-maint] [rpm-software-management/rpm] Document trailer invariants (#1481)

2024-01-22 Thread Panu Matilainen
Closed #1481 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1481#event-11554939051 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint

Re: [Rpm-maint] [rpm-software-management/rpm] Document trailer invariants (#1481)

2024-01-22 Thread Panu Matilainen
The region tag and the trailer are now documented in #2861. I'm not going to document common sense like no data can overlap. This is also not a wishlist, refining further limitations belongs to v6. -- Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Document trailer invariants (#1481)

2021-01-26 Thread Demi Marie Obenour
Some other invariants I would like to enforce for packages: - Alignment padding in a package must be kept to a minimum and must be zeroed. - A header in a package may not have more than one tag data entry with a given tag. - Tag data entries in a package must be sorted. I would love to require

Re: [Rpm-maint] [rpm-software-management/rpm] Document trailer invariants (#1481)

2021-01-25 Thread Panu Matilainen
It's not just the region trailer that is undocumented, it's the whole v4 header format with the immutable region and all. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[Rpm-maint] [rpm-software-management/rpm] Document trailer invariants (#1481)

2021-01-09 Thread Demi Marie Obenour
When working on #1471 I found that the invariants of the trailer are not documented anywhere I could find. I expected them to be as follows: - The trailer must come after the last index entry in the contiguous region. - The trailer must not overlap with any other header entry, whether in the