-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Add an option to) ignore inc/ directory #60
Comments
would you do inc or would you do other common paths too? |
I would add |
I'll have a think about other directories, but the thing with inc/ is that it contains modules that are almost certainly already on CPAN, so you can get a hit on one file over and over. Given the discussion on #toolchain, I think have a checkbox for "ignore inc/ directory", and have it unchecked by default. |
this is a dupe of #61 (or the reverse) |
This wasn't originally intended to be a duplicate. I think So I guess you can see this as a specific instance of a general capability, but I don't think that's the right user experience / interface. |
I can see the checbox as being some extra sugar to avoid typing |
Seems like you could just filter it out of the |
@oalders asked for local/ |
I think this is the critical question. we need an interface that allows people to say what they want but I'm not sure how to go about it. If we make it too open, do we allow them then to inject command line flags or bobby tables us? |
What I'm trying to say is that I think it makes more sense to leave a field where you can customize and ignore all rules you want rather than adding some pre-set rules, otherwise that list might become extremely long. I can see adding some extra to the list:
but if they are not enabled by default it does not make sense to list them. Maybe we could consider a shortcut: |
one person's cruft is the thing another person is looking for :) |
It might be simpler to have: |
We already have the option to filter files like I think we should have both option available: positive and negative filter then we can gather some feedbacks and improve it even if we can probably see some useful and common patterns |
I know you're going for a googlesque minimalism, but I think this would benefit from labels for each input, especially as once something's in the box, there's no indication for what they are. Something like the the following (though the placeholder text in the input elements would obviously change): Given we don't know what are all the ways people might want to constrain the search, and as Todd says, whether some people might want to include the things that I can't imagine someone ever wanting to include, then I think you should go for the simplest capability that lets people exclude the things that we know some people want to exclude, and then see how that works out. Two thoughts related to the exclusion:
|
Two topics here: A/ add some labels: B/ Pre-Set exclusion list |
I reckon pre-fill is the right approach. I would argue that the userbase for this tool is already skewed to the more CPAN-savvy end of the pool, and they'd rather do the most sensible thing by default. If you can poll the room there and come up with a list that everyone agrees with as a default set of things to exclude, then pre-fill with that list. |
I've added a checkbox which is going to populate a predefine list, this is wip and need some extra rules probably
also notice the addition of |
Not sure I'd include |
If you're searching for something that appears in the inc/ directory of distributions, then your search results can be swamped by those, and there doesn't seem to be a way to ask for files in
inc/
to be ignored.I can think of at least two options:
inc/
directoryinc/
directory an option, with it disabled by default, but a checkbox so you can ask for it if you really want itThe text was updated successfully, but these errors were encountered: