Jump to content

Recommended Posts

My company is moving over to GitLAB from TFS.

I never used TFS for my scripts because I found it to difficult to use outside of Visual Studio.

 

GitLab has a bunch of Command line options you can use create, get, sync, etc so I was wondering if anyone has created a plug-in or something to work with SciTE?

I have done some searching but don't find anything.  Perhaps once I really get into Git, i'll try and build something if it's not already out there.

 

Thanks,

Mike

Link to post
Share on other sites
  • Developers

Have you looked at the Full version of SciTE4Autoit3 where I've build in the basic support for versioning tools in AutoIt3Wrapper.
I build the config for SVN & HG in AutoIt3wrapper.ini:

[Versioning]
Versioning=SVN
DiffPGM=C:\Program Files (x86)\WinMerge\WinMergeU.exe
DiffPGMOptions=/wr
Prompt_Comments=y
debug=1

[SVN]
VersionPGM=C:\Program Files\TortoiseSVN\bin\svn.exe
CommandChkVersioning=info "%sourcedir%"
CommandChkVersioning_ok_txt=Working Copy Root Path:
CommandChkVersioning_ok_rc=
CommandStatusSource=status "%sourcefile%" -u
CommandStatusSource_ADD_txt=\?\s*?%sourcefile%
CommandStatusSource_ok_txt=[MA\?][\s\d-]*?%sourcefile%
CommandLogSource=log "%sourcefile%" -l 5
CommandAddSource=add "%sourcefile%"
CommandAddSource_ok_txt=A.*?%sourcefileonly%
CommandAddSource_ok_rc=
CommandCommitSource=commit "%sourcefile%" --message "%commitcomment%"
CommandCommitSource_ok_txt=
CommandCommitSource_ok_rc=0
CommandCommitSource_new_revision=(?i)(?s)committed revision\s*([0-9]*)
CommandGetLastVersion=cat "%sourcefile%"
CommandGetLastVersion_ok_txt=
CommandGetLastVersion_ok_rc=0

[HG]
VersionPGM=C:\Program Files\TortoiseHg\hg.exe
CommandChkVersioning=config
CommandChkVersioning_ok_txt=bundle.mainreporoot=
CommandChkVersioning_ok_rc=
CommandStatusSource=status "%sourcefile%" -u
CommandStatusSource_ADD_txt=\?\s*?%sourcefile%
CommandStatusSource_ok_txt=[MA\?][\s\d-]*?%sourcefile%
CommandLogSource=log "%sourcefile%" -l 5
CommandAddSource=add "%sourcefile%"
CommandAddSource_ok_txt=A.*?%sourcefileonly%
CommandAddSource_ok_rc=
CommandCommitSource=commit "%sourcefile%" --message "%commitcomment%"
CommandCommitSource_ok_txt=
CommandCommitSource_ok_rc=0
CommandCommitSource_new_revision=(?i)(?s)committed revision\s*([0-9]*)
CommandGetLastVersion=cat "%sourcefile%"
CommandGetLastVersion_ok_txt=
CommandGetLastVersion_ok_rc=0

Which should be possible to extent with GITHUB or GITLAB commands. I would be happy to incorporate this into the standard setup when somebody already has the commands defined.

Jos

 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...