Skip to content

Commit

Permalink
Add kirby git plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
sssggr committed Aug 6, 2024
1 parent ec58ea5 commit aaa5f0d
Show file tree
Hide file tree
Showing 16 changed files with 3,180 additions and 4 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"getkirby/cms": "^4.0",
"tobimori/kirby-seo": "^1.1"
"tobimori/kirby-seo": "^1.1",
"oblik/kirby-git": "^2.0"
},
"config": {
"allow-plugins": {
Expand Down
60 changes: 59 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions site/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
return [
'debug' => false,
'tobimori.seo.canonicalBase' => 'https://ninasiessegger.de',
'oblik.git' => [
'repo' => 'https://github.com/sssggr/nina-on-kirby',
'merge' => 'main',
],
'languages' => [
'detect' => true
],
Expand Down
21 changes: 21 additions & 0 deletions site/plugins/git/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Oblik Studio

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.
51 changes: 51 additions & 0 deletions site/plugins/git/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"name": "oblik/kirby-git",
"description": "Shows you Git changes in the Kirby panel and allows you to add/commit/push them, manually or automatically.",
"license": "MIT",
"version": "2.0.0",
"type": "kirby-plugin",
"keywords": [
"kirby",
"kirby-plugin"
],
"authors": [
{
"name": "Oblik Studio",
"email": "[email protected]",
"homepage": "https://oblik.studio/"
},
{
"name": "Hristiyan Dodov",
"email": "[email protected]",
"homepage": "https://dodov.dev/"
}
],
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/OblikStudio"
}
],
"support": {
"issues": "https://github.com/OblikStudio/kirby-git/issues",
"source": "https://github.com/OblikStudio/kirby-git"
},
"scripts": {
"fix": "php-cs-fixer fix"
},
"require": {
"getkirby/cms": "^4",
"getkirby/composer-installer": "^1.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.2"
},
"extra": {
"installer-name": "git"
},
"config": {
"allow-plugins": {
"getkirby/composer-installer": true
}
}
}
Loading

0 comments on commit aaa5f0d

Please sign in to comment.