You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Post or link the snap file as a hole, it's difficult to help without it.
paddor
changed the title
core20: part is not rebuild even if source file has changed
core20: part is not rebuilt even if source file has changed
Jan 14, 2025
Since this is so fundamental, could you just tell me if this is something that's supposed to work or not? If the content of a source file of a part is changes (would result in a different checksum), shouldn't the whole part be rebuilt?
Expected behaviour
Part should be rebuilt if the content of its source .tar.gz or .tar file has changed.
Steps to reproduce the problem
Create a bundle.tar like this:
tar -c Gemfile Gemfile.lock vendor/cache > bundle.tar
Have a part like this:
Build a snap:
snapcraft --use-lxd --debug
Update the bundle.tar (e.g. add a gem to the Gemfile and
bundle && bundle pack && tar -c Gemfile Gemfile.lock vendor/cache > bundle.tar
Try to build another snap:
Specs
The text was updated successfully, but these errors were encountered: