~emacs/emacs#2: 
replace current git repo with a full mirror

would you mind if we replaced the current git repo with a full mirror? (probably requires a git ... --force command)

you can see what i mean here: https://git.sr.ht/~johnmuhl/emacs-mirror

if that is ok i can point the server i have running a cron job to pick up commits from upstream to here instead of my personal repo. i think i'd just need to add the public key from the server to the ~emacs/emacs repo.

does all of that sound ok?

Status
RESOLVED IMPLEMENTED
Submitter
~johnmuhl
Assigned to
No-one
Submitted
2 years ago
Updated
2 years ago
Labels
No labels applied.

~emacs 2 years ago

Absolutely. I used git clone --mirror so all branches should be preserved. However, it is not on a cron job yet. Go ahead. Do you have the necessary permissions?

~johnmuhl 2 years ago

On Wed, 2021-12-22 at 07:58 +0000, ~emacs wrote:

Absolutely. I used git clone --mirror so all branches should be preserved. However, it is not on a cron job yet. Go ahead. Do you have the necessary permissions?

if i do i can't figure out how to exercise them.

if it isn't a hassle could you add the public key:

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII/UGFGYdDp+KhKoOnyFgjeJVgHxLrA6FIGwa9nXeCEc jm@mirror

or if you know how i can do that myself that'd be fine too.

~johnmuhl 2 years ago

On Wed, 2021-12-22 at 07:58 +0000, ~emacs wrote:

I used git clone --mirror so all branches should be preserved.

i see that now. i don't know what i was looking at before that just had a master branch. so hopefully no --force will be necessary.

~emacs 2 years ago

You need a unique one, I'm afraid. I think you should be able to push with your normal user, though. Just try :)

~emacs 2 years ago

You should have rw permissions to the repo

~johnmuhl REPORTED IMPLEMENTED 2 years ago

right you are. i was thinking it must be more complicated than that. i've pushed the latest stuff from upstream and added this repo to the cron job. if you notice any commits missing let me know and i'll look into it.

~emacs 2 years ago

Great work :)

Register here or Log in to comment, or comment via email.