I've pushed version 1.351 of asdf and various ls operations show that it is indeed on http://common-lisp.net/project/asdf/public_html/ asdf.git. When I clone this, however, I'm not seeing any of the recent changes.
Does anyone know what else needs to happen?
thanks, -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM * gwking on twitter
On 2009-06-09, Gary King gwking@metabang.com wrote:
I've pushed version 1.351 of asdf and various ls operations show that it is indeed on http://common-lisp.net/project/asdf/public_html/ asdf.git.
The tip of master is at f0decbcaa205af2895e3e4036bb56f56516fb2f2
What was the SHA1 of the commit you pushed? How did you push, and how did you verify?
Cheers,
-- Nikodemus
The tip of master is at f0decbcaa205af2895e3e4036bb56f56516fb2f2
That's what I have too
What was the SHA1 of the commit you pushed? How did you push, and how did you verify?
I pushed with git push
I verified by looking at objects
I also just found that if I
git clone gking@common-lisp.net:/project/asdf/public_html/asdf.git
I get the tip whereas if I
git clone http://common-lisp.net/project/asdf/asdf.git
I get
commit 5f649611d7adf4ec5d0cabe3a356d8033d086051 Author: Gary King gwking@franz.com Date: Mon Apr 27 08:05:38 2009 -0400
minor website tweaks
I wonder if the problem is http://git.or.cz/gitwiki/GitFaq#Whywon.27tIseechangesintheremoterepoafter.22... (Why won't I see changes in the remote repo after "git push"?). On the other hand, the repo on cl.net has no working tree; I'm tempted to try `git reset --hard` and see if that helps.
What do you (or anyone else! <smile>) think?
-- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM * gwking on twitter
On Tue, 9 Jun 2009, Gary King wrote:
I've pushed version 1.351 of asdf and various ls operations show that it is indeed on http://common-lisp.net/project/asdf/public_html/ asdf.git. When I clone this, however, I'm not seeing any of the recent changes.
Does anyone know what else needs to happen?
I just took a look... and that's an odd setup.
By tradition, git repositories take one of two forms.
Normal: project-name/ .git/ internal-git-files... checked-out-files...
Bare: project-name.git/ internal-git-files...
Looking at asdf, I see
public_html/ asdf.git/ internal-git-files... checked-out-files... non-git-files...
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.
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.
- Daniel
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
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@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