From 7fd72a1654c735cf3d75ef81ada7968e48300834 Mon Sep 17 00:00:00 2001 From: Daniel Kastl Date: Fri, 5 Nov 2021 19:49:53 +0900 Subject: [PATCH] Publish on Github Signed-off-by: Daniel Kastl --- .editorconfig | 10 ++++++++++ LICENSE | 14 +++++++------- README.md | 51 +++++++++++++++++++++++---------------------------- init.rb | 7 ++++--- 4 files changed, 44 insertions(+), 38 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..0f09989 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +# editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/LICENSE b/LICENSE index b468d7d..f288702 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -631,8 +631,8 @@ to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - redmine_supply - Copyright (C) 2020 GTT + + Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -645,14 +645,14 @@ the "copyright" line and a pointer to where the full notice is found. GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see . + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: - redmine_supply Copyright (C) 2020 GTT + Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see -. +. The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -. +. diff --git a/README.md b/README.md index 9a0db94..cccc5ba 100644 --- a/README.md +++ b/README.md @@ -1,59 +1,54 @@ # Redmine Supply plugin -This plugin enables supply management for issues - +This Redmine plugin enables supply management for issues. ## Requirements -- Redmine >= 3.4.0 + - Redmine >= 3.4.0 ## Installation -To install Redmine supply plugin, download or clone this repository in your Redmine installation plugins directory! +To install Redmine Supply plugin, download or clone this repository in your Redmine installation plugins directory! -`git clone https://hub.georepublic.net/gtt/redmine_supply.git` +``` +cd path/to/plugin/directory +git clone https://github.com/gtt-project/redmine_supply.git +``` Then run -`bundle install` - -followed by - -`bundle exec rake redmine:plugins:migrate` - - -After restarting Redmine, you should be able to see the Redmine Resource Manager in the Plugins page. - -More information on installing Redmine plugins can be found here: http://www.redmine.org/wiki/redmine/Plugins +``` +bundle install +bundle exec rake redmine:plugins:migrate +``` +After restarting Redmine, you should be able to see the Redmine Chatwoot plugin in the Plugins page. +More information on installing (and uninstalling) Redmine plugins can be found here: http://www.redmine.org/wiki/redmine/Plugins -## Usage +## How to use -- Add the new unit to `config/units.yml` by appending it to the list of units already present. - +- Add the new unit to `config/units.yml` by appending it to the list of units already present. - Do not change the ordering of the list or insert new elements anywhere in between as this will mix up the units of already existing records. - - Add translations for your new unit under the key `label_supply_item_unit_your-unit`. - - Restart the application for the changes to take effect. +## Contributing and Support + +The GTT Project appreciates any [contributions](https://github.com/gtt-project/.github/blob/main/CONTRIBUTING.md)! Feel free to contact us for [reporting problems and support](https://github.com/gtt-project/.github/blob/main/CONTRIBUTING.md). ## Version History -- 1.2.1 Fixes compatibility with old ruby versions -- 1.2.0 Logs stock activities -- 1.1.0 Bugfix, make units configurable -- 1.0.1 Adds Japanese translation - +See [all releases](https://github.com/gtt-project/redmine_supply/releases) with release notes. ## Authors - [Jens Kraemer](https://github.com/jkraemer) - - [Daniel Kastl](https://github.com/dkastl) - +- [Thibault Mutabazi](https://github.com/eyewritecode) +- [Ko Nagase](https://github.com/sanak) +- ... [and others](https://github.com/gtt-project/redmine_supply/graphs/contributors) ## LICENSE -GPL v3.0 +This program is free software. See [LICENSE](LICENSE) for more information. diff --git a/init.rb b/init.rb index 8863a80..e42cc0a 100644 --- a/init.rb +++ b/init.rb @@ -6,11 +6,12 @@ end Redmine::Plugin.register :redmine_supply do - name 'Redmine Supply and Resources Plugin' + name 'Redmine Admissions Plugin' author 'Jens Krämer, Georepublic' - author_url 'https://hub.georepublic.net/gtt/redmine_supply' + author_url 'https://github.com/georepublic' + url 'https://github.com/gtt-project/redmine_supply' description 'Adds configurable supply and resource items to issues' - version '2.0.0' + version '2.1.0' requires_redmine version_or_higher: '3.4.0'