Closed gnutix closed 4 years ago
Thanks for the PR! I made some changes to centralize the lowercase mechanism to the aliases database. Can you please check this branch and let me know if it works for you? https://github.com/liip/taxi/tree/issue-129-patch
By the way, this causes errors with taxi-zebra
, because it expects projects and activities ids to be integers.
I didn't really like the idea of having the aliases being case insensitive, so I gave all this more thought.
1 is already done on the issue-129-take2
branch. 2 shouldn't be that difficult to do.
Closing this since it was resolved by https://github.com/liip/taxi/commit/c56a3bec8516906fc151c0f8d8d826cf5d1c08ad. I've opened #137 to make it possible to override non-lowercase aliases.
Fix #129
The tests are passing, but I don't know how much they really cover. I've tested locally every command listed when running
taxi
with as many options as possible, but only with my current setup (for an aliasinfra-42 = INFRA/42
,project.id = "INFRA"
andactivity.id = 42
).@sephii it would be nice if you could try it out with Zebra's setup to make sure it has not broken anything.