Synchronizing code changes between users on different location without Github?

This forum is meant for anything you would like to share with other visitors
ic2
Posts: 1798
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

Synchronizing code changes between users on different location without Github?

Post by ic2 »

For VO, when employees made changes, we send the changed .prg's/.mef's/.aef's to each other when needed. From time to time, I send the whole project directory which, after some checks for change code, will be "synchronized", for a while.

We want to do that for Visual Studio based projects as well, but preferably a bit easier. I am not sure if this is possible given our requirements:

1 It should NOT be an automated synchronizing tool. Changes should be checked before applied in a solution
2 It should NOT use a Microsoft cloud environment. That includes Github, which Microsoft acquired and as we all know, everything that Microsoft buys from a 3rd part will die within 2-3 years at most. Apart from that,everything published in Github has public access in the free plan and I am not willing to pay for an account using technology which I don't even want to use.

Preferably we want an upload of changed code to our own servers (like WCF, FTP, or even e-mail) and read it in other projects when it's convenient.

I know there are alternatives like Bitbucket. It's Australian owned which sounds good but It's still based upon external cloud usage and it comes with 50 mins/month Build minutes which for me is totally unclear: do we need that? If so, how many minutes?

We are aware of the fact that Visual Studio does not have an automated "commit" like VOPP has on existing VO. I also assume that a repo system may be the only way I can do it although when I used it for a while a few years ago I spent more time repairing "ghost misconfigurations" than I have spent repairing even the olders VO repository errors so a system tracking & exporting/importing changes without a repo would be ideal.

Does anyone have experience with alternatives and preferably those who are closely to my objectives?

Dick
User avatar
Fabrice
Posts: 405
Joined: Thu Oct 08, 2015 7:47 am
Location: France

Synchronizing code changes between users on different location without Github?

Post by Fabrice »

Hi Dick,

I (personally) really think that you should go Git.
ic2 wrote: 1 It should NOT be an automated synchronizing tool. Changes should be checked before applied in a solution
If pulling a change has an impact, then the DEV will have to proceed to merge and valid the changes; nothing automated here.
ic2 wrote: 2 It should NOT use a Microsoft cloud environment. That includes Github, which Microsoft acquired and as we all know, everything that Microsoft buys from a 3rd part will die within 2-3 years at most.
Mmm, not sure that Windows Server, Windows Desktop, Visual Studio or Xamarin will die in a near future...Just my feeling ;)
ic2 wrote: Apart from that,everything published in Github has public access in the free plan and I am not willing to pay for an account using technology which I don't even want to use.

Preferably we want an upload of changed code to our own servers (like WCF, FTP, or even e-mail) and read it in other projects when it's convenient.
The price is due to a service (like your app I suppose) : At least, you have a kind of insurance about backups, Server updates, ... but sure you can do it yourself, but the time you will spend on it is a working-time...so it also has a cost ;)
ic2 wrote: We are aware of the fact that Visual Studio does not have an automated "commit" like VOPP has on existing VO.
Yes, maybe you can run Visual Studio from a batch file, that force a push on exiting... But you will miss the comment you SHOULD put when pushing your changes.

Now, if you want to have your personal web/git server, I strongly suggest that you spend few minutes looking to Gogs.
It is a free, self-contained, Github-like solution.
Very easy to setup, linkable to ADS if needed, Cros--Platform, ....

I use it as an internal Git service at School for student's projects, definitely worth to look at.

HTH,
Regards,
Fab
XSharp Development Team
fabrice(at)xsharp.eu
User avatar
SHirsch
Posts: 281
Joined: Tue Jan 30, 2018 8:23 am

Synchronizing code changes between users on different location without Github?

Post by SHirsch »

Hi Dick,

I can also recommand git. You can set this up locally on your own server environment.
I have installed this on a Synology NAS that is also accessable via VPN from home office. Integration in XIDE would be a nice to have.

Stefan
User avatar
wriedmann
Posts: 3644
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Synchronizing code changes between users on different location without Github?

Post by wriedmann »

Hi Stefan,
Integration in XIDE would be a nice to have.
That would be interesting for me too... Should be possible with the plugin interface.... Only thing I miss is time <g>.

Would help a bit with the Tools library.

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
ic2
Posts: 1798
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

Synchronizing code changes between users on different location without Github?

Post by ic2 »

Hello Fabrice,

