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?
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?
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.
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.
You need a unique one, I'm afraid. I think you should be able to push with your normal user, though. Just try :)
You should have rw permissions to the repo
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.
Great work :)