Miroslav Suchy msuchy at redhat.com
Thu Nov 28 05:14:23 UTC 2013


On 11/27/2013 08:42 PM, Pierre-Yves Chibon wrote:
> Hi,
>
> Here are some patches for the copr-cli.
>
> - Fix the exception generated when trying to read the copr_url from a
> non-existant configuration file
> - I rework the layout of the copr-cli list command, the table was not scaling
> with projects having large description
> - Add a man page for copr-cli to provide a little more documentation on where
> and how to set the configuration file and what it should contain

Just for the record - we already discuss it on IRC yesterday:
copr-cli already have man page man/copr-cli.1.asciidoc
everything if fine.
I forgot that you have write access, so feel free to push it.

> With the changes made, at the end I went for bumping the version number to
> 0.2.0.
>
> We might want to use the same version in the CLI as in the server. We won't be
> able to import __version__ from the server as the CLI is independant from the
> server, so we'll have to do this by hand.

I do not like having version in code. I think that tracking of version 
is task of distribution:
  $ rpm -q copr-cli
  copr-cli-1.14-1.git.29.4ef718d.fc20.noarch
is IMHO right approach.
Hmm. I will look if I can use that new class FileVersionTagger from tito 
and leave this versions bumpups on Tito.

Mirek


More information about the copr-devel mailing list