Thanks for your thoughts.
I (personally) really think that you should go Git.... At least, you have a kind of insurance about backups, Server updates....the time you will spend on it is a working-time...so it also has a cost
I understand your advice but for me Microsoft Github is a no go. Almost everything I use either created or ruined by Microsoft has worked out badly. Backup space I have more than enough elsewhere, so why pay for it? Server updates are even worse, they invariably cause trouble and should be applied with the lowest possible frequency, so I agree with the cost of time spent but the opposite of what you mean. ;)

Mmm, not sure that Windows Server, Windows Desktop, Visual Studio or Xamarin will die in a near future...
You'll never know with Microsoft but I am especially talking about acquired products like the Windows Phone, Wunderlist, aQuantive. Plus they are very good in ruining their own products as well. By withdrawing the support for IE trying to force users to use a crippled Edge with almost no features they are now on the verge being irrelevant in the browser market. Windows 8 was so intensely hated that even the market share of W10, given free for 1,5 year, still is roughly 1/3rd lower of that of W7 which actually has gone up in the first month of this year (see https://www.techrepublic.com/article/wi ... increases/ for example). Skype has also got a much hated new look and as a result Microsoft didn't even release figures for 2 years, but it's estimated they are losing users or keep their 300 million users at best. The only nice product I know from Microsoft (that is besides Spider Solitaire which BTW doesn't work anymore either in the W7 version without a trick), OneNote, is being killed as well the same way as IE: users are directed to an also crippled OneNote app because Microsoft must be able to inspect the data you enter in it in their cloud system (the OneNote app does not allow storage on disks).

Most users are happy to store their code on such a company's servers. I am not.

Now, if you want to have your personal web/git server, I strongly suggest that you spend few minutes looking to Gogs .
Looks interesting but I think it requires your own server? I have reseller packages on shared severs but can't setup the environment. I'll check that out further.

Dick
ic2
Posts: 1798
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

Synchronizing code changes between users on different location without Github?

Post by ic2 »

Hello Stefan,

I think a locally setup git has the same problem with Gogs recommended by Fabrice: I would need my own server, not a shared server with my own hosting places.

Not 100%, I'll check further.

Dick
User avatar
Fabrice
Posts: 405
Joined: Thu Oct 08, 2015 7:47 am
Location: France

Synchronizing code changes between users on different location without Github?

Post by Fabrice »

Dick,
Looks interesting but I think it requires your own server?
Well, yes you need a computer to run the application.
But you can have different scenarios :
- Shared server where you run the Gogs application : It will have it's own git-server and web-server process.
So, all devs are syncing to this server
- In-House server, running on... your desktop machine.
Each dev is pushing on his own repo, and every time you meet, you sync your changes...Try to keep it small to avoid some merge nightmares ;)
- Buy a RPI-3, put Gogs on it with an external... NAS/Hdd/Whatever you want; and open the ports of your router to point to this machine, and your done !

Fab
XSharp Development Team
fabrice(at)xsharp.eu
User avatar
robert
Posts: 4225
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Synchronizing code changes between users on different location without Github?

Post by robert »

Dick,
Ms has moved many parts of their own source code from their internal SCC servers to GitHub. I seriously doubt that they will kill GitHub. It will hurt them too.
We (X#) have a company account with GitHub. It costs us USD 25 per month and allows us to setup private repositories.
For that money you can't setup a Git server yourself.
And they make sure that the server keeps running. They have to because they use it themselves.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
ic2
Posts: 1798
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

Synchronizing code changes between users on different location without Github?

Post by ic2 »

Hello Robert,

There's no way I will use Microsoft Github. Even if they would pay me for it.

Even if they don't kill it there's a good chance that they ruin it at some point in time. I'll remind you to this post when they did.

But for now: Microsoft is far too eager to get data from users on their own servers. See the OneNote app: they are very well aware that a part of the users don't want (or are not allowed, like legal data) to put data in the cloud but they refuse to give the OneNote app a local storage option while they stop maintaining OneNote 2016 still can store on disks - they even silently remove it from Office 365 installation if people haven't used it so far!.

A company doing things like that can not be trusted with whatever data I have: so I've killed their telemetry, I don't use their Onedrive except for some tests and I will certainly not use their Github.

Dick
ic2
Posts: 1798
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

Synchronizing code changes between users on different location without Github?

Post by ic2 »

But you can have different scenarios :
Thanks Fabrice; I will spend some more time finding out how.

Dick
Post Reply