来自svn背景的我在Perforce中应该注意什么?
哪些概念等必然与 svn 不同,可能会给我带来问题?
(我对女巫最好不感兴趣,因为我不能决定我的新雇主使用什么系统)
What concepts etc in perforce are different from svn in ways that are likely to give me problems?
(I am not interested in witch is best, as it not for me to decide what system my new employer uses)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我想到的几点是
Few points which comes to my mind
自从我使用 perforce 以来已经有一段时间了,但我记得的一件事是在编辑文件之前必须“签出”文件。这可能是我工作的公司的一个配置选项...但是您的工作区中拥有所有文件,但它们在您签出之前都是只读的。
大多数 IDE 都有一个 P4 插件,当您开始编辑文件时,它可能会为您执行此操作...对于 Java,我知道 Eclipse 和 IntelliJ 插件可以执行此操作。
Perforce 有一个很好的更改列表概念,它确实让您可以自由地选择您现在想要签入的内容。
他们的命令行和 UI 客户端非常棒。
就个人而言,它是我使用过的更令人愉快的版本控制系统之一。
It's been a while since I used perforce, but one thing I remember is having to "check out" files before editing them. This may have been a config option at the company I worked at... but you have all the files in your workspace but they are read-only until you check them out.
Most IDEs have a plugin for P4 that probably does this for you when you start to edit the file... for Java, I know that the Eclipse and IntelliJ plugins did.
Perforce has a nice concept of change lists which really gives you the freedom to pick and choose what you want to check in right now.
Their command line and UI clients are awesome.
On a personal note, it was one of the more pleasant version control systems I have used.
Perforce 服务器可以在客户端上读取和写入任意文件,从而执行任意代码。Perforce 配置全部在服务器端,因此服务器可以简单地处理客户端计算机的整个硬盘作为存储库,并做任何它想做的事。
除非在 SELinux 沙箱中,否则切勿运行 Perforce。
记住:Perforce 客户端是服务器的傀儡。您必须使用操作系统的安全功能来防止它执行您不希望它执行的操作。 始终将 Perforce 客户端视为敌对。
这是 CVE-2007 -0100。请注意完整性、机密性和可用性方面的得分 10.0(可能是最差的)。
A Perforce server can read and write arbitrary files on the client, and thus execute arbitrary code. The Perforce configuration is all server-side, so the server could simply treat the entire hard disc of the clients' computer as a repository, and do whatever it wanted to it.
Never run Perforce except in an SELinux sandbox.
Remember: The Perforce client is the server's puppet. You must use the operating system's security features to prevent it from doing something you don't want it to do. ALWAYS treat the Perforce client as hostile.
This is CVE-2007-0100. Note the score of 10.0 -- the worst possible -- for integrity, confidentiality, and availability.