Giter Site home page Giter Site logo

atlassianps / bitbucketps Goto Github PK

View Code? Open in Web Editor NEW
32.0 32.0 15.0 615 KB

PowerShell module to interact with Atlassian Bitbucket

Home Page: https://AtlassianPS.org/BitbucketPS

License: MIT License

PowerShell 100.00%
api atlassian atlassianps bitbucket bitbucket-api jira-rest-api powershell rest

bitbucketps's Introduction

AtlassianPS

bitbucketps's People

Contributors

beaudryj avatar lipkau avatar skenvy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitbucketps's Issues

Set SupportsPaging

Functions that support paging should declare this in the CmdLetBindings (as in confluencePS)

Need prefix for functions

I know this was just removed, but it's badly needed. Jira is already using a prefix (Jira), but this module and the Confluence module are already in conflict. Both use Invoke-Method.

I propose we go back to BB, or BitB or something to differentiate this module from others.

Improve Invoke-Method

Invoke-Method should be aligned with the sample in JiraPS (for basic layout) and ConfluencePS (for paging)

Question about Convertfrom-Json2

I was curious why you are using convertfrom-json2 instead of the built in convertfrom-json? In my testing of the module I cannot find a difference but maybe I'm missing something?

Thanks!

Branches API call does not expose ID number

Not sure if this is the right place to mention this, but! When calling the

$server/rest/api/1.0/projects/$ProjectKey/repos/$Repo/branches

API call, it does not expose the branch ID number, making it impossible to correlate commits to the branch. It looks like commits does expose the "parent ID" and I'm assuming this would be the ID number of the branch.

Alternative would be to add a branch search to the commits API call.

Improve AppVeyor

  • query REST for # of jobs
  • Make last job run deploy task (not the rest)
  • Make AppVeyor wait for Travis

Rest API version reference

I noticed in some examples in the API documentation that instead of using:

/rest/api/1.0/

this was used instead:

/rest/api/latest/

Is there any reason the latter shouldn't be used? Realistically will the URL ever change from 1.0?

Migrate Documentation to Markdown and External Help

Description

In order to have a documentation that is easier to access, easier to edit and maintain, and more flexible, we shall use PlatyPS for the help of the function.
Discussion on this topic: AtlassianPS/AtlassianPS#1

Task

  • Migrate all Comment Based Help to .md files in /docs
Import-Module MyAwesomeModule
New-MarkdownHelp -Module MyAwesomeModule -OutputFolder .\docs
  • Edit the .md files (.EXAMPLE block can have more that 1 command in it)
  • Create the about_<module>
New-MarkdownAboutHelp -OutputFolder C:\Test -AboutName
  • Make AppVeyor generate the ExternalHelp file (.xml) when building
New-ExternalHelp -Path ".\docs" -OutputPath "out\platyPS\en-US"
  • Remove the Comment Based Help from all functions in the module

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.