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

Have PsGet install Posh-Git as a Git repository #22

Closed
haacked opened this issue Dec 19, 2011 · 9 comments
Closed

Have PsGet install Posh-Git as a Git repository #22

haacked opened this issue Dec 19, 2011 · 9 comments

Comments

@haacked
Copy link
Contributor

haacked commented Dec 19, 2011

I used PsGet (http://psget.net/) to install Posh-Git on my machine. It was lovely and easy! But now I noticed that my version of Posh-Git is out of date. :(

Ideally, PsGet would be updated frequently. But perhaps even better, have the PsGet package include the posh-git repository so that it's easy to update. :)

@chaliy
Copy link

chaliy commented Dec 20, 2011

This is not an issues of Posh-Git, this is an issue of PsGet, it references last tagged version(v0.3), seems it should reference just posh-git repository, this will always give latest version.

@haacked
Copy link
Contributor Author

haacked commented Dec 20, 2011

Great! :) I just blogged about how the latest Posh-Git supports SSH-Agent. http://haacked.com/archive/2011/12/19/get-git-for-windows.aspx It'll be nice to change the blog post to just tell folks to use PsGet again. :)

@chaliy
Copy link

chaliy commented Dec 20, 2011

Yep, this is fixed now, "inmo posh-git -force" to get latest.

@haacked
Copy link
Contributor Author

haacked commented Dec 20, 2011

Awesome! Thanks! I updated my blog post. This makes Git way better on Windows.

@dahlbyk
Copy link
Owner

dahlbyk commented Dec 20, 2011

Is inmo -force the update story for modules? I've been pondering how to let posh-git users know there are new bits available, which is easier when posh-git is a clone.

@chaliy
Copy link

chaliy commented Dec 20, 2011

In short words, yep: inmo posh-git -force will download and install last version.

For now install-module only import-module if module already installed. Force will do installation regardless of version. This was done for scenario when you include install-module in other modules or scripts to get all dependencies. I do not think this is good idea any more :).

P.S. I also think about something like Update-Module that will force update by default. What do you think?

@dahlbyk
Copy link
Owner

dahlbyk commented Dec 21, 2011

How would Update-Module differ from Install-Module -Force?

@chaliy
Copy link

chaliy commented Dec 21, 2011

Only semantics. As for me this -Force flag does not something intuitive.

@dahlbyk
Copy link
Owner

dahlbyk commented Dec 22, 2011

Fix in PsGet: chaliy/psget@ef7cf84

@dahlbyk dahlbyk closed this as completed Dec 22, 2011
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

No branches or pull requests

3 participants