Skip to content

Commit

Permalink
Publish on Github
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kastl <[email protected]>
  • Loading branch information
dkastl committed Nov 5, 2021
1 parent ceee24a commit 7fd72a1
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 38 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -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
14 changes: 7 additions & 7 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Expand Down Expand Up @@ -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
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>

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
Expand All @@ -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 <http://www.gnu.org/licenses/>.
along with this program. If not, see <https://www.gnu.org/licenses/>.

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
<program> Copyright (C) <year> <name of author>
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.
Expand All @@ -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
<http://www.gnu.org/licenses/>.
<https://www.gnu.org/licenses/>.

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
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
<https://www.gnu.org/licenses/why-not-lgpl.html>.
51 changes: 23 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
7 changes: 4 additions & 3 deletions init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 7fd72a1

Please sign in to comment.