-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Subdir Support in Wiki #27858
Comments
I created a Fork, in which I will work on this: https://github.com/snoweuph/gitea |
Okay, First Problem I was able to PinPoint is that: The Function Next step for me is to replace the call to that function with a custom Helper Function for testing, to find out, wich other things I might need to change After I found all things I might need to change, im going to create a list of changes that I think need to do, and ask how to do them best Edit: I think instead of a helper, I should modify the: |
Updating the loop in for i, name := range parts {
if i == len(parts)-1 {
entries, err := tree.ListEntries()
if err != nil {
return nil, err
}
for _, v := range entries {
if v.Name() == name {
+ if v.fullName == "" {
+ v.fullName = relpath
+ }
return v, nil
}
}
} else {
tree, err = tree.SubTree(name)
if err != nil {
return nil, err
}
}
} Renaming a site though with that change, results in the path beeing escaped, and the file moved by that. |
Hey there! Also very interested by your work. Hopefully your PR will be merged soon 👍 |
Is there progress on this issue planned any time soon? |
Also a gentle question if there is any planning around this issue, would be nice to have! |
In a few Months I will have some time for contributing to FOSS again, but I wont contribute it here, but instead to the forgejo upstream, because I switched. Now that Go Git support is dropped, contributing this will be a lot easier. |
@snoweuph: Thanks for creating this issue. Thanks for working on a solution. And thanks for the PR at #27900. |
No, because im the author and thus sadly cant unsubscribe, others that want it here can open up a new issue or follow to forgejo, when I've done it there |
Simply now that forgejo switches from being downstream to its own project, I'm switching over as well with my PR issue, and my planned contribution list. |
Sry, misread the part about closing as completed, looks like the android app didnt gave me the option to close as something specific, just to "close", corrected that and closed it as not planned. The reasons not to keep it open are described in the other messages |
The fork continues to cherry-pick commits on a weekly basis but does not contribute back upstream. While our MIT license permits this, I believe this behavior doesn’t fully align with the collaborative spirit of open source. They frequently criticize the project, even as they continue to cherry-pick its commits. I’d like to keep this issue open, even if you’re no longer using Gitea, as it could benefit other users who are looking forward to this feature. However, if you’d prefer not to have it reopened, I can create a new issue instead. Moderator Edit: There is a broad statement included in here, which doesn't mean to apply to an entire group, and is meant to reference a small group of specific individuals. The Gitea project has received contributions from individuals that have contributed to both projects. |
please create a new Issue. |
I think we can just follow #823 . Anyway, thank you for your contributions. |
Yes, I updated #823's content, some content was inspired by this one. |
Feature Description
This Feature Request is about Support for Subdirectories in Gitea Wiki.
This Issue/Feature Request is inspired by: #823 and This Issue on Codeberg
As far as I understand, the Goal of this Request is included in #823, but because of the Other Things in that Feature-Request, its having Slow Progress.
Advantages
I think Support for Subdirectories is a Great Feature, because:
What its About
This Feature Request is only about minimal needed subdir support, meaning:
Nice To Have
Other Information
I am Interested in Contributing this Feature myself, so I'm also creating this Feature Request, to only have the Focus on the minimum I wish to Contribute, without having to worry about some Extra Features, which some might want, others not, and still need decision on how to be executed. (speaking bout #823)
The text was updated successfully, but these errors were encountered: