Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Local git mirror for Portage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 635

PostPosted: Sat Nov 02, 2024 5:34 pm    Post subject: Local git mirror for Portage Reply with quote

I have one, no idea how to replicate it, and have loads of other stuff running on that server (including other git repos) so it just kind of "slipped in" with the other apache configs and works.

I have a friend who is currently upping their gentoo game and should be running a local rsync/git mirror of their own: Anyone seen any how to guides for a local git mirror?
I know the rsync guides are good from when I last used them years ago, but can't find anything for git.

If push comes to shove and there isn't one, I can't decide whether to just "make one in a container" or find the simplest webserver and write the guide, thoughts?
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1710
Location: Germany

PostPosted: Sat Nov 02, 2024 5:50 pm    Post subject: Reply with quote

I do think you need to clarify it more what the need and the problems are.

If you are looking into a git mirror, read here:
https://docs.github.com/en/repositories/creating-and-managing-repositories/duplicating-a-repository
https://stackoverflow.com/questions/3959924/whats-the-difference-between-git-clone-mirror-and-git-clone-bare
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 635

PostPosted: Sat Nov 02, 2024 7:06 pm    Post subject: Reply with quote

Banana wrote:
If you are looking into a git mirror, read here:
A local mirror mate, not just a mirror of another repo still hosted at github et al.
The git* version of this guide is what I'm looking for, to send someone else to go and follow.

*because it's considerably quicker than rsync
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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