Hi,
Currently Stash only supports search based on filenames, but to search based on content there is a plugin available which is pretty expensive, is there a free add-on which is available, if not has anyone else tried to get their way around this issue?
Thanks,
HI Tarun,
While I know this isn't going to be helpful for you now, you should definitely vote and watch the following feature request.
https://jira.atlassian.com/browse/STASH-2851
It's definitely something we will tackle at some stage (although I couldn't say when).
Charles
hi Charles,
To be a honest, I am a bit dissapointed with the fact that Stash lacks such a basic and important feature and even in the Ticket url that you have shared it's priority is Minor, it's something which is very important for the succes of Stash.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tarun,
I wouldn't read too much into the priority. We also think it's very important too and it's on our roadmap, along with quite a few other important features (too much to do and not enough time). We will get there...
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Our company has produced an addon to add this functionality to Stash (Bitbucket).
https://marketplace.atlassian.com/plugins/com.mohamicorp.stash.search-for-stash/server/overview
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We tried the plugin but it looks like the bitbucket v5.9.0 is not supported.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Upasna Bassi,
Bitbucket 5.90 is supported. If you were having issues, feel free to make a support request at https://mohamicorp.atlassian.net/servicedesk/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you can't find the add on, it most probably does not exist.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The code below is quite convenient, it searches across all stashes files containing "plist" and non-case sensitive "basic" in the filename. any change made to a file passing that is concatenated into test.txt then opened.
for sha in $(git rev-list -g stash); do git ls-tree -r $sha:; done | grep plist | grep basic -i | cut -f 1 | cut -d" " -f 3 | sort | uniq | xargs git show > test.txt; open test.txt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As an administrator, I do not want people using server resources to search the entire repository via plugin. There's enough demand for memory and CPU as it is. My suggestion is to clone the repo and search that all you want.
However, maybe you want something that searches the objects stored in the physical repo and then convert those object hash code (my apologies, I don't remember the git terminology) into actual file names/paths? However, you still can't do anything with the results, except test for existence.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
" I do not want people using server resources to search the entire repository via plugin"
solution to this is something whic Atlassian isn't interested in implementing as of yet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.