snapcraft will not pull, stage and prime new things added after a build

Bug #1593868 reported by keshavbhatt
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

why snapcarft will not stage ,pull and prime new stuffs, if user updated entries in snapcraft.yaml file after a build ???

when it happen -> when a user build its app with snapcraft snap , he finds some library is missing he adds it to snapcraft.yaml he again issue snapcarft snap command .

what happens -> snapcraft outputs stupid information like - already ran. it create snap file .

what a user will expect or think -> he will think snapcraft added all changes he made to snapcraft file and his application should work fine now.

what snapcraft should do -> it should know new entries were added and it should perform pull stage and prime before making snap !!!

don't add or suggest user to clean after adding a new entry in snapcraft file !!
if you will do this , people will start hating it !!! reasons are below :-

1- user may be new to snapcraft , he dont know how it works he will update his snapcraft file to make changes , but our stupid tool doing nothing nor providing any feedback or instructions what user have to do after updating snapcraft.yaml file .

2- user may be adding and removing dependencies or libraries and checking if his application need particular library or not so he will do snapcraft snap so many times , if you will tell him to do snapcraft clean every time he will never pack his application with this packaging format !!! cause this look stupid :D .

3- if you suggest him to clean pull !! may be he is having very slow internet connection at that time or may be he having fast connection, he will never download stuffs again and again (cause he know he is doing stupidity again) and on top of it if his application will not runs due to some reasons like due to missing library or something , he will give up cause he might not having much time to spend with a stupid tool again !!

there may be more cases why people will quit using snapcraft :)

Tags: dirty
Revision history for this message
keshavbhatt (keshavnrj) wrote :
Changed in snapcraft:
status: New → Confirmed
John Lenton (chipaca)
Changed in snapcraft:
status: Confirmed → New
Leo Arias (elopio)
summary: - snapcarft will not pull, stage and prime new stuffs i added to
- snapcarft.yaml file after a build
+ snapcraft will not pull, stage and prime new things added after a build
tags: added: dirty
removed: snap snapcraft snappy ubuntu
Revision history for this message
Leo Arias (elopio) wrote :

Hello keshavbhatt. I'm marking this as a duplicate of a bug that will be fixed in the next release of snapcraft. I think it solves all your problems. Please take a look, and if it is still missing some of your requests, file one bug for each thing that you would like to see added to snapcraft.

Thanks for your report.

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.