laurenttardif / git-blacklist Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cxreg/git-blacklist
A blacklist hook for centralized Git repositories
This project forked from cxreg/git-blacklist
A blacklist hook for centralized Git repositories
This is a simple hook for a centralized Git repository to which multiple users have the ability to push. If one user pushes a commit that they realize is a mistake, adding the sha1 of that commit to the blacklist helps prevent other users from unwittingly re-pushing the bad commit. Prerequisites: * Perl - http://www.perl.org * DBM::Deep - http://search.cpan.org/dist/DBM-Deep/ Installation: 1) Copy the "update.blacklist" script to the hooks/ directory of the desired Git repository, making sure that it is executable. You should then either change its name to "update", or have it execute from an existing update hook. Remember that the exit code of the hook is important, and a non-zero exit status should be passed along from any wrapper. 2) Create a directory under hooks named data (hooks/data/). You'll want to ensure that this directory is writable by all users, and should probably have 0775 permissions. 3) Create a file in hooks/data/, again writable by all users, which is named "blacklist". You can use "blacklist.sample" as a template, which contains some helpful comments for users. 4) Optionally create a "blacklist-error" file under hooks/data/ which instructs the users how to resolve the error they received, or who to contact. You may want to use the included "blacklist-error.sample" file as an example message. Usage: When the hook is activated, it will read the "blacklist" file, and create a blacklist.db file which contains any configuration found in that file. If the file exists already, the mtime of the blacklist file will be inspected to determine if it must repopulate the database.
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.