[PR #19] [CLOSED] Sort repositories by watch status #15096

Closed
opened 2025-11-02 11:38:46 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/19
Author: @ghost
Created: 11/3/2016
Status: Closed

Base: masterHead: feature/sort-repos-by-star


📝 Commits (4)

  • a27909a Sort repositories by user's stars
  • 0329f15 Sort collaborative repositories by user star
  • 2a0aec3 Sort mirror repositories by star status
  • 0eea5f5 Fixed compile errors

📊 Changes

2 files changed (+26 additions, -3 deletions)

View changed files

📝 models/access.go (+9 -1)
📝 models/repo.go (+17 -2)

📄 Description

TL;DR

This PR is a feature addition to sort user repositories by their star/favourite status.

Why?

Many times, I find myself with over 20-ish repositories cluttering up my main page when I am only actively maintaining 2-3 repositories. I have always wanted a simple way to sort them thus I decided to code a quick fix to sort the repositories according to whether I starred them.

Note that this PR does not sort repositories based on number of stars but rather if you, the creator, have starred them yourself.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/19 **Author:** [@ghost](https://github.com/ghost) **Created:** 11/3/2016 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feature/sort-repos-by-star` --- ### 📝 Commits (4) - [`a27909a`](https://github.com/go-gitea/gitea/commit/a27909ad562be88a84761c9535bb1b8a0527bce6) Sort repositories by user's stars - [`0329f15`](https://github.com/go-gitea/gitea/commit/0329f15010b81b5405728029810d61f68d1ec323) Sort collaborative repositories by user star - [`2a0aec3`](https://github.com/go-gitea/gitea/commit/2a0aec322c0e8f712a892f22548ccec637c3474a) Sort mirror repositories by star status - [`0eea5f5`](https://github.com/go-gitea/gitea/commit/0eea5f5fed79ecc688e7293d069a1b63161c19e8) Fixed compile errors ### 📊 Changes **2 files changed** (+26 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `models/access.go` (+9 -1) 📝 `models/repo.go` (+17 -2) </details> ### 📄 Description # TL;DR This PR is a feature addition to sort user repositories by their star/favourite status. # Why? Many times, I find myself with over 20-ish repositories cluttering up my main page when I am only actively maintaining 2-3 repositories. I have always wanted a simple way to sort them thus I decided to code a quick fix to sort the repositories according to whether I starred them. Note that this PR does not sort repositories based on number of stars but rather if you, the creator, have starred them yourself. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:38:46 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15096