Fossil

Check-in [1b5513cb]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added an "Addenda" section as a place for describing the file format algorithms in more detail (hints for implementors).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:1b5513cba379ce5157d654d8a51fa253f9583604
User & Date: stephan 2013-08-13 12:39:25
Context
2013-08-13
12:47
Added missing name anchor and section number. Minor text improvements. check-in: 04764ae2 user: stephan tags: trunk
12:39
Added an "Addenda" section as a place for describing the file format algorithms in more detail (hints for implementors). check-in: 1b5513cb user: stephan tags: trunk
09:14
commit not longer requires a comment (it uses a placeholder) when in dry-run mode, per ML request. check-in: 75e04250 user: stephan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to www/fileformat.wiki.

729
730
731
732
733
734
735


































<td align=center><b>R</b></td>
<td align=center><b>R</b></td>
<td align=center><b>R</b></td>
<td align=center><b>R</b></td>
<td align=center><b>R</b></td>
</tr>
</table>









































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
<td align=center><b>R</b></td>
<td align=center><b>R</b></td>
<td align=center><b>R</b></td>
<td align=center><b>R</b></td>
<td align=center><b>R</b></td>
</tr>
</table>


<h2>Addenda</h2>

This section contains additional information which may be useful when
implementing algorithms described above.

<h3>R Card Hash Calculation</h3>

Given a manifest file named <tt>MF</tt> the following Bash shell code
demonstrates how to compute the value of the R card in that manifest.
This example uses manifest [28987096ac]. Lines starting with <tt>#</tt> are
shell input, and other lines are output.

<nowiki><pre>
# head MF
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

C Make\sthe\s"clearsign"\sPGP\ssigning\sdefault\sto\soff.
D 2010-02-23T15:33:14
F BUILD.txt 4f7988767e4e48b29f7eddd0e2cdea4555b9161c
F COPYRIGHT-GPL2.txt 06877624ea5c77efe3b7e39b0f909eda6e25a4ec
...

# grep '^R ' MF
R c0788982781981c96a0d81465fec7192

# for i in $(awk '/^F /{print $2}' MF); do \
  echo $i $(stat -c '%s' $i); \
  cat $i; \
done | md5sum
c0788982781981c96a0d81465fec7192  -
</pre></nowik>