Jump to content


Most Liked Content


#6531 P4VS hangs Visual Studio 2012 for several minutes frequently

Posted solidstore on 08 November 2012 - 11:42 AM

I would love to use the Visual Studio plugin for perforce however in our solution we have found that it hangs the entire IDE for atleast 5 minutes every so often and its extremely frustrating. The problem disappears when the Perforce plugin is disabled. I'm not sure what causes it, it seems to happen randomly but quite frequently.

Does this happen to anyone else? Or is there a workaround?


#24588 P4Python undefined symbol SSL_library_init

Posted PompeyPaul on 12 March 2019 - 06:50 PM

I solved this under Fedora Core 29 as I describe here: https://forums.perfo...fedora-core-29/


#24292 P4Python undefined symbol SSL_library_init

Posted P4Jen on 07 January 2019 - 04:49 PM

Hi,

Thanks for bringing this to our attention.

I have tested here with Ubuntu 18.04 and have reproduced the behaviour you describe.

I have also had a look through the latest P4Python release notes, and do not see any mention of
Ubuntu 18.04 not being a supported Linux flavour.

I will check to see if we have an existing report of this issue.

If we do I will add details of your post to it.

If not I will log one and add details of the post to it.

Thanks again,
Jen!



#11440 New Releases of Git Fusion, P4VS and P4API.NET, Commons and P4Java

Posted Perforce Software on 13 November 2013 - 07:02 PM

Here's what’s new from Perforce this month. All the product releases
listed below are now available for download from perforce.com/downloads.

Git Fusion 2013.2: Enterprise Git Management
Git Fusion enables Git and Perforce developers to work side by side
using their preferred tools without compromise. The latest release
makes the experience better still with support for Git tags, the
option of using HTTP instead of SSH as your transport protocol, and a
pre-flight commit hook that allows custom policy enforcement similar
to Perforce change-submit or form-in triggers to ensure both your
Perforce depot and Git repo are in a consistent state.
Download Git Fusion | Release Notes

P4VS: Perforce Plugin for Visual Studio 2013.3 and P4API.NET 2013.3
P4VS, the Perforce Plugin for Visual Studio, embeds the power of
Perforce's version management features into the Microsoft Visual
Studio IDE. If you're working in Perforce Streams, P4VS now has a
Streams tool window that enables a much cleaner workflow with merges
and copies, which can be started directly from the tool window.
Additionally, all Streams in a particular depot can be filtered by
several criteria, and the status of pending work can be seen at a glance.
This release of P4VS includes the latest bug fixes and performance
improvements, and supports Visual Studio 2013. Please note P4VS 2013.3
is the last supported version for Visual Studio 2008.
Download P4VS | Release Notes
Download P4API.NET | Release Notes

Perforce Commons 2013.5: Document Collaboration
If you're using Perforce Commons for document collaboration, get this
latest release for better folder management—namely the ability to
delete, rename and move folders.
Download Commons 2013.5 On-Premise | Release Notes
Activate a Commons Cloud Account—Free for Teams of 20 Users

P4Java 2013.2: Perforce Java API
P4Java is a Java-native API for accessing Perforce SCM services from
within Java applications, servlets, plugins, and other Java contexts.
Get four new P4Java API methods in the 2013.2 release, and the latest
bug fixes.
Download P4Java 2013.2 | Release Notes

Sign Up for Monthly Product Updates
You can sign up to receive monthly product updates by email in the
Communication Center.

Did you miss last month’s product updates? No problem. Visit the
monthly product updates archive to see what was made available for
downloading in previous months:
perforce.com/releases.


#24650 P4Python undefined symbol SSL_library_init

Posted TTimoT on 03 April 2019 - 06:47 PM

There are several fixes and workarounds floating out there by now, but it would be really useful to get an official fix from Perforce to support newer libssl releases.


#24463 P4Python undefined symbol SSL_library_init

Posted bdurbin on 21 February 2019 - 06:31 PM

I also get this ImportError when I try to use p4python. Is there any work around or plan for an update to fix this?


#24284 P4Python undefined symbol SSL_library_init

Posted p4user101 on 03 January 2019 - 11:21 PM

I've recently installed P4Python on Ubuntu 18.04, which uses libssl-1.1. This version of libssl has deprecated SSL_library_init (https://www.openssl....brary_init.html).

$ aptitude show libssl-dev
some code
Package: libssl-dev
Version: 1.1.0g-2ubuntu4.3
State: installed
Automatically installed: no
Multi-Arch: same
Priority: optional
Section: libdevel
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Uncompressed Size: 6870 k
Depends: libssl1.1 (= 1.1.0g-2ubuntu4.3)
Recommends: libssl-doc
Conflicts: libssl1.0-dev
Description: Secure Sockets Layer toolkit - development files
This package is part of the OpenSSL project's implementation of the SSL and TLS cryptographic protocols for secure communication over the Internet.

It contains development libraries, header files, and manpages for libssl and libcrypto.
Homepage: [url="https://www.openssl.org/"]https://www.openssl.org/[/url]

$ pip3 show p4python
Name: p4python
Version: 2018.2.1743033
Summary: P4Python - Python interface to Perforce API
Home-page: http://www.perforce.com
Author: Perforce Software Inc
Author-email: sknop@perforce.com
License: LICENSE.txt
Location: /home/.../.local/lib/python3.6/site-packages
Requires:
Required-by:
 
$ python3 -c '
>try:
>	from P4 import P4
>except Exception as e:
>	print(e)'
/home/.../.local/lib/python3.6/site-packages/P4API.cpython-36m-x86_64-linux-gnu.so: undefined symbol: SSL_library_init



#17239 Allow user to set whitespace preferences globally

Posted matthauck on 22 April 2015 - 06:40 PM

Currently you can only ignore whitespace on a per-file setting even within a given review. It would be great to be able to set it per review, and have that default to a users' preference.


#15255 Feature Request: Syntax highlighting in diff view

Posted dominik on 16 September 2014 - 11:47 AM

I would like to have the color coded syntax highlighting that I have in the file view also in the diff view. It would be tremendous helpful when doing the review and writing comments.

Dominik


#18087 Setup Swarm projects via Active Directory groups?

Posted Andrew DeFaria on 11 July 2015 - 01:11 AM

Is it possible to utilize Active Directory groups to setup Swarm projects instead of having to input each and every project member into each project?


#16883 Feature Requests

Posted jerome on 18 March 2015 - 01:15 PM

Hi, we are also evaluating swarm and gathering feature requests from our developers.

Here's a list so far, I hope that it will help
  • Preventing approval of code review when a task is still opened, also re-open the review when a task is re-opened or created.
  • Reporting feature. This is critical for us, we are in a regulated environment and we are required to regularly produce a code review report of all submitted code (for a given job, for example) with all associated tasks.
    • Retrieve comments and tasks details through the REST API. Related to the above request, we started to work on a reporting tool and the REST API does not provide any hook to comments / tasks. Querying directly the perforce server appears to be kind of wrong for that.
  • Allow the developer to set a deadline for his review. When the deadline date approaches and the code review is still opened, a notification is sent.
  • Official support of Windows for swarm server. P4D is compatible with windows, we expect to have all the P4 ecosystem compatible as well.
  • Detach a changelist from a review. We have developers preferring post-commit reviews and they use the add-commit button to associate task-fixing changelists to the original review. When the wrong commit is select and added to a review, they are stuck.
  • Aggregate notifications. When a reviewer makes three comments in a row on the same file, three emails are sent out. That would be better to aggregate them by using a two-step comment creation (batch save) or some kind of periodic notification.
  • Delete and edit of comments, already mentioned in this thread
  • Syntax highlighting in diffs. The syntax highlighting is available when browsing files but disappears in diffs, can that be enabled ? That could be an option
  • Flag a review as important and be able to filter important reviews
  • The add commit button adds the submitted changelist as a new dot in the review timeline. This is quite confusing because it is different from a file update (re-shelving). That would be easier to spot if it was, for example another icon.
  • Clarify the voting feature. Developers approve or reject reviews, why would they need to up-vote or down-vote as well? This adds complexity and people are reluctant to have multiple required reviewers because they have trouble understanding it. Maybe having a configuration option to either go all up-vote (majority and required up-vote = approve) or all approve button would make it simpler.
  • A real TODO list so the user knows what is expected from him. Already mentioned in this thread. We can partially get that from the review tab by playing on filters but that ought to be more convenient and that does not take into account tasks.
  • Review comments not aligned with the code when a file is updated. Can the review comment or task be shown on the left pane of the diff to reduce this occurrence?
  • Threaded comments
And cosmetics or less important in our eyes:
  • Possibility to select multiple lines of code for a comment
  • Group review. Being able to assign a group of people to a review
  • Analytics reports. For example have knowledge of how many tasks are still open by project, review load by user or changelists that are not reviewed.
  • Ping a reviewer, similar to the deadline feature request.
  • We would love code navigation in swarm....
  • [Added 05/22] Attach files of documentation to a review, there is a documented way to do that but that doesn't seem to be doable from the web client
  • [Added 05/22] Diff between two non consecutive shelves, we can achieve that with /reviews/{id}/v{x},{y} but that it is not intuitive at all



#15853 Feature Requests

Posted adrianstone on 17 November 2014 - 11:03 PM

We've been evaluating Swarm for about a month now and it is a great product but we have a few requests for how it could be improved:
  • In the reviews screen, there are many filters available, but it lacks the one filter that we'd find most useful.  There is no way to see only reviews that you are part of that you haven't voted up.  We often have lots of reviews in progress, and what people want to see is all the reviews they are part of that they haven't yet completed.  Even without the filter, there is no way to scan the list and see without clicking on each review whether it is still awaiting a vote from you.
  • It would be nice to have filters on the comments view.  We'd like filters for comments with unverified tasks, comments by the reviewer, and comments by the reviewee.
  • It would be nice to edit comments.  It drives people mad when they mistype a comment and can't correct it.
  • For post-commit reviews, it would be nice if adding committed changelists to the review expanded the list of files in the review rather than replacing it.  If you check in 3 files and start a post-commit review, then fix one of those files in response to comments and check that in, the review should show the modifications to the one file but not lose the changes to the other two files.

Thanks!
Adrian


#11690 Checkpoint replay to PostgreSQL database for Insight

Posted Punith on 24 November 2013 - 08:57 AM

Hi,


We have a p4d checkpoint of size 40Gig, while replaying it to PostgresSQL database, its taking days to complete. With 30% of progress it consumed 500Gig of space.

Do you guys recommend any configuration for PostgresSQL to improve the checkpoint replay time?
Also wondering when will Insight start supporting database other than PostgresSQL?


Thanks!
Punith


#11602 Issues With Logging In

Posted spectre1989 on 22 November 2013 - 05:37 PM

One of my colleagues is having some issues with logging in. He commits stuff to his sandbox, but when he comes to copy up, he gets error messages saying that he isn't logged in. He's not prompted with a log in box or anything, the only way we've found to authenticate him is to fire up p4admin have him log in to the remote depot from there.

On a similar note, I have a similar problem - I'm prompted with a log in box when I copy up. It doesn't matter how many times I put my password in, it won't accept it. I have to fire up p4admin (for which I'm not prompted to log in for some reason), I then have to choose to change my password, where I actually keep it the same, but the process of doing it seems to authenticate me.

Help with either of these problems would be awesome :D

Cheers
Joe


#11566 GitHub to Perforce migraton - Help requested

Posted ckenkare on 21 November 2013 - 07:17 PM

Folks,

As part of merging projects, We have a requirement to import files from GITHub to Perforce (details below).

Also, please note that P4D is currently integrated with bugzilla via p4dti.
1
P4D: Server
P4D/LINUX26X86_64/2008.2/179173 (2008/12/05)- Broadview Netwokrs 24 Users
-
2
P4V: Visual Client
P4/NTX86/2008.2/179173 (2008/12/05)
-
3
P4DTI
p4dti-2.4.2-1
-
4
Bugzilla
bugzilla-3.0.8
I have never done this kind of migration before.  Kindly suggest me how it can easily achieved. Also, some suggested "GIT Fusion" - But I'm not sure how it's going to work with defect tracking component (bugzilla/p4dti with versions mentioned above).  Thanks in advance..


#11510 Unexpected "all revision already integrated" from p4 integrate using...

Posted Oskar Senft on 20 November 2013 - 04:29 PM

Hi everyone

I'm using a branchspec that maps two different source folders to the same target folder. What happened is that the files in the two folders have been moved manually into the same folder and then just added to P4 without maintaining integration history.

Here's the branchspec:
//source/MDMTests/PCK24_FileLoader/... //target/SystemTests/PCK24_FileLoader/...
"//source/MDMTests/Product Maintenance Tests/..." //target/SystemTests/...

There are changes in the //source/MDMTests/PCK24_FileLoader/... location that have not yet been integrated to the target. However, there are now changes in "//source/MDMTests/Product Maintenance Tests/..." that need integrating.

If I run
p4 integrate -b branchspec
I'm getting
All revision(s) already integrated

However, if I remove the second line from the branchspec, it does integrate the files as expected.

As far as I can tell, since the second mapping from the branchspec yields no files that need integration, P4 seems to discard the first mapping from the branchspec.

Is this correct behavior? Did anyone come across that?

Thanks
Oskar.


#10706 Interested in installing Perforce products from RPM or deb packages? Quick su...

Posted Don Marti on 15 August 2013 - 09:53 PM

We're in the process of creating RPM and deb packages for installing Perforce products. IMHO this is going to be a time saver, especially when installing something with dependencies such as Git Fusion or Swarm.

If you're interested in installing Perforce products using your system package manager (doing something like "yum install perforce-git-fusion") could you please take a minute to answer a brief survey on how you work with packages? All questions optional, all feedback appreciated.

https://www.surveymonkey.com/s/6WFDQ9R


#24707 Perforce change-submit trigger to run script on client

Posted Matt Janulewicz on 17 April 2019 - 01:16 AM

Howdy!

Not to be a buzzkill (I'm going to be a buzzkill), but if I'm reading this correctly, the first three bullet points are covered by Perforce anyway, assuming folks are using it the way it is intended.

* files in a changelist must have some sort of action associated with them to get there in the first place
* Perforce can't/won't submit a file that's missing locally, it's got to have some content to submit
* a new file would have to be opened for add to be in the changelist

The last one is the only one that is sort of a thorn in my side. That can be controlled at the client level (submit unchanged files toggle.) I've given up on trying to enforce 'no unchanged revisions' because ultimately that's been a losing battle for me over the years. I've resigned myself to accepting that there will be lots of references to revisions that don't actually have deltas. It might be worth investigating, someday, a form-out trigger that sets "SubmitOptions: leaveunchanged" by default on new clients so people that are not paying enough attention will be less likely to submit empty revisions.

You implied that the script would want to run 'reconcile offline work', which reads to me that people are not using Perforce in the way it's intended to be used. If I were going down this road (again, I've been there) I would start by asking myself _why_ I'd want to do this kind of thing. Are people editing files locally without checking them out first? Are they manually setting 'allwrite' in their clients? (which is not the default.) Is there a reason people are working around the tool instead of with it?

It might be one of my very rare type-A afflictions, but I'm always weary of architecting things that hide the functionality and nature of a tool from end users. It just allows them to continue bad habits. And in a cosmic sense, I don't won't to be responsible for sending employees off to new opportunities where they might get side-eye glances when they say they're proficient in Perforce usage when in fact they are not.

Sorry if that started to sound like a rant, I didn't mean it. :)  Over the years I've just been down this rabbit hole a few times and it has never ended well. Too many weird things you have to do to possibly get Perforce to do things on the client side, where most of the time user training (sometimes with a very large stick) will fix the problem in the long term.


#24658 Installing p4python on Fedora Core 29

Posted jaess on 04 April 2019 - 07:51 PM

Unfortunately your solution no longer works in Fedora 29.  Also, using compat-openssl isn't a great solution since it replaces the built in openssl packages and may break lots of things.

It would be a lot better if perforce would release a version that works with the current release of OpenSSL.


#24654 Activity-commits , Groups from p4d, not updated in swarm, only activity-revi...

Posted Bisu85 on 04 April 2019 - 11:39 AM

The issue is fixed with the help of Perforce support member Reg.

pasting the findings here to future reference of others..

The issues were caused by the swarm-trigger.pl not being able to post updates to the Swarm server.

We saw "599" errors in the windows event viewer on the Perforce server. From other cases I've seen this indicated an issue with the Perl HTTP:Tiny module having issues with ssl certificates. So we disabled the check for HTTP::Tiny module to force it to fall back on using curl by editing "if ($HAVE_TINY) {" to "if (!$HAVE_TINY) {" to invert the logic.

We installed curl and edit the swarm-trigger.pl to use the full path to curl.