Sign in Join

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

Mailing lists / lazarus / 2015-07

Git Plug-in for Lazarus

9 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Eric Kom

Good day all,
Please anyone got an idea about Git Plug-in for Lazarus?

-- Kind Regards Eric Kom Senior IT Technician - Metropolitan Schools _________________________________________ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends. / ----------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 | www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5

Reply by email

Graeme Geldenhuys
to Eric Kom
Eric Kom wrote
Please anyone got an idea about Git Plug-in for Lazarus?

I honestly think there is no need. Do yourself a huge favour and learn to use Git from the command line. The command line has ALL the features, doesn't get confused about the current state of the repository and is 100% consistent across all platforms. No GUI front-end comes close. I personally tried probably 20+ GUI front-ends and they all slowed me down, most are not cross-platform, and don't support all Git features. Normal day-to-day usage only requires you to know about 5 commands from the command line - that's not too much to ask from a software developer.

But if you really must launch git via the IDE, use the External Tool option in the IDE and launch gitk, or 'gui gui' from there.

Another alternative, is using something like Guake - it is a command prompt window that slides into view from the top of your desktop, and slides away when you are done. Ideal for running short or quick commands only when needed.

https://plus.google.com/u/0/+SamuelLampa/posts/h6NYLj7d6Xf

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Eric Kom
to Graeme Geldenhuys
Graeme Geldenhuys wrote 10 lines
On 2015-07-03 09:32, Eric Kom wrote: > Please anyone got an idea about Git Plug-in for Lazarus? I honestly think there is no need. Do yourself a huge favour and learn to use Git from the command line. The command line has ALL the features, doesn't get confused about the current state of the repository and is 100% consistent across all platforms. No GUI front-end comes close. I personally tried probably 20+ GUI front-ends and they all slowed me down, most are not cross-platform, and don't support all Git features. Normal day-to-day usage only requires you to know about 5 commands from the command line - that's not too much to ask from a software developer.

I installed and configured Gitlab It is working fine.

But if you really must launch git via the IDE, use the External Tool option in the IDE and launch gitk, or 'gui gui' from there.

I was thinking about a plugin to use in Lazarus. But fine I got a working git server.
My question now is how can I ignore *.back file so that I don't push them in the remote repo?

Show quoted text 10 lines
Another alternative, is using something like Guake - it is a command prompt window that slides into view from the top of your desktop, and slides away when you are done. Ideal for running short or quick commands only when needed. https://plus.google.com/u/0/+SamuelLampa/posts/h6NYLj7d6Xf Regards, - Graeme -
-- Kind Regards Eric Kom Senior IT Technician - Metropolitan Schools _________________________________________ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends. / ----------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 | www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5

Reply by email

Graeme Geldenhuys
to Eric Kom: I installed and configured Gitlab It is working fine. I was thinking about a plugin to…
Eric Kom wrote
But fine I got a working git server.

Huh? Git doesn't use a "server"... maybe you meant "repository"?

My question now is how can I ignore *.back file so that I don't push them in the remote repo?

Two ways of doing that.

1. Edit the "<project>/.git/info/exclude" and include whatever files or paths you want to ignore.
This option is local to your setup, so if you share this repository, nobody else will have your ignored file options.

2. Create a "<project>/.gitignore" file. The syntax for this file is the same as in option (1). It is recommended to also commit this file into your repository (though not a requirement). If you commit it and share this repository, then others will have the same files ignored.

For more details see the Git help on the subject:

$> git help gitignore

My ".gitignore" file normally contains the following:

--------------------[ .gitignore ]----------------------- *.[oa]
*.ppu
*.lps
*.compiled
*.bak*
*.exe
*.cgi
*.log
units/x86_64-freebsd/*
units/x86_64-linux/*
---------------------[ end ]-----------------------------

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Graeme Geldenhuys
to Unknown author: An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/laz…
Learn about many terrible flaws of Git version control system

Yeah, and lots of outdated information, or shows that the author doesn't have a lot of experience with Git. Did you bother reading the 600+ comments too.

ps:
A similar list can be compiled for pretty much any version control system, or simply software in general. My suggestion...read some documentation [1] and then try if for yourself for about a week or two. This applies to any software product. Then decide to use it or not. Everybody has different tastes and needs.

[1]: http://git-scm.com/book/en/v2

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Eric Kom
to Graeme Geldenhuys: Huh? Git doesn't use a "server"... maybe you meant "repository"? Two ways of doing that.…
Graeme Geldenhuys wrote
On 2015-07-03 11:20, Eric Kom wrote: > But fine I got a working git server. Huh? Git doesn't use a "server"... maybe you meant "repository"?

Sorry. REPOSITORY I menat

Show quoted text 14 lines
> My question now is how can I ignore *.back file so that I don't push > them in the remote repo? Two ways of doing that. 1. Edit the "<project>/.git/info/exclude" and include whatever files or paths you want to ignore. This option is local to your setup, so if you share this repository, nobody else will have your ignored file options. 2. Create a "<project>/.gitignore" file. The syntax for this file is the same as in option (1). It is recommended to also commit this file into your repository (though not a requirement). If you commit it and share this repository, then others will have the same files ignored.

Thanks

Show quoted text 25 lines
For more details see the Git help on the subject: $> git help gitignore My ".gitignore" file normally contains the following: --------------------[ .gitignore ]----------------------- *.[oa] *.ppu *.lps *.compiled *.bak* *.exe *.cgi *.log units/x86_64-freebsd/* units/x86_64-linux/* ---------------------[ end ]----------------------------- Regards, - Graeme -
-- Kind Regards Eric Kom Senior IT Technician - Metropolitan Schools _________________________________________ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends. / ----------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 | www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5

Reply by email

Bo Berglund
to Unknown author: An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/laz…
<div>Learn about many terrible flaws of Git version control system <a href="http://bit.ly/1H1NZB2">http://bit.ly/1H1NZB2</a> (in case you haven't yet)</div><div>I am sure that after you read that article, the idea of having a Git plugin for Lazarus will seem far less appealing</div><div>?</div><div>03.07.2015, 11:35, "Eric Kom" &lt;&gt;:</div><blockquote type="cite"><p>Good day all,<br />Please anyone got an idea about Git Plug-in for Lazarus?</p><span>_______________________________________________<br />Lazarus mailing list<br /><a href="mailto:"></a><br /><a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br /></span></blockquote>

Can someone here suggest how I can make posts like this (which contain HTML coded text) display in the Free Agent newsreader WITHOUT invoking the Microsoft Intrnet Explorer browser? I use Windows7 x64 on my laptop.

I have htm files set to open in FireFox by default but these types of posts (which appears as attachments in the newsreader) always open using Internet Explorer anyway. :(
I have not even configured IE on my computer so I always get to the "Configure Internet Explorer 10 for your computer" screen when I try to view these types of posts...

Best would be of course to have all contributors post in plaintext, but I guess it is futile to hope for...

Bo Berglund Developer in Sweden

Reply by email

Graeme Geldenhuys
to Bo Berglund
Bo Berglund wrote
Best would be of course to have all contributors post in plaintext, but I guess it is futile to hope for...

We can all dream of such a wonderful day! ;-)

What annoys me too, is that some mail clients don't bother to send the plaintext version (multi-part message), when they send HTML by default. I have my mail client setup to only view plain-text messages. If those posters want all fancy eye-candy text and emoticons, then they should go post in the Lazarus Forum.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email