Recent

Author Topic: Where should I publish & share my Codes & Projects ? (which Host to choose)  (Read 4347 times)

metis

  • Sr. Member
  • ****
  • Posts: 300
Hi to all.

I started this Topic to discuss the Pros & Cons of diverse Code&Project-Hosts, like GitHub or GitLab.
Which one is best? Which one fits best to whom? What are the Differences?

This is, how and where the Discussion began: https://forum.lazarus.freepascal.org/index.php/topic,26666.msg373353.html#msg373353.

Thanks for Your Replies.
« Last Edit: August 11, 2020, 01:16:15 pm by metis »
Life could be so easy, if there weren't those f*** Details.
My FFmpeg4Lazarus = FFPlay4Laz + FFGrab4Laz + FFInfo4Laz

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
You may do like PulseAudio (and like me very soon): have both the source on GitLab and Github.
And synchronize both.

https://gitlab.freedesktop.org/pulseaudio

and

https://github.com/pulseaudio/pulseaudio


I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Which one won't bring you into trouble, if the USA adds to the banned countries, or bans some crypto  tech?

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Which one won't bring you into trouble, if the USA adds to the banned countries, or bans some crypto  tech?

Yes of course, but I fear it will be the same for all other hosts and, if it is not the country that decides to ban, it could be the owner of the host too (or the web provider or surely the Covid).

If you have your own server you may create your own git server.
Sure it must exist "out-of-the-box" git host program to create your own "MyGit" server.

But maybe for the project of Metis, the existing GitHub and GitLaB hosts that are easy to use for beginners is ok.
And after, of course, he may create his own git server.
« Last Edit: August 13, 2020, 03:40:54 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Here some trick how to create your own git server.

https://www.linux.com/training-tutorials/how-run-your-own-git-server/

Note that GitHub source are not available so you will not be able to give the same interface as GitHub site for the clients.

But GitLab is open source, so you may use the same interface as GitLab site (that, imho, is great).

Fre;D
« Last Edit: August 13, 2020, 03:52:51 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
If it is a scientific project you might want to consider zenodo. This is a service by the CERN and the European Union and therefore unaffected by possible US bans. Another advantage is that you receive a DOI for every release, but of course, it has to do with science and you have to come from Europe.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

metis

  • Sr. Member
  • ****
  • Posts: 300
Two Points not treated yet, with which this Discussion actually started:

#1 Security of Your personal Data:
https://www.securitynewspaper.com/2020/05/07/microsoft-is-owner-of-github-and-its-own-github-account-hacked/#:~:text=Microsoft%20is%20owner%20of%20GitHub%20and%20its%20own,data%20stored%20in%20Microsoft%E2%80%99s%20private%20repositories%20on%20GitHub.
-> GoTo "The threat actor offered...on a hacking forum...to use site ‘credits’ to gain access to the exposed data". :(

#2 Responsibility, even for Activities of others:
https://about.gitlab.com/terms/#gitlab_com
> GoTo "..., you are responsible for maintaining the security of your account, and
              you are fully responsible for all activities that occur under the account and
              any other actions taken in connection with the account."
. ;D

And here #3 another Point (I already told Fred vS, that maybe, I know too much Lawyers  :D ):
What happens, if those Sites are sold? (may happen easily nowadays).
New Owner(s) -> New Rules.
Who guarantees, that their open-source Contents, might not turn to proprietary ?

I still only see Advantages for Teams of Developers.
So, why should I complicate my Life unnecessarily ?  8-)
« Last Edit: March 10, 2023, 04:28:10 pm by metis »
Life could be so easy, if there weren't those f*** Details.
My FFmpeg4Lazarus = FFPlay4Laz + FFGrab4Laz + FFInfo4Laz

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Quote
So, why should I complicate my Life unnecessarily


For users.

Yesterday I did create my GitLab reository and mirrored all my projects of Github.

It takes me less then 3 minutes.

And for using of git nothing complicated, I use only 3 commands after some change in project source:

Code: Text  [Select][+][-]
  1. git add --all
  2. git commit --all
  3. git push


« Last Edit: August 13, 2020, 07:58:34 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
If it is a scientific project you might want to consider zenodo. This is a service by the CERN and the European Union and therefore unaffected by possible US bans. Another advantage is that you receive a DOI for every release, but of course, it has to do with science and you have to come from Europe.

Hello.

Following this:

https://www.linux.com/training-tutorials/how-run-your-own-git-server/

It seems very easy to create a clone of GitLab on your personal server.

Why does it not exist a GitLab_europa with all the servers in Europe?

Fre;D




I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
It seems very easy to create a clone of GitLab on your personal server.

There used to be a European source code repository located in Berlin (berliOS), but it was, unfortunately, closed-down in 2014.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
It seems very easy to create a clone of GitLab on your personal server.

There used to be a European source code repository located in Berlin (berliOS), but it was, unfortunately, closed-down in 2014.

I am absolutely not a politic man, nor a militant European but this one, sincerely is a shame to not exist any more.
The European Commission should have done that since decade.
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
It seems very easy to create a clone of GitLab on your personal server.

There used to be a European source code repository located in Berlin (berliOS), but it was, unfortunately, closed-down in 2014.

I am absolutely not a politic man, nor a militant European but this one, sincerely is a shame to not exist any more.
The European Commission should have done that since decade.

It's a shame, you are right – the more as berliOS closed down due to lack of funding.

I personally use SourceForge as primary host and GitHub as a mirror and don't find them as bad, but certain restrictions apply, including the ban of certain countries due to US legislation.

If it is really so easy to build an own Git server: Would it be theoretically possible for the Free Pascal and Lazarus Foundation to create and/or maintain an archive network for projects mainly in Pascal? Other languages have built this kind of network (e.g. CTAN for TeX, CPAN for Perl, CRAN for R etc.). Why shouldn't we establish a similar infrastructure?
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
If it is really so easy to build an own Git server: Would it be theoretically possible for the Free Pascal and Lazarus Foundation to create and/or maintain an archive network for projects mainly in Pascal? Other languages have built this kind of network (e.g. CTAN for TeX, CPAN for Perl, CRAN for R etc.). Why shouldn't we establish a similar infrastructure?

If I had a good server, sure I would propose it.

And analyzing the thing now, I dont even understand why nobody did create a "GitEU.com" site (based on GitLab code) + git server.

It could be a University, even why not use the severs of European Commission in Brussels (that wait for data)?
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

metis

  • Sr. Member
  • ****
  • Posts: 300
@Fred vS

Just to avoid Misunderstandings…

Quote
It takes me less then 3 minutes. + And for using of git nothing complicated,...
Not the Creation & Usage is "complicated", but possible legal or personal Consequences.
(But, thank You for Showing, how to do it.)
And, "unnecessarily" means in this Context:
"if actually not needed, not better, no Advantages" for the Code's/Project's Author(s).


@jwdietrich
Quote
..., but certain restrictions apply, ...
Which ones, beside of "the ban of certain countries due to US legislation" ?
Quote
...to create and/or maintain an archive network for projects mainly in Pascal?
Would be nice - Good Idea.

There are still no Answers to the Points, that I brought into this Discussion (see above, Reply #6):
#1: How's about "Security of Your personal Data" ?
#2: How's about "Responsibility, even for Activities of others" ?
#3: Who's actually the Owner of the Site's Codes&Projects? What happens with them, if those Sites are sold ?
« Last Edit: August 14, 2020, 12:44:13 pm by metis »
Life could be so easy, if there weren't those f*** Details.
My FFmpeg4Lazarus = FFPlay4Laz + FFGrab4Laz + FFInfo4Laz

lucamar

  • Hero Member
  • *****
  • Posts: 4219
#3: Who's actually the Owner of the Site's Codes&Projects? What happens with them, if those Sites are sold ?

The owner of the code and anything else pertaining to a project is the person identified as such, usually the same one that uploaded it. In this respect it doesn't matter who owns the site itself. It's basically a question of copyright.

What matters is whether the site's terms of service which you accepted give any kind of license to the site owner but usually they grant themselves only enough (maybe a little more than barely "enough") to be able to give the service and, more important, those conditions can't be changed unilateraly without giving you the option of accepting the new conditions or retiring your content.

Of course, depends a little on both: where the service is located and where you are located, but most of the wolrd has similar rules in this respect due to obligations set on international "trade" treaties.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

 

TinyPortal © 2005-2018