Skip to content

Conversation

@lunny
Copy link
Member

@lunny lunny commented Mar 15, 2023

Since there are many problems with #23371, revert and rewrite is a better idea.

Reverts #23371

@lunny lunny added the skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. label Mar 15, 2023
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Mar 15, 2023
@wxiaoguang
Copy link
Contributor

After discussed with lunny, this PR has conflicts with latest commits, I proposed a new PR

jolheiser pushed a commit that referenced this pull request Mar 21, 2023
Since #23493 has conflicts with latest commits, this PR is my proposal
for fixing #23371

Details are in the comments

And refactor the `modules/options` module, to make it always use
"filepath" to access local files.

Benefits:

* No need to do `util.CleanPath(strings.ReplaceAll(p, "\\", "/"))),
"/")` any more (not only one before)
* The function behaviors are clearly defined
@wxiaoguang
Copy link
Contributor

Update: #23495 has been merged

@lunny lunny closed this Mar 22, 2023
@lunny lunny deleted the revert-23371-lunny/clean_path branch March 22, 2023 02:52
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/need 1 This PR needs approval from one additional maintainer to be merged. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants