From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amirouche Boubekki Subject: Re: Large git repositories Date: Tue, 13 Jan 2015 13:31:51 +0000 Message-ID: References: <20150112220332.GA20174@debian> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113463824e30a1050c88a58e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB1Zb-0003CU-6x for guix-devel@gnu.org; Tue, 13 Jan 2015 08:31:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YB1ZZ-0007VZ-Rk for guix-devel@gnu.org; Tue, 13 Jan 2015 08:31:55 -0500 Received: from mail-la0-x231.google.com ([2a00:1450:4010:c03::231]:40964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB1ZZ-0007VL-EK for guix-devel@gnu.org; Tue, 13 Jan 2015 08:31:53 -0500 Received: by mail-la0-f49.google.com with SMTP id hs14so2580619lab.8 for ; Tue, 13 Jan 2015 05:31:52 -0800 (PST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge , guix-devel@gnu.org --001a113463824e30a1050c88a58e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon Jan 12 2015 at 11:03:48 PM Andreas Enge wrote: > Hello, > > I am trying to package the droid font family. It appears to be available > only via the android git at: > https://android.googlesource.com/platform/frameworks/base/+ > /android-4.4.4_r2.0.1/data/fonts/ > where > https://android.googlesource.com/platform/frameworks/base.git > defines the git repository. > > This page contains a tgz download link: > https://android.googlesource.com/platform/frameworks/base/+ > archive/android-4.4.4_r2.0.1/data/fonts.tar.gz > Unfortunately, the file seems to be generated on the fly and have a > different hash value each time. > > The git-reference method seems to clone all of the repository, which has > about 1.5 GB. I tried several methods by hand, such as > git clone -b android-4.4.4_r2.0.1 https://android.googlesource. > com/platform/frameworks/base.git data/fonts > or > git init; git fetch https://android.googlesource. > com/platform/frameworks/base.git android-4.4.4_r2.0.1 > but all of them apparently download the full repository. > > I also tried > git archive --remote=3Dhttps://android.googlesource.com/platform/ > frameworks/base.git android-4.4.4_r2.0.1 data/fonts > but the git server apparently does not support this: > fatal: Operation not supported by protocol. > (and I am also not sure that the output would have a fixed hash). > > Do you see any solution to this problem? > Google web fonts has droid font available in zip format via http [1], not sure if the link is works across updates. There is also the mercurial repository hosting all web fonts [2]. It's quite big 4,1G and AFAIK there is no =E2=80=9Chg clone --depth=3D1=E2=80=9D [1] http://www.google.com/fonts#UsePlace:use/Collection:Droid+Sans:400,700|Droi= d+Sans+Mono|Droid+Serif:400,700,400italic,700italic [2] https://code.google.com/p/googlefontdirectory/source/checkout Andreas > > > --001a113463824e30a1050c88a58e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Mon Jan 12 2015 at 11:03:48 PM Andrea= s Enge <andreas@enge.fr> wrote= :
Hello,

I am trying to package the droid font family. It appears to be available only via the android git at:
=C2=A0 =C2=A0https://androi= d.googlesource.com/platform/frameworks/base/+/android-4.4.4_r= 2.0.1/data/fonts/
where
=C2=A0 =C2=A0https://android.googlesource.com/platf= orm/frameworks/base.git
defines the git repository.

This page contains a tgz download link:
=C2=A0 =C2=A0h= ttps://android.googlesource.com/platform/frameworks/base/+arc= hive/android-4.4.4_r2.0.1/data/fonts.tar.gz
Unfortunately, the file seems to be generated on the fly and have a
different hash value each time.

The git-reference method seems to clone all of the repository, which has about 1.5 GB. I tried several methods by hand, such as
=C2=A0 =C2=A0git clone -b android-4.4.4_r2.0.1 https://and= roid.googlesource.com/platform/frameworks/base.git data/f= onts
or
=C2=A0 =C2=A0git init; git fetch https://android.googlesou= rce.com/platform/frameworks/base.git android-4.4.4_r2.0.1=
but all of them apparently download the full repository.

I also tried
=C2=A0 =C2=A0git archive --remote=3Dhttps://android.googlesource.com/platform/frameworks/base.git android-4.4.4_r2.= 0.1 data/fonts
but the git server apparently does not support this:
fatal: Operation not supported by protocol.
(and I am also not sure that the output would have a fixed hash).

Do you see any solution to this problem?

Google web fonts has droid font available in zip format via http [1],
not sure if the link is works across updates.

There is also the mercurial repository hosting all web fonts [2]. It'= ;s quite big 4,1G and AFAIK there is no =E2=80=9Chg clone --depth=3D1=E2=80= =9D




Andreas


--001a113463824e30a1050c88a58e--