[Lazarus] Storing projects in subversion (or git etc.)

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Sun Sep 20 11:47:44 CEST 2015


Michael Van Canneyt wrote:
> On Sun, 20 Sep 2015, Mark Morgan Lloyd wrote:
> 
>> Looking at some projects filed away here, I find I've been 
>> inconsistent so would appreciate it if somebody could say 
>> authoritatively: what types of file should be put in a repository, and 
>> what is regenerated reliably?
>>
>> Obviously .lpi, .lpr, .lfm and .pas or .pp should be saved, and any 
>> static .inc files.
>>
>> I presume that anything machine-generated and usually put into the lib 
>> directory shouldn't be stored even if it ends up elsewhere: .ppu, .o, 
>> .a, .res, .or.
>>
>> What about things like .lrs and .rst?
> 
> .rst is also regenerated, no need to store them.

Thanks Michael, it was your comment about ResourceStrings that reminded 
me to ask this.

What about .lrs, since it looks as though it's generated from .lfm?

It's actually .lrs that I find I'm storing inconsistently :-)

svn ls http://svn.freepascal.org/svn/lazarus/trunk/ide | cut -d . -f 2 
|sort |uniq    returns

dci
fpc
ico
inc
lfm
lpi
lpr
pas
pp
rc
res
xml

i.e. specifically includes .rc and .res but not .lrs.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list