Stop making accidental pull requests against the upstream repo of your fork.

Latest Version

Version
0.0.1
Update
December 15, 2024
Size
13.7KiB
Developer
safepullrequest.com
Category
Users
0
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
ActiveTab
Storage
See more

Safe Pull Request Extension

**Avoid Accidental Pull Requests and Protect Your Code**
Working on a forked repo? Stop accidental pull requests to the wrong repo with Safe Pull Request. This extension ensures your PRs target the correct repo, saving you from unwanted code leaks, embarrassing mistakes, and unnecessary spam to upstream maintainers.

**Key Features**
* Default Target Repo: Automatically sets the default pull request target to the current fork, instead of the upstream repository.
* Code Leak Prevention: Avoid accidentally exposing sensitive or private code to the wrong audience.
* Spam-Free PRs: Prevent spamming upstream maintainers with accidental PRs.

**Who Is This For?**
Safe Pull Request is designed for developers who work with forked repositories and use the GitHub web interface to create pull requests. If you’ve ever accidentally opened a PR against the upstream repo, this extension is for you.

**Why Install Safe Pull Request?**
1. Protect Your Code
* When you accidentally open a pull request against the upstream repo, your code can be exposed to anyone with access to that repo. Even worse, if the upstream repo is public, your code will be visible to the public Internet. Safe Pull Request eliminates this risk by setting to your fork as the default target repo.

2. Save Time and Avoid Embarrassment
* Mistakes happen, but accidental PRs can spam the upstream maintainers. And frankly, accidental PRs are just a bit embarrassing! Safe Pull Request helps save the maintainers' time and save YOU from being fallible. Because you're not. You're perfect.

**Limitations and Known Issues**
* Future Feature: Ability to configure the default target repo on a per-repo basis.
* Known Issue: PRs opened from the /branches page are not currently handled properly, meaning they could target the upstream repo. This will be addressed in the next release.

**Licensing**
Safe Pull Request requires a valid license key to activate. Different types of licenses are available depending on your use case.

How to Get a License: Visit safepullrequest.com to purchase a license. Then enter the license key in the extension interface.

**How It Works**
Once installed and activated, Safe Pull Request seamlessly integrates into the GitHub web interface. When you open a PR from a forked repository, it ensures the default target is your forked repo.

**Install Now and Code with Confidence**
Eliminate code leaks, avoid upstream spam, and streamline your workflow. Install Safe Pull Request today and never worry about PR mistakes again.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Safe Pull Request", "short_name": "Safe PR", "version": "0.0.1", "description": "Stop making accidental pull requests against the upstream repo of your fork.", "permissions": [ "activeTab", "storage" ], "background": { "service_worker": "background.js" }, "content_scripts": [ { "matches": [ "*://github.com/*" ], "js": [ "content.js" ] } ], "action": { "default_popup": "popup.html" }, "icons": { "48": "icon48.png", "128": "icon128.png" }, "homepage_url": "https://safepullrequest.com/", "host_permissions": [ "https://api.safepullrequest.com/*" ]}
Read more

How to download and manually install Safe Pull Request extension for Chrome

Looking for a way to install Safe Pull Request extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Safe Pull Request extensions manually, this article outlines two simple methods to effortlessly install Safe Pull Request extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Safe Pull Request extension and manually install through Drag &Drop

If you ever need to manually install a Safe Pull Request extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Safe Pull Request Extension by clicking the "Download CRX" button on the website.

Look for the Safe Pull Request extension you wish to install. Go to the website and download the Safe Pull Request extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Safe Pull Request extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Safe Pull Request extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Safe Pull Request extension for Chrome and install in Developer Mode

This is another method to install Safe Pull Request extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Safe Pull Request extension file

Select and download the Safe Pull Request extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Safe Pull Request extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Safe Pull Request extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Safe Pull Request extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Safe Pull Request extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Netify Extension · Developer Tools 0 40 ★ 1.24MiB

icon

GitKraken Extension · Developer Tools 0 14 ★ 1.63MiB

icon

Cachebuster Extension · Developer Tools 0 5 ★ 10.61KiB

icon

GitHub Repo Size Extension · Developer Tools 0 12 ★ 51.64KiB

icon

Qodo Merge: AI-Powered Code Reviews & Chat Extension · Developer Tools 0 32 ★ 389KiB

icon

GitZip for github Extension · Developer Tools 0 170 ★ 367KiB

icon

OpenReplay Spot - Record & Report Bugs Extension · Developer Tools 0 11 ★ 91.48KiB

icon

Bolt to GitHub Extension · Developer Tools 0 3 ★ 148KiB

icon

Ping Blocker Extension · Productivity 0 2 ★ 35.15KiB

icon

Copy as Python Requests Extension · Developer Tools 0 2 ★ 23.94KiB

icon

Popup Blocker (strict) Extension · Productivity 0 931 ★ 147KiB

icon

Refined GitHub Extension · Developer Tools 0 213 ★ 572KiB

icon

Google Apps Script GitHub Assistant Extension · Developer Tools 0 98 ★ 153KiB

icon

Token Devtools Inspector Extension · Developer Tools 0 1 ★ 91.73KiB

icon

Lovely forks Extension · Developer Tools 0 13 ★ 945KiB

icon

백준허브(BaekjoonHub) Extension · Productivity 0 26 ★ 222KiB

icon

LeetCode Tracker Extension · Developer Tools 0 2 ★ 1.33MiB

icon

GitHub Whitespace Extension · Developer Tools 0 10 ★ 15.73KiB

icon

gRPC Web Devtools Extension · Developer Tools 0 5 ★ 999KiB

icon

Lab Partner Extension · Developer Tools 0 8 ★ 469KiB

icon

GitHub: Better Line Counts Extension · Productivity 0 4 ★ 123KiB

icon

Duplicate Tab Helper Extension · Productivity 0 49 ★ 273KiB

icon

fixHeader - modify HTTP headers Extension · Productivity 0 2 ★ 94.17KiB

icon

Copy GitHub PR link with title Extension · Social & Communication 0 0 ★ 11.1KiB