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

Ignore folders that keywords are not scanned from those folders #32

Open
aaltat opened this issue Aug 21, 2014 · 2 comments
Open

Ignore folders that keywords are not scanned from those folders #32

aaltat opened this issue Aug 21, 2014 · 2 comments

Comments

@aaltat
Copy link

aaltat commented Aug 21, 2014

In start up I can specify folders what I want to include in to the hub but is there way to ignore folders too?

Example I start rfhub like this: python -m rfhub C:\path\to\my\resources
But I would like to ignore C:\path\to\my\resources\libraries\python\tests folder, which contains unit and acceptance tests to my own libraries. Now those unit and acceptance test are show also in the rfhub and I would like to ignore it.

As a workaround, I know that I can set multiple folders to be include in the start up but if C:\path\to\my\resources has a lot of folders and number keeps growing. So therefore each time I create new folder, I must remember to add it to the start up command and restart the server. Which is somewhat inconvenient.

@boakley
Copy link
Owner

boakley commented Aug 21, 2014

There currently is not a way to exclude files. How would you like to see
this implemented? We could add a command line switch like "--ignore
tests/unit", or we could do like what some other tools do and let you put a
.hubignore file in a folder, and then you can put patterns in that file
(eg: tests/unit/*

On Thu, Aug 21, 2014 at 2:13 AM, Tatu Aalto notifications@github.com
wrote:

In start up I can specify folders what I want to include in to the hub but
is there way to ignore folders too?

Example I start rfhub like this: python -m rfhub C:\path\to\my\resources
But I would like to ignore C:\path\to\my\resources\libraries\python\tests
folder, which contains unit and acceptance tests to my own libraries. Now
those unit and acceptance test are show also in the rfhub and I would like
to ignore it.

As a workaround, I know that I can set multiple folders to be include in
the start up but if C:\path\to\my\resources has a lot of folders and number
keeps growing. So therefore each time I create new folder, I must remember
to add it to the start up command and restart the server. Which is somewhat
inconvenient.


Reply to this email directly or view it on GitHub
#32.

@aaltat
Copy link
Author

aaltat commented Aug 21, 2014

I think in the long run, git style ignore file is the best way to go. But my requirement is only to ignore two to three folders. So therefore the flag fulfils my needs.

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

No branches or pull requests

2 participants