Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v. 2.0.1 doesn't include autoload section in composer.json #6

Open
kfc opened this issue Jan 7, 2015 · 4 comments
Open

v. 2.0.1 doesn't include autoload section in composer.json #6

kfc opened this issue Jan 7, 2015 · 4 comments

Comments

@kfc
Copy link

kfc commented Jan 7, 2015

The 'autoload' section was added to composer.json after v2.0.1 had been released.

I'm using composer and I have to use 'master' instead of a version number.
Could you create a new version that will include missed 'autoload' section.

@technosophos
Copy link
Owner

I'm sorry, I don't quite understand what you are asking me to change. Can you explain it a little more?

@kfc
Copy link
Author

kfc commented Jan 7, 2015

In my composer.json in 'require' section I added the following dependency:

"technosophos/LibRIS": ">=2.0.1"

When I'm executing composer install it downloads the repository version 2.0.1 which is ok.
But then composer generates autoload.php and as v2.0.1 doesn't have 'autoload' section in composer.json(that was added later in commit cd31c2a) it can't include LibRIS classes.

So my current fix is to use 'master' instead '>=2.0.1' for version, like
"technosophos/LibRIS": "master" which grabs the latest version of repository.

It would be nice to have a version name that will include commit # cd31c2a in it.

@technosophos
Copy link
Owner

Oh, you're right!
I just added a tag for 2.0.2.

@kfc
Copy link
Author

kfc commented Jan 7, 2015

Thanks a lot.
Currently https://packagist.org/packages/technosophos/LibRIS doesn't have 2.0.2, but I guess this will be changed in a while automatically.

Again, thanks for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants