Comments (7)
Which version do you use?
from stash-filehooks-plugin.
Plugin version : 1.1.0
Stash/Bitbucket version : 3.11.0
from stash-filehooks-plugin.
Hi @nss373,
I can't reproduce the problem. Can you please provide the following details
- exact path and file names of files committed
- sequence of commit + push commands
from stash-filehooks-plugin.
We added a new rule added to our project in Stash which should restrict files with the name patterns [.jar|.war|.ear|.zip|.dll|.class] from being pushed out to the remote branch.
Unfortunately this rule also seems to be blocking files with .png and .classpath extensions.
Atlassian Stash Version: 3.11.0
Plugin version: 1.1.0
from stash-filehooks-plugin.
Can you provide the details to my previous question? In addition can you please provide the git error message you get when pushing the changes.
from stash-filehooks-plugin.
Please remember that . in regex matches any character, not a dot only; you would need to escape it as \. As such this pattern would match anywhere in the file name as it is not anchored, so for example files named 'to_be_aware.html' or 'foo.classpath' will match.
Please try to update your expression to:
(\.jar|\.war|\.ear|\.zip|\.dll|\.class)$
and see if this helps. You can also try one of many online regex checkers to validate your pattern against file names.
from stash-filehooks-plugin.
Closed due to inactivity. Please reopen as needed.
from stash-filehooks-plugin.
Related Issues (20)
- instructions for compiling latest version HOT 1
- When multiple size rules use the same size, only last rule is effective HOT 2
- File Name Hook is not listed in the "Pre receive" hooks HOT 4
- File Hook fails when repository is new - blocker HOT 1
- Cannot see File Name Hook under Pre Receive hooks anymore HOT 1
- File hook should be available at Project level HOT 4
- Improve UI for project level configuration HOT 1
- Upgrade to newer Bitbucket API and remove deprecated classes HOT 3
- [Feature Request] Allow hook to also limit the number of files committed in any particular commit
- Unable to push after upgrade to 3.3.0 version HOT 2
- File Size detection seems not always to be working HOT 8
- FileSize Hook: NullPointerException when size is null HOT 6
- File Name Hook missing in configuration of repo HOT 1
- merge check doesn't honor the branch regex
- Toggling File Size Hook at repository level doesn't generate an audit log entry
- File name hook incorrectly prevents a merge whereby the source branch is from a private fork repository HOT 1
- Filtering per file extension
- Incompatible with Bitbucket Data Center HOT 5
- TextBox to add custom message
- Cannot be enabled in Bitbucket 6.0 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stash-filehooks-plugin.