After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 764059 - local pulls import unnecessary objects
local pulls import unnecessary objects
Status: RESOLVED FIXED
Product: ostree
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: OSTree maintainer(s)
OSTree maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-03-23 08:43 UTC by Alexander Larsson
Modified: 2016-03-23 19:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
pull local: Don't import objects we already have (1.16 KB, patch)
2016-03-23 08:43 UTC, Alexander Larsson
accepted-commit_now Details | Review

Description Alexander Larsson 2016-03-23 08:43:26 UTC
When doing a ostree pull from a local source that *only* had the objects that were needed for the pull to succeed (i.e. not the objects that were already available in the target repo) the pull failed becaused it tried to import already available objects.
Comment 1 Alexander Larsson 2016-03-23 08:43:54 UTC
Created attachment 324576 [details] [review]
pull local: Don't import objects we already have

In particular, I noticed this because the pull failed when trying to
pull from a shallow repo which only had the new objects that was
needed.
Comment 2 Colin Walters 2016-03-23 12:02:34 UTC
Review of attachment 324576 [details] [review]:

LGTM, thanks.