-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Discuss: add the python project attribute to git extras repository #1102
Comments
Emm.., I think is useless to add the package manager for git extras repo cause the installation is a problem or just waste the time and the information about the test in the readme should be moved to a new file in the test directory, it is special for the dev who want to create some testcases. |
If we use Python, in my opinion Poetry is a very useful tool to make managing things easier. I didn't mention it before because not everyone uses the tool. If you would like to add it, you certainly have my vote! I'm not convinced that we need I agree with your points that instructions for setting up Python for testing should not be included in the main |
Agree with that.
Vote +1 for this too. |
Thanks guys and I will try to restruct the test env for git extras later.
Because of the definition of the |
@vanpipy I don't disagree that we need a way to mock commands, and I did mention:
The simple thing we can do is add a directory, |
I got your idea and it is my fault about the mock commands. Let me take some explains.
Once we create the mocking directory and then a python wrapper is needed. It means we need to maintain one more python library. So could the I agree and will to do the One more, all things we talked about did not affect the git extras itself. Could i misunderstand |
I want to enhance the dependency management of the python for git extras via poetry, but I don't know it make sense or just a big hammer at this moment, because an unknown dependency will be added at sometime and I think it not a thing need to announce to users or devs. Dependency installed then used, ok, done.
For now, the
git-browse
needs a mocking context which includes some commands likeopen
,start
or others. So I try to do some implements about it until the testpath was found. And I want to add it in local dependency config and do not want to add more unrelative information into readme. This is reason why I create this issue.@hyperupcall and @spacewander , please take a look here.
The text was updated successfully, but these errors were encountered: