From 9a01bd0fabc0ca596ad6f3022ebbc06984c2b21c Mon Sep 17 00:00:00 2001 From: Igor Iric Date: Tue, 18 Jun 2019 00:01:15 +0200 Subject: [PATCH 1/4] just dropping things --- ChangeLog.md | 11 +++++++++-- InstallModuleFromGit.psd1 | 2 +- README.md | 35 ++++++++++++++++++++++++++--------- 3 files changed, 36 insertions(+), 12 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index c9f71b5..71777d6 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -2,10 +2,16 @@ Date: TBA -## new features in 1.1.0 +## 🆕 new features in 1.1.0 - new command Update-GitModule which installs module only if local version exists and if older than remote +- both Get-GitModule and Update-GitModule support parameter -Name which extracts url from already installed module -## bug fixes in 1.1.0 +## 🛠️ bug fixes in 1.1.0 +- n/a + +For a full feature list, check [GitHub milestone link](https://github.com/iricigor/InstallModuleFromGit/milestone/3?closed=1). + +- - - # v.1.0.1 @@ -22,6 +28,7 @@ For a full feature list, check [GitHub milestone link](https://github.com/iricig ## bug fixes in 1.0.1 - returned module name is evaluated against manifest name and repository name +- - - # v.1.0.0 diff --git a/InstallModuleFromGit.psd1 b/InstallModuleFromGit.psd1 index 3f23b3f..88a2b1c 100644 --- a/InstallModuleFromGit.psd1 +++ b/InstallModuleFromGit.psd1 @@ -95,7 +95,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = @('Azure','DevOps','ADO','VSTS','GitHub','Install-Module','git-clone','git','git-client','PowerShellGet') + Tags = @('Azure','DevOps','ADO','VSTS','GitHub','Install-Module','git-clone','git','git-client','PowerShellGet', 'Windows', 'Linux') # A URL to the license for this module. LicenseUri = 'https://github.com/iricigor/InstallModuleFromGit/blob/master/LICENSE' diff --git a/README.md b/README.md index 942baec..b0bc07c 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,10 @@ This is recommended way how to install module. ```PowerShell Install-Module InstallModuleFromGit -Scope CurrentUser ``` -[![downloads](https://img.shields.io/powershellgallery/dt/InstallModuleFromGit.svg?label=downloads)](https://www.powershellgallery.com/packages/InstallModuleFromGit) -[![latest version](https://img.shields.io/powershellgallery/v/InstallModuleFromGit.svg?label=latest+version)](https://www.powershellgallery.com/packages/InstallModuleFromGit) + +| [![downloads](https://img.shields.io/powershellgallery/dt/InstallModuleFromGit.svg?label=downloads&style=popout&logo=PowerShell)](https://www.powershellgallery.com/packages/InstallModuleFromGit) | [![latest version](https://img.shields.io/powershellgallery/v/InstallModuleFromGit.svg?label=latest+version)](https://www.powershellgallery.com/packages/InstallModuleFromGit) | [![supported platforms](https://img.shields.io/powershellgallery/p/InstallModuleFromGit.svg)](https://www.powershellgallery.com/packages/InstallModuleFromGit) | +|-|-|-| + ### Clone GitHub repository @@ -81,9 +83,13 @@ Update-Help -Module InstallModuleFromGit -Force :smirk: Module has testing against two platforms - Linux and Windows. Code is verified before and after merging to master branch. Tests results are available on the Tests tab ([example here](/img/TestResults-AzureDevops.png)). -Windows build status [![Build Status](https://dev.azure.com/iiric/PS1/_apis/build/status/InstallModuleFromGit%20-%20Win%20CI?branchName=master)](https://dev.azure.com/iiric/PS1/_build/latest?definitionId=16&branchName=master) +| [![test-details](https://img.shields.io/azure-devops/tests/iiric/PS1/16.svg?style=popout&logo=Windows)](https://dev.azure.com/iiric/PS1/_build/latest?definitionId=16&branchName=master) | [![test-details](https://img.shields.io/azure-devops/tests/iiric/PS1/17.svg?style=popout&logo=Linux)](https://dev.azure.com/iiric/PS1/_build/latest?definitionId=17&branchName=master) | +|-|-| + + + + -Linux build status [![Build Status](https://dev.azure.com/iiric/PS1/_apis/build/status/InstallModuleFromGit%20-%20Linux%20CI?branchName=master)](https://dev.azure.com/iiric/PS1/_build/latest?definitionId=17&branchName=master) _Click on images to see details about the latest build runs._ @@ -95,16 +101,27 @@ _Click on images to see details about the latest build runs._ You can chat about this commandlet via [Skype](https://www.skype.com) _(no Skype ID required)_, by clicking a link below. -[![chat on Skype](https://img.shields.io/badge/chat-on%20Skype-blue.svg?style=flat)](https://join.skype.com/hQMRyp7kwjd2) +[![chat on Skype](https://img.shields.io/badge/chat-on%20Skype-blue.svg?style=popout&logo=Skype)](https://join.skype.com/hQMRyp7kwjd2) ## Contributing -If you find any problems, feel free to [open a new issue](https://github.com/iricigor/InstallModuleFromGit/issues/new). +If you find any problems, feel free to open a new issue. -![GitHub open issues](https://img.shields.io/github/issues/iricigor/InstallModuleFromGit.svg?style=flat) -![GitHub closed issues](https://img.shields.io/github/issues-closed/iricigor/InstallModuleFromGit.svg?style=flat) +| [![open a new issue](https://img.shields.io/badge/open%20new-issue-success.svg?style=popout&logo=GitHub)](https://github.com/iricigor/InstallModuleFromGit/issues/new) | ![GitHub open issues](https://img.shields.io/github/issues/iricigor/InstallModuleFromGit.svg?style=flat) | ![GitHub closed issues](https://img.shields.io/github/issues-closed/iricigor/InstallModuleFromGit.svg?style=flat) | +|-|-|-| If you want to contribute, please fork the code and make a new PR after! ![GitHub](https://img.shields.io/github/license/iricigor/InstallModuleFromGit.svg?style=flat) -![GitHub top language](https://img.shields.io/github/languages/top/iricigor/InstallModuleFromGit.svg?style=flat) \ No newline at end of file +![GitHub top language](https://img.shields.io/github/languages/top/iricigor/InstallModuleFromGit.svg?style=flat) + +### Other icons + +![github/release](https://img.shields.io/github/release/iricigor/InstallModuleFromGit.svg) + + +![commits-since-latest](https://img.shields.io/github/commits-since/iricigor/InstallModuleFromGit/latest.svg) +![last-commit](https://img.shields.io/github/last-commit/iricigor/InstallModuleFromGit.svg) +![last-release-date](https://img.shields.io/github/release-date/iricigor/InstallModuleFromGit.svg) +![repo-stars](https://img.shields.io/github/stars/iricigor/InstallModuleFromGit.svg) +![repo-watchers](https://img.shields.io/github/watchers/iricigor/InstallModuleFromGit.svg) From c70723bbf2df441ec5ecadbe0235a5333cc10bee Mon Sep 17 00:00:00 2001 From: Igor Iric Date: Tue, 18 Jun 2019 00:19:25 +0200 Subject: [PATCH 2/4] re-org-ed --- ChangeLog.md | 2 +- README.md | 22 +++++++--------------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 71777d6..b79354c 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -9,7 +9,7 @@ Date: TBA ## 🛠️ bug fixes in 1.1.0 - n/a -For a full feature list, check [GitHub milestone link](https://github.com/iricigor/InstallModuleFromGit/milestone/3?closed=1). +For a full feature list, check [GitHub milestone link](https://github.com/iricigor/InstallModuleFromGit/milestone/4?closed=1). - - - diff --git a/README.md b/README.md index b0bc07c..5760636 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ This is recommended way how to install module. Install-Module InstallModuleFromGit -Scope CurrentUser ``` + | [![downloads](https://img.shields.io/powershellgallery/dt/InstallModuleFromGit.svg?label=downloads&style=popout&logo=PowerShell)](https://www.powershellgallery.com/packages/InstallModuleFromGit) | [![latest version](https://img.shields.io/powershellgallery/v/InstallModuleFromGit.svg?label=latest+version)](https://www.powershellgallery.com/packages/InstallModuleFromGit) | [![supported platforms](https://img.shields.io/powershellgallery/p/InstallModuleFromGit.svg)](https://www.powershellgallery.com/packages/InstallModuleFromGit) | |-|-|-| @@ -83,14 +84,9 @@ Update-Help -Module InstallModuleFromGit -Force :smirk: Module has testing against two platforms - Linux and Windows. Code is verified before and after merging to master branch. Tests results are available on the Tests tab ([example here](/img/TestResults-AzureDevops.png)). -| [![test-details](https://img.shields.io/azure-devops/tests/iiric/PS1/16.svg?style=popout&logo=Windows)](https://dev.azure.com/iiric/PS1/_build/latest?definitionId=16&branchName=master) | [![test-details](https://img.shields.io/azure-devops/tests/iiric/PS1/17.svg?style=popout&logo=Linux)](https://dev.azure.com/iiric/PS1/_build/latest?definitionId=17&branchName=master) | +| [![test-details](https://img.shields.io/azure-devops/tests/iiric/PS1/16.svg?style=popout&logo=Windows&logoColor=blue)](https://dev.azure.com/iiric/PS1/_build/latest?definitionId=16&branchName=master) | [![test-details](https://img.shields.io/azure-devops/tests/iiric/PS1/17.svg?style=popout&logo=Linux&logoColor=black)](https://dev.azure.com/iiric/PS1/_build/latest?definitionId=17&branchName=master) | |-|-| - - - - - _Click on images to see details about the latest build runs._ ## Similar PowerShell modules @@ -107,7 +103,7 @@ You can chat about this commandlet via [Skype](https://www.skype.com) _(no Skype If you find any problems, feel free to open a new issue. -| [![open a new issue](https://img.shields.io/badge/open%20new-issue-success.svg?style=popout&logo=GitHub)](https://github.com/iricigor/InstallModuleFromGit/issues/new) | ![GitHub open issues](https://img.shields.io/github/issues/iricigor/InstallModuleFromGit.svg?style=flat) | ![GitHub closed issues](https://img.shields.io/github/issues-closed/iricigor/InstallModuleFromGit.svg?style=flat) | +| [![open a new issue](https://img.shields.io/badge/open%20new-issue-success.svg?style=popout&logo=GitHub&logoColor=black)](https://github.com/iricigor/InstallModuleFromGit/issues/new) | ![GitHub open issues](https://img.shields.io/github/issues/iricigor/InstallModuleFromGit.svg?style=flat) | ![GitHub closed issues](https://img.shields.io/github/issues-closed/iricigor/InstallModuleFromGit.svg?style=flat) | |-|-|-| If you want to contribute, please fork the code and make a new PR after! @@ -117,11 +113,7 @@ If you want to contribute, please fork the code and make a new PR after! ### Other icons -![github/release](https://img.shields.io/github/release/iricigor/InstallModuleFromGit.svg) - - -![commits-since-latest](https://img.shields.io/github/commits-since/iricigor/InstallModuleFromGit/latest.svg) -![last-commit](https://img.shields.io/github/last-commit/iricigor/InstallModuleFromGit.svg) -![last-release-date](https://img.shields.io/github/release-date/iricigor/InstallModuleFromGit.svg) -![repo-stars](https://img.shields.io/github/stars/iricigor/InstallModuleFromGit.svg) -![repo-watchers](https://img.shields.io/github/watchers/iricigor/InstallModuleFromGit.svg) +| ![github/release](https://img.shields.io/github/release/iricigor/InstallModuleFromGit.svg) | ![last-release-date](https://img.shields.io/github/release-date/iricigor/InstallModuleFromGit.svg) | +|-|-| +| ![commits-since-latest](https://img.shields.io/github/commits-since/iricigor/InstallModuleFromGit/latest.svg) | ![last-commit](https://img.shields.io/github/last-commit/iricigor/InstallModuleFromGit.svg) | +| ![repo-stars](https://img.shields.io/github/stars/iricigor/InstallModuleFromGit.svg) | ![repo-watchers](https://img.shields.io/github/watchers/iricigor/InstallModuleFromGit.svg) | From 4b67cb5218f6d086bc08a89addd5b34eb9f5df1e Mon Sep 17 00:00:00 2001 From: Igor Iric Date: Tue, 18 Jun 2019 11:17:22 +0200 Subject: [PATCH 3/4] rearranged icons --- README.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5760636..0302b1c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ +![github/release](https://img.shields.io/github/release/iricigor/InstallModuleFromGit.svg) ![last-release-date](https://img.shields.io/github/release-date/iricigor/InstallModuleFromGit.svg) ![commits-since-latest](https://img.shields.io/github/commits-since/iricigor/InstallModuleFromGit/latest.svg) ![last-commit](https://img.shields.io/github/last-commit/iricigor/InstallModuleFromGit.svg) + # Install Module from Git :bowtie: This PowerShell module will help you to easily instal PowerShell modules directly from [Azure DevOps](https://azure.microsoft.com/en-us/services/devops/repos/) (_aka VSTS_) or [GitHub](https://github.com/) or any other git repository. @@ -23,7 +25,6 @@ This is recommended way how to install module. Install-Module InstallModuleFromGit -Scope CurrentUser ``` - | [![downloads](https://img.shields.io/powershellgallery/dt/InstallModuleFromGit.svg?label=downloads&style=popout&logo=PowerShell)](https://www.powershellgallery.com/packages/InstallModuleFromGit) | [![latest version](https://img.shields.io/powershellgallery/v/InstallModuleFromGit.svg?label=latest+version)](https://www.powershellgallery.com/packages/InstallModuleFromGit) | [![supported platforms](https://img.shields.io/powershellgallery/p/InstallModuleFromGit.svg)](https://www.powershellgallery.com/packages/InstallModuleFromGit) | |-|-|-| @@ -84,8 +85,7 @@ Update-Help -Module InstallModuleFromGit -Force :smirk: Module has testing against two platforms - Linux and Windows. Code is verified before and after merging to master branch. Tests results are available on the Tests tab ([example here](/img/TestResults-AzureDevops.png)). -| [![test-details](https://img.shields.io/azure-devops/tests/iiric/PS1/16.svg?style=popout&logo=Windows&logoColor=blue)](https://dev.azure.com/iiric/PS1/_build/latest?definitionId=16&branchName=master) | [![test-details](https://img.shields.io/azure-devops/tests/iiric/PS1/17.svg?style=popout&logo=Linux&logoColor=black)](https://dev.azure.com/iiric/PS1/_build/latest?definitionId=17&branchName=master) | -|-|-| +[![test-details](https://img.shields.io/azure-devops/tests/iiric/PS1/16.svg?style=popout&logo=Windows&logoColor=blue)](https://dev.azure.com/iiric/PS1/_build/latest?definitionId=16&branchName=master) [![test-details](https://img.shields.io/azure-devops/tests/iiric/PS1/17.svg?style=popout&logo=Linux&logoColor=black)](https://dev.azure.com/iiric/PS1/_build/latest?definitionId=17&branchName=master) _Click on images to see details about the latest build runs._ @@ -110,10 +110,5 @@ If you want to contribute, please fork the code and make a new PR after! ![GitHub](https://img.shields.io/github/license/iricigor/InstallModuleFromGit.svg?style=flat) ![GitHub top language](https://img.shields.io/github/languages/top/iricigor/InstallModuleFromGit.svg?style=flat) - -### Other icons - -| ![github/release](https://img.shields.io/github/release/iricigor/InstallModuleFromGit.svg) | ![last-release-date](https://img.shields.io/github/release-date/iricigor/InstallModuleFromGit.svg) | -|-|-| -| ![commits-since-latest](https://img.shields.io/github/commits-since/iricigor/InstallModuleFromGit/latest.svg) | ![last-commit](https://img.shields.io/github/last-commit/iricigor/InstallModuleFromGit.svg) | -| ![repo-stars](https://img.shields.io/github/stars/iricigor/InstallModuleFromGit.svg) | ![repo-watchers](https://img.shields.io/github/watchers/iricigor/InstallModuleFromGit.svg) | +![repo-stars](https://img.shields.io/github/stars/iricigor/InstallModuleFromGit.svg) +![repo-watchers](https://img.shields.io/github/watchers/iricigor/InstallModuleFromGit.svg) From 6b5bb4029f380b0db04b19d107be2d6cdf4a8309 Mon Sep 17 00:00:00 2001 From: Igor Iric Date: Tue, 18 Jun 2019 11:26:11 +0200 Subject: [PATCH 4/4] thats it --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0302b1c..268f530 100644 --- a/README.md +++ b/README.md @@ -19,16 +19,12 @@ You can check if you have it by running `Get-Command git` in your PowerShell. ### From PowerShell gallery -This is recommended way how to install module. +This is recommended way how to install module. [![downloads](https://img.shields.io/powershellgallery/dt/InstallModuleFromGit.svg?label=downloads&logo=PowerShell)](https://www.powershellgallery.com/packages/InstallModuleFromGit) ```PowerShell Install-Module InstallModuleFromGit -Scope CurrentUser ``` -| [![downloads](https://img.shields.io/powershellgallery/dt/InstallModuleFromGit.svg?label=downloads&style=popout&logo=PowerShell)](https://www.powershellgallery.com/packages/InstallModuleFromGit) | [![latest version](https://img.shields.io/powershellgallery/v/InstallModuleFromGit.svg?label=latest+version)](https://www.powershellgallery.com/packages/InstallModuleFromGit) | [![supported platforms](https://img.shields.io/powershellgallery/p/InstallModuleFromGit.svg)](https://www.powershellgallery.com/packages/InstallModuleFromGit) | -|-|-|-| - - ### Clone GitHub repository ```PowerShell @@ -103,8 +99,9 @@ You can chat about this commandlet via [Skype](https://www.skype.com) _(no Skype If you find any problems, feel free to open a new issue. -| [![open a new issue](https://img.shields.io/badge/open%20new-issue-success.svg?style=popout&logo=GitHub&logoColor=black)](https://github.com/iricigor/InstallModuleFromGit/issues/new) | ![GitHub open issues](https://img.shields.io/github/issues/iricigor/InstallModuleFromGit.svg?style=flat) | ![GitHub closed issues](https://img.shields.io/github/issues-closed/iricigor/InstallModuleFromGit.svg?style=flat) | -|-|-|-| +[![open a new issue](https://img.shields.io/badge/open%20new-issue-success.svg?logo=GitHub&logoColor=black)](https://github.com/iricigor/InstallModuleFromGit/issues/new) +![GitHub open issues](https://img.shields.io/github/issues/iricigor/InstallModuleFromGit.svg?style=flat) +![GitHub closed issues](https://img.shields.io/github/issues-closed/iricigor/InstallModuleFromGit.svg?style=flat) If you want to contribute, please fork the code and make a new PR after!