CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Mon Dec 17, 2018 5:51 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 

Would you find github support useful in CODESYS
yes 92%  92%  [ 12 ]
no 8%  8%  [ 1 ]
Total votes: 13
Author Message
 Post subject: CODESYS SVN and Github
PostPosted: Tue May 17, 2016 8:46 pm 
Offline

Joined: Fri Nov 23, 2012 11:42 am
Posts: 54
Has anyone had any success in using CODESYS SVN to store projects on github?

I want to be able to collaborate on a project with a remote colleague. Given that github supports SVN access I hoped that it would be possible to use CODESYS SVN to upload a project onto a github repository.

When I tried to import the project into an existing folder CODESYS complains because the folder is not empty. If I try importing into a named new subfolder beneath trunk I get an error from github saying that it cannot support an empty directory.

I know I could just store project files on github, but I like the feature set of CODESYS SVN and would prefer to be able to use it directly.


Top
   
PostPosted: Wed Oct 12, 2016 2:50 pm 
Offline
Frequent User
Frequent User
User avatar

Joined: Fri Mar 18, 2011 4:12 pm
Posts: 266
Just a side note: Github internally uses some kind of GIT-Subversion bridge (similar bridges are available for TFS). Most of those bridges are somehow "lossy", they don't support all SVN features. CODESYS SVN heavily depends on some of those features, e. G. SVN properties, which are not supported by most of those bridges. One possible solution is to change the storage format used by CODESYS SVN (which would render it incompatible to older versions of the AddOn, but might have other advantages), the other solution is to enhance the adapters so they provide a proper emulation of all needed SVN features.

_________________
Check out the CODESYS store: http://store.codesys.com/

CODESYS® a trademark of 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions


Top
   
PostPosted: Wed Nov 09, 2016 5:18 pm 
Offline

Joined: Fri Nov 23, 2012 11:42 am
Posts: 54
M.Schaber wrote:
... One possible solution is to change the storage format used by CODESYS SVN (which would render it incompatible to older versions of the AddOn, but might have other advantages), the other solution is to enhance the adapters so they provide a proper emulation of all needed SVN features.


Thank you Marcus, I'm sure that you are correct that it is the loss of properties that is the main issue with using the Github SVN bridge. As I only see the results of your work, and not the effort involved, I must admit I'm attracted to the idea of a format change so that only the basic SVN features are used thus allowing bridges to be used. Presumably a format upgrade process would be possible.

One further thought if you ever do look at the format used. I think it would be highly beneficial if we could re-constitute a CODESYS project from the raw files checked out of SVN using a command line script. My reason for mentioning this is for integration with continuous integration systems. I currently use jenkins, and actually check out projects twice, once using raw SVN and then using codesys (to checkout the same version).

Nice ideas for the wish list - not sure how well you can prioritise these:)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited