mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Fwd: [Texmacs-dev] Re: savannah downtime


Chronological Thread 
  • From: Gubinelli Massimiliano <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Fwd: [Texmacs-dev] Re: savannah downtime
  • Date: Thu, 2 Dec 2010 22:34:42 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=fPJggxEw0xFiaw/FTej3Vvshc0S15Y2K2dfU8Z/wLfcJrTxHFSaI3n6VIZjyrb5OSe CgNl84TfU9yJZxpficpAH0GFnOT6Wc5jZXY6kBNFxrKJz9et7CM42Ubs9/qZC2ISd0qr zw2fGrvVozxzK6500tIYSVF74lPfeycHal0Yk=

Hi,

On 2 déc. 2010, at 17:35, Liu Yubao wrote:

On Thu, Dec 2, 2010 at 9:19 PM, Gubinelli Massimiliano
<address@hidden> wrote:
Hi,

On 2 déc. 10, at 06:16, Yubao Liu wrote:

I didn't notice the git mirror at gitorious and just mirrored one to
https://github.com/Dieken/texmacs, it's done with git-svn not svn2git
which seems better.

Is the gitorious mirror official? texmacs's git repository is only 38 MB,
I think it's not a big problem to clone it.


It is official. We decided to keep it in sync with the main svn repository.
I saw that you have git-svn metadata in your repository. How does it work?
(I would like to replicate this on my repository). How do you save and
restore metadata? It is not possible to simply mirror the locally generated
repository (via git-svn) to the server (thus including all the metadata)?

Glad to know it's official, could you add a link to texmacs.org?

That git-svn metadata is obtained by the stupidest way, I just manually copy
.git/config and .git/svn to work tree and record them in git repository:-)
I record the meta data because it seems git-svn must re-sync from scratch
if I delete my local git repository.
// Just verified, missing .git/svn doesn't matter, git-svn will
rebuild it if has proper
// .git/config (contains git-svn configuration), but it's very slow for me.

I notice your git mirror was just set up two days ago, I suggest you create
it again when it's not used widely now. Here are the recommended steps:


    * use svn2git, not git-svn directly, I just found svn2git after I
mirrored texmacs
      svn repository, it's annoying that git-svn doesn't convert svn
branches/tags to
      git branches/tags.
          https://github.com/nirvdrum/svn2git/
          http://help.github.com/svn-importing/


Yes but this would work only for the first import. How to keep the branches/tags in sync automatically.
Maybe I can just do it by hand...

     * use an author file to obtain pretty author information in git,
a full author list could be
       obtained by parsing output of comand "svn log
svn://svn.savannah.gnu.org/texmacs".

I will.

     * think about creating a separate branch from the initial commit
to record git-svn/svn2git
       related meta data like I did, then you could do the
synchronization everywhere quickly
       without synchronizing from scratch or rebuilding git-svn meta
data. This isn't a prefect
       way as the .git/svn directory is 7.6 MB now, maybe it's better
to store it separate from
       the git repository.
       (I don't know if svn2git will save meta data automatically.)


Better solution is for me to provide a tar ball somewhere with an initial import so to save people the burden of importing from svn by themselves. In any case it is not very important. Once an official git mirror is available and keep in sync I think that most people will clone from that.


I strongly advise texmacs to fully adopt git, as the whole texmacs git
repository is only 30 MB
(not containing 7.6 MB .git/svn directory) and a local repository is
vey convenient to do history
digging and "bisect". People wouldn't like to clone whole git
repository could do a shallow clone
which would be very quick.

I will destroy my git mirror soon because it's not set up perfectly
and I'm afraid I have not
enough energy to keep it up with upstream. I'll clone yours if you
create it again.


Ok. 

Thanks
max

Regards,
Yubao Liu




Archive powered by MHonArc 2.6.19.

Top of page