[PR #170] [MERGED] feat(gogs): setup #272

Closed
opened 2025-10-31 17:08:43 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pd4d10/git-touch/pull/170
Author: @shreyas1599
Created: 1/22/2021
Status: Merged
Merged: 1/23/2021
Merged by: @pd4d10

Base: mainHead: gogs-setup


📝 Commits (1)

📊 Changes

18 files changed (+1165 additions, -1 deletions)

View changed files

📝 lib/home.dart (+17 -0)
📝 lib/main.dart (+4 -1)
📝 lib/models/auth.dart (+105 -0)
lib/models/gogs.dart (+133 -0)
lib/models/gogs.g.dart (+228 -0)
📝 lib/router.dart (+68 -0)
lib/screens/go_commits.dart (+43 -0)
lib/screens/go_issues.dart (+62 -0)
lib/screens/go_object.dart (+66 -0)
lib/screens/go_orgs.dart (+43 -0)
lib/screens/go_repo.dart (+152 -0)
lib/screens/go_repos.dart (+44 -0)
lib/screens/go_search.dart (+9 -0)
lib/screens/go_user.dart (+105 -0)
lib/screens/go_users.dart (+43 -0)
📝 lib/screens/login.dart (+20 -0)
📝 lib/widgets/repository_item.dart (+16 -0)
📝 lib/widgets/user_item.dart (+7 -0)

📄 Description

#117

  • User
  • Repo, Repos
  • Commits
  • Object
  • Issues
  • Search Screen (placeholder text)
  • TODO: for now fetchGogs uses the template of bitbucket. Will refactor when I refactor that
  • Lot of attributes were missing in the API response. API seems to be in very early stages. I added comments to indicate this wherever appropriate
  • In some places I used this name: p.fullName.split('/')[1]. I'm not sure whether I should perform the processing while building the widget or create a getter in gogs.dart and move this there?
  • Screenshots:

image


🔄 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/pd4d10/git-touch/pull/170 **Author:** [@shreyas1599](https://github.com/shreyas1599) **Created:** 1/22/2021 **Status:** ✅ Merged **Merged:** 1/23/2021 **Merged by:** [@pd4d10](https://github.com/pd4d10) **Base:** `main` ← **Head:** `gogs-setup` --- ### 📝 Commits (1) - [`5702ca4`](https://github.com/pd4d10/git-touch/commit/5702ca4f809f4ebc513e46f7d72f7cef5c350b27) feat(gogs): setup ### 📊 Changes **18 files changed** (+1165 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lib/home.dart` (+17 -0) 📝 `lib/main.dart` (+4 -1) 📝 `lib/models/auth.dart` (+105 -0) ➕ `lib/models/gogs.dart` (+133 -0) ➕ `lib/models/gogs.g.dart` (+228 -0) 📝 `lib/router.dart` (+68 -0) ➕ `lib/screens/go_commits.dart` (+43 -0) ➕ `lib/screens/go_issues.dart` (+62 -0) ➕ `lib/screens/go_object.dart` (+66 -0) ➕ `lib/screens/go_orgs.dart` (+43 -0) ➕ `lib/screens/go_repo.dart` (+152 -0) ➕ `lib/screens/go_repos.dart` (+44 -0) ➕ `lib/screens/go_search.dart` (+9 -0) ➕ `lib/screens/go_user.dart` (+105 -0) ➕ `lib/screens/go_users.dart` (+43 -0) 📝 `lib/screens/login.dart` (+20 -0) 📝 `lib/widgets/repository_item.dart` (+16 -0) 📝 `lib/widgets/user_item.dart` (+7 -0) </details> ### 📄 Description #117 - User - Repo, Repos - Commits - Object - Issues - Search Screen (placeholder text) - TODO: for now `fetchGogs` uses the template of bitbucket. Will refactor when I refactor that - Lot of attributes were missing in the API response. API seems to be in very early stages. I added comments to indicate this wherever appropriate - In some places I used this `name: p.fullName.split('/')[1]`. I'm not sure whether I should perform the processing while building the widget or create a getter in `gogs.dart` and move this there? - Screenshots: ![image](https://user-images.githubusercontent.com/28999492/105448578-8f136a80-5c9c-11eb-8299-1bef9ab00003.png) --- <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-10-31 17:08:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/git-touch#272