Open ghost opened 5 years ago
Looks like up to no nobody missed it :)
I will try to add something like this:
But currently the interface doesn't contain enough information
virtual void dwnldProgress(const Url & uri, int value = -1, long rate = -1)
/**
notes:
// src/output/OutNormal.cc
void OutNormal::dwnldProgress( const Url & uri, int value, long rate, long remaining_size)
{
// ...
if ( rate > 0 )
{
outstr.rhs << " (" << ByteCount(rate) << "/s)";
outstr.rhs << "(ETA 01m54s)" << remaining_size;
}
}
Provided the expected files size is currently available within the libzypp media backend at all, changing the callback to ship it would require a binary incompatible change to libzypp. As we're about to rewrite the media backend, we don't like to put more effort into the old API. If zypper does not know the file size, the ETA must wait.
Any updates on this? coming from Ubuntu and really missing this feature
This is pretty simple and handy feature, was surprised when I couldn't find any previous issues about it
The size of individual packages and total download size is already calculated in addition to download speed, is there a technical reason behind not implementing it?
like this:
<package name>..........<60%>====[\ (2 MiB/s)][ETA 54s]