Skip to content
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

Search feature #366

Open
mirceachira opened this issue Aug 30, 2019 · 1 comment
Open

Search feature #366

mirceachira opened this issue Aug 30, 2019 · 1 comment

Comments

@mirceachira
Copy link

It would be awesome to have a search option for shub to look for jobs.

It's often the case that I have to find a broken job starting just from an url and I had to implement a script that cycles through all the jobs and through all the requests of each individual job in a project to find the one I'm looking for. The search could be configured in many way, see this example:

$ my_search_script.py --project_key="<project key>" --spider="amazon" --date_from="last week" --includes="<some url contet>"
> Bingo!  123456/12/123
> Bingo!  987654/32/1
> Done!

This could be extended so you could look for a job starting from part of an url, item field, argument etc. You could also search for jobs that have error or critical level logs which would help with debugging.

I thought this might be a good thing to have for shub and would be happy to add it here directly instead of maintaining an internal tool.

@mirceachira
Copy link
Author

Hey @vshlapakov, I opened a pr for this #370
It has only the search by part of an url feature but I think it's a starting point. Let me know what you think :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants