OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Programming => Topic started by: Meeko on March 01, 2015, 01:30:35 am

Title: Version control
Post by: Meeko on March 01, 2015, 01:30:35 am
On Hobbes I could not find either Mercurial (the one I prefer) or Subversion. What options are available for Warp 4?
Title: Re: Version control
Post by: Dave Yeo on March 01, 2015, 01:41:07 am
Mercurial, subversion, cvs and git are all available. Start at http://os2ports.smedley.info/ (http://os2ports.smedley.info/) for mercurial (Python 2.7) and subversion.
Title: Re: Version control
Post by: Martin Iturbide on March 03, 2015, 09:20:45 pm
...and if you are looking for something to code you can always get "OS/2 source code inspiration" on github: https://github.com/os2world
 ;D  ...or here it is a more friendly list of open source software for OS/2.  (http://www.os2world.com/wiki/index.php/Category:Open_Source_Software)
Title: Re: Version control
Post by: Dariusz Piatkowski on April 19, 2015, 05:56:26 pm
So a follow-up to Erich's original post: what are the current OS/2 developers (any/all) using for their projects?

I guess I'm really talking about local projects...the Firefox/AOO/etc, which are group projects are one thing, but for a local (single) apsiring developer like myself, what are the recommendations as far as setting up native OS/2 development platform, and specifically the version control piece of this?

Case in point, it probably has been about 4 yrs since I had my development up and running, mostly doing some intro OS/2 coding. My "toolset" was composed of:
1) VAC++ 4
2) IBM C/C++ 3.6.5
3) OS/2 Dev Tookit (OS/2 Warp Toolkit)
4) Visual SlickEdit (editor)
5) Borland C++
6) Open Watcom C/C++
7) VisPro/REXX 3.1
8) CVS / jCVS

Given all of the above, and my intent to do some native OS/2 development (not porting) on a local machine, what do you guys suggest as the most applicable version control application?

I'm guessing maybe continue on with my CVS? Or is it better to go to github and share the work as early on as possible to help out, and be helped by others?
Title: Re: Version control
Post by: Martin Iturbide on April 19, 2015, 06:07:52 pm
Hi Dariusz

I will recommend you to try an open souce development project on github. Github gives a very easy and good service for free to host your code and make it easy to have a wiki and for people to report issues.

About CVS vs Git. I had tried a little bit CVS some years ago and I found git more easy to use, simple and very straight forward to make clones and commit. If you have no problem learning the git.exe command lines it will be very simple to use. Here it goes a very simple introduction to it: http://www.edm2.com/index.php/Using_Git_under_eComStation (http://www.edm2.com/index.php/Using_Git_under_eComStation)

Regards
Title: Re: Version control
Post by: Martin Iturbide on April 19, 2015, 06:57:25 pm
....what are the recommendations as far as setting up native OS/2 development platform, ...

I'm not a developer, but I also see as native the development that is based on Libc and Qt.

Qt 4.6 framework (http://trac.netlabs.org/qt4 (http://trac.netlabs.org/qt4)) is native for OS/2 (it runs over PM and CPI and it is not intepretated code) and it ofers a very rich set of GUI functions.

Also the GNU C (GCC - http://os2ports.smedley.id.au/index.php?page=gcc-v4-9-x (http://os2ports.smedley.id.au/index.php?page=gcc-v4-9-x)) compiler and his LibC library (ported from Linux), is also native, it run over OS/2's CPI and has a good set of C functions.

I look this two tools/libraries/frameworks with good eyes for the OS/2-eCS platform.

Regards
Title: Re: Version control
Post by: Martin Iturbide on April 19, 2015, 07:21:32 pm
By the way QtCreator (IDE) looks also very interesting for OS/2-eCS. There is also ported QtDesigner to create GUI in a graphic way.

Title: Re: Version control
Post by: Andi B. on April 20, 2015, 09:37:30 am
Quote
what do you guys suggest as the most applicable version control application?
I would suggest git for all your development. No matter if you manage your repository on your own server or on some public sites. BUT currently git for OS/2 lacks a decent GUI. You can use older versions of smartgit (needs Java6) to check out (pull) and browse repositories but have to use CLI commands to check in (push).

Second best option IMHO is SVN. I use SmartSVN for managing both local and remote repositories. If you develop something interesting for other  OS/2 - eCS users you can ask Adrian to manage your SVN project at netlabs.org. Private repositories can be handled at your own server. You have to set up the svn server on one of your systems. IIRC I've written down the necessary steps at wiki.netlabs.org.

At this time I would not vote for CVS anymore. It's so ancient and misses current needs.

Unfortunately we do not have version control integrated like TortoiseSVN or TortoiseGit on Win. Although it seems to be not very complicated to extend WPS menus in a similar way no one have done it right now.
Title: Re: Version control
Post by: Neil Waldhauer on April 20, 2015, 04:45:19 pm
What version of SmartGIT do you use, and where did you get the old version?
Title: Re: Version control
Post by: Martin Iturbide on April 20, 2015, 08:16:26 pm
Hi Neil

They have the archive here: http://www.syntevo.com/smartgit/download-archive (http://www.syntevo.com/smartgit/download-archive)

Regards
Title: Re: Version control
Post by: Dave Yeo on April 21, 2015, 12:22:31 am

They have the archive here: http://www.syntevo.com/smartgit/download-archive (http://www.syntevo.com/smartgit/download-archive)


They all list JRE7+ as a requirement.
There's also Mercurial for version control, I'm more used to it the Git due to Mozilla using it but is roughly equivalent and of course there is a TortoiseHG. There's also Bitbucket http://bitbucket.org (http://bitbucket.org) which is similar to Github except it also supports Mercurial as well as Git.