[asdf-devel] ASDF 1.351 (and git confusion).
Gary King
gwking at metabang.com
Tue Jun 9 12:10:25 UTC 2009
I've switched the config so that bare = true and enabled the post-
update hook so that git update-server-info will be run whenever there
is a push... I also ran this by hand and that fixes the immediate
problem (i.e., git clone now works as I expected it to).
hopefully, that'll do the trick.
thanks again,
On Jun 9, 2009, at 8:01 AM, Gary King wrote:
>> By tradition, git repositories take one of two forms.
>
> --snip--
>
>> Looking at asdf, I see
>>
>> public_html/
>> asdf.git/
>> internal-git-files...
>> checked-out-files...
>> non-git-files...
>>
>
> The goal is / was to have asdf.git be a bare git repo (in fact, I
> thought it was!). The files in public_html aren't really "checked
> out", they are rsynced there as part of the generated website. Aside
> from having the same names, is there a reason to think that they are
> checked out? So I think what I want things to look like is
>
> public_html/
> asdf.git a bare repo
> (internal files)
> other files for the website
>
>> Thus when asdf.git/hooks/post-update runs (see below), it fails
>> since many
>> git operations cannot find the git repository. If you edit
>> asdf.git/config to say "bare = true", then this problem should be
>> resolved. You may also want to manually delete the checked out
>> files from
>> public_html.
>>
>
> thanks for this information.
>
>> As regarding post-update, see `man githooks` on how to enable this
>> and
>> what it does. After enabling it, cd back to asdf.git and run it
>> manually;
>> the http update should then work properly.
>>
>
> --
> Gary Warren King, metabang.com
> Cell: (413) 559 8738
> Fax: (206) 338-4052
> gwkkwg on Skype * garethsan on AIM * gwking on twitter
>
>
>
>
>
>
> _______________________________________________
> asdf-devel mailing list
> asdf-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel
--
Gary Warren King, metabang.com
Cell: (413) 559 8738
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM * gwking on twitter
More information about the asdf-devel
mailing list