foo2zjs live ebuild lists the same files in URIS variable, this results in unnecessary download of these files multiple times. Combined with the lack of FOO2ZJS_DEVICES use flag, download of the driver takes unnecesarrily long time. The ebuild should filter the downloaded files by device, and it should download them only once. Reproducible: Always
(In reply to comment #0) > foo2zjs live ebuild lists the same files in URIS variable, this results in > unnecessary download of these files multiple times. I don't see any URIS reference in the live ebuild. > Combined with the lack of FOO2ZJS_DEVICES use flag, download of the driver > takes unnecesarrily long time. That's correct, this is the live ebuild so we can't magically predict the list of devices, and it does change. > The ebuild should filter the downloaded files by device, and it should download > them only once. Every time the live ebuild is emerged, we download everything from scratch. We can't do anything smarter because upstream changes tarballs in place. However, during one emerge no file is downloaded more than once.
(In reply to comment #1) > (In reply to comment #0) > > foo2zjs live ebuild lists the same files in URIS variable, this results in > > unnecessary download of these files multiple times. > > I don't see any URIS reference in the live ebuild. Sorry, I must have mistakenly looked at non-live ebuild. > > Every time the live ebuild is emerged, we download everything from scratch. We > can't do anything smarter because upstream changes tarballs in place. However, > during one emerge no file is downloaded more than once. I see the following duplicate downloads, but the problem actually lies within the "getweb" script. --2011-06-03 14:28:01-- http://foo2zjs.rkkda.com/firmware/sihpP1005.tar.gz --2011-06-03 14:28:18-- http://foo2zjs.rkkda.com/firmware/sihpP1005.tar.gz --2011-06-03 14:28:44-- http://foo2zjs.rkkda.com/icm/dl2300.tar.gz --2011-06-03 14:29:43-- http://foo2zjs.rkkda.com/icm/dl2300.tar.gz --2011-06-03 14:31:41-- http://foo2hp.rkkda.com/icm/hpclj2600n.tar.gz --2011-06-03 14:32:13-- http://foo2hp.rkkda.com/icm/hpclj2600n.tar.gz
(In reply to comment #2) > I see the following duplicate downloads, but the problem actually lies within > the "getweb" script. > > --2011-06-03 14:28:01-- http://foo2zjs.rkkda.com/firmware/sihpP1005.tar.gz > > --2011-06-03 14:28:18-- http://foo2zjs.rkkda.com/firmware/sihpP1005.tar.gz > > --2011-06-03 14:28:44-- http://foo2zjs.rkkda.com/icm/dl2300.tar.gz > > --2011-06-03 14:29:43-- http://foo2zjs.rkkda.com/icm/dl2300.tar.gz > > --2011-06-03 14:31:41-- http://foo2hp.rkkda.com/icm/hpclj2600n.tar.gz > > --2011-06-03 14:32:13-- http://foo2hp.rkkda.com/icm/hpclj2600n.tar.gz Ah, I see. Indeed, that's not very effective. Please report that upstream (if that doesn't work, please let me know).