Ticket #1803 (assigned defect)

Opened 20 months ago

Last modified 16 months 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@… HasPatchForReview: yes
Blocked By: Estimated Completion (week):
PatchReviewResult: Blocking:
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 20 months ago.
Adding size info to package

Change History

Changed 20 months 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

Changed 20 months ago by tick

  • cc graeme@… added; greame@… removed

Sorry Graeme,

I typo your address.

Thanks
Tick

Changed 20 months 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

Changed 20 months ago by tick

  • status changed from new to accepted

Okay I will take a look of that.
Thanks.

Changed 20 months ago by tick

  • keywords opkg-util, added; installer, assassin, removed
  • component changed from Assassin to Distro
  • severity changed from blocker to normal

Changed 20 months ago by tick

Adding size info to package

Changed 20 months ago by tick

I think this patch shall solve this problem

Changed 20 months ago by tick

  • status changed from accepted to in_testing

commit in svn as 4595

Changed 20 months ago by will

  • milestone changed from Om2008.8 to Om2008.9

Changed 19 months ago by zecke

  • keywords size, HasPatch added; size removed

Changed 19 months 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)

Changed 19 months 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

Changed 19 months ago by wendy_hung

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

Changed 19 months ago by regina_kim

  • component changed from Distro to Installer

Changed 19 months ago by regina_kim

  • component changed from Installer to Distro

Changed 19 months 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!! :)

Changed 19 months ago by wendy_hung

  • cc testing@… added

Changed 19 months 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.

Changed 19 months ago by tick

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

Changed 19 months 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.

Changed 19 months 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! :)

Changed 19 months 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.

Changed 18 months ago by will

  • milestone changed from Om2008.9 to Om2008.10

Changed 17 months ago by roh

  • haspatch set

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

Changed 17 months 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.

Changed 17 months ago by wendy_hung

  • owner set to tick
  • status changed from in_testing to assigned

[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

Changed 17 months ago by wendy_hung

  • keywords HasPatch, Om2008.11 added; HasPatch removed

Changed 16 months 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.