From: Amirouche Boubekki <amirouche.boubekki@gmail.com>
To: Andreas Enge <andreas@enge.fr>, guix-devel@gnu.org
Subject: Re: Large git repositories
Date: Tue, 13 Jan 2015 13:31:51 +0000 [thread overview]
Message-ID: <CAL7_Mo-8v2FFUZ5wkt=QNjUvEBJCtCwD3OQx5L2eFhqB=S7Mqg@mail.gmail.com> (raw)
In-Reply-To: 20150112220332.GA20174@debian
[-- Attachment #1: Type: text/plain, Size: 1957 bytes --]
On Mon Jan 12 2015 at 11:03:48 PM Andreas 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:
> 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=https://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 “hg clone --depth=1”
[1]
http://www.google.com/fonts#UsePlace:use/Collection:Droid+Sans:400,700|Droid+Sans+Mono|Droid+Serif:400,700,400italic,700italic
[2] https://code.google.com/p/googlefontdirectory/source/checkout
Andreas
>
>
>
[-- Attachment #2: Type: text/html, Size: 3397 bytes --]
next prev parent reply other threads:[~2015-01-13 13:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-12 22:03 Large git repositories Andreas Enge
2015-01-12 22:45 ` Andreas Enge
2015-01-12 23:01 ` Andreas Enge
2015-01-13 10:32 ` Ludovic Courtès
2015-01-13 13:31 ` Amirouche Boubekki [this message]
2015-01-22 19:19 ` Andreas Enge
2015-01-23 8:35 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAL7_Mo-8v2FFUZ5wkt=QNjUvEBJCtCwD3OQx5L2eFhqB=S7Mqg@mail.gmail.com' \
--to=amirouche.boubekki@gmail.com \
--cc=andreas@enge.fr \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.