This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Plugin - Git Commander - Git and total commander!
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
Khaj
Junior Member
Junior Member


Joined: 10 Apr 2015
Posts: 10

PostPosted: Tue Apr 14, 2015 4:08 pm    Post subject: Plugin - Git Commander - Git and total commander! Reply with quote

Dear guys! This project is aimed to give some information from GIT repostiory to total commander.

To use the plugin - download gitcmp.zip
from
https://github.com/Darthholi/WDX_GitCommander/releases/latest
and set it up in total commander.


The easiest way to use is to create your own columns, I suggest just replacing the original SIZE solumn with the column "SizeAndBranch".
Because that will show the branch instead of <DIR> for directories.

For like-github functionality in total commander, there is the possibility to create plugin defined hints in total commander.
Just go to Configuration->Display and down there on the setting page tick some boxes with "hint texts" to make visible the small button with "+".
Then it just remains to add a rule for all files "*" with this suggested formatting:

Option a) last commit info:
Code:

[=gitcmd.Branch]([=gitcmd.CommitAge]) [=gitcmd.FirstRemoteUrl]\n[=gitcmd.CommitMessage]\n[=gitcmd.CommitAuthor] [=gitcmd.CommitMail] [=gitcmd.CommitDate.D.M.Y h:m:s]


Option b) Last commit affecting given file (or last commit info for folders)
Code:

[=gitcmd.Branch] [=gitcmd.FirstRemoteUrl]\n[=gitcmd.FallIsLast] [=gitcmd.FallAge]\n[=gitcmd.FallMessage]\n[=gitcmd.FallAuthor] [=gitcmd.FallMail] [=gitcmd.FallDate.D.M.Y h:m:s]\n[=gitcmd.GeneralStatus]



Oh yea it is 32bit and I would love to make it 64bit also but for thet I need to know how to use other compilers (with libgit2 and so ... ehmehmehm...).

EDIT:
Thanks for help with the installation (to the first guys to comment this thread), I had a typo there, but now everything is fine.

Now the only not working thing is passthrough for dir size...


Last edited by Khaj on Thu Apr 23, 2015 10:08 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail
iana
Senior Member
Senior Member


Joined: 27 Jul 2010
Posts: 309

PostPosted: Tue Apr 14, 2015 4:30 pm    Post subject: Reply with quote

Quote:
First - please do test the plugin if you love TC and GIT and tell me how to make it ""registered"(?) to stop the message (unofficial plugin something) popping up with installation.

First thing's first tanks for a new plugin, good job. next the complaints Razz

Tried to install it but got a missing dll error, opening the wdx with fileinfo shows no missing dll's.
Does this wdx need something extra to be installed like a git backend?
it might be a silly question but I don't use git.

I really don't think including alex's plugin manager is a fix for missing dll's.
Back to top
View user's profile Send private message
iana
Senior Member
Senior Member


Joined: 27 Jul 2010
Posts: 309

PostPosted: Tue Apr 14, 2015 5:58 pm    Post subject: Reply with quote

I thought it was a wfx plugin, similar to the old cvs plugin, any chances you could make a wfx for a simple way to get files from a git repo?
tanks
Back to top
View user's profile Send private message
iana
Senior Member
Senior Member


Joined: 27 Jul 2010
Posts: 309

PostPosted: Tue Apr 14, 2015 8:59 pm    Post subject: Reply with quote

does this plugin possibly need the command line git tools in the path?
if so could you make the path to git.exe configurable via an ini file?
Back to top
View user's profile Send private message
Khaj
Junior Member
Junior Member


Joined: 10 Apr 2015
Posts: 10

PostPosted: Wed Apr 15, 2015 1:18 am    Post subject: Reply with quote

Wow guys, that was fast Smile

First
It should work without git backend and without the git tools in the path (thats why i compiled libgit anyway).
WFX plugin might come later of course Smile

Now the installation:
Iam so surprised about total commander telling me about the missing dll! A minute ago it was telling me about not being authorized (as I wrote in first post) and now iam getting the same error as you.
But since it works totally fine for me (and one other testing PC) and it should not need any other dll, something rotten is in Denmark.

So, please, can I ask you to unpack the zip normally (not clicking install) to some temporary folder, running plugin manager and clicking install from the plugin manager (selecting the wdx file)?

Then the desired outcome is to see gitcmd as availible plugin with availible columns (and mouseover a git repository to see information after you configure TC for it).

If it works for you, I will wait for some guru to tell me how to make the installation less pain and what does the missing dll mean. (Hey it would help to tell which dll it is missing but TC is not saying anything!)

Thanks!
Back to top
View user's profile Send private message Send e-mail
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7906
Location: Russian Federation

PostPosted: Wed Apr 15, 2015 1:21 am    Post subject: Reply with quote

Khaj,
Why did you place TC Plugins Manager into plugin package? AFAIK it is a completely separate tool that doesn't required for any plugin.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
Khaj
Junior Member
Junior Member


Joined: 10 Apr 2015
Posts: 10

PostPosted: Wed Apr 15, 2015 2:40 am    Post subject: Reply with quote

Because I was confused about the installation errors - the plugin could be installed only by the plugin manager.

Anyway thanks for your comment, I now have put it away from the Release.zip (Because that seems to be no longer true ...?)

Are you able to install it now? Smile

>>>>

Ok even after putting away the manager it still gives the nonsense dll error!
Help me please Smile
Back to top
View user's profile Send private message Send e-mail
Dalai
Power Member
Power Member


Joined: 28 Jan 2005
Posts: 5682
Location: Meiningen (Südthüringen)

PostPosted: Wed Apr 15, 2015 2:58 am    Post subject: Reply with quote

There's a typo in your pluginst.inf:
Code:
file=gitsmd.wdx

It should read gitcmd.wdx. The plugin itself loads fine when installed manually, and the fields are available in custom columns.

Regards
Dalai
_________________
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups


Last edited by Dalai on Wed Apr 15, 2015 3:31 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Khaj
Junior Member
Junior Member


Joined: 10 Apr 2015
Posts: 10

PostPosted: Wed Apr 15, 2015 3:03 am    Post subject: Reply with quote

Wau works like charm. (->updated on GIThub...)

Thanks again!
Back to top
View user's profile Send private message Send e-mail
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7906
Location: Russian Federation

PostPosted: Wed Apr 15, 2015 3:28 am    Post subject: Reply with quote

BTW any plugin may be installed manually just from TC configuration dialog: Configuration - Plugins - Content plugins (in this case), Configure, Add.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
hi5
Member
Member


Joined: 03 Nov 2012
Posts: 139

PostPosted: Wed Apr 15, 2015 2:53 pm    Post subject: Reply with quote

Nice idea for a plugin - for future releases you might wish to make use of the Actual releases feature of Github - you can simply drag & drop your locally created zip file while preparing the release (step 8 here)
https://help.github.com/articles/creating-releases/
_________________
F4MiniMenu - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey) - TC Forum thread
Back to top
View user's profile Send private message Visit poster's website
ashimgiyanani
Junior Member
Junior Member


Joined: 18 Oct 2017
Posts: 2

PostPosted: Wed Oct 18, 2017 3:45 am    Post subject: Git commander Reply with quote

Any update on the 64-bit version. I would love to use the 64-bit version. It shouldn't be too tough for you guys, programming day in day out or?
Back to top
View user's profile Send private message Send e-mail
Khaj
Junior Member
Junior Member


Joined: 10 Apr 2015
Posts: 10

PostPosted: Wed Oct 18, 2017 3:57 am    Post subject: Reply with quote

You are right, but the problem is that there is like 60 small things and growing, that I need to do Very Happy
Back to top
View user's profile Send private message Send e-mail
ashimgiyanani
Junior Member
Junior Member


Joined: 18 Oct 2017
Posts: 2

PostPosted: Wed Oct 18, 2017 4:10 am    Post subject: Reply with quote

Khaj wrote:
You are right, but the problem is that there is like 60 small things and growing, that I need to do Very Happy


I can understand, I will wait for your hobby holiday then Smile
Back to top
View user's profile Send private message Send e-mail
Khaj
Junior Member
Junior Member


Joined: 10 Apr 2015
Posts: 10

PostPosted: Wed Oct 18, 2017 4:15 am    Post subject: Reply with quote

Thanks! But anyway actually you could just, you know, try to request this feature from, for example, the tortoisegit people .. maybe they will adopt the code or do anything faster than me Smile
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group