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

Add Gitea extension #14476

wants to merge 1 commit into from

Conversation

maantje
Copy link
Contributor

@maantje maantje commented Sep 15, 2024

Description

Gitea extension allows you to seamlessly manage your Gitea 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.

Setting Up a Test Instance

Follow these steps to set up a Gitea instance and generate the necessary access token:

  1. Start the Gitea Docker container by running the following command:
    docker run -p 3000:3000 gitea/gitea:1.22.2
    
  2. Open your browser and go to http://localhost:3000/.
  3. On the homepage, scroll down to the Administrator Account Settings section and fill in the required details.
  4. Click Install Gitea to complete the installation process.
  5. Wait for the installation to finish.
  6. Once done, navigate to http://localhost:3000/user/settings/applications to create an access token.
  7. Under Select permissions, expand the menu and assign the following permissions:
    • Issue: Read and Write
    • Organization: Read
    • Package: Read
    • Repository: Read
  8. After assigning permissions, click Create Token to generate the token.

Now you're ready to launch the extension. When prompted, enter http://localhost:3000 as the instance URL and use the access token you just created.

Screencast

gitea-1
gitea-2
gitea-3
gitea-4
gitea-5

Checklist

@raycastbot raycastbot added the new extension Label for PRs with new extensions label Sep 15, 2024
@raycastbot
Copy link
Collaborator

Congratulations on your new Raycast extension! 🚀

You can expect an initial review within five business days.

Once the PR is approved and merged, the extension will be available on our Store.

Copy link
Collaborator

@pernielsentikaer pernielsentikaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have a demo I can test upon or create a screencast of the flow?

"commands": [
{
"name": "create-issue",
"title": "Create Issue",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"title": "Create Issue",
"title": "Create Issue",
"subtitle": "Gitea",

I would do this for all the commands

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @pernielsentikaer,

Thank you for initial review. I will add the subtitles, and create a screencast of the flow soon.

@pernielsentikaer pernielsentikaer self-assigned this Sep 20, 2024
@raycastbot
Copy link
Collaborator

This pull request has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

@raycastbot raycastbot added the status: stalled Stalled due inactivity label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new extension Label for PRs with new extensions status: stalled Stalled due inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants