Friday 19 November 2010

codeswarm help: Anyone have experience setting up codeswarm for use with perforce activity log?

Hi,

I've been trying to setup codeswarm for kicks at work using the activity log generated by our perforce depot. I am however running into some troubles following the guide/wiki on the google-code site and was wondering if maybe anyone had experiences with setting it up for a perforce server they could share?

I am running into UTF-8 encoding issues as well as it's taking a bloody long time I believe. My activity log generated by the python script is 65k. I have seen videos of other seemingly large projects so I cannot tell if this is the cause.

Any help appreciated. Thanks


View the original article here

Hudson Perforce plugin - how can I automatically update versions without repeatedly triggering a build

I'm trying to get continuous integration working using Hudson, Maven & Perforce (with an scm poll used to trigger each build)

One of the requirements is to automatically update POM snapshot version numbers following each successful build.

This is trivial using the Maven release plugin, but the act of checking in the newly versioned POMs triggers another build - which continues ad infinitum.

Is there any way of checking in version updates without triggering another build? There doesn't seem to be any way of excluding specific user checkins, specific changelists, or specific files when the scm poll makes the decision to rebuild.

This seems like a basic requirement - been doing it for years using Cruise Control / Ant / Perforce,

Cheers,

Mark


View the original article here

Test Manager / Automated Testing

Welcome guest. To get the most out of our site, please sign up as a candidate or apply for a recruiter account. Registration is fast and simple and gives you access to the facilities available to make recruitment easier.Test Manager (Agile, Scrum, XP, Java, C++). Highly talented Test Manager sought by financial software house providing real-time web connectivity market data and trading services to investment banks and other financial institutions. As Test Manager you will take responsibility for all testing requirements (mostly automated) and lead of team of seven test engineers, you will have an influential role working closely with an exceptional development team in an agile development environment.

Requirements for Test Manager:
* Strong software testing experience with a thorough understanding of test automation techniques within an agile environment (Scrum, TDD or XP)
* Experience of driving quality assurance and test activities
* Experienced team leader with excellent interpersonal skills
* Excellent test planning and co-ordination skills
* Object orientated programming skills (ideally Java / C++)
* Excellent academic record, minimum 2.1
* Desirable: ISEB, JUnit, APIs, Maven, Cruise Control, Hudson, Jira, Perforce, Selenium, Linux, Solaris and Windows environments

As Automation Test Manager you can expect to earn a highly competitive salary (to £65k), bonus and benefits including free breakfast! Send your CV or call 020 8390 8390 for further information on this and other senior testing positions.

http://www.technojobs.co.uk/job.phtml/470787

View the original article here

perforce implementation of clearcase like "views"

Best approach to working with perforce is to work in a user/feature branch then you can avoid checking into the trunk whilst still pushing your changes into the depot.

When creating a branch, you don't have to branch the entire trunk or source branch - you only need to branch the files you're working on - you can map the rest of the files into your branch via your client spec.

TBH - just buy & read 'Practical Perforce', it has heaps of useful info on how to do this and is very much worth the money if you're using perforce on a daily basis.

Another very useful feature of perforce is 'jobs' - often described only for bug tracking - it's much flexible and allows you to store a changelist history attached to a tag so allowing you to create 'metatags' and attach revisions to it i.e 'NightlyBuild' or 'BreakingChanges or whatever you want.
HTH.


View the original article here

Thursday 18 November 2010

P4Web and External Authentication Triggers

In general, when P4Web needs to be configured to bypass Perforce server authentication (logging in), you can specify a password in the P4WEBSERVICEFLAGS registry variable before the P4Web service is started.

However, if the Perforce server is using an authentication trigger, the password field in the P4WEBSERVICEFLAGS variable is required to be a ticket value rather than a password.

To satisfy the requirement for a valid ticket value for your P4Web service:

Create a group: p4 -p server:port group groupnameAdd your background user to the "Users" field. Change the timeout from the default setting of 43200 seconds (12 hours). The new value depends on the server version: 2008.1 and later: Set this value to 320000000 (over ten year). 2005.1 to 2007.3: Set this value to zero. 2004.2 and earlier: Set this to a very large value that does NOT exceed the "Unix Epoch" limitation (January 19, 2038). A good value is 320000000 seconds (over 10 years).
Note: Setting this value to "unlimited" or 0 (zero) does not work as expected in server versions that support those values (2005.1 through 2008.1). As that value is 0, the technically larger amount of time set in any other group to which the background user belongs will limit that user's timeout to that value.

Note: Server versions 2008.2 and later will no longer allow the timeout to be set to 0 (zero). Setting to zero will generate an error when you attempt to save the group: Error in group specification.Error detected at line 31.Invalid maximum value '0'.Hit return to continue...Setting this value to "unlimited" will still work as an equivalent to the zero timeout value. Save the group. On the P4Web host machine, login the background user : p4 -p server:port -u backgrounduser login Get the ticket value for the background user: p4 -p server:port ticketsThe ticket value is a hexadecimal string similar to "E6DD4B01B38E94113EC51AE46C0664CD" Stop the P4Web service. Set the P4WEBSERVICEFLAGS variable for the background user with the -P flag, using the ticket value in place of a password: p4 set -S "Perforce Web" P4WEBSERVICEFLAGS="-b -P your-ticket-value-here" Set up the other variables for the Perforce Web Service (if necessary): p4 set -S "Perforce Web" P4PORT=server:portp4 set -S "Perforce Web" P4USER=user-namep4 set -S "Perforce Web" P4WEBPORT=port-to-listen-onp4 set -S "Perforce Web" P4CLIENT=client-nameRestart the P4Web service. The server now starts up in browse mode without authentication.
2 users have rated this article 4.5 out of 5

View the original article here

Practical Perforce [PB,2005]

This guide describes Perforce concepts that are essential to every Perforce user. If you are new to Perforce or need to start using features that are unfamiliar to you, read this guide before consulting the documentation for your Perforce client programs.

Price:


Click here to buy from Amazon