![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
First, make sure you have the following installed on your computer: node.js, npm, git, and mercurial.
Move to the directory level where the repositories you are working on are located, and clone this github repository with the following command:
git clone https://github.com/MichelML/bbpr.git
After this command is executed, move to the local directory and install all dependencies:
cd bbpr && npm install
Congratulations, BBPR is now installed properly.
BBPR comes bundled with a configuration file (bbpr.config.js
) by default. That being said, you must absolutely provide a BitBucket organization name (ex: mycompanyid) before using BBPR. Your BitBucket organization name is the only required entry you must provide by hand, otherwise the program will throw.
Default configuration file overview:
{
"organization": {
"name": "" // String. Add the name of your BitBucket organization (ex: mycompanyid )
// This will be used to access the proper BitBucket API path => /2.0/repositories/{will_be_utilized_here}/{repo_slug}/pullrequests
// See https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/pullrequests#post
},
"user": {
"name": "", // String. Provide your BitBucket username (ex: michelmoreaul) so you don't have to type it at each session.
"password": null, // null or String.
// If null and cachePwd is set to true, this property will be set to the (encrypted) password you entered via the prompt for your next BBPR sessions.
// If not null and cachePwd is set to true, it will use the encrypted password stored in this property.
// In any other case, you will be prompted at each BBPR session to provide your BitBucket password.
"cachePwd": false // Boolean. See the password property for detailed explanation.
},
"demo": {
"shouldPrompt": false, // Boolean. Set to true if you'll need a demo link with your PR.
"shouldPromptDescription": false, // Boolean. Set to true if you'll need a description with your demo.
"basePath": "" // String. Base path to your demo (ex. hhtps://mydemo.com/). Provide only if needing a demo. It will be ignored otherwise.
},
"reviewers": {
"default": [], // Array of String. Each entry must be a valid BitBucket username. These are the reviewers who are assign to reviewing your work. An empty Array is also valid.
"potential": [] // Array of String. Each entry must be a valid BitBucket username. These are the reviewers who may be assigned to reviewing your work. An empty Array is also valid.
},
"branches": {
"source": {
"close": true // Array of String. Each entry must be a valid BitBucket username. These are the reviewers who may be assigned to reviewing your work. An empty Array is also valid.
},
"dest": {
"default": "default" // String. Set to your main branch (ex: master or default), or the branch to which you are making PRs most often.
}
}
}
Once this step is done, you are ready to go. You can run node <path to your local bbpr>/bbpr
from within your local repository for which you want to make a pull request, and a session will start. If you cloned BBPR at the location suggested in the install section, simply running node ../bbpr
should work flawlessly.
That's it, may you and your teammates enjoy the BBPR way of doing BitBucket pull requests!
Please do not hesitate to make any change at any time to BBPR by submitting a pull request.
Michel Moreau - mmlapointe@coveo.com
FAQs
Make pull requests through the Bitbucket API 2.0 from your terminal
The npm package bbpr receives a total of 9 weekly downloads. As such, bbpr popularity was classified as not popular.
We found that bbpr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.