Coder Social home page Coder Social logo

do-not-merge-wip-for-github's Introduction

Do Not Merge WIP for GitHub

Version

Do not merge WIP pull request!

Disables "Merge pull request" button while ANY of the following is true:

  • Title contains "[wip]" (case insensitive)
  • Any tasks remain incomplete
  • Any commit messages remain prefixed with "squash!" or "fixup!"

Do Not Merge WIP for GitHub

Demo

wip-you-cant-merge

Usage

  • Put [wip] or [WIP] or [Do Not Merge] or [DNM] in the title of the pull request or
  • Add wip, Do Not Merge or DNM (Case insensitive) as a tag to your pull request
  • It works!

Changelog

conventions

License

Copyright (c) 2014 sanemat. Licensed under the MIT license.

App Icon

CC BY-ND 3.0 icons8

do-not-merge-wip-for-github's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar dtaniwaki avatar fregante avatar fryguy avatar fukayatsu avatar nguyenvanduocit avatar rivayama avatar sakatam avatar sanemat avatar ykzts 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  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  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  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

do-not-merge-wip-for-github's Issues

Change app icon

This extension's icon is default icon of generator-chrome-extension.
So, I want unique icon for distinction.

Thank you.

Arrange file structure

before:

$ tree dist/
dist/
├── _locales
│   └── en
│       └── messages.json
├── bower_components
│   └── jQuery
│       └── dist
│           └── jquery.min.js
├── images
│   ├── icon-128.png
│   └── icon-16.png
├── manifest.json
├── options.html
├── scripts
│   ├── background.js
│   ├── contentscript.js
│   └── options.js
└── styles
    └── main.css

after(I plan) (modified 2014-07-05 14:29)

dist/
├── _locales
│   └── en
│       └── messages.json
├── bower_components
│   └── jQuery
│       └── dist
│           └── jquery.min.js
├── images
│   ├── icon-128.png
│   └── icon-16.png
├── manifest.json
├── options.html
├── scripts
│   ├── background.js
│   ├── contentscript.js
│   └── options.js
└── styles
    ├── main.css
    ├── background.css
    ├── contentscript.css
    └── options.css

License

Hello,

Would you mind adding a license to your project? Thanks!

Memory Usage

I noticed that this is taking ~80mb of ram.
I think I've seen it take over 100mb.
It is the extension that takes up the most ram on my machine.

Haven't had the chance to look into extensions that also manipulate the screen (e.g.: "avatars for github" which takes 11mb)

Have you gone into process monitor and noticed a high memory footprint for this extension?

Thanks,
Keenan

Github App

Have you considered making this into a Github App? I'm looking for something like this (don't merge if there is a WIP label on the PR), but it's not reasonable to ask my team to all download an extension. If this could go in a status check, we would use it extensively.

Fixup no longer works

Does the fixup keyword detection on work on the commit messages? It would be extremely useful

I made a similar extension using Do Not Merge WIP as a starting point

Hello there 🙂

This is not really an issue or a question, I just wanted to let you know that I recently made an extension called No Merge Today. I used Do Not Merge WIP as a starting point since I've never built a Chrome extension before. So, thank you for that!

I also was able to solve a couple of scenarios that Do Not Merge WIP does not handle. Most notably the case where you reach the pull request page by client-side navigation, instead of a full-page reload (Do Not Merge WIP won't trigger in this case, No Merge Today will). A simple way of testing this scenario is to, having Do Not Merge WIP enabled, navigate to https://github.com/rafaeleyng/no-merge-today/pulls and then click on the PR 2 there. It shouldn't trigger the content script that blocks the button. But after a reload while being on the PR page, it triggers.

I also used mutation observer to react more quickly to DOM changes (instead of relying on a setInterval), and message passing to react immediately to configuration changes in the action popup.

I hope this can be useful 👋

Chrome Web Store page shows 404

It seems the extension is now unpublished from the Chrome Web Store.

Could you clarify? Could you re-publish it? Thank you! ❤️

Action Required: Do Not Merge WIP for GitHub Requires Changes to Comply with Chrome Web Store Policy

We wanted to let you know that your item is at risk of being removed from the Chrome Web Store. Please find the details below.

Item name: Do Not Merge WIP for GitHub

Item ID: nimelepbpejjlbmoobocpfnjhihnpked

Violation(s):

Use of Permissions:

Violation reference ID: Purple Potassium
Violation: Requesting but not using the following permission(s):
storage
How to rectify: Remove the above permission(s)
Relevant section of the program policy:
Request access to the narrowest permissions necessary to implement your Product's features or services. Don't attempt to "future proof" your Product by requesting a permission that might benefit services or features that have not yet been implemented. (learn more)

Important information about resubmission:

Please make the necessary changes within 14 days in order to avoid removal.

Can Not Install the Extension

Hi sanemat,

I tried to install this extension from Chrome Web Store, but an error occurred and couldn't install it.
I think this extension is super useful, so could you check this issue and fix it if possible?

screen shot 2014-06-28 at 8 07 07 pm

Change extension name to "Do Not Merge WIP for GitHub"

Current extension name is 'github merge caution', but this is ambiguous.

  • This is not GitHub's product. => for GitHub
  • This stop merging 'work in progress' pull request => Do Not Merge WIP (pull request)

todo

  • change repos name
  • change app name in source code
  • Add change log
  • bump version to 1.0.0
  • 🎉

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.