Ticket #1803 (assigned defect)

Opened 10 years ago

Last modified 9 years ago

Installer reports all package Download size as 0 bytes

Reported by: peepsalot Owned by: roh
Priority: normal Milestone: Om2008.10
Component: Distro Version: Om2008.8
Severity: normal Keywords: opkg-util, size, HasPatch, Om2008.11
Cc: testing@…, julian_chu@…, graeme@…, zecke@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: yes PatchReviewResult:
Reproducible:

Description

When viewing packages in the installer, they all appear to show a Download size of 0 Bytes.

Attachments

adding_size.patch (1.1 KB) - added by tick 10 years ago.
Adding size info to package

Change History

comment:1 Changed 10 years ago by tick

  • Cc julian_chu@…, greame@…, zecke@… added

Hi Greame,

Since we switch to opkg-util, it's seem the size tag disappear again. Would you please patch that again on the SVN.

http://svn.openmoko.org/trunk/src/host/opkg-utils/

Thanks,
Tick

comment:2 Changed 10 years ago by tick

  • Cc graeme@… added; greame@… removed

Sorry Graeme,

I typo your address.

Thanks
Tick

comment:3 Changed 10 years ago by graeme

You guys have totally re-written opkg.py from the looks of things, Ive no idea where the size calculations belong.

http://git.openmoko.org/?p=openmoko.git;a=commitdiff;h=9d67cb75bc24844be4e99abfc7699353026169c9

Is the commit diff where I put them back into ipkg.py

comment:4 Changed 10 years ago by tick

  • Status changed from new to accepted

Okay I will take a look of that.
Thanks.

comment:5 Changed 10 years ago by tick

  • Keywords opkg-util, added; installer, assassin, removed
  • Component changed from Assassin to Distro
  • Severity changed from blocker to normal

Changed 10 years ago by tick

Adding size info to package

comment:6 Changed 10 years ago by tick

I think this patch shall solve this problem

comment:7 Changed 10 years ago by tick

  • Status changed from accepted to in_testing

commit in svn as 4595

comment:8 Changed 10 years ago by will

  • Milestone changed from Om2008.8 to Om2008.9

comment:9 Changed 10 years ago by zecke

  • Keywords size, HasPatch added; size removed

comment:10 Changed 10 years ago by wendy_hung

  • Status changed from in_testing to assigned

tested with the image below:
kernel:20080826-asu.stable-uImage.bin
root file system:20080826-asu.stable-rootfs.jffs2

Sorry tick, the package size still show as 0 bytes.
Only those three qtopia games show the package size(Snake, minesweep, fifteen)

comment:11 Changed 10 years ago by tick

  • Status changed from assigned to in_testing

I think there are old files(Created before I fixed that) and not updated.
You may check the repository in Testing
It should works :)

Tick

comment:12 Changed 10 years ago by wendy_hung

Hi Tick, if we check "the repository in Testing" will change those package as with package size?

comment:13 Changed 10 years ago by regina_kim

  • Component changed from Distro to Installer

comment:14 Changed 10 years ago by regina_kim

  • Component changed from Installer to Distro

comment:15 Changed 10 years ago by wendy_hung

  • Status changed from in_testing to assigned

Hi Tick, I can't remember how long times ago our download packages have size. Like the maps and the games, but now is just some of them have size. I think it's not that convince we don't need every packages have package size...

Tested with today's image, i notice that almost only qtopia's package have package size, please tell us how we can check this.
Thanks!! :)

comment:16 Changed 10 years ago by wendy_hung

  • Cc testing@… added

comment:17 Changed 10 years ago by tick

  • Status changed from assigned to in_testing

please check the repository in Testing.
thanks

Many of the packages in Om2008.8 are not rebuilded and so that not updated.

comment:18 Changed 10 years ago by tick

PS. You won't see this on Om2008.9

comment:19 Changed 10 years ago by julian_chu

I force builder to re-generate the Package files. Now it shall contains Size Tags. It will sync to downloads.om.org tomorrow.

comment:20 Changed 10 years ago by wendy_hung

Coooool!!
Thanks Tick and Julian!

I just test the Installer, it still left some packages still don't have size:
comic-reader, comic_book_cc-comic, moko-sudoku, om view, Diversity-wifi.

I think I can close this bug soon, thank you guys! :)

comment:21 Changed 10 years ago by regina_kim

  • Owner tick deleted
  • Status changed from in_testing to assigned

hey tick.
we will put this assign again. when it really ready then put in testing please.

comment:22 Changed 10 years ago by will

  • Milestone changed from Om2008.9 to Om2008.10

comment:23 Changed 10 years ago by roh

  • HasPatchForReview set

BatchModify?: set HasPatchForReview? on 'keyword' contains 'patch'

comment:24 Changed 9 years ago by john_lee

  • Status changed from assigned to in_testing

with the workflow really sort out now, please test the stuffs in 'testing' repo and see if this ticket is still valid.

comment:25 Changed 9 years ago by wendy_hung

  • Status changed from in_testing to assigned
  • Owner set to tick

[testing image]
test date:2008.11.05
update date:2008.11.05

Why there's some packages show up [download size:?bytes] ? Is that normal?
-diversity-wifi
-comic-reader
-comic_book_cc-comic
-moko-sudoku
-om-view

comment:26 Changed 9 years ago by wendy_hung

  • Keywords HasPatch, Om2008.11 added; HasPatch removed

comment:27 Changed 9 years ago by tick

  • Owner changed from tick to roh

Hi Roh,

It's still have this issue in community-repository. Packages in Multiverse lacks of packages size.

Would you please fix this.

By the way, what's the status of the Multiverse? I heard from Marek that you had discussed this with Sean. Would you kindly tell us what's the plan?

Are we not providing Multiverse any more?
If so, please send a mail out remove all the scheme and remove the repository.
Then we will remove the package that setting Multiverse.

Regards,
Tick

Note: See TracTickets for help on using tickets.