* Git versus Bzr what is going on with emacs-24 branch?
@ 2012-12-27 9:00 Vitalie Spinu
2012-12-27 9:16 ` Vitalie Spinu
0 siblings, 1 reply; 13+ messages in thread
From: Vitalie Spinu @ 2012-12-27 9:00 UTC (permalink / raw)
To: emacs-devel
Hi,
I have just updated git remote refs, and found that emacs-24 is 6 months
old
2012-07-12 09:12 Andreas Schwab o [emacs-24] [origin/emacs-24] Fixes: debbugs:11917
Checked savanah web source browser: http://git.savannah.gnu.org/cgit/emacs.git
It says the same thing. Bzr is ok: http://bzr.savannah.gnu.org/lh/emacs/
What is going on? Is this normal? And if so, how should I adjust my
local branches?
Thanks,
Vitalie
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Git versus Bzr what is going on with emacs-24 branch?
2012-12-27 9:00 Git versus Bzr what is going on with emacs-24 branch? Vitalie Spinu
@ 2012-12-27 9:16 ` Vitalie Spinu
2012-12-27 9:37 ` Xue Fuqiao
2012-12-27 12:18 ` Adam Sjøgren
0 siblings, 2 replies; 13+ messages in thread
From: Vitalie Spinu @ 2012-12-27 9:16 UTC (permalink / raw)
To: emacs-devel
>> Vitalie Spinu <spinuvit@gmail.com>
>> on Thu, 27 Dec 2012 10:00:51 +0100 wrote:
VS> Hi,
VS> I have just updated git remote refs, and found that emacs-24 is 6 months
VS> old
VS> 2012-07-12 09:12 Andreas Schwab o [emacs-24] [origin/emacs-24] Fixes: debbugs:11917
VS> Checked savanah web source browser: http://git.savannah.gnu.org/cgit/emacs.gitIt says the same thing. Bzr is ok: http://bzr.savannah.gnu.org/lh/emacs/
VS> What is going on? Is this normal? And if so, how should I adjust my
VS> local branches?
Ok, it's not only emacs-24 it's the whole git mirror. A savannah holiday
glitch, I assume.
Vitalie
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Git versus Bzr what is going on with emacs-24 branch?
2012-12-27 9:16 ` Vitalie Spinu
@ 2012-12-27 9:37 ` Xue Fuqiao
2012-12-27 12:18 ` Adam Sjøgren
1 sibling, 0 replies; 13+ messages in thread
From: Xue Fuqiao @ 2012-12-27 9:37 UTC (permalink / raw)
To: Vitalie Spinu; +Cc: emacs-devel
On Thu, 27 Dec 2012 10:16:29 +0100
Vitalie Spinu <spinuvit@gmail.com> wrote:
> A savannah holiday glitch, I assume.
I think so, too.
--
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Git versus Bzr what is going on with emacs-24 branch?
2012-12-27 9:16 ` Vitalie Spinu
2012-12-27 9:37 ` Xue Fuqiao
@ 2012-12-27 12:18 ` Adam Sjøgren
2013-02-07 21:58 ` John Wiegley
1 sibling, 1 reply; 13+ messages in thread
From: Adam Sjøgren @ 2012-12-27 12:18 UTC (permalink / raw)
To: emacs-devel
On Thu, 27 Dec 2012 10:16:29 +0100, Vitalie wrote:
> Ok, it's not only emacs-24 it's the whole git mirror. A savannah holiday
> glitch, I assume.
The repo.or.cz mirror doesn't seem to exhibit the same problem, in the
meantime:
* http://repo.or.cz/w/emacs.git
Best regards,
Adam
--
"You miss too much these days if you stop to think" Adam Sjøgren
asjo@koldfront.dk
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Git versus Bzr what is going on with emacs-24 branch?
2012-12-27 12:18 ` Adam Sjøgren
@ 2013-02-07 21:58 ` John Wiegley
2013-02-07 22:14 ` Óscar Fuentes
0 siblings, 1 reply; 13+ messages in thread
From: John Wiegley @ 2013-02-07 21:58 UTC (permalink / raw)
To: emacs-devel
>>>>> Adam Sjøgren <asjo@koldfront.dk> writes:
> The repo.or.cz mirror doesn't seem to exhibit the same problem, in the
> meantime:
> * http://repo.or.cz/w/emacs.git
I was running the Bzr->Git mirror on my old server, it looks like maybe
something happened and it died. I've since moved to another server, and
haven't restored the mirror process on that server, so I recommend using the
link above if it's up to date.
John
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Git versus Bzr what is going on with emacs-24 branch?
2013-02-07 21:58 ` John Wiegley
@ 2013-02-07 22:14 ` Óscar Fuentes
2013-02-08 0:17 ` John Wiegley
0 siblings, 1 reply; 13+ messages in thread
From: Óscar Fuentes @ 2013-02-07 22:14 UTC (permalink / raw)
To: emacs-devel
"John Wiegley" <johnw@newartisans.com> writes:
> I was running the Bzr->Git mirror on my old server, it looks like maybe
> something happened and it died. I've since moved to another server, and
> haven't restored the mirror process on that server, so I recommend using the
> link above if it's up to date.
Do you plan to continue mirroring the Emacs repo in the future?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Git versus Bzr what is going on with emacs-24 branch?
2013-02-07 22:14 ` Óscar Fuentes
@ 2013-02-08 0:17 ` John Wiegley
2013-02-08 18:59 ` Óscar Fuentes
0 siblings, 1 reply; 13+ messages in thread
From: John Wiegley @ 2013-02-08 0:17 UTC (permalink / raw)
To: emacs-devel
>>>>> Óscar Fuentes <ofv@wanadoo.es> writes:
> "John Wiegley" <johnw@newartisans.com> writes:
>> I was running the Bzr->Git mirror on my old server, it looks like maybe
>> something happened and it died. I've since moved to another server, and
>> haven't restored the mirror process on that server, so I recommend using
>> the link above if it's up to date.
> Do you plan to continue mirroring the Emacs repo in the future?
No, I lack the time to keep it running. I'd be happy to hand over the process
to anyone else who wishes to keep it going.
John
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Git versus Bzr what is going on with emacs-24 branch?
2013-02-08 0:17 ` John Wiegley
@ 2013-02-08 18:59 ` Óscar Fuentes
2013-02-08 20:04 ` Stefan Monnier
0 siblings, 1 reply; 13+ messages in thread
From: Óscar Fuentes @ 2013-02-08 18:59 UTC (permalink / raw)
To: emacs-devel, John Wiegley
"John Wiegley" <johnw@newartisans.com> writes:
>> Do you plan to continue mirroring the Emacs repo in the future?
>
> No, I lack the time to keep it running. I'd be happy to hand over the process
> to anyone else who wishes to keep it going.
I don't have a server for publising the mirror (nor possibly the cpu
resources for synching on a regular basis) but if you publish your scripts,
I would use them for keeping a private mirror.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Git versus Bzr what is going on with emacs-24 branch?
2013-02-08 18:59 ` Óscar Fuentes
@ 2013-02-08 20:04 ` Stefan Monnier
2013-02-08 20:20 ` Glenn Morris
0 siblings, 1 reply; 13+ messages in thread
From: Stefan Monnier @ 2013-02-08 20:04 UTC (permalink / raw)
To: Óscar Fuentes; +Cc: John Wiegley, emacs-devel
>>> Do you plan to continue mirroring the Emacs repo in the future?
>> No, I lack the time to keep it running. I'd be happy to hand over
>> the process to anyone else who wishes to keep it going.
> I don't have a server for publising the mirror
There's no need for another server publishing the mirror: git.sv.gnu.org
does the job just fine. The problem is to keep it uptodate.
Stefan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Git versus Bzr what is going on with emacs-24 branch?
2013-02-08 20:04 ` Stefan Monnier
@ 2013-02-08 20:20 ` Glenn Morris
2013-02-08 22:57 ` Óscar Fuentes
0 siblings, 1 reply; 13+ messages in thread
From: Glenn Morris @ 2013-02-08 20:20 UTC (permalink / raw)
To: emacs-devel
Stefan Monnier wrote:
> There's no need for another server publishing the mirror: git.sv.gnu.org
> does the job just fine. The problem is to keep it uptodate.
But it obviously is being updated, so I'm not sure what the point of
this discussion is. Just look at it:
http://git.savannah.gnu.org/cgit/emacs.git
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Git versus Bzr what is going on with emacs-24 branch?
2013-02-08 20:20 ` Glenn Morris
@ 2013-02-08 22:57 ` Óscar Fuentes
2013-02-09 13:02 ` Andreas Schwab
0 siblings, 1 reply; 13+ messages in thread
From: Óscar Fuentes @ 2013-02-08 22:57 UTC (permalink / raw)
To: emacs-devel
Glenn Morris <rgm@gnu.org> writes:
> Stefan Monnier wrote:
>
>> There's no need for another server publishing the mirror: git.sv.gnu.org
>> does the job just fine. The problem is to keep it uptodate.
>
> But it obviously is being updated, so I'm not sure what the point of
> this discussion is. Just look at it:
>
> http://git.savannah.gnu.org/cgit/emacs.git
The emacs git mirror at repo.or.cz is being updated too (actually, I
suspect that git.savannah.gnu.org is mirroring repo.or.cz, or vice
versa) but in the past the mirroring routine stopped for months and
there is no guarantee that it won't happen again. So I'll like to stop
depending on third parties and do the mirroring myself. Hence if anyone
wishes to share his recipe(*), I'll be grateful.
(*) IIRC, doing the job on a reasonably efficient and correct way is
non-trivial.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Git versus Bzr what is going on with emacs-24 branch?
2013-02-08 22:57 ` Óscar Fuentes
@ 2013-02-09 13:02 ` Andreas Schwab
2013-02-09 13:42 ` Xue Fuqiao
0 siblings, 1 reply; 13+ messages in thread
From: Andreas Schwab @ 2013-02-09 13:02 UTC (permalink / raw)
To: Óscar Fuentes; +Cc: emacs-devel
This is the script I'm using.
Andreas.
#!/bin/bash
test last-sync-start -nt last-sync-ready || touch -r last-sync-start last-sync
touch last-sync-start
rsync -av --del --exclude=obsolete_packs bzr.sv.gnu.org::bzr/emacs/ emacs.bzr/ || exit
old=$(wc -l < marks/git-marks)
cd emacs.git
git fetch
state=$(git show-ref)
cd ../emacs.bzr
heads=
while read r; do
b=${r%/.bzr/*}
bb=$b
test $b = master && bb=bzr/master
test $b = emacs-23/emacs-23.2 && continue
heads+=" refs/heads/$bb"
git --git-dir=../emacs.git show-ref -q --verify refs/heads/$bb &&
test $r -ot ../last-sync && continue
echo $b
bzr fast-export --plain --marks=../marks/bzr-marks -b $bb $b | (
cd ../emacs.git
git fast-import --force --quiet --export-marks=../marks/git-marks --import-marks=../marks/git-marks
)
done < <(find . -path "*/.bzr/branch/last-revision" -printf "%P\n" | sort)
touch ../last-sync-ready
cd ../emacs.git
git show-ref --heads |
while read rev head; do
test $head = refs/heads/master && continue
case " $heads " in
*" $head "*)
r=$(echo "$state" | awk -v head=$head '$2 == head { print $1 }')
if test -n "$r" && test "$(git merge-base $r $head)" != $r; then
git tag lost+found/$r $r
fi
;;
*)
git update-ref -d $head
if test -z "$(git branch --contains $rev)"; then
git tag lost+found/$rev $rev
fi
;;
esac
done
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Git versus Bzr what is going on with emacs-24 branch?
2013-02-09 13:02 ` Andreas Schwab
@ 2013-02-09 13:42 ` Xue Fuqiao
0 siblings, 0 replies; 13+ messages in thread
From: Xue Fuqiao @ 2013-02-09 13:42 UTC (permalink / raw)
To: Andreas Schwab; +Cc: Óscar Fuentes, emacs-devel
On Sat, 09 Feb 2013 14:02:19 +0100
Andreas Schwab <schwab@linux-m68k.org> wrote:
> This is the script I'm using.
Looks good. Thanks for your sharing.
--
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2013-02-09 13:42 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-27 9:00 Git versus Bzr what is going on with emacs-24 branch? Vitalie Spinu
2012-12-27 9:16 ` Vitalie Spinu
2012-12-27 9:37 ` Xue Fuqiao
2012-12-27 12:18 ` Adam Sjøgren
2013-02-07 21:58 ` John Wiegley
2013-02-07 22:14 ` Óscar Fuentes
2013-02-08 0:17 ` John Wiegley
2013-02-08 18:59 ` Óscar Fuentes
2013-02-08 20:04 ` Stefan Monnier
2013-02-08 20:20 ` Glenn Morris
2013-02-08 22:57 ` Óscar Fuentes
2013-02-09 13:02 ` Andreas Schwab
2013-02-09 13:42 ` Xue Fuqiao
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).