-
-
Notifications
You must be signed in to change notification settings - Fork 237
mrt add collectionFS fails #97
Comments
|
i did a mrt remove --system in one folder |
i'm sorry .. it's if that doesnt work try |
ok it works, |
Ok it works correctly now Benjamin RICHARD 2013/10/28 nooitaf [email protected]
|
nice, ... i hope the next version bump will be smoother.. |
I can't get collectionFS to install. I did mrt install cfs-public-folder first as I thought it was a dependancy, but then I got the error above when I tried to do mrt install collectionFS. I tried the mrt uninstall and update step, which simply re-installes roles, iron-router and errors that I had installed previously, then when I do mrt install collectionFS I don't get any errors, but the package is still not installed. |
Use mrt add collectionFS instead of mrt install |
How embarrassing... :( My excuse, its 43 C here today.. thanks |
lol, its all good.. I think we've all had those moments :) |
Updated meteor to 0.7.2 then mrt update, but I'm getting errors from collectionFS. Problem installing collectionFS I tried mrt uninstall --system and mrt update, but same issue. Any ideas? |
@pnunn good question, we had to publish the new version to get tests working on travis. I'm guessing you are on the "old" api? Could try editing your app smart.json pointing collectionFS to the Master and tag v0.0.3? (I'm not a mrt expert) we will add a message/guide on the readme and meteor talk. We are pushing the new version to Master before april. There are massive speed and Security improvements in the new api, so when Ready we will recommend moving to the new api. |
Ok, I've added {"tag": "master/v0.0.3" } to collectionFS (also tried "master/0.0.3"), uninstall --system, mrt update but same error still. Not sure what you mean by "old" and "new" api's but is it easier to just update to what's new? Has it changed much? |
Its changed a lot - for the better, hope you guys agree - the new api should be more powerful, easy much faster since we are piping streams of data and more secure because we have a real rest point rigged - adding It also has a more flexible storage capability since you can easily switch between the current 3 storage adapters:
We've made it fairly easy for others to create new storage adapters (I'm personally looking forward to storage adapters for stuff like dropbox/drive etc.) We have added a FS.File object for handling files - this has many advantages:
We are writing the last parts of the transformation streams api - its basically file handlers / beforeSave but for streams - again making it possible to use gm streaming api or crypting/decrypting data etc. The most important part: The new api already got more tests rigged that the old (it had no tests)
But theres a bunch of devs already using/testing it - and we are close to a stable api - basically just the We are super low on documentation at the moment - but we have a place where early adapters can add comments what parts needs documentation #206 But when all is said - users should be able to use the old api if they want to, I'm sure its possible - I hope the new package system will resolve version dependencies better in the future. Hmm, not {
"meteor": {
"tag": "v0.7.2"
},
"packages": {
"collectionFS": "0.3.7",
}
} Feedback is much welcome |
Sounds really interesting raix, looking forward to trying it all out. |
Cool - I'll update the master readme - Thanks!! |
fyi, I am on the devel branch and I have the same conflict problem as described earlier. Happened when I upgraded to meteor 0.7.2. |
ok, edit your smart.json use version: |
huum, I have no intention to use the old api, thanks. |
@aldeed I'm getting this result when trying $ mrt add collectionFS
✓ cfs-base-package
branch: https://github.com/CollectionFS/Meteor-cfs-base-package.git#master
✓ cfs-file
branch: https://github.com/CollectionFS/Meteor-cfs-file.git#master
✓ cfs-ejson-file
branch: https://github.com/CollectionFS/Meteor-cfs-ejson-file.git#master
✓ cfs-collection
branch: https://github.com/CollectionFS/Meteor-cfs-collection.git#master
✓ cfs-access-point
branch: https://github.com/CollectionFS/Meteor-cfs-access-point.git#master
✓ cfs-worker
branch: https://github.com/CollectionFS/Meteor-cfs-worker.git#master
✓ cfs-upload-http
branch: https://github.com/CollectionFS/Meteor-cfs-upload-http.git#master
✓ cfs-filesaver
branch: https://github.com/CollectionFS/Meteor-cfs-filesaver.git#master
✓ cfs-storage-adapter
branch: https://github.com/CollectionFS/Meteor-cfs-storage-adapter.git#master
✓ http-methods
branch: https://github.com/CollectionFS/Meteor-http-methods.git#master
✓ cfs-upload-ddp
branch: https://github.com/CollectionFS/Meteor-cfs-upload-ddp.git#master
✓ http-publish
branch: https://github.com/CollectionFS/Meteor-http-publish.git#master
✓ cfs-gridfs
branch: https://github.com/CollectionFS/Meteor-cfs-gridfs.git#master
✓ cfs-tempstore
branch: https://github.com/CollectionFS/Meteor-cfs-tempstore.git#master
Problem installing collectionFS
✘ [branch: https://github.com/CollectionFS/Meteor-CollectionFS.git#devel] conflicts with [latest]
Can`t resolve dependencies! Use --force if you don`t mind mrt taking a wild guess and running your app anyway. @lap123 is it the same result you get? |
yes I get the same results. Sorry I should have pasted it from the beginning.
|
I can't add via mtr... Ive bumped all packages to make sure everything is up to date - and now its failing at cfs-file... This is a mtr issue right? (the new package system hopefully resolves this) |
To put it clearly, as of right now, the correct way to use each 0.4.0 (new API) smart.json:
0.3.7 (old API) smart.json:
Which also means that simply doing |
ughh - I have removed 2 smart.lock files in attept to debug.. |
It should work with By using |
mtr should be able to handle that packages may have same deps? |
For an app, I don't think |
Ok, mrt is not actually checking or too clever, now I get:
its kinda exactly the same... |
Maybe we have some packages that still point to the |
Nope checked all packages, none of them are doing circular references to collectionFS. Maybe do a cross check to see if there are circular deps between packages? |
Should we add |
Actually, not quite true. I just checked and found that the |
So, no, |
just created a testapp, looks good: This project is already at Meteor 0.7.2, the latest release.
$ mrt add collectionFS
✓ cfs-base-package
branch: https://github.com/CollectionFS/Meteor-cfs-base-package.git#master
✓ cfs-file
branch: https://github.com/CollectionFS/Meteor-cfs-file.git#master
✓ cfs-ejson-file
branch: https://github.com/CollectionFS/Meteor-cfs-ejson-file.git#master
✓ cfs-collection
branch: https://github.com/CollectionFS/Meteor-cfs-collection.git#master
✓ cfs-access-point
branch: https://github.com/CollectionFS/Meteor-cfs-access-point.git#master
✓ cfs-worker
branch: https://github.com/CollectionFS/Meteor-cfs-worker.git#master
✓ cfs-upload-http
branch: https://github.com/CollectionFS/Meteor-cfs-upload-http.git#master
✓ cfs-filesaver
branch: https://github.com/CollectionFS/Meteor-cfs-filesaver.git#master
✓ cfs-storage-adapter
branch: https://github.com/CollectionFS/Meteor-cfs-storage-adapter.git#master
✓ http-methods
branch: https://github.com/CollectionFS/Meteor-http-methods.git#master
✓ cfs-upload-ddp
branch: https://github.com/CollectionFS/Meteor-cfs-upload-ddp.git#master
✓ http-publish
branch: https://github.com/CollectionFS/Meteor-http-publish.git#master
✓ cfs-gridfs
branch: https://github.com/CollectionFS/Meteor-cfs-gridfs.git#master
✓ cfs-tempstore
branch: https://github.com/CollectionFS/Meteor-cfs-tempstore.git#master
✓ power-queue
branch: https://github.com/CollectionFS/Meteor-power-queue.git#master
✓ reactive-list
branch: https://github.com/CollectionFS/Meteor-reactive-list.git#master
✓ reactive-property
branch: https://github.com/CollectionFS/Meteor-reactive-property.git#master
✓ micro-queue
branch: https://github.com/CollectionFS/Meteor-micro-queue.git#master
✓ collectionFS
tag: https://github.com/CollectionFS/Meteor-CollectionFS.git#devel#v0.4.1
Done installing smart packages
|
Yeah, it works here too - thanks guys!! |
I think the cfs-access-point tests are failing because you removed |
This is what worked for me: $ mrt update --force
If `smart.lock` is changed:
$ git add smart.lock
$ git commit -m "message" After you run |
but we should not have to include smart.lock... I rather have it work like normal. Im thinking this issue we are experiencing could be due to the fact that we include info about git and branch - it should be ok to remove? e.g. like |
Im turning in - I've refactored the transformWrite/read - it works when just piping the readStream and writeStream in the transform - so thats good news - its saved correctly etc. but the fileobj is not updated with an extra store (my qa got org + transform) - later... |
@aldeed I've fixed travis test script - Ive updated all .travis scripts to use our own version for this - using your |
OK, nice. Yeah, I don't think that removing the git and branch references would help, because it still evaluates as "latest" whereas the tests try to use "local" of the package being tested. Since "latest" != "local", mrt doesn't know what to do. But I could be wrong, have been once or twice in my life. :) |
I still have smart.json open for all packages, I'll revert - it doesnt make any difference, modifying the test script solved it. |
Did the same thing i did 2 days ago, but now it throws this error.. $ meteor create cfs-test
$ cd ctf-test
$ meteor --version
Release 0.7.2
$ mrt add collectionFS
Problem installing cfs-base-package
✘ [branch: https://github.com/CollectionFS/Meteor-cfs-base-package.git#master] conflicts with [latest]
Can't resolve dependencies! Use --force if you don't mrt taking a wild guess and running your app anway. .. should i use the |
@nooitaf hmmm, maybe I did this? I did remove the git#master reference while testing making travis work - so I guess mrt tracks that as latest? I have then reverted to the git# reference creating a conflict? Let me know if it works - I'll add it to the readme.md |
@raix the just a little side thought .. shouldn't those packages have tag numbers instead of $ mrt update --force
✓ cfs-base-package
branch: https://github.com/CollectionFS/Meteor-cfs-base-package.git#master
✓ cfs-filesaver
branch: https://github.com/CollectionFS/Meteor-cfs-filesaver.git#master
✓ cfs-storage-adapter
branch: https://github.com/CollectionFS/Meteor-cfs-storage-adapter.git#master
✓ cfs-collection
branch: https://github.com/CollectionFS/Meteor-cfs-collection.git#master
✓ http-methods
branch: https://github.com/CollectionFS/Meteor-http-methods.git#master
✓ cfs-file
branch: https://github.com/CollectionFS/Meteor-cfs-file.git#master
✓ cfs-filesaver
branch: https://github.com/CollectionFS/Meteor-cfs-filesaver.git#master
✓ cfs-storage-adapter
branch: https://github.com/CollectionFS/Meteor-cfs-storage-adapter.git#master
✓ cfs-collection
branch: https://github.com/CollectionFS/Meteor-cfs-collection.git#master
✓ http-methods
branch: https://github.com/CollectionFS/Meteor-http-methods.git#master
✓ cfs-upload-ddp
branch: https://github.com/CollectionFS/Meteor-cfs-upload-ddp.git#master
✓ cfs-upload-http
branch: https://github.com/CollectionFS/Meteor-cfs-upload-http.git#master
✓ http-publish
branch: https://github.com/CollectionFS/Meteor-http-publish.git#master
✓ cfs-gridfs
branch: https://github.com/CollectionFS/Meteor-cfs-gridfs.git#master
✓ cfs-tempstore
branch: https://github.com/CollectionFS/Meteor-cfs-tempstore.git#master
✓ cfs-access-point
branch: https://github.com/CollectionFS/Meteor-cfs-access-point.git#master
✓ http-publish
branch: https://github.com/CollectionFS/Meteor-http-publish.git#master
✓ cfs-gridfs
branch: https://github.com/CollectionFS/Meteor-cfs-gridfs.git#master
✓ cfs-tempstore
branch: https://github.com/CollectionFS/Meteor-cfs-tempstore.git#master
✓ power-queue
branch: https://github.com/CollectionFS/Meteor-power-queue.git#master
✓ reactive-list
branch: https://github.com/CollectionFS/Meteor-reactive-list.git#master
✓ reactive-property
branch: https://github.com/CollectionFS/Meteor-reactive-property.git#master
✓ micro-queue
branch: https://github.com/CollectionFS/Meteor-micro-queue.git#master
Problem installing cfs-base-package
✘ [branch: https://github.com/CollectionFS/Meteor-cfs-base-package.git#master] conflicts with [latest]; overriding with [branch: https://github.com/CollectionFS/Meteor-cfs-base-package.git#master]
Problem installing cfs-collection
✘ [branch: https://github.com/CollectionFS/Meteor-cfs-collection.git#master] conflicts with [latest]; overriding with [branch: https://github.com/CollectionFS/Meteor-cfs-collection.git#master]
Problem installing cfs-file
✘ [branch: https://github.com/CollectionFS/Meteor-cfs-file.git#master] conflicts with [latest]; overriding with [branch: https://github.com/CollectionFS/Meteor-cfs-file.git#master]
Problem installing cfs-upload-http
✘ [branch: https://github.com/CollectionFS/Meteor-cfs-upload-http.git#master] conflicts with [latest]; overriding with [branch: https://github.com/CollectionFS/Meteor-cfs-upload-http.git#master]
Problem installing cfs-access-point
✘ [branch: https://github.com/CollectionFS/Meteor-cfs-access-point.git#master] conflicts with [latest]; overriding with [branch: https://github.com/CollectionFS/Meteor-cfs-access-point.git#master]
✓ collectionFS
tag: https://github.com/CollectionFS/Meteor-CollectionFS.git#v0.4.3
✓ cfs-ejson-file
tag: https://github.com/CollectionFS/Meteor-cfs-ejson-file.git#v0.0.5
✓ cfs-worker
tag: https://github.com/CollectionFS/Meteor-cfs-worker.git#v0.0.11
Done installing smart packages |
FS.FileSystem |
Your example gist https://gist.github.com/raix/9720064 said
i made a little repo of the working thingy. https://github.com/nooitaf/meteor-cfs-example-image-upload |
Yep, sorry was on iPhone, FS.Store.FileSystem (with cap. "S") but true one have to add the storage adapter packages, I'll just put a note in the gist about it. |
Cool about the repo, we should link from the readme :) |
I have similar issue. $ mrt add collectionFS and silens. No errors. No messages. Nothing. --force helpless too |
@solshark, I think that sometimes happens temporarily due to network issues. Maybe see if it works later. |
Might be, but all the rest of atmosphere packages installs ok. |
And magically it works now :) |
Trying to add collectionFS to a new project :
mrt create testApp
mrt add collectionFS
✓ cfs-public-folder
tag: https://github.com/nooitaf/meteor-cfs-public-folder.git#v0.0.3
/home/action/.nvm/v0.10.11/lib/node_modules/meteorite/lib/sources/git.js:151
hrow "There was a problem checking out " + self.checkoutType + ": " + (self.co
^
There was a problem checking out tag: v0.0.3
I also have the problem on previous installed app : collectionFS and cfs-public-folder are listed in packages folder but mrt always return the same problem.
When i edit the cfs-public-folder/smart.json of that app it shows me i'm on v0.0.2 and not in v0.0.3, so it seems that update fails sinc some time ago.
The text was updated successfully, but these errors were encountered: