Skip to content
This repository has been archived by the owner on Aug 25, 2018. It is now read-only.

Prepare to Firebase 3 upgrade #158

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

jpventura
Copy link

These modifications are preparatory steps before actually updating the project to the latest Firebase and Backbone versions:

  • Travis CI is falling because it is not finding npm and karma-cli in order to perform the tests (seems like they are not installed on the VMs).
  • We just need configure before_install option at .travis.yml, ensuring that packages are present before starting the unit tests.
  • Package dependencies were updated to their latest versions, except Firebase and Backbone.

Fix: #157

@coveralls
Copy link

coveralls commented Nov 2, 2016

Coverage Status

Coverage remained the same at 91.925% when pulling 1344abe on jpventura:prepare_to_firebase_upgrade into 86bd66f on firebase:master.

@jpventura jpventura force-pushed the prepare_to_firebase_upgrade branch 2 times, most recently from 4974487 to 7e4d073 Compare November 17, 2016 11:01
@coveralls
Copy link

coveralls commented Nov 17, 2016

Coverage Status

Coverage remained the same at 91.925% when pulling 7e4d073 on jpventura:prepare_to_firebase_upgrade into 86bd66f on firebase:master.

@coveralls
Copy link

coveralls commented Nov 17, 2016

Coverage Status

Coverage remained the same at 91.925% when pulling 4974487 on jpventura:prepare_to_firebase_upgrade into 86bd66f on firebase:master.

Travis CI is falling because it is not finding npm and karma-cli in order
to perform the tests (seems like they are not installed on the VMs).

We just need configure before_install option at .travis.yml, ensuring that
packages are present before starting the unit tests.
Minor .gitignore upgrade:
  - Remove duplicated folders
  - Upgrade list of automatically created files that should be ignored
  - Use GitHub Node.js .gitignore template (see https://goo.gl/hx0XE)
  - Also ignore Emacs and VSCode automatic files
Update required in order to Travis CI run the unit tests
Updated all package dependencies to its latest version, except Firebase
and Backbone. This is an intermediary step before actually upgrading to
latest backend version.

Removed gulp-server and use gulp-contrib-connect instead (updating
Gruntfile.js task also is required to perform the unit tests).

We also installed chai and sinon because they are required by karma-chai
and karma-sinon respectivelly.
Fix Backbone.Firebase.Collection#fetch test to properly check if a
collection was successfully synced with Firebase backend.
@coveralls
Copy link

coveralls commented Nov 21, 2016

Coverage Status

Coverage remained the same at 91.925% when pulling df6ee2d on jpventura:prepare_to_firebase_upgrade into 86bd66f on firebase:master.

@dwhipps
Copy link

dwhipps commented Jun 13, 2017

Has this been merged into master? Doesn't look like it. Should I use this branch if I want to work with V3?

@jpventura
Copy link
Author

@dwhipps Nope. I tried getting contact with Firebase reviewers on Twitter as well, but seems like the project was abandoned

@jpventura
Copy link
Author

@AbeHaskins, @davideast, @jwngr Is the project still active?

@davideast
Copy link
Contributor

If you need we can get this library upgraded to Firebase 4.6.0. However, do know that this library doesn't get much support due to it's usage. It currently does 16 downloads per month.

https://www.npmjs.com/package/backbonefire

@wuservices
Copy link

It'd be awesome to get this upgraded.

While Backbone isn't getting that much attention these days, this may be more popular than 16 downloads per month. Many Backbone users (such as myself) may not be using npm and may just download the files from the repo directly, or even link straight to the CDN.

@jpventura
Copy link
Author

jpventura commented Nov 7, 2017

@davideast Yes, I can. This PR in special was only to get Travis CI working again for future pull requests. Once it is merged, I could finish the refactor to Firebase 4.6.0.

Doest it make sense?

@jpventura
Copy link
Author

@wuservices According to NPM Stat, it never was a popular library (at most 50 downloads/month), while AngularFired reached 7731 downloads/month.

So must I agree with @davideast about Firebase team do not spend time supporting in a package with no demand (if compared to all other Firebase JS libraries).

But I see no reason why the community could not maintain it 😄.

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

Successfully merging this pull request may close these issues.

5 participants