Bug 695598
Summary: | Python-client still require --version-name and --version-desc to create version | ||
---|---|---|---|
Product: | [Retired] Zanata | Reporter: | Ding-Yi Chen <dchen> |
Component: | Component-PythonClient | Assignee: | zanata-dev-internal <zanata-dev-internal> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ding-Yi Chen <dchen> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.3-alpha-1 | CC: | jni, zanata-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-10-28 07:25:07 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ding-Yi Chen
2011-04-12 06:38:52 UTC
I removed the check for '--version-name', zanata-python-client will not require two options now. Please use the commit 7be3cde2cf756703fc49 of devel branch of zanata python client on github for testing. Indeed, absent of --version-name and --version-desc does not show error. However, it does not show "Success create the version <VER>" either. Two more concerns: 1. It's better to use "Successfully created the version <VER>" 2. After I cloned the zanata-python-client and type 'make'. It does create a VERSION_FILE, but zanata require it to be in zanataclient to work. Regards. 1. It's better to use "Successfully created the version <VER>" >>> It's modified in commit 0921349 by Sean 2. After I cloned the zanata-python-client and type 'make'. It does create a VERSION_FILE, but zanata require it to be in zanataclient to work. >>> This issues was updated by commit 7f0f3d0 please test and verify with the latest commit 0e90977 of devel branch of zanataclient on github, since i merge some changes from server. Tested on commit b1df3d6c9a5a58ab65c13b0366a24b1a2b31c988 Passed when communicate with server 1.3, yet still failed on server 1.2. A quick fix is: if server 1.2 is detected and --version-name is not given, then we assign --version-name=<version-id> Regards. I add a check for server version, if server version equal or less than 1.2 and --version-name is not given, we will copy version-id to version-name, the changes is in commit 517cbc1 of devel branch of zanataclient on github. Best Regards. VERIFIED with commit 8462ad8d5dc8c2d9ec1ebf6234c651aa64e96579 |