Forum > Free Pascal
gitlab conversion online.
dseligo:
--- Quote from: stocki on August 09, 2021, 10:32:15 am ---Why a glitch in my network? SVN worked for years. Git sucks.
--- End quote ---
For me it works without problem.
--- Code: Text [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---dseligo@router:~/priv$ git clone https://gitlab.com/freepascal.org/fpc/source.git fpcCloning into 'fpc'...remote: Enumerating objects: 662986, done.remote: Counting objects: 100% (662986/662986), done.remote: Compressing objects: 100% (127967/127967), done.remote: Total 662986 (delta 533038), reused 662495 (delta 532575), pack-reused 0Receiving objects: 100% (662986/662986), 164.46 MiB | 9.92 MiB/s, done.Resolving deltas: 100% (533038/533038), done.Checking out files: 100% (20100/20100), done.dseligo@router:~/priv$
marcov:
--- Quote from: stocki on August 09, 2021, 10:03:42 am ---Does that really work? After about 60% git clone I get an RPC error or something like that. The download stops. Git is a dubious technology. SVN was much more stable.
--- End quote ---
Yes. I also had to try twice. Moreover I had to answer 20 sodding questions for tortoisegit + git config statements, while I needed 3 for tortoisesvn
Personally I was not a proponent of moving to GIT. It might have some cracking features, but usability and safety doesn't convince me.
ccrause:
--- Quote from: stocki on August 09, 2021, 10:32:15 am ---Why a glitch in my network? SVN worked for years. Git sucks.
--- End quote ---
Consider a shallow clone:
--- Code: Text [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---git clone --depth=1 https://gitlab.com/freepascal.org/fpc/source.git fpc-1Cloning into 'fpc-1'...remote: Enumerating objects: 21014, done.remote: Counting objects: 100% (21014/21014), done.remote: Compressing objects: 100% (18082/18082), done.remote: Total 21014 (delta 4060), reused 15100 (delta 2522), pack-reused 0Receiving objects: 100% (21014/21014), 48.29 MiB | 2.06 MiB/s, done.Resolving deltas: 100% (4060/4060), done.Updating files: 100% (20100/20100), done.This will clone only the latest state of branch main without any history.
Or you can specify a shallow clone of all the branches:
--- Code: Text [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---git clone --depth=1 --no-single-branch https://gitlab.com/freepascal.org/fpc/source.git fpc-2Cloning into 'fpc-2'...remote: Enumerating objects: 148851, done.remote: Counting objects: 100% (148851/148851), done.remote: Compressing objects: 100% (78871/78871), done.remote: Total 148851 (delta 109987), reused 102454 (delta 68874), pack-reused 0Receiving objects: 100% (148851/148851), 108.72 MiB | 2.04 MiB/s, done.Resolving deltas: 100% (109987/109987), done.Updating files: 100% (20100/20100), done.
Or clone a specific branch only, say fixes branch for 3.2:
--- Code: Text [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---git clone --depth=1 --branch fixes_3_2 --single-branch https://gitlab.com/freepascal.org/fpc/source.git fpc-fixes_3_2Cloning into 'fpc-fixes_3_2'...remote: Enumerating objects: 19875, done.remote: Counting objects: 100% (19875/19875), done.remote: Compressing objects: 100% (17677/17677), done.remote: Total 19875 (delta 3749), reused 12745 (delta 1808), pack-reused 0Receiving objects: 100% (19875/19875), 46.04 MiB | 2.54 MiB/s, done.Resolving deltas: 100% (3749/3749), done.Updating files: 100% (18957/18957), done.
As you can see there is considerable differences in the size of the transferred data.
And just for reference:
--- Code: Text [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---git --versiongit version 2.25.1
MarkMLl:
--- Quote from: ccrause on August 09, 2021, 12:05:42 pm ---As you can see there is considerable differences in the size of the transferred data.
--- End quote ---
Two points there: first, that doesn't show how much metadata is being moved around. Second, it doesn't show how much data Subversion would have moved around.
I've previously expressed my own doubts about Git for the sort of distribution that most users here need (the case for core developers, and the degree of integration with bug reporting etc., is a completely different issue). However the decision has been made.
MarkMLl
stocki:
Seems to me the git timeout kills the connection on slow DSL connections. The server needs to be configured correctly.
Navigation
[0] Message Index
[#] Next page
[*] Previous page