mateussantin / magento2-admin-order-status-color

Changes the color of the order status column in the UI grid, based on the current status of the order.
54 stars 6 forks source link

Unable to install via packagist: no git tags #2

Closed fredden closed 10 months ago

fredden commented 2 years ago

This looks like a great addition to Magento. Thanks for making this and making it available publicly.

Please can you create some git tags in this repository so that it can be installed via composer. I'd like to install this on a Magento website, but am currently getting an error saying that no stable versions are available. It looks like you've specified a 'version' in composer.json, but there is no corresponding tag in git (or maybe only the copy on GitHub? git push --tags) so I get the following error when attempting to install.

Screenshot_2022-09-23_10-48-15

There are no available versions currently listed on https://packagist.org/packages/mateus/module-orderstatuscolor

See also https://getcomposer.org/doc/02-libraries.md#library-versioning

fredden commented 1 year ago

@mateussantin is there anything that I can do to help get this fixed? I'd like to start using this module, but cannot install it via composer yet.

mateussantin commented 1 year ago

@fredden Hello all right? you can install with this alternative code if you can't, I tested it here and it's ok. composer require mateus/module-orderstatuscolor:dev-master

fredden commented 1 year ago

@mateussantin thanks for the offer of how to install without a version number. I'm aware of how composer and versioning works. I'll wait for this issue to be fixed before adding it to our list of "install everywhere" modules.

almeidarobertop commented 10 months ago

Hello @mateussantin . Your module is released awhile already and looks like no critical issues has been found. Could you release a stable tag for the module to be installed on projects with that restriction?

image image

almeidarobertop commented 10 months ago

Hello @mateussantin . We've forked your project to try to contribute, but TAGs won't be shared via Pull Requests. So, I would advise you to do yourself, by applying the following commands:

git tag -a 1.0.0 HEAD git push origin 1.0.0

If you decide to do this, share with us once done, to allow us to import your module to our project. Best regards.

mateussantin commented 10 months ago

Hi @almeidarobertop, I released a 2.0.0 tag, you can use it if you prefer.

almeidarobertop commented 10 months ago

@mateussantin thank you man. This update resolves this issue. I believe you may close this one :)

fredden commented 10 months ago

Thanks @mateussantin and @almeidarobertop.