taufik-nurrohman / parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.
MIT License
60 stars 13 forks source link

cannot be installed via Composer #16

Closed pixeline closed 3 years ago

pixeline commented 4 years ago

AFAICS, composer require taufik-nurrohman/parsedown-extra-plugin does not work, even with minimum-stabilityset to dev.

Returned message:

 [InvalidArgumentException]                                                                                                                          
  Could not find a matching version of package taufik-nurrohman/parsedown-extra-plugin. Check the package spelling, your version constraint and that  
   the package is available in a stability which matches your minimum-stability (dev).        

This could help.

taufik-nurrohman commented 4 years ago

Will fix this after #15, thanks! So, as long as it set as a stable version, this error will dissapears right?

pixeline commented 4 years ago

Will fix this after #15, thanks! So, as long as it set as a stable version, this error will dissapears right?

Well I don't think so. According to this, the issue is how you tag your releases. Composer needs strict versioning like: 0.0.1 you have added "beta" and other unrecognized characters in it.

pixeline commented 4 years ago

ah but I see you released a properly named version 2 days ago. Let me try!

pixeline commented 4 years ago

Still same error message.

composer require taufik-nurrohman/parsedown-extra-plugin


  [InvalidArgumentException]                                                                                                                                  
  Could not find a matching version of package taufik-nurrohman/parsedown-extra-plugin. Check the package spelling, your version constraint and that the pac  
  kage is available in a stability which matches your minimum-stability (stable).                                                                             
pixeline commented 4 years ago

also: i don't actually see your package on https://packagist.org/?query=taufik-nurrohman you probably need to submit it: https://packagist.org/packages/submit

taufik-nurrohman commented 4 years ago

@pixeline Maybe because this account name previously was @tovic.

https://packagist.org/packages/tovic/parsedown-extra-plugin

taufik-nurrohman commented 4 years ago

Could you help me to sync this repository with yours? So everything will be up-to-date.

https://packagist.org/packages/taufik-nurrohman/parsedown-extra-plugin

jaroslavlibal commented 3 years ago

@pixeline Could you please change the canonical URL to the original repository instead of your fork and make @taufik-nurrohman a (co)maintainer or rename/delete your packagist package (named as the original repository), please? This situation is quite confusing for users as the installed library is not the expected one.

I don't think this solution is the best one. Thanks!

pixeline commented 3 years ago

@pixeline Could you please change the canonical URL to the original repository instead of your fork and make @taufik-nurrohman a (co)maintainer or rename/delete your packagist package (named as the original repository), please? This situation is quite confusing for users as the installed library is not the expected one.

I don't think this solution is the best one. Thanks!

it should be done, now. Is that correct ?

taufik-nurrohman commented 3 years ago

Thanks!

jaroslavlibal commented 3 years ago

Thank you guys! We'll probably have to explicitly require "erusev/parsedown": "@dev" in our projects* with the 1.3.2 version released a few minutes ago, but everything works now, thanks again!

* - with project's minimum stability set to stable

taufik-nurrohman commented 3 years ago

@jaroslavlibal I will consider to update it when I have the time.