Git Product home page Git Product logo

Comments (5)

Dejulia489 avatar Dejulia489 commented on July 20, 2024

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.

tristanbarcelon avatar tristanbarcelon commented on July 20, 2024

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.

Dejulia489 avatar Dejulia489 commented on July 20, 2024

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...

  1. What are your thoughts on separating the toolkit and base functions?
  2. Where did you find AzurePipelinesPS?
  3. 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.

tristanbarcelon avatar tristanbarcelon commented on July 20, 2024
  • 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.

Dejulia489 avatar Dejulia489 commented on July 20, 2024

Closing due to lack of activity.

from azurepipelinesps.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.