* chore(license): remove LICENSE file

* feat(gitea-git-clone): update CHANGELOG.md for version 1.0.1
* feat(gitea-git-clone): add LICENSE file
* feat(gitea-git-clone): update README.md with new features and commands
* feat(gitea-git-clone): add gitea-workflow-1.0.0.vsix file
* feat(gitea-git-clone): add vscode_gitea_plugin.png image
* feat(gitea-git-clone): update package.json version to 1.0.1
This commit is contained in:
Peter 2024-10-21 02:59:24 +02:00
parent ead2e12a9c
commit f2ed934e91
Signed by: Peter
GPG Key ID: 90EA41BD0E1A2600
7 changed files with 63 additions and 30 deletions

View File

@ -1,9 +0,0 @@
MIT License
Copyright (c) 2024 ComputerLiebe_ORG_private
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,9 +1,21 @@
# Change Log
All notable changes to the "gitea-git-clone" extension will be documented in this file.
All notable changes to the “gitea-workflow” extension will be documented in this file.
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
## [Unreleased]
- Initial release
## 1.0.1
### Added
- Add Icon
- Add section for PR to README
- Update README
## 1.0.0
_initial release_

9
gitea-git-clone/LICENSE Normal file
View File

@ -0,0 +1,9 @@
MIT License
Copyright © 2024 ComputerLiebe_ORG_private
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,26 +1,33 @@
# Gitea Clone for VSCode
A Visual Studio Code extension that allows you to clone repositories from your Gitea instance via SSH, manage Gitea authentication using a Personal Access Token (PAT), and create Pull Requests (PRs) directly from your workspace.
Features
A Visual Studio Code extension that allows you to clone repositories from your Gitea instance via SSH and manage Gitea authentication using a Personal Access Token (PAT).
## Features
- **Gitea Authentication**: Authenticate with your Gitea instance using a Personal Access Token.
- **Clone via SSH**: Clone repositories from Gitea using SSH URLs.
- **Progress Bar**: See real-time progress during the clone operation.
- **Auto-Open Repository**: After cloning, the repository will be automatically opened in the workspace.
### Gitea Authentication:
- Authenticate with your Gitea instance using a Personal Access Token.
### Clone via SSH:
- Clone repositories from Gitea using SSH URLs.
### Auto-Open Repository:
- After cloning, the repository will be automatically opened in the workspace.
### Create Pull Requests:
- Create Pull Requests directly from your workspace without leaving VSCode. Automatically set the title, body, and branch for the PR.
## Commands
- `Gitea: Authenticate`: Authenticate with your Gitea instance using your Personal Access Token (PAT).
- `Gitea: Configure`: Set the URL of your Gitea instance and your PAT.
- `Gitea: Clone Repository`: Clone a repository from Gitea via SSH.
`Gitea: Authenticate` Authenticate with your Gitea instance using your Personal Access Token (PAT).
`Gitea: Configure` Set the URL of your Gitea instance and your PAT.
`Gitea: Clone Repository` Clone a repository from Gitea via SSH.
`Gitea: Create Pull Request` Create a Pull Request for the current repository.
## Requirements
- A Gitea instance with SSH access.
- A Personal Access Token (PAT) from your Gitea instance for authentication.
A Gitea instance with SSH access.
A Personal Access Token (PAT) from your Gitea instance for authentication.
## Configuration
You can configure the Gitea instance URL and your Personal Access Token in your VSCode settings:
```json
````json
{
"gitea.instanceUrl": "https://your-gitea-instance.com",
"gitea.personalAccessToken": "your-personal-access-token"
@ -28,12 +35,25 @@ You can configure the Gitea instance URL and your Personal Access Token in your
````
## Usage
Authentication
Run Gitea: Authenticate to authenticate with your Gitea instance.
Run Gitea: Clone Repository to clone a repository from your Gitea account.
Run <Gitea: Authenticate> to authenticate with your Gitea instance.
You can set or update your Gitea instance URL and Personal Access Token by running <Gitea: Configure>
Cloning a Repository
Run <Gitea: Clone Repository> to clone a repository from your Gitea account.
Choose the repository you want to clone and select the folder where you want to clone it.
The repository will be cloned via SSH and automatically opened in VSCode.
Creating a Pull Request
Ensure that you are on the branch for which you want to create a Pull Request.
Run <Gitea: Create Pull Request> from the command palette.
The PR title will be automatically set to the latest commit message, and the body will include the commit description (if any).
The current branch will be used as the source (head), and the base branch will be automatically fetched from the repository's default branch (e.g., main or master).
Once the Pull Request is created, the Gitea web interface will open in your browser for further review.
## Issues
If you encounter any issues or have feature requests, please feel free to submit them in the issues section.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -2,7 +2,7 @@
"name": "gitea-workflow",
"displayName": "Gitea Workflow",
"description": "Clone from Gitea instances; Create PRs",
"version": "1.0.0",
"version": "1.0.1",
"publisher": "computerliebe",
"engines": {
"vscode": "^1.94.0"
@ -10,6 +10,7 @@
"categories": [
"Other"
],
"icon": "media/vscode_gitea_plugin.png",
"activationEvents": ["onStartupFinished"],
"main": "./dist/extension.js",
"contributes": {