snapcraft uploaded snap and then told me same content had already been uploaded

Bug #1683536 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Triaged
Wishlist
Unassigned

Bug Description

 $ snapcraft push apport-bdmurray_2017.04.17.3_amd64.snap
Pushing 'apport-bdmurray_2017.04.17.3_amd64.snap' to the store.
Uploading apport-bdmurray_2017.04.17.3_amd64.snap [ ] 0%
Uploading apport-bdmurray_2017.04.17.3_amd64.snap [========================================================================================================] 100%Error while processing...|
The store was unable to accept this snap.
  - binary_sha3_384: A file with this exact same content has already been uploaded

It would have been nice if I didn't have to wait for the snap to upload before getting this error message.

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Snapcraft isn't the one telling you this, it's the store. The store doesn't know the hash of the snap until it's been uploaded, which is why you had to upload it first. In order for this to happen sooner, the store will need to grow an API for it.

Changed in snapcraft:
status: New → Confirmed
importance: Undecided → Wishlist
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.