Files
podman/libpod
Sascha Grunert 22f55ce406 Fix directory pull image name for OCI images
This is a breaking change and modifies the resulting image name when
pulling from an directory via `oci:...`.

Without this patch, the image names pulled via a local directory got
processed incorrectly, like this:

```
> podman pull oci:alpine
> podman images
REPOSITORY      TAG      IMAGE ID       CREATED       SIZE
localhost/oci   alpine   4fa153a82426   5 weeks ago   5.85 MB
```

We now use the same approach as in the corresponding [buildah fix][1] to
adapt the behavior for correct `localhost/` prefixing.

[1]: https://github.com/containers/buildah/pull/1800

After applying the patch the same OCI image pull looks like this:

```
> ./bin/podman pull oci:alpine
> podman images
REPOSITORY         TAG      IMAGE ID       CREATED       SIZE
localhost/alpine   latest   4fa153a82426   5 weeks ago   5.85 MB
```

End-to-end tests have been adapted as well to cover the added scenario.

Relates to: https://github.com/containers/buildah/issues/1797

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-19 12:49:59 +02:00
..
2017-11-01 11:24:59 -04:00
2019-07-03 15:41:33 -05:00
2019-07-11 09:13:06 -05:00
2019-01-18 15:43:11 -06:00
2019-07-08 09:18:11 -05:00
2019-07-11 09:13:06 -05:00
2019-07-07 08:54:20 -05:00
2019-07-22 15:57:23 -04:00
2019-06-25 13:51:24 -05:00
2019-08-02 20:05:27 -05:00
2019-07-22 15:57:23 -04:00
2019-07-23 10:13:04 -05:00
2019-07-22 15:57:23 -04:00
2019-06-27 07:56:24 -05:00
2019-06-25 13:51:24 -05:00
2019-06-25 13:51:24 -05:00
2019-06-25 13:51:24 -05:00
2019-06-25 13:51:24 -05:00
2019-07-08 09:18:11 -05:00
2019-07-21 14:22:39 -05:00
2019-06-25 13:51:24 -05:00
2019-06-25 13:51:24 -05:00
2019-07-30 12:25:36 -04:00
2019-06-25 13:51:24 -05:00
2018-03-14 20:21:31 +00:00
2019-06-25 13:51:24 -05:00
2019-07-08 09:18:11 -05:00
2019-02-21 10:51:42 -05:00