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

git can cause sniffer to go BONKERS #28

Open
derek-adair opened this issue May 6, 2015 · 4 comments
Open

git can cause sniffer to go BONKERS #28

derek-adair opened this issue May 6, 2015 · 4 comments

Comments

@derek-adair
Copy link

Perhaps there is nothing to be done about this, but there seems to be some funny behavior with certain git actions. I rebased something the other day, and it re-ran my test suite about 4-5 times.

I'm running django 1.8, python 3.4 and selenium 2.45, i believe I am using the latest pypi sniffer (0.3.5). I will continue to provide more meaningful details and perhaps compile a list of behaviors for you. For now, this is all i got!

@jeffh
Copy link
Owner

jeffh commented May 11, 2015

Yeah. Sniffer currently doesn't ignore watching repository directory. Sounds like a great enhancement though.


Sent from my iPhone

On Wed, May 6, 2015 at 10:43 AM, Derek [email protected] wrote:

Perhaps there is nothing to be done about this, but there seems to be some funny behavior with certain git actions. I rebased something the other day, and it re-ran my test suite about 4-5 times.

I'm running django 1.8, python 3.4 and selenium 2.45, i believe I am using the latest pypi sniffer (0.3.5). I will continue to provide more meaningful details and perhaps compile a list of behaviors for you. For now, this is all i got!

Reply to this email directly or view it on GitHub:
#28

@derek-adair
Copy link
Author

The main symptom is when i rebase. Something about when I am in the middle of squashing / merging. This may not even be practical to switch. Seems like I just may need to cancel the sniffer loop and restart it.

So, its probably rather impractical enhancement; solved w/ a manual workaround or directory structure change (e.g. not have my code in my root git dir)

@jeffh
Copy link
Owner

jeffh commented May 22, 2015

Sniffer could support it by ignoring dotfiles (anything that prefixes with a period). I don't think that would be surprising behavior, but I could be wrong about that.

@derek-adair
Copy link
Author

Jeez, i'd never thought of something that obvious and simple. I'll probably figure out a way to manually ignore the .git dir for now.

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