- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 6.2k
 
Refactor "change file" API #34855
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
          
     Merged
      
      
    
                
     Merged
            
            Refactor "change file" API #34855
Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    cb0f35d    to
    3ad218d      
    Compare
  
    28a0ac3    to
    d6c5c6c      
    Compare
  
    
              
                    delvh
  
              
              reviewed
              
                  
                    Jun 25, 2025 
                  
              
              
            
            
Co-authored-by: delvh <[email protected]> Signed-off-by: wxiaoguang <[email protected]>
              
                    lunny
  
              
              approved these changes
              
                  
                    Jun 25, 2025 
                  
              
              
            
            
              
                    delvh
  
              
              approved these changes
              
                  
                    Jun 25, 2025 
                  
              
              
            
            
    
  zjjhot 
      added a commit
        to zjjhot/gitea
      that referenced
      this pull request
    
      Jun 26, 2025 
    
    
      
  
    
      
    
  
* giteaofficial/main: [skip ci] Updated translations via Crowdin Add issue delete notifier (go-gitea#34592) Refactor "change file" API (go-gitea#34855) Fix some log and UI problems (go-gitea#34863) Update go tool dependencies (go-gitea#34845) Fix archive API (go-gitea#34853) Update `uint8-to-base64`, remove type stub (go-gitea#34844) Refactor repo contents API and add "contents-ext" API (go-gitea#34822) [skip ci] Updated translations via Crowdin fix(issue): Replace stopwatch toggle with explicit start/stop actions (go-gitea#34818) Remove unused variable HUGO_VERSION (go-gitea#34840) Fix SSH LFS timeout (go-gitea#34838) Ignore force pushes for changed files in a PR review (go-gitea#34837) Fix log fmt (go-gitea#34810) Fix team permissions (go-gitea#34827) Fix job status aggregation logic (go-gitea#34823) [skip ci] Updated translations via Crowdin correct migration tab name (go-gitea#34826) Refactor template helper (go-gitea#34819)
  
      Sign up for free
      to subscribe to this conversation on GitHub.
      Already have an account?
      Sign in.
  
      Labels
      
    lgtm/done
  This PR has enough approvals to get merged. There are no important open reservations anymore. 
  
    modifies/api
  This PR adds API routes or modifies them 
  
    modifies/go
  Pull requests that update Go code 
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Follow up the "editor" refactor, use the same approach to simplify code, and fix some docs & comments