Community Repository Update - added size and md5 to index file and test against it.

Joachim Steiger roh at openmoko.org
Tue Aug 19 07:33:39 CEST 2008


multiverse at projects.openmoko.org wrote:
> --- /home/multiverse/bin/file-index.txt	2008-08-19 05:47:00.000000000 +0200
> +++ /home/multiverse/bin/ipk_list	2008-08-19 05:47:48.000000000 +0200
> @@ -1,4 +1,8 @@
>  /var/lib/gforge/download/comicreader/community-repository/CC-comic/comic-book-cc-right_0.1_all.ipk 188760 f3366d33c1dd7a57d3501da6ceacaab5
>  /var/lib/gforge/download/comicreader/community-repository/comicreadersvn43/comic-reader_svnr43.ipk 140340 31bb4b8fe16021cb632b537cd7f84a0b
>  /var/lib/gforge/download/diversity/community-repository/diversity-wifisvn509/diversity-wifi-svn509.ipk 104804 8d8816013cbae7ebd8a28a57d6d38561
> +/var/lib/gforge/download/mofi/community-repository/0.02-STABLE/mofi_0.02_armv4t.ipk 116976 20f8e6af3f3475d6874d6b17bf1cba63
> +/var/lib/gforge/download/mofi/community-repository/0.03-BETA/mofi_0.03_armv4t.ipk 69245 343299b4b55fa7e928d5b7206a737f07
> +/var/lib/gforge/download/moko-sudoku/community-repository/moko-sudoku_0.2/moko-sudoku_0.2_armv4t.ipk 21348 d53427cb2889dfeb909824926bec3ef8
>  /var/lib/gforge/download/moko-sudoku/community-repository/moko-sudoku_0.21/moko-sudoku_0.21_armv4t.ipk 21358 ae7687683b21f66211fc08c77bf00625
> +/var/lib/gforge/download/orrery/community-repository/orreryversion1.1/orrery_1.1_arm_2008.8.ipk 398220 6bdea3f3ed8b833a3d77bdfab4eb61db

hi there

as you can see the file in svn now includes the size in byte and a md5
hash to make sure no files got corrupted in transfer or were tampered
with after adding them to the feed.

currently the script on downloads.openmoko.org will bail out and send a
mail, but not put the files in question into the feed or regenerate it.

see "Subject: Multiverse Feed Error - size or md5 mismatch" for an
example of a error-mail

kind regards

-- 

Joachim Steiger
Openmoko Central Services



More information about the community-repository mailing list