Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-10

Use of .lps files to avoid unnecessary changes to .lpi files

22 messages · 12 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Frank Church

I just read this blog article
http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarusabout how Lazarus can store IDE settings in .lps files to stop causing needless changes to the .lpi which messes up version control.

I was just about to ask about how to configure it and after doing some Googling I saw this page -
http://forum.lazarus.freepascal.org/index.php?topic=9298.0, and guess start the thread?

Anyway I think it should be given further prominence as it is really important for version control.

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111009/ec2a0b19/attachment.html>

Reply by email

Lukasz Sokol
to Frank Church
Frank Church wrote 17 lines
I just read this blog article http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarus about how Lazarus can store IDE settings in .lps files to stop causing needless changes to the .lpi which messes up version control. I was just about to ask about how to configure it and after doing some Googling I saw this page - http://forum.lazarus.freepascal.org/index.php?topic=9298.0, and guess start the thread? Anyway I think it should be given further prominence as it is really important for version control. -- Frank Church

+1, this was puzzling me too.

L.

Reply by email

Mattias Gaertner
to Lukasz Sokol
Show quoted text 20 lines
On 09/10/2011 22:57, Frank Church wrote: > > I just read this blog article > http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarus > about how Lazarus can store IDE settings in .lps files to stop > causing needless changes to the .lpi which messes up version > control. > > I was just about to ask about how to configure it and after doing > some Googling I saw this page - > http://forum.lazarus.freepascal.org/index.php?topic=9298.0, and guess > start the thread? > > Anyway I think it should be given further prominence as it is really > important for version control. > > > -- Frank Church +1, this was puzzling me too.

And how?

Mattias

Reply by email

Lukasz Sokol
to Mattias Gaertner
Mattias Gaertner wrote 28 lines
On Mon, 10 Oct 2011 09:35:53 +0100 Lukasz Sokol wrote: > On 09/10/2011 22:57, Frank Church wrote: >> >> I just read this blog article >> http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarus >> about how Lazarus can store IDE settings in .lps files to stop >> causing needless changes to the .lpi which messes up version >> control. >> >> I was just about to ask about how to configure it and after doing >> some Googling I saw this page - >> http://forum.lazarus.freepascal.org/index.php?topic=9298.0, and guess >> start the thread? >> >> Anyway I think it should be given further prominence as it is really >> important for version control. >> >> >> -- Frank Church > > +1, this was puzzling me too. And how? Mattias

By having to do 'last commit of the day' to SVN after closing Lazarus or opening another file for viewing.

L.

Reply by email

Flávio Etrusco
to Frank Church: I just read this blog article http://www.lazarussupport.com/lazarus/weblog/project_setting…

2011/10/9 Frank Church :

Show quoted text 17 lines
I just read this blog article http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarus about how Lazarus can store IDE settings in .lps files to stop causing needless changes to the .lpi which messes up version control. I was just about to ask about how to configure it and after doing some Googling I saw this page - http://forum.lazarus.freepascal.org/index.php?topic=9298.0, and guess start the thread? Anyway I think it should be given further prominence as it is really important for version control. -- Frank Church

+1 for making "save in .lps file in project directory" the default.

-Fl?vio

Reply by email

Reinier Olislagers
to Flávio Etrusco
Fl?vio Etrusco wrote 5 lines
2011/10/9 Frank Church : > I just read this blog article > http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarus > about how Lazarus can store IDE settings in .lps files to stop causing > needless changes to the .lpi which messes up version control.

<snip>

Show quoted text 7 lines
> Anyway I think it should be given further prominence as it is really > important for version control. > Frank Church +1 for making "save in .lps file in project directory" the default. -Fl?vio

Yes, seems like an excellent idea.

Reply by email

Alexsander Rosa
to Reinier Olislagers

+1 for making "save in .lps file in project directory" the default.

2011/10/10 Reinier Olislagers :

Show quoted text 22 lines
On 10-10-2011 14:32, Fl?vio Etrusco wrote: > 2011/10/9 Frank Church : >> I just read this blog article >> http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarus >> about how Lazarus can store IDE settings in .lps files to stop causing >> needless changes to the .lpi which messes up version control. <snip> >> Anyway I think it should be given further prominence as it is really >> important for version control. >> Frank Church > > +1 for making "save in .lps file in project directory" the default. > > -Fl?vio Yes, seems like an excellent idea. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Atenciosamente, Alexsander da Rosa http://rednaxel.com

Reply by email

Mark Morgan Lloyd
to Lukasz Sokol: By having to do 'last commit of the day' to SVN after closing Lazarus or opening another…
Lukasz Sokol wrote 29 lines
On 10/10/2011 09:42, Mattias Gaertner wrote: > On Mon, 10 Oct 2011 09:35:53 +0100 > Lukasz Sokol wrote: > >> On 09/10/2011 22:57, Frank Church wrote: >>> I just read this blog article >>> http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarus >>> about how Lazarus can store IDE settings in .lps files to stop >>> causing needless changes to the .lpi which messes up version >>> control. >>> >>> I was just about to ask about how to configure it and after doing >>> some Googling I saw this page - >>> http://forum.lazarus.freepascal.org/index.php?topic=9298.0, and guess >>> start the thread? >>> >>> Anyway I think it should be given further prominence as it is really >>> important for version control. >>> >>> >>> -- Frank Church >> +1, this was puzzling me too. > And how? > > Mattias > By having to do 'last commit of the day' to SVN after closing Lazarus or opening another file for viewing.

I'm running svnversion in "Execute before", and have a minor niggle that the project invariably shows up as modified when I do the build. If I understand things correctly, having a separate .lps (not in VC) would fix this, in which case +1.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Alex Shishkin
to Frank Church: I just read this blog article http://www.lazarussupport.com/lazarus/weblog/project_setting…

10.10.2011 1:57, Frank Church ?????:

Show quoted text 27 lines
I just read this blog article http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarus about how Lazarus can store IDE settings in .lps files to stop causing needless changes to the .lpi which messes up version control. I was just about to ask about how to configure it and after doing some Googling I saw this page - http://forum.lazarus.freepascal.org/index.php?topic=9298.0, and guess start the thread? Anyway I think it should be given further prominence as it is really important for version control. -- Frank Church ======================= http://devblog.brahmancreations.com -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Another useful feature will be moving "run parameters" to build modes or directly to session info, because run parameters often contains local paths.

Reply by email

Frank Church
to Frank Church: I just read this blog article http://www.lazarussupport.com/lazarus/weblog/project_setting…
Frank Church wrote 20 lines
I just read this blog article http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarusabout how Lazarus can store IDE settings in .lps files to stop causing needless changes to the .lpi which messes up version control. I was just about to ask about how to configure it and after doing some Googling I saw this page - http://forum.lazarus.freepascal.org/index.php?topic=9298.0, and guess start the thread? Anyway I think it should be given further prominence as it is really important for version control. -- Frank Church ======================= http://devblog.brahmancreations.com

I just came across this in the mail archives -
http:/msg03969.html - It goes way
back and fixes were in place around then.

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111012/e26fb5e6/attachment.html>

Reply by email

Vincent Snijders
to Frank Church

2011/10/12 Frank Church :

Show quoted text 6 lines
> > Anyway I think it should be given further prominence as it is really > important for version control. I just came across this in the mail archives - http:/msg03969.html - It goes way back and fixes were in place around then.

Yes, it is a feature that exists for so long now, that I thought everybody knew it existed, And it is such a useful feature that everybody using it once, would not forget about it, whenever he would need it later. ;-)

Vincent

Reply by email

Frank Church
to Vincent Snijders
Vincent Snijders wrote 17 lines
2011/10/12 Frank Church : >> >> Anyway I think it should be given further prominence as it is really >> important for version control. > I just came across this in the mail archives - > http:/msg03969.html - It goes way > back and fixes were in place around then. Yes, it is a feature that exists for so long now, that I thought everybody knew it existed, And it is such a useful feature that everybody using it once, would not forget about it, whenever he would need it later. ;-) Vincent

5 years is a generation ago in computing [?]

> _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111013/35dbaeb9/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 96 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111013/35dbaeb9/attachment.gif>

Reply by email

Benito van der Zander
to Alexsander Rosa: +1 for making "save in .lps file in project directory" the default. 2011/10/10 Reinier…

http://bugs.freepascal.org/view.php?id=17353

Alexsander Rosa wrote 26 lines
+1 for making "save in .lps file in project directory" the default. 2011/10/10 Reinier Olislagers: > On 10-10-2011 14:32, Fl?vio Etrusco wrote: >> 2011/10/9 Frank Church: >>> I just read this blog article >>> http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarus >>> about how Lazarus can store IDE settings in .lps files to stop causing >>> needless changes to the .lpi which messes up version control. > <snip> >>> Anyway I think it should be given further prominence as it is really >>> important for version control. >>> Frank Church >> +1 for making "save in .lps file in project directory" the default. >> >> -Fl?vio > Yes, seems like an excellent idea. > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >

Reply by email

Flávio Etrusco
to Benito van der Zander

If Mattias or Vincent say they agree with the change, it's probably a one- or two-liner...

