atlassianps / bitbucketps Goto Github PK
View Code? Open in Web Editor NEWPowerShell module to interact with Atlassian Bitbucket
Home Page: https://AtlassianPS.org/BitbucketPS
License: MIT License
PowerShell module to interact with Atlassian Bitbucket
Home Page: https://AtlassianPS.org/BitbucketPS
License: MIT License
Make CI attach a zip of the release folder to the GitHub release
Make Prefix of Module interchangable (default value in psd1)
example in ConfluencePS
Functions that support paging should declare this in the CmdLetBindings (as in confluencePS)
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.
Invoke-Method should be aligned with the sample in JiraPS (for basic layout) and ConfluencePS (for paging)
The Build
task of the CI can modify the folder structure and manifest so that all functions are declared in the psm1 file
@martin9700: what do you think?
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!
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.
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?
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
.md
files in /docs
Import-Module MyAwesomeModule
New-MarkdownHelp -Module MyAwesomeModule -OutputFolder .\docs
.md
files (.EXAMPLE
block can have more that 1 command in it)about_<module>
New-MarkdownAboutHelp -OutputFolder C:\Test -AboutName
New-ExternalHelp -Path ".\docs" -OutputPath "out\platyPS\en-US"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.