Why haven't been powershell choosen?

629 views
Skip to first unread message

bioh...@gmail.com

unread,
Jan 23, 2017, 3:22:25 PM1/23/17
to glazier-discuss
Hello, colleagues! I'm very curious why was Python choosen instead of Powershell?
It's at least an another middleware like Python interpreter and so on.

Looking forward for the reply, thanks!

ssn...@cmhsol.com

unread,
Jan 23, 2017, 3:25:00 PM1/23/17
to glazier-discuss, bioh...@gmail.com
Likely because much of the Google ecosystem is in Python.

Brian Gonzalez

unread,
Jan 30, 2017, 1:03:54 AM1/30/17
to glazier-discuss, bioh...@gmail.com
As per the readme, it looks like addons can be written in Powershell:

Glazier makes it simple to extend the installer by writing a bit of Python or

Powershell code.


For Google, thats a plus.


-BG


On Monday, January 23, 2017 at 3:22:25 PM UTC-5, bioh...@gmail.com wrote:

Matt LaPlante

unread,
Jan 30, 2017, 12:54:28 PM1/30/17
to Brian Gonzalez, glazier-discuss, bioh...@gmail.com
There are several reasons, some current, some historical.  

One simple reason is that this project started several years ago, back before Powershell was the common, mature product it is today.  Another reason is that, as Sean mentioned, Python is a core language at Google and allows us to integrate with other internal products and services.

We do also use Powershell, including as part of imaging. Because Glazier is basically a structured command executor, we can insert Powershell scripts anywhere in the process that it makes sense to do so. There are even a few Powershell wrappers in the actions and libraries that can simplify calling PS from a config.


--
You received this message because you are subscribed to the Google Groups "glazier-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glazier-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to glazier-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/glazier-discuss/3a730855-35d7-46e1-99ef-2b8beb330e36%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages