Gitea-VSCode/README.md

82 lines
3.6 KiB
Markdown
Raw Permalink Normal View History

2019-07-29 09:43:37 +02:00
<div id="vscodium-logo" align="center">
<br />
<img src="https://github.com/IJustDev/Gitea-VSCode/raw/master/resources/icon-highres.png" alt="VSCodium Logo" width="200"/>
2019-07-29 09:43:37 +02:00
<h1>Gitea-VSCode</h1>
<h3>Issuetracker for Gitea</h3>
</div>
2019-04-09 14:37:58 +02:00
2019-07-29 09:43:37 +02:00
<div id="badges" align="center">
![GitHub](https://img.shields.io/github/license/ijustdev/gitea-vscode)
2019-07-29 10:13:06 +02:00
![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/ijustdev.gitea-vscode)
![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/ijustdev.gitea-vscode)
2019-10-10 20:57:12 +02:00
[![Gitter](https://badges.gitter.im/Gitea-VSCode/community.svg)](https://gitter.im/Gitea-VSCode/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
2019-07-29 09:43:37 +02:00
</div>
2019-04-10 09:06:52 +02:00
2020-08-10 08:19:30 +02:00
## Overview
Gitea-VSCode is an Visual Studio Code extension that allows you to manage (currently only view) your issues.
2019-07-31 10:07:54 +02:00
## Support
<a href="https://www.buymeacoffee.com/IJustDev" target="_blank"><img src="https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;" ></a>
2019-04-10 09:06:52 +02:00
## Getting Started
Go to your settings, and find the `Gitea` section, and fill out the details.
Please make sure not to make your authtoken public, as it can be used to act on your behalf.
Keep instance key `"gitea.token"` in [user settings](https://vscode.readthedocs.io/en/latest/getstarted/settings/) other section keys keep in `.vscode/settings.json`.
Otherwise do not push the .vscode folder to your repository and doublecheck this part. It contains your gitea server instance key.
### Config example
- go to `https://%YOUR_GITEA_SERVER/user/settings/applications` and `Generate Token`
- fill `,"gitea.token": "%YOUR_KEY%"` in VS code user settings in following locations:
- Win %APPDATA%\Code\User\settings.json
- Mac $HOME/Library/Application Support/Code/User/settings.json
- Linux $HOME/.config/Code/User/settings.json
- fill in `.vscode/settings.json`
```
, "gitea.instanceURL": "%YOUR_GITEA_SERVER%"
, "gitea.owner": "%OWNER%"
, "gitea.repo": "%REPO_NAME%"
```
### The following details are needed
2019-04-10 09:06:52 +02:00
- Authtoken
2019-08-02 19:32:43 +02:00
- Port (either 80 or 443) in case that you use docker please enter the exposed port
- BaseURL (default to "") in case you have your instance reachable on a suburl.
2019-04-10 09:06:52 +02:00
- Domain in format: "example.com"
2019-08-02 19:32:43 +02:00
- Repository owner (may be an organisation): "TestOrganisation"
- Repository name "ExampleRepository"
2019-04-10 09:06:52 +02:00
When you've finished you can press the refresh button in the open issues section and you'll see the issues of the first 10 pages (only open issues).
## Issue colors
2019-04-12 08:42:45 +02:00
![Issues with multiple colors](./media/gitea-issues.png)
In order to get nice looking issue icons in multiple colors (of your choice) you just need to assign a label to your issue. The color is being fetched automatically. In most cases you need to restart visual studio code to apply the icons in the issues tab if you've changed them though.
2019-10-11 20:56:00 +02:00
## Contributing
Please refer to each project's style and [contribution guidelines](CONTRIBUTING.md) for submitting patches and additions. In general, we follow the "fork-and-pull" Git workflow.
1. **Fork** the repo on GitHub
2. **Clone** the project to your own machine
3. **Commit** changes to your own branch
4. **Push** your work back up to your fork
5. Submit a **Pull request** so that we can review your changes
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
2020-09-25 19:08:24 +02:00
## Roadmap
2019-04-10 09:06:52 +02:00
- Implement a `Close Issue` Button
- Create Issues via Webview
- `Comment` Issues
2020-09-25 19:08:24 +02:00
- Support multiple git servers
2019-07-29 09:43:37 +02:00
2020-08-10 08:19:30 +02:00
[logo]: resources/icon.png