----- Original Message -----
From: "Janek Warchoł" <janek.lilyp...@gmail.com>
To: "David Kastrup" <d...@gnu.org>
Cc: "LilyPond Users" <lilypond-user@gnu.org>
Sent: Sunday, April 07, 2013 4:11 PM
Subject: tracking lilypond builds with git (was: lilypond source and
musicsheet database)
Hi,
2013/4/7 David Kastrup <d...@gnu.org>:
Janek Warchoł <janek.lilyp...@gmail.com> writes:
2013/4/7 David Kastrup <d...@gnu.org>:
Packing actual executables could possibly also work with reasonable
overhead.
There would be an advantage to a repository storing _complete_ compiled
versions of LilyPond: it would make "git bisect" for the purpose of
finding a regression in code or documentation a snap.
Hmm.
Some time ago i've tried creating a repository containing lily builds,
but somehow i wasn't able to tell git to actually track all files - it
seemed that majority of them were ignored.
find -name .gitignore -delete
There is a wagonload of them in a typical LilyPond tree. Or:
The git add command can be used to add ignored files with the -f (force)
option.
That did the trick, i'm able to track things now.
However, the results aren't very encouraging - here are the stats of
the .git repository directory after several stages:
after first configure: 513 items, totalling 656.8 kB
after building master (25580682a): 5,010 items, totalling 59.2 MB
after building 473a73eeb (30 commits away): 5,377 items, totalling 91.4 MB
after building f1689df7a (1 commit away from master, and a small one)
5,580 items, totalling 112.3 MB
..so it's growing quite fast.
According to http://stackoverflow.com/a/3055693/2058424 (and the
linked email, over which i've skimmed) there may be some remedy for
this, but it's not plain to me how exactly it should be done, and i'm
out of time for testing now.
However, i'd be very interested in seeing a solution for this (i.e.
how to efficiently store lily executables in a repository).
best,
Janek
Not convinced it's worth doing. The point of a repository is the ability to
track change. If that's of no value (and it isn't with binaries) then you
might as well just have a set of directories: build_2_16_0, build_2_17_10
etc. That's effectively what I do on my Windows box, and on GUB.
--
Phil Holmes
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user