Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] portage livesync hinter Firewall
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1979
Location: Schweiz

PostPosted: Thu Jul 16, 2015 7:00 am    Post subject: [solved] portage livesync hinter Firewall Reply with quote

Ist es möglich Portage so zu konfigurieren das es den livesync über Port 80 abwickelt? Wenn ja wie müsste "sync-type" und "sync-uri" dafür aussehen?
/etc/portage/repos.conf:
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = ??????
sync-uri = ??????
auto-sync = yes

_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW


Last edited by schmidicom on Thu Jul 16, 2015 1:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
bell
Guru
Guru


Joined: 27 Nov 2007
Posts: 514

PostPosted: Thu Jul 16, 2015 12:09 pm    Post subject: Reply with quote

Mit sync-type=webrsync und einem http-Mirror als sync-uri sollte es gehen. Siehe auch https://wiki.gentoo.org/wiki/Project:Portage/Sync#Portage_configuration
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1979
Location: Schweiz

PostPosted: Thu Jul 16, 2015 12:12 pm    Post subject: Reply with quote

Ja so weit habe ich das auch verstanden nur wo man den genauen URL findet steht nirgends.
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
bell
Guru
Guru


Joined: 27 Nov 2007
Posts: 514

PostPosted: Thu Jul 16, 2015 12:15 pm    Post subject: Reply with quote

Wenn Du die URL weglässt? Der Webrsync sollte eine Default-URL haben. An sonsten probiere es mal mit http://distfiles.gentoo.org/snapshots/
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1979
Location: Schweiz

PostPosted: Thu Jul 16, 2015 12:16 pm    Post subject: Reply with quote

Ich will aber keine snapshots sondern den livesync.
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
bell
Guru
Guru


Joined: 27 Nov 2007
Posts: 514

PostPosted: Thu Jul 16, 2015 12:33 pm    Post subject: Reply with quote

Rsync läuft nicht über http. Aber git tut es. Leider scheint das experimentelle Repository http://anongit.gentoo.org/git/exp/gentoo-portage-rsync-mirror.git noch leer zu sein. :(
Hab folgendes bei Calculate-Linux gefunden: http://www.calculate-linux.org/blogs/en/320/show. Allerdings wäre es auch nicht "Live" sondern die syncen per rsync und dann Du mit git. :(

PS: Solange der "Haupt-Mirror" rsync ist, werden alle anderen Mirrors nicht "Live" sein. Snapshots sind genauso tagesaktuell wie die Mirrors. Die unterscheiden sich nur an der Tageszeit des Sync's zum Haupt-Repo.
Back to top
View user's profile Send private message
bell
Guru
Guru


Joined: 27 Nov 2007
Posts: 514

PostPosted: Thu Jul 16, 2015 1:36 pm    Post subject: Reply with quote

:D :D :D
Hab folgenden Mirror gefunden https://github.com/gentoo/gentoo-portage-rsync-mirror.git

Wenn ich mir die Commit-Übersicht anschaue,( https://github.com/gentoo/gentoo-portage-rsync-mirror/commits/master) scheint dieser tatsächlich "live" zu sein. :D :D
Mein Portage umgestellt, und eix-diff findet keine Änderung zum rsync-Stand :D
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1979
Location: Schweiz

PostPosted: Thu Jul 16, 2015 1:41 pm    Post subject: Reply with quote

Jep damit sollte es dann klappen, Danke.
/etc/portage/repos.conf:
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = git
sync-uri = https://github.com/gentoo/gentoo-portage-rsync-mirror.git
auto-sync = yes

_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
bell
Guru
Guru


Joined: 27 Nov 2007
Posts: 514

PostPosted: Thu Jul 16, 2015 3:01 pm    Post subject: Reply with quote

Eine kurze Anmerkung: "Live" ist dieser Git-Mirror natürlich auch nicht. Wird aber anscheinend alle 30 Minuten aktualisiert. Das ist für mich "Live" genug!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum