Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run post-fetch scripts after initial clone #13

Closed
wants to merge 1 commit into from

Conversation

borsboom
Copy link
Contributor

No description provided.

@@ -225,11 +225,14 @@ func createRepo(ctx context.Context, w http.ResponseWriter, section string,
ctx = context.Background()
w.WriteHeader(201)
}
abspath := filepath.Join(*thePath, section)
os.Mkdir(abspath, os.ModePerm)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh. I'd not seen os.ModePerm before. I'd've just done the 0777 myself.

@dustin
Copy link
Owner

dustin commented Mar 23, 2017

Pushed (via git am)

@dustin dustin closed this Mar 23, 2017
@borsboom
Copy link
Contributor Author

Cool. BTW, I'm using this here (which I'm running on Kubernetes): https://hub.docker.com/r/fpco/gitmirror/

@dustin
Copy link
Owner

dustin commented Mar 23, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants