Texstudio: GIT instead of SVN

Created on 30 Jan 2020  路  13Comments  路  Source: texstudio-org/texstudio

SVN is integrated in TeXstudio. I think it makes sense to replace SVN with GIT in the future.

enhancement help wanted

Most helpful comment

That is already documented:
https://github.com/texstudio-org/texstudio/wiki/Scripts#git-commit-and-push

All 13 comments

I still use SVN for my local projects because it works well and there is no point in replacing something that works.

So if anyone needs GIT it is fine to add support for it, but SVN should stay too.

I use GIT for my local projects because it works well and there is no point in replacing something that works.

For editing papers or books in a team, Git has proven to be more useful because there are automatically many backups of the work. The decentralized approach has become particularly popular for students' theses. SVN server broken means work gone, if one Git clone is gone, it doesn't matter - as long as you have another one.

for none programmers, I also think that svn is easier to handle.
If someone wants to provide code to additionally handle git, be my guest.

I did not argue about the merits of SVN vs GIT. My point was (probably not well articulated) that SVN is still being widely used and getting rid of SVN support is a sure-fire way to cause problems to users (and therefore get user complaints). Of course adding GIT support sounds like a good idea (as long as someone provides the pull request with the code).

An embedded terminal (c.f. #864) would reduce the need for explicit VCS support. All actions could be performeded.

I think as a temporary workaround it is possible to create some macro that would do the commit through a system() call and then to assign a shortcut to that macro.

That is already documented:
https://github.com/texstudio-org/texstudio/wiki/Scripts#git-commit-and-push

Or you outsource the SCM commands in Qt plugins?
https://doc.qt.io/qt-5/plugins-howto.html

I would rather keep it simple...

  • #340
  • #59

I am not familiar with the development process of TexStudio and use of external libraries. But may be libgit2 is a good option to integrate git. It supports all platforms, well documented and it is still an active project.

using the command line git program is sufficient.
no need for further dependencies.

Except for managing a diff and/or merge, I personally don't think integrating git into the Editor UI has any advantages over using the git command line program. But maybe that is just me, who is pretty used to use git from the command line all the time -- especially when programming.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

homocomputeris picture homocomputeris  路  7Comments

jeanlucthumm picture jeanlucthumm  路  3Comments

OsbertWang picture OsbertWang  路  6Comments

01000110 picture 01000110  路  10Comments

sjx95 picture sjx95  路  7Comments