scriptotek / php-marc

Simple interface for working with MARC records using the File_MARC package
MIT License
52 stars 11 forks source link

Running composer fails #1

Closed mjordan closed 8 years ago

mjordan commented 8 years ago

composer require scriptotek/marc dev-master fails for me with the following error output:

./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for scriptotek/marc dev-master -> satisfiable by scriptotek/marc[dev-master].
    - scriptotek/marc dev-master requires ck/file_marc_reference dev-master -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, deleting ./composer.json.

Can anyone shed some light on why this is happening? Root cause appears to be that there is no package ck/file_marc_reference.

danmichaelo commented 8 years ago

You need to set minimum-stability to "dev"in yourcomposer.json` since it defaults to "stable".

Let me know if you find use cases for the package. It's currently relying mainly on the work of others, but I hope to be able to add more convenience methods over time.

mjordan commented 8 years ago

Thanks, works now. My immediate/near-term use case is described here. We are in the middle of a huge migration so don't have any time to do this work but we do intend to incorporate a MARC "fetcher" and parser after the end of April.

Thanks for composerizing this library.