Re: Git server side "pre-receive" hook to create new repositories

2019-03-21 Thread Sitaram Chamarty
On 19/03/2019 17.46, Dimitri Joukoff wrote: > Thanks for the feedback. > > Whilst I understand the options that you've both proposed, the intent > was to enable the Swift Package Manager to mirror repositories in a > transparent way. I'll look into whether these options can be > implemented in

Re: Git server side "pre-receive" hook to create new repositories

2019-03-19 Thread Dimitri Joukoff
Thanks for the feedback. Whilst I understand the options that you've both proposed, the intent was to enable the Swift Package Manager to mirror repositories in a transparent way. I'll look into whether these options can be implemented inside the SPM. Cheers, Dimitri. On 19/3/19 7:24 pm, Ævar

Re: Git server side "pre-receive" hook to create new repositories

2019-03-19 Thread Ævar Arnfjörð Bjarmason
On Tue, Mar 19 2019, Jeff King wrote: > On Sat, Mar 09, 2019 at 10:46:09AM +, Dimitri Joukoff wrote: > >> Thus, this feature request is asking that the 'pre-receive' hook >> triggers when someone tries to push to a repository regardless of >> whether the repository exists. This would allow

Re: Git server side "pre-receive" hook to create new repositories

2019-03-19 Thread Jeff King
On Sat, Mar 09, 2019 at 10:46:09AM +, Dimitri Joukoff wrote: > Thus, this feature request is asking that the 'pre-receive' hook > triggers when someone tries to push to a repository regardless of > whether the repository exists. This would allow automatic creation of > new repositories and sm

Git server side "pre-receive" hook to create new repositories

2019-03-09 Thread Dimitri Joukoff
Some time ago, Feb 2018, I put in a proposal at Swift.org , that would allow the Swift Package Manager to clone packages from the Internet to a local git server and use the local version without requiring updates to the Swift package: https://forums.swift.org/t/proposal-to-enable-spm-to-use-a-local