Delta error is shown on first push, can be avoided?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
For the first time I create a snap, register it and push.
Messages are:
"""
$ snapcraft push foobar49_
Pushing foobar49_
Preparing to push '/home/
Found cached source snap /home/facundo/
Generating xdelta3 delta for foobar49_
Error generating delta: delta saving is less than 10%.
Falling back to pushing full snap...
Pushing foobar49_
Processing...|
Ready to release!
Revision 1 of 'foobar49' created.
"""
Why the "Error generating delta: delta saving is less than 10%."... it's a first push, how a delta can be built? against what? if no delta is possible, this "Error" should not be shown to the user...
it is also not an error at all, it is an artificially picked threshold, we should not treat it as an error but use more proper wording altogether ...