I would like to have a default file get generated in every new repo that is created by users of my Gitorious installation. I think I'm pretty clear on the code to do this (i.e. using Repository.git.add, etc...). My problem is figuring out *where* to put this code.
I know I can't put my code into the creation of the repository object (e.g. with an after_create method in Repository) because the actual repo creation is done asynchronously by stompserver. Repository.post_repo_creation_message appears to set things up so that Repository.create_git_repository will be executed by stompserver, but my testing so far shows that Repository.create_git_repository is never being called, even though the repositories are being generated just fine. What am I not seeing here? -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