Benito van der Zander wrote 45 lines
http://bugs.freepascal.org/view.php?id=17353 On 10.10.2011 15:39, Alexsander Rosa wrote: > > +1 for making "save in .lps file in project directory" the default. > > 2011/10/10 Reinier Olislagers: >> >> On 10-10-2011 14:32, Fl?vio Etrusco wrote: >>> >>> 2011/10/9 Frank Church: >>>> >>>> I just read this blog article >>>> >>>> http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarus >>>> about how Lazarus can store IDE settings in .lps files to stop causing >>>> needless changes to the .lpi which messes up version control. >> >> <snip> >>>> >>>> Anyway I think it should be given further prominence as it is really >>>> important for version control. >>>> Frank Church >>> >>> +1 for making "save in .lps file in project directory" the default. >>> >>> -Fl?vio >> >> Yes, seems like an excellent idea. >> >> -- >> _______________________________________________ >> Lazarus mailing list >> >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >> > > -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Flávio Etrusco
to Flávio Etrusco

Oops, I've just seen Vincent acknowledged the bug. Vincent, I'll take that as you agree with it ;-)

2011/10/13 Fl?vio Etrusco :

Show quoted text 52 lines
If Mattias or Vincent say they agree with the change, it's probably a one- or two-liner... On Thu, Oct 13, 2011 at 8:57 AM, Benito van der Zander wrote: > http://bugs.freepascal.org/view.php?id=17353 > > On 10.10.2011 15:39, Alexsander Rosa wrote: >> >> +1 for making "save in .lps file in project directory" the default. >> >> 2011/10/10 Reinier Olislagers: >>> >>> On 10-10-2011 14:32, Fl?vio Etrusco wrote: >>>> >>>> 2011/10/9 Frank Church: >>>>> >>>>> I just read this blog article >>>>> >>>>> http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarus >>>>> about how Lazarus can store IDE settings in .lps files to stop causing >>>>> needless changes to the .lpi which messes up version control. >>> >>> <snip> >>>>> >>>>> Anyway I think it should be given further prominence as it is really >>>>> important for version control. >>>>> Frank Church >>>> >>>> +1 for making "save in .lps file in project directory" the default. >>>> >>>> -Fl?vio >>> >>> Yes, seems like an excellent idea. >>> >>> -- >>> _______________________________________________ >>> Lazarus mailing list >>> >>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >>> >> >> > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >

Reply by email

Mattias Gaertner
to Flávio Etrusco
Show quoted text 6 lines
Oops, I've just seen Vincent acknowledged the bug. Vincent, I'll take that as you agree with it ;-) 2011/10/13 Fl?vio Etrusco : > If Mattias or Vincent say they agree with the change, it's probably a > one- or two-liner...

Yes.
Change ide/project.pp

  DefaultProjectSessionStorage = pssInProjectInfo;

Mattias

Reply by email

Frank Church
to Benito van der Zander: http://bugs.freepascal.org/view.php?id=17353
Benito van der Zander wrote 47 lines
http://bugs.freepascal.org/**view.php?id=17353<http://bugs.freepascal.org/view.php?id=17353> On 10.10.2011 15:39, Alexsander Rosa wrote: > +1 for making "save in .lps file in project directory" the default. > > 2011/10/10 Reinier Olislagers< > >: > >> On 10-10-2011 14:32, Fl?vio Etrusco wrote: >> >>> 2011/10/9 Frank Church: >>> >>>> I just read this blog article >>>> http://www.lazarussupport.com/**lazarus/weblog/project_** >>>> settings_in_delphi_and_lazarus<http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarus> >>>> about how Lazarus can store IDE settings in .lps files to stop causing >>>> needless changes to the .lpi which messes up version control. >>>> >>> <snip> >> >>> Anyway I think it should be given further prominence as it is really >>>> important for version control. >>>> Frank Church >>>> >>> +1 for making "save in .lps file in project directory" the default. >>> >>> -Fl?vio >>> >> Yes, seems like an excellent idea. >> >> -- >> ______________________________**_________________ >> Lazarus mailing list >> .**freepascal.org >> http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus> >> >> > > -- ______________________________**_________________ Lazarus mailing list .**freepascal.org http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>

I was about to suggest that as the default

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111014/2a0e2655/attachment.html>

Reply by email

Mattias Gaertner
to Michael Lutz: Definitely a big +1, especially for the working directory. Or make that field at least…
Show quoted text 6 lines
Am 11.10.2011 13:23 schrieb Alex Shishkin: > Another useful feature will be moving "run parameters" to build modes or > directly to session info, because run parameters often contains local paths. Definitely a big +1, especially for the working directory. Or make that field at least accept the usual macros/defines.

Macros can be used in the working directory since a few weeks, since 0.9.31.

Mattias

Reply by email