tamentis / cartman

Command line Trac tools
http://tamentis.com/projects/cartman/
ISC License
22 stars 10 forks source link

Invalid 'Milestone' with empty expected #17

Open strk opened 8 years ago

strk commented 8 years ago

Error message on "cm new": {{{ Found the following errors:

The 'Milestone' part is suspicious

strk commented 8 years ago

Note that the "Priority" field was set to "major" (by default) and the "Milestone" was set to a legitimate milestone which evidently "cm" fails to get a list of.

strk commented 8 years ago

The target trac instance: https://trac.osgeo.org/postgis

strk commented 8 years ago

Ok, postgis milestones are actually in the form of "PostGIS 2.2.1", whereas I wrote just "2.2.1" in my editor. Still the error message is failing to print a list of valid milestones.

tamentis commented 8 years ago

Is that using master/0.2.3?

strk commented 8 years ago

Yes, using master. commit bfc4bd0832ef06244b6c42b5e81dbd26823316d3

(btw, there's no --version switch, would be useful)

strk commented 8 years ago

btw, I see that "major" is hardcoded here: https://github.com/tamentis/cartman/blob/v0.2.3/cartman/app.py#L50 -- but is not a valid milestone in my case.