Author Topic: Version control  (Read 12082 times)

Meeko

  • Guest
Version control
« 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?

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: Version control
« Reply #1 on: March 01, 2015, 01:41:07 am »
Mercurial, subversion, cvs and git are all available. Start at http://os2ports.smedley.info/ for mercurial (Python 2.7) and subversion.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Version control
« Reply #2 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.
« Last Edit: March 03, 2015, 09:32:40 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dariusz Piatkowski

  • Hero Member
  • *****
  • Posts: 1317
  • Karma: +26/-0
    • View Profile
Re: Version control
« Reply #3 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?

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Version control
« Reply #4 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

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Version control
« Reply #5 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) 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) 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
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Version control
« Reply #6 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.

« Last Edit: April 19, 2015, 07:24:25 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Andi B.

  • Hero Member
  • *****
  • Posts: 811
  • Karma: +11/-2
    • View Profile
Re: Version control
« Reply #7 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.

Neil Waldhauer

  • Hero Member
  • *****
  • Posts: 1024
  • Karma: +24/-0
    • View Profile
    • Blonde Guy
Re: Version control
« Reply #8 on: April 20, 2015, 04:45:19 pm »
What version of SmartGIT do you use, and where did you get the old version?
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Version control
« Reply #9 on: April 20, 2015, 08:16:26 pm »
Hi Neil

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

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: Version control
« Reply #10 on: April 21, 2015, 12:22:31 am »

They have the archive here: 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 which is similar to Github except it also supports Mercurial as well as Git.