moooofly

Results 45 comments of moooofly

## a good case ``` [#554#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$./harborctl label create -h This endpoint let user creates a label. Usage: harborctl label create [flags] Flags: -c, --color string The color code of...

After some digging, the conclusions are: - the parameters that are effectively used by this API as follow - username - email - password - realname - comment - has_admin_role...

## only with parameters that do take effect ![image](https://user-images.githubusercontent.com/7439290/47962724-0af15000-e05c-11e8-9a4e-002241bc48aa.png) ![image](https://user-images.githubusercontent.com/7439290/47962737-2d836900-e05c-11e8-8c2d-461ea43b2492.png) ``` [#66#root@ubuntu-1604 /go/src/github.com/moooofly/harborctl]$./harborctl user list -u san.zhang ==> GET https://localhost/api/users?username=san.zhang&email=&page=1&page_size=10

## inconsistent behavior when creating a new user at "Register" page, it requires "8-20 characters long with 1 uppercase, 1 lowercase and 1 number". ![image](https://user-images.githubusercontent.com/7439290/47965992-79e49e00-e088-11e8-9934-519d8d707c95.png) but with "PUT /users/{user_id}/password" API,...

PS: one more thing to mention, the key of `project_name` is still not working as expect in API v1.6.0 (seems useless).

Meeting the same issue with a package hosted in a Gitlab subproject. ``` $glide -v glide version v0.13.1 $glide update [INFO] Downloading dependencies. Please wait... [INFO] --> Fetching updates for...

@nathanjsweet the error you met may be related with the situation that your target repo is on a wrong branch or tag or commit id.

@drmingdrmer anyway, this PR helps me a lot, I've patched this code into https://github.com/antirez/redis/blob/unstable/deps/lua/src/lua_cjson.c , and works well. Thanks a lot.