hep-gc/repoman — Issue #85: image names must allow periods.
Author: crlb
Created: 2012-02-07 18:38:14+00:00
State: open

We already have many images within the production repository whose names contain periods. Also, I think a better error message would be "Error: Image name parameter contains invalid characters. Use only alphanumeric characters and the following special characters: ._-

[root@elephant56 ~]# repoman si rjs-atlas-ztt-v5-kvm.2
Error: Invalid image name syntax. Please see "repoman help save-image" for acceptable image name syntax.
[root@elephant56 ~]# repoman help si
usage: repoman save-image [-u {true,false}] [--clean] [-c comment] [-d value]
[-f] [--gzip] [-h value] [-o user]
[--os_arch {x86,x86_64}] [--os_type value]
[--os_variant value] [--resize SIZE] [--verbose]
image

Takes a snapshot of your running system's filesystem (except paths listed
under system-excludes and user-excludes in repoman configuration file). If
name is not in your user's domain, an image-slot entry is created with the
supplied metadata information. If name does exist, the image-slot is updated
with any given metadata. Finally, the snapshot is uploaded to the image-slot
on the repoman repository.

positional arguments:
image The name of the newly created or existing image-slot
on the repository. This will be used to reference the
image when running other repoman commands. It can only
contain ([a-Z][0-9][_][-]) characters.