thumper | ugh... | 22:14 |
---|---|---|
thumper | TIL: version "2.0-_0" is a valid version number | 22:15 |
thumper | I was looking for something that would compare less than any 2.0 release we'd make | 22:15 |
thumper | and looking at the regexp, I found that this was valid | 22:15 |
thumper | hopefully we'll never use a tag like that, but it is valid... | 22:15 |
thumper | hmm... | 22:17 |
thumper | "2.0-00" is less than "2.0-_0" | 22:17 |
thumper | damn... | 22:34 |
thumper | don't want to make juju/cmd depend on the version package... | 22:34 |
* thumper thinks | 22:34 | |
thumper | hmm... | 22:35 |
thumper | juju/cmd already depends on juju/utils | 22:35 |
davecheney | thumper: what properties of version.Version does command depend on | 22:46 |
davecheney | one way to break the dependncy | 22:46 |
davecheney | is define your own interface type in juju/cmd | 22:46 |
davecheney | that juju/juju/version just happens to implement | 22:46 |
davecheney | _or_ | 22:46 |
davecheney | maybe allow new commands to be registered at init time | 22:46 |
davecheney | so juju/cmd/juju inserts a version command rather than inhereting one | 22:47 |
* davecheney waves hands at virtual white board | 22:47 | |
=== mjs0 is now known as menn0 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!