gogs / gogs/gogs

Show new chmod mode

Open
#4,680 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
47.8k
Forks
5.1k
Avg merge
7h 23m
Merged PRs (30d)
5

Description

  • Gogs version (or commit ref): dev
  • Can you reproduce the bug at https://try.gogs.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Description

In the diff view, display new mode change. For example when a file was changed from 0644 to 0755. Right now this is not displayed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the repository's diff view using a file changed from mode 0644 to 0755, as described in the report and try.gogs.io checklist. Trace how diff metadata is displayed and compare it with the existing handling of other file changes. Done means the new chmod mode is visible in the diff view and the existing diff behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, go
Domain
backend, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.