Re: [Proposal] Clonable scripts

2013-09-10 Thread Andreas Krey
On Mon, 09 Sep 2013 22:48:42 +, Niels Basjes wrote: ... > However I can imagine that a malicious opensource coder can create a > github repo and try to hack the computer of a contributer via those > scripts. So having such scripts is a 'bad idea'. Given that half the repos out there are cloned

Re: [Proposal] Clonable scripts

2013-09-10 Thread Sitaram Chamarty
On 09/10/2013 02:18 AM, Niels Basjes wrote: > As we all know the hooks ( in .git/hooks ) are not cloned along with > the code of a project. > Now this is a correct approach for the scripts that do stuff like > emailing the people responsible for releases or submitting the commit > to a CI system.

Re: [Proposal] Clonable scripts

2013-09-10 Thread Niels Basjes
Hi, On Tue, Sep 10, 2013 at 12:18 AM, Ramkumar Ramachandra wrote: > Niels Basjes wrote: >> As we all know the hooks ( in .git/hooks ) are not cloned along with >> the code of a project. >> Now this is a correct approach for the scripts that do stuff like >> emailing the people responsible for rel

Re: [Proposal] Clonable scripts

2013-09-09 Thread Ramkumar Ramachandra
Niels Basjes wrote: > As we all know the hooks ( in .git/hooks ) are not cloned along with > the code of a project. > Now this is a correct approach for the scripts that do stuff like > emailing the people responsible for releases or submitting the commit > to a CI system. More often than not, mai

Re: [Proposal] Clonable scripts

2013-09-09 Thread Niels Basjes
On Mon, Sep 9, 2013 at 11:13 PM, Hilco Wijbenga wrote: > On 9 September 2013 13:48, Niels Basjes wrote: >> So I propose the following new feature: >> >> 1) A scripting language is put inside git. Perhaps a version of python >> or ruby or go or ... (no need for a 'new' language) > > That sounds ni

Re: [Proposal] Clonable scripts

2013-09-09 Thread Hilco Wijbenga
On 9 September 2013 13:48, Niels Basjes wrote: > If those scripts were how ever written in a language that is build > into the git program and the script are run in such a way that they > can only interact with the files in the local git (and _nothing_ > outside of that) this would be solved. Tha

[Proposal] Clonable scripts

2013-09-09 Thread Niels Basjes
Hi, As we all know the hooks ( in .git/hooks ) are not cloned along with the code of a project. Now this is a correct approach for the scripts that do stuff like emailing the people responsible for releases or submitting the commit to a CI system. For several other things it makes a lot of sense