mailing-list for TeXmacs Users

Text archives Help


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


Chronological Thread 
  • From: "Sam Liddicott" <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Fwd: [Texmacs-dev] Re: savannah downtime
  • Date: Thu, 02 Dec 2010 22:12:56 -0000
  • Envelope-to:
  • Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAADxQTFRF NTdQY2Z/i286eHFugnNXoJBwm5GCs5VeoqO0ua+fwLCQ4c2q19C81NDF4eLr/unQ/PTf/fXW+/rq /f/7XKo76wAAAAlwSFlzAAALEwAACxMBAJqcGAAAAi9JREFUSMetloGSqyAMRVsFNAQkxP//15cE 62rFdt/MZqbTVu/hBhLEx/qf8fgDIAN455wHyPk7wCIe9nA+fwGSH87hgD8AHPfRpy2GwdMtcBh+ mg4Ech9Ih+RNixJKDLEL0GF8VLkSojePHrDlryNijbFW8zBg8PUKbBOI6D1WCV5Rf2DzxCtgBlMs tRRVW5LyVW3ew1TfAZZ6RcQicpb4yZmaC74DJADK6BdATOrUAbJzsZie+K22ZnEBknNYysvhVH6u 1X8CqAe4DuANoPoOrAbsHXUARJ5knc5z4EyyTnHoAqj7xvkYIdk65AwhyEZKMusOIDV2QQQaCnDQ gBiDR3RdIEb5CBESt2wgQJI0Yx/Agphg1MgNsD+QkszM9wHVPx/PeQOW+fmcR9DF8+4CyCJhCuP8 fDzmBbLqs8JzMODqYNfDvKhoGYM2lDosy5jlRozccRAgrPM8iygQS3Mv87IugUgKlC7NZ6liuy4r uresVq5QuQAr09ZKEga8OkluyKXeQ6Bs3SrtqgC1pWLNqAfwDhBnB+sK8OrVL4D4h1B4zWPWhJhu gPUHKA5EwSMYUMsdQK+UKDhIOTSHeg+8HCoTOGtB/gwcl4mSdGybwXegPWhM/RHYKwchkckhUNMX 6j7ueQNScLbZZOPRxaADyO2UQCJpl7wbnE6gQ+ksWjpngxOwF1tF5ecP3R6KB+AQxPfHLncQ+nKw 06fhu68OTIfJ869eTtg22l+9zfwDK3mKl5BFHMYAAAAASUVORK5CYII=


I think you are right to use git-svn to synchronize your git tree for as long as SVN is the official repository.

If that changes and git becomes official instead of svn, then use svn2git to convert the repo. Those who have been cloning from the git-svn repo will have to then pull from the official git-repo and rebase their work against that.

The only people which this will cause problems for are those who aren't using rebase but merging in their own work - but such people are likely to be committing their work to SVN anyway, and so will have no un-merged branches.

Sam

On 02/12/10 21:34, Gubinelli Massimiliano wrote:
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 <mailto: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 <http://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



--
[FSF Associate Member #2325] <http://www.fsf.org/register_form?referrer=2325>

<http://www.openrightsgroup.org/>



Archive powered by MHonArc 2.6.19.

Top of page