无法开始在塑料中使用git repocm [英] Can't start using git repo in plasticscm

查看:180
本文介绍了无法开始在塑料中使用git repocm的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows 10的下载页面上安装新的Plasticscm,选择默认设置或创建新的仓库后,转到Branch Explorer,我无法使用与Git同步..."功能,它告诉我用户出现作为非活动用户,因为他/她的许可证已被停用.请先将其激活,然后重试".

After installing new plasticscm from the download page on Windows 10, choosing default or creating new repo, going to the Branch Explorer, I can't use "Sync with Git..." feature, it tells me "The user appears as an inactive user because his/her license has been deactivated. Please, activate it and then try again".

首先我不明白,为什么默认情况下会禁用许可证,但是我遵循了

First I don't get, why the license is deactivated by default, but I followed instructions from https://www.plasticscm.com/documentation/technical-articles/user-license-is-deactivated.html and tried to create a user, but when I call "cm au ", then I get error "You don't have permissions to activate user . You need to be repository server administrator in order to be allowed to complete this operation." and when I call "cm sto -user= repserver:localhost:8087", I get error "You don't have permissions to activate user . You need to be repository server administrator in order to be allowed to complete this operation." again.

如何解决我的情况?

也许地址"repserver:localhost:8087"应该有所不同,因为我不知道要放置什么而不是repserver,但是使用存储库的名称代替,我会收到错误消息错误:错误."表示不支持路径格式.

Maybe the address "repserver:localhost:8087" should be differently, because I don't know what to put instead of repserver, but using the name of the repo instead, I get error "Error: Uvedený formát cesty není podporován." meaning that the format of the path is not supported.

再次阅读"cm li"的输出后,我意识到一些奇怪的事情:

I realized something strange after reading again output of "cm li":

      Plastic SCM license information:



      * User-license information:

salichl                   INACTIVE (Not licensed)

---------------------------------------
Licensed to: Plastic SCM trial license
Expiration date: 23.11.2016 19:12:23
Edition: team
Total licensed users: 1
Total activated users: 0
Total available users: 1
---------------------------------------

也许我知道这是怎么回事,因为我在plasticscm网上有一些旧的plastic.lic,登录后将"EXPIRATION"更改为日期,即过去,下载后将其更改为已过期",但是在我意识到它之前,我已经使用过它,并且在使用它之后,即使我将其重写,也无法将"plasticd.lic"改回与plasticscm安装一起下载的原始文件.

and maybe I know how it happened, because I had some old plasticd.lic on plasticscm web and after logging in, it changed "EXPIRATION" to the date, which is in the past and after downloading it, it changed status to "Expired", but before I realized it, I used it and after using it, I couldn't probably change the "plasticd.lic" back to the original one downloaded with the plasticscm installation even though I rewritten it back.

最后,我可能不应该登录plasticscm网站,因为它在不通知我的情况下将旧的(当时有效的)许可证更改为无效的许可证(许可证规则可能已在同时,因为它已经3岁了,现在,我什至不能使用5天试用版,必须等待,如果有人希望启用个人版"(我只想尝试在git存储库上使用Branch Explorer,并检查它是否有效,因为git为我显示了可怕的分支).

So in the end, I probably shouldn't log in to the plasticscm web, because it changed the old (and in that time valid) licence to invalid one without informing me (the rules for the licences were probably changed in the meantime, because it was 3 years old) and now I can't even use the 5 day trial and must wait, if someone hopefully enables "Personal Edition" (I only wanted to try using Branch Explorer on git repositories and check if it works, because the git shows branches terribly for me).

我想对我来说,奇怪的行为是按设计的……

I guess the strange behavior for me is As Designed...

推荐答案

让我向您解释如何管理Plastic SCM许可证(还有一篇博客文章,其中包含详细信息:

Let me explain you how to manage the Plastic SCM licenses (there is also a blog post with detailed information: http://blog.plasticscm.com/2016/01/how-to-manage-plastic-scm-licenses.html).

请务必注意,只有在您是服务器管理员用户的情况下,所有用于管理许可证的命令才可用,因此,如果您尚未配置管理员用户,请转到存储库&管理员".在工作区"视图中,右键单击存储库服务器权限",然后将您的用户标记为所有者.

It's important to note that all the commands to manage licenses are only available if you are the server administrator user, so if you haven't configured yet your admin user, please drive to the Repositories & Workspaces view, right-click Repository server permissions and mark your user as the owner.

一旦您是所有者,您将始终拥有管理和重新分配Plastic SCM服务器许可证的权限.

Once you are the owner, you will always have the permissions to manage and reassign the Plastic SCM server licenses.

为了重新分配许可证点,我需要使用cm deactivateuser命令停用不再活动的用户:

In order to reassign the license spot, I need to deactivate the user that is no longer active, running the cm deactivateuser command:

cm deactivateuser olduser

最后,我要将已发布的许可证分配给运行cm Activateuser命令的新开发人员:

Finally, I'm going to assign the released license to our new developer running the cm activateuser command:

cm activateuser newuser

之后,如果我再次检查许可证信息,则可以确认一切运行正常:

After that, if I check the license information again, I can confirm that everything worked as expected running:

cm licenseinfo

Plastic SCM许可证系统允许具有只读用户.当您在Plastic中创建新用户时,默认情况下它既不处于活动状态,也处于非活动状态. 他处于第三种状态,可以运行只读操作,例如更新,差异....只有在签入或将分支推送到服务器时,他才会变成活动用户.

The Plastic SCM license system allows to have read-only users. When you create a new user in Plastic, it's neither active nor inactive by default. He is on a third state where he is able to run read-only operations such as update, diff... He will only be turned into an active user as soon as he checkins or pushes branches to the server.

仅登录您的www.plasticscm.com帐户就不会更改服务器许可证.仅当您替换"plastic.lic"文件或配置了许可证令牌( https://www.plasticscm.com/documentation/administration/plastic-scm-version-control-administrator-guide.shtml#Chapter15:如何配置许可证自动续订).更换许可证后,您将需要重新启动服务器.

The server license is not changed just logging in your www.plasticscm.com account. It will only change if you replace de "plastic.lic" file or if you have configured a license token (https://www.plasticscm.com/documentation/administration/plastic-scm-version-control-administrator-guide.shtml#Chapter15:Howtoconfigurethelicenseautorenewal). After replacing a license, you will need to restart the server.

无论如何,如果您仍然遇到问题或需要新的试用版,请与我们联系:"codicesoftware dot com的支持",我们将很乐意为您提供帮助,并在必要时生成新的许可证试用版.

Anyway, if you still face issues or you need a new trial, please contact us: "support at codicesoftware dot com" and we will be happy to assist you and generate a new license trial if necessary.

这篇关于无法开始在塑料中使用git repocm的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