-
Notifications
You must be signed in to change notification settings - Fork 120
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
Added tests for #556. #783
base: main
Are you sure you want to change the base?
Conversation
@@ -69,7 +69,7 @@ | |||
"hidden": False, | |||
"listed": True, | |||
"accepts_enrollment": True, | |||
"git_source": "git://github.com/inducer/relate-sample", | |||
"git_source": "git://github.com/dzhuang/relate-sample", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This need to be reverted when merging.
Thanks for doing this! I really don't understand why this works though. I tried whether dulwich does path parsing:
(run in a checkout of https://github.com/inducer/pytools/, because why not) It does not. So if this code: Lines 651 to 653 in f4e8dee
splits the path by |
OIC. I finally remembered the reason for proposing #556. The Now I can see this line ( Line 803 in f4e8dee
See something interesting in #784 |
FYI, >>> os.path.normpath("repo/root/sub")
'repo\\root\\sub'
>>> os.path.normpath(r"repo/root/sub\.attribute")
'repo\\root\\sub\\.attribute'
|
I propose that we standardize on How do you feel about this direction? |
I agree. But my first attempt failed (see #784). Maybe there're more |
Testing #556 as mentioned in #767. The tests works without problems. The merge of this PR requires dzhuang/relate-sample@f43b734 being merged into sample repo.
P.S., We should mention in docs that path split should always use
/
.@inducer