# Wildcards in unpacked.cern.ch

**URL:** <https://wlcg-discourse.web.cern.ch/t/wildcards-in-unpacked-cern-ch/55>\
**Category:** Image Distribution\
**Created:** [February 17, 2020, 11:07am UTC](https://wlcg-discourse.web.cern.ch/t/wildcards-in-unpacked-cern-ch/55 "2020-02-17T11:07:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smosciat](https://wlcg-discourse.web.cern.ch/letter_avatar_proxy/v4/letter/s/cdc98d/32.png) [@smosciat](https://wlcg-discourse.web.cern.ch/u/smosciat)\
**Post date:** [February 17, 2020, 11:07am UTC](https://wlcg-discourse.web.cern.ch/t/wildcards-in-unpacked-cern-ch/55/1 "2020-02-17T11:07:20Z")

</div>

We are starting to roll out supports for `*` wildcard in unpacked.cern.ch and DUCC.  
The code is already updated, so we are already ingesting some images using the `*` glob.

## Examples

One example is the following from our friends in `cms`.

`https://registry.hub.docker.com/cmssw/cms:rhel7-m*`

This ingest all the tags that start with `rhel7-m`, so `rhel7-m201911`, `rhel7-m202001` and `rhel7-m202002` at the moment.

It is possible to use the wildcard to match also prefix and not just suffixes.

Of course is possible to use the wildcard also to match all the tags of an image.

`https://registry.hub.docker.com/cmssw/cms:*`

## Internal details

Internally we use a regex engine, we convert `*` to `.*` and match the regex to all the tags of the images.  
This means that we could also add support for the `+` wildcard.

## Tests

From preliminary tests, it seems that everything is working fine, if somebody as an image to ingest it would be very interesting to try that as well.

The relevant PR is this one for the interested: [https://github.com/cvmfs/cvmfs/pull/2490](https://github.com/cvmfs/cvmfs/pull/2490)

---

<div class="post-metadata">

**Author:** ![aforti](https://wlcg-discourse.web.cern.ch/user_avatar/wlcg-discourse.web.cern.ch/aforti/32/16_2.png) [@aforti](https://wlcg-discourse.web.cern.ch/u/aforti)\
**Post date:** [February 19, 2020, 6:44pm UTC](https://wlcg-discourse.web.cern.ch/t/wildcards-in-unpacked-cern-ch/55/2 "2020-02-19T18:44:45Z")

</div>

Hi,

Lukas has added all the atlas athena and analysisbase images. It seems to work well. There is now some manpower to produce at least some of the production releases automatically in the future. I thought we had to add something in the process to put them in CVMFS but perhaps this is enough.
