You could combine a shallow clone (avoiding fetching the entire history)
with spare checkouts.
$ git clone --depth 1 --no-checkout
https://github.com/wesnoth/wesnoth-old.git wesnoth
$ cd wesnoth
$ git config core.spareCheckout true
$ echo 'resources/*' >>.git/info/sparse-checkout
$ git checkout master
(only works with git 1.7.*)
But the gain is probably minimal, since git is not designed for
cherry-picking lone directories.
How fast would be downloading a git archive? (clicking on 'zip file' on
the github page)
trewe
(800GB o0? You mean MB right?)
On 10-06-2013 18:15, Antonio Rosella wrote:
Yessss...
With this link
https://github.com/wesnoth/wesnoth-old/blob/master/resources/image-localization/maps/Heir_To_The_Throne/localization.xcf
the answer is a page that say "(Sorry about that, but we can't show
files that are this big right now)"
and if you try to access the "raw" file, from the following link
https://raw.github.com/wesnoth/wesnoth-old/master/resources/image-localization/maps/Heir_To_The_Throne/localization.xcf
the answer is "Error: blob is too big"
I cloned the whole repository (around 800GB, 2 days of sync with slow
DSL...:( ) and the file localization.xcf is 12MB...
--
A che serve diventare adulti se uno non può fare il bambino quando
capita? - Dr. Who, Robots
Antonio Rosella |arosella(at)yahoo(punto)com
--- On *Mon, 6/10/13, gilberto dos santos alves /<gsa...@gmail.com>/*
wrote:
From: gilberto dos santos alves <gsa...@gmail.com>
Subject: Re: [Wesnoth-i18n] Move to git and the fallout for
translations
To: "i18n list with all special infos related to translations"
<wesnoth-i18n@gna.org>
Date: Monday, June 10, 2013, 4:28 PM
please could you post what is url/uri of file you want? thanks
2013/6/9 Antonio Rosella <arose...@yahoo.com
</mc/compose?to=arose...@yahoo.com>>
Hi there!
One question:
It is 2 days that I'm trying do download a single file
localization.xcf for the localization of maps, with all the
tools that I can even imagine (wget, curl, git, firefox,
explorer, etc. etc... ) but the answer is always the same:
file too big.
Does anyone know a way to avoid the clone of the whole
repository in order to access file bigger than 10k on the new
github repository?
Thanks for hints
Ciao
A
--
A che serve diventare adulti se uno non può fare il bambino
quando capita? - Dr. Who, Robots
Antonio Rosella |arosella(at)yahoo(punto)com
--- On Sun, 5/5/13, Nils Kneuper <crazy-ivano...@gmx.net
</mc/compose?to=crazy-ivano...@gmx.net>> wrote:
> From: Nils Kneuper <crazy-ivano...@gmx.net
</mc/compose?to=crazy-ivano...@gmx.net>>
> Subject: Re: [Wesnoth-i18n] Move to git and the fallout for
translations
> To: wesnoth-i18n@gna.org </mc/compose?to=wesnoth-i18n@gna.org>
> Date: Sunday, May 5, 2013, 10:22 PM
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am 16.04.2013 21:16, schrieb Nils Kneuper:
> > In case you sent in translations and are suprised of
> not seeing them online
> > yet: They were most likely not committed yet. The
> migration to git is still
> > ongoing and things are currently in a flux state. It is
> not sure yet when
> > the conversion will be finallized but I hope this will
> be later this week.
>
> Today I commited all translations waiting in my inbox into
> our git repository.
> The move is not final yet, but at least we are in a semi
> working half state.
> The current status:
> * Git repository available at
https://github.com/wesnoth/wesnoth-old
> * gettext.wesnoth.org <http://gettext.wesnoth.org> updated
to point to the new
> repository
> * We will later on move the repo again, so it is not final
> (yet).
>
> Cheers,
> Nils Kneuper aka Ivanovic
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.19 (GNU/Linux)
>
> iEYEARECAAYFAlGGv5QACgkQfFda9thizwWhVQCfajvDijrAmNp+GSCaNVK4J/WY
> Qm4AoIhOb2rKcHBeasvXLPH/DLnCBrOd
> =V0ph
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Wesnoth-i18n mailing list
> Wesnoth-i18n@gna.org </mc/compose?to=Wesnoth-i18n@gna.org>
> https://mail.gna.org/listinfo/wesnoth-i18n
>
_______________________________________________
Wesnoth-i18n mailing list
Wesnoth-i18n@gna.org </mc/compose?to=Wesnoth-i18n@gna.org>
https://mail.gna.org/listinfo/wesnoth-i18n
--
gilberto dos santos alves
+55.11.98646-5049
sao paulo - sp - brasil
-----Inline Attachment Follows-----
_______________________________________________
Wesnoth-i18n mailing list
Wesnoth-i18n@gna.org </mc/compose?to=Wesnoth-i18n@gna.org>
https://mail.gna.org/listinfo/wesnoth-i18n
_______________________________________________
Wesnoth-i18n mailing list
Wesnoth-i18n@gna.org
https://mail.gna.org/listinfo/wesnoth-i18n
_______________________________________________
Wesnoth-i18n mailing list
Wesnoth-i18n@gna.org
https://mail.gna.org/listinfo/wesnoth-i18n