Comments (5)
I have been contemplating something like a AzurePipelinesPSToolkit module that would be home to functions like the one you described. I have a lot of scripts/functions that utilize the api 'base' functions. If that is something you are interested in I will spin up the project and we can add it there.
from azurepipelinesps.
Thanks @Dejulia489 . Did you intend on creating another module containing functions for these 'base' functions or would you just store them in the Private folder of this module? Since I have not written Pester tests before, would you be able to guide me? Do these tests talk to an actual Azure Devops instance at build time to confirm passing tests? On the other hand, I just filed an issue in the github repo for microsoft docs asking for clarification on the add pool api (MicrosoftDocs/vsts-rest-api-specs#280).
from azurepipelinesps.
By base functions I was referring to the AzurePipelinesPS module. The majority of these functions perform a single call to the api and cover the 'base' functionality of the Azure DevOps api.
My thought is that the toolkit module would utilize the AzurePipelinesPS functions to perform multiple actions, like a toolkit script would. I'm not 100% sure I want to keep the 'base' functions separate from the 'toolkit' functions, but it just seems cleaner.
A few other questions...
- What are your thoughts on separating the toolkit and base functions?
- Where did you find AzurePipelinesPS?
- Can you fork this project and commit your changes to a feature branch so I can get a feel of what you would like to implement?
from azurepipelinesps.
-
I think having the base functions stored in the same repo as modules works well for the needs of the toolkit so I probably wouldn't suggest it for now. I've used Powershell modules that take dependencies on other modules and that works but it leads to a tangled web. Prime example is AzureRM. It gets harder to uninstall multiple versions of a depended module over time due to references so I end up uninstalling 'AzureRM' and 'AzureRM.' and simply re-installing AzureRM which would also install all the AzureRM. modules.
-
I found AzurePipelinesPS via powershellgallery as I frequently check here for functions I need before I go off and write one on my own.
-
I can fork your project and show you what I intended on implementing. I'm also looking at these libraries (https://docs.microsoft.com/en-us/azure/devops/integrate/concepts/dotnet-client-libraries?view=azure-devops) for insight into the rest api parameters. Hopefully, they used nullable types in some of them.
from azurepipelinesps.
Closing due to lack of activity.
from azurepipelinesps.
Related Issues (18)
- Update-APReleaseEnvironment broken for on-prem installs HOT 4
- Remove Functions return empty line HOT 1
- Install-APAgent /distributedTask/packages/agent endpoint moved? HOT 3
- Release definition list property expanding does not work HOT 2
- New-APBuild Parameter Support HOT 1
- New-APEnvironmentApproval uses incorrect url HOT 1
- Would you be interested in a pull/feature request which would integrate Azure Key Vault support in Variable Groups? HOT 3
- Update-APBuildDefinition DefinitionExistsException error HOT 2
- Authentication failure when using in GitHub Action on Linux agent HOT 3
- Is there platform independent PS module build to top of this one? HOT 1
- WebCmdletWebResponseException when calling New-APPermissionReport HOT 2
- Are there docs/development somewhere else? HOT 3
- Can't get Copy-APDashboard.ps1 to work
- Save-APSession fails due to missing AzurePipelinesPS folder in $env:APPDATA HOT 2
- PARAMETER PropertyFilters seems to be not working HOT 2
- APPDATA is not defined on MacOS HOT 2
- Install-APAgent Session Support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azurepipelinesps.