[Interest] OT: perforce (was: Local version control with Qt Creator on Linux)

Jason H jhihn at gmx.com
Fri Jan 29 16:16:08 CET 2016



> Sent: Friday, January 29, 2016 at 10:06 AM
> From: "Matthew Woehlke" <mwoehlke.floss at gmail.com>
> To: interest at qt-project.org
> Subject: [Interest] OT: perforce (was: Local version control with Qt Creator on Linux)
>
> On 2016-01-28 19:54, Thiago Macieira wrote:
> > On Friday 29 January 2016 01:48:06 Jason H wrote:
> >> Perforce is free for 20 users / 20 workspaces. I really like it. The only
> >> issue is by default files not checked out are readonly. This causes
> >> problems when building for iOS/Android as the manifest files can't be
> >> changed without a checkout.
> > 
> > You shouldn't need to do a p4 checkout for building. If you have to do that, 
> > then you checked files in that you shouldn't have added.
> 
> I've run into situations where certain files really should be checked
> in, but for some reason the build needs to be able to "modify" them
> (probably a sign of a badly designed build tool, but sometimes you're
> stuck with those).
> 
> Back when I used p4 (years ago, and it was an old version even then),
> you could tell the repo that certain files should always be writable...

The files for are AndroidManifest.xml, and anything in res/
The file for iOS is Info.plist

The Qt build tools copy these files and keep the perms, and don't make the writable before trying to modify them. It just kind of dies. I filed an issue, but the response was basically 'use git' ;-)



More information about the Interest mailing list