Skip to content
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

Add Gitea extension #14476

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions extensions/gitea/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@raycast"]
}
13 changes: 13 additions & 0 deletions extensions/gitea/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# Raycast specific files
raycast-env.d.ts
.raycast-swift-build
.swiftpm
compiled_raycast_swift

# misc
.DS_Store
4 changes: 4 additions & 0 deletions extensions/gitea/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
3 changes: 3 additions & 0 deletions extensions/gitea/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Gitea Changelog

## [Initial Version] - 2024-09-14
31 changes: 31 additions & 0 deletions extensions/gitea/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Gitea Raycast Extension

**Gitea Raycast Extension** allows you to seamlessly manage your [Gitea](https://gitea.io) instance directly from Raycast. This extension is designed to enhance productivity for developers by providing quick and easy access to various Gitea operations such as searching issues, managing pull requests, and exploring repositories.

## Features

This extension offers the following commands to help you manage your Gitea instance:

- **Create Issue**: Quickly create an issue in any repository.
- **Search Issues**: Search through issues across your Gitea repositories.
- **Search Assigned Issues**: View issues that are assigned to you.
- **Search Pull Requests**: Search and browse through open and closed pull requests.
- **Search Assigned Pull Requests**: Find pull requests that are specifically assigned to you.
- **Search Review Requested Pull Requests**: Locate pull requests that are awaiting your review.
- **Search Repositories**: Easily search through repositories in your Gitea instance.
- **Search Packages**: Search for packages in your Gitea instance.
- **Search Organizations**: Find organizations within your Gitea instance.

## Configuration

You will need to configure the extension before using it. The following preferences can be set:

1. **Instance URL** (Required): The URL of your Gitea instance.
2. **Access Token** (Required): Your Gitea access token, which you can generate from `/user/settings/applications`.
- Issue -> Read and Write
- Organization -> Read
- Package -> Read
- Repository -> Read
3. **Default Organization** (Optional): The default organization to use when performing searches without all organizations option.
4. **Default Issue State** (Optional): Set the default state for issues when searching (Options: All, Open, Closed).
5. **Default Pull Request State** (Optional): Set the default state for pull requests when searching (Options: All, Open, Closed).
1 change: 1 addition & 0 deletions extensions/gitea/assets/closed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/gitea/assets/extension-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions extensions/gitea/assets/merged.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions extensions/gitea/assets/open.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions extensions/gitea/assets/unmerged.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/gitea/metadata/gitea-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/gitea/metadata/gitea-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/gitea/metadata/gitea-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/gitea/metadata/gitea-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/gitea/metadata/gitea-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading