CRUX

Welcome to CRUX bug tracking.
Tasklist

FS#1793 - Provide .git drivers for core/opt/xorg/contrib

Attached to Project: CRUX
Opened by Steffen Nurpmeso (steffen) - Tuesday, 10 March 2020, 20:24 GMT
Task Type Feature Request
Category ports
Status New
Assigned To No-one
Operating System CRUX
Severity Low
Priority Normal
Reported Version 3.5
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 3
Private No

Details

These are only accessible via rsync. Access via git is less resource intensive everywhere.

diff --git a/ports/contrib.git.inactive b/ports/contrib.git.inactive
new file mode 100644
index 00000000..82b1c5f9
--- /dev/null
+++ b/ports/contrib.git.inactive
@@ -0,0 +1,3 @@
+NAME=contrib
+URL=git://crux.nu/ports/contrib.git
+BRANCH=3.5
diff --git a/ports/core.git.inactive b/ports/core.git.inactive
new file mode 100644
index 00000000..958ea7fc
--- /dev/null
+++ b/ports/core.git.inactive
@@ -0,0 +1,3 @@
+NAME=core
+URL=git://crux.nu/ports/core.git
+BRANCH=3.5
diff --git a/ports/opt.git.inactive b/ports/opt.git.inactive
new file mode 100644
index 00000000..3427a042
--- /dev/null
+++ b/ports/opt.git.inactive
@@ -0,0 +1,3 @@
+NAME=opt
+URL=git://crux.nu/ports/opt.git
+BRANCH=3.5
diff --git a/ports/xorg.git.inactive b/ports/xorg.git.inactive
new file mode 100644
index 00000000..b13d7052
--- /dev/null
+++ b/ports/xorg.git.inactive
@@ -0,0 +1,3 @@
+NAME=xorg
+URL=git://crux.nu/ports/xorg.git
+BRANCH=3.5
This task depends upon

Comment by Tim Biermann (tb) - Tuesday, 21 September 2021, 22:09 GMT
Is it actually less resource hungry then rsync? Do you have any data to back that up?
Comment by Steffen Nurpmeso (steffen) - Wednesday, 22 September 2021, 11:57 GMT
Depends on how many heads the repo has maybe.
Comment by Tim Biermann (tb) - Wednesday, 22 September 2021, 12:07 GMT
Data, please.
Comment by Steffen Nurpmeso (steffen) - Wednesday, 22 September 2021, 12:23 GMT
What do you mean Mr. Beerman? rsync has to go and compare file content hashes of all covered directories/files, whereas git only compares head hashes. (However, if you have many heads, quite a lot of hashes are to be compared.)
With some but not that much hashes about >~50KB

Sep 22 11:02:30 lighttpd[2589]: git.sdaoden.eu:443 <200> 195.113.20.142 I=170 O=54135 T=1 : "GET /scm/s-nail.git/info/refs?service=git-upload-pack HTTP/1.1"

With a few hashes only ~3KB

Sep 22 11:02:34 lighttpd[2589]: git.sdaoden.eu:443 <200> 195.113.20.142 I=170 O=3137 T=0 : "GET /scm/s-roff.git/info/refs?service=git-upload-pack HTTP/1.1"
Comment by Tim Biermann (tb) - Wednesday, 22 September 2021, 12:35 GMT
Since this is not for me to decide anyway, let's just wait for somebody else to decide on the ticket, shall we?

Loading...