These are chat archives for canjs/canjs

13th
Jan 2017
Nico R.
@nriesco
Jan 13 2017 07:43
cool thanks @phillipskevin @roemhildtg
@MarcGodard I’m using can-connect-feathers to solve something that might be achieved by using a behaviour, maybe it is a behavior after all isn’t it?
Justin Meyer
@justinbmeyer
Jan 13 2017 14:31
@seasoup have you checked out bitballs?
that guide has details on how we do services
with 2.3, but it uses can-connect
how you would in 3.0
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:34
@justinbmeyer oh nice that your here
whats with the bitballs pull request is anything unclear?
you maybe forgotten it because it was short befor new year
maybe i am not sure but i reviewed all you change requests and answered do i need to ping you after that or do you get informed from github about the reviews?
Justin Meyer
@justinbmeyer
Jan 13 2017 14:43
mostly, I haven't had time to look into it. I can't merge it without some work because there's actual data I care about on the running app.
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:44
cant we export that via mysql dump
and reimport that ?
Justin Meyer
@justinbmeyer
Jan 13 2017 14:44
I'm not sure the migrations should be changed ... instead what almost needs to happen is a migration for the data from postgres to sqllite needs to be written.
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:44
should be easy task can do that for you
Justin Meyer
@justinbmeyer
Jan 13 2017 14:44
yes, but unfortunately, not really a priority right now
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:45
ok no problem only wanted to know what happend and if i did something wrong
Justin Meyer
@justinbmeyer
Jan 13 2017 14:45
no, I have a minor concern about changing migrations. Something feels "dirty" about it.
but as it's switching to a new DB, it's more or less ok
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:46
ya but your using knex
and knex drivers don't support the same futures :D
Justin Meyer
@justinbmeyer
Jan 13 2017 14:46
futures?
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:46
ya
Justin Meyer
@justinbmeyer
Jan 13 2017 14:46
do you mean features?
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:46
ok lets make it more clear
don't support the same Querys :D
features ya
i talk to many languages probally :)
The create stuff works in all drivers but the update querys that are in that migrations
don't work with every driver
Justin Meyer
@justinbmeyer
Jan 13 2017 14:48
yeah, that makes sqlLite a little less appealing then
do you know if there's an issue for it?
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:48
there is no issue its simply not implamented
its on road map of knex
will be working in some years probally
:D
Justin Meyer
@justinbmeyer
Jan 13 2017 14:49
hmmm ... yeah, but I'm pretty sure that I'll want to add a "description" column on players w/i a year or so
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:49
the problem is not sqllite the problem is the knex sqlite implamentation
Justin Meyer
@justinbmeyer
Jan 13 2017 14:49
yeah
anyhoo ... I really appreciate the work ... these things sort of move in cycles
probably the best chance to get this in when we will be updating the bitballs guide for DoneJS 1.0
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:50
the most importent is that it is simply more fast use able
thats why i did it for me
i needed to demo without deploying mysql
its only not as useable for your existing deployment
maybe in long term you should consider to host own migrations for your heroku deployment :)
Justin Meyer
@justinbmeyer
Jan 13 2017 14:52
I don't know what you mean by that
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:52
you sayed you got existing data and thats why your not able to merge and use that
Justin Meyer
@justinbmeyer
Jan 13 2017 14:52
separate migrations?
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:52
ya
because this is a demo app that many people download and install only to learn donejs
they will never run that long term in production
and so will never run upgrade migrations
Justin Meyer
@justinbmeyer
Jan 13 2017 14:53
yeah, but I don't want to maintain multiple apps
for example ... I wouldn't have wanted to upgrade 2 apps to CanJS 3.0
even if I forked
it would be more work over-all
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:53
and thats the good thing
the app has nothing to do with the migrations
the app simply needs a database with some tabels and cols and filds defined thats it
Justin Meyer
@justinbmeyer
Jan 13 2017 14:54
it does ... the migrations keep the DB schema useable by a particular version of the app
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:54
where that comes from never matters
Justin Meyer
@justinbmeyer
Jan 13 2017 14:54
yeah, but as I add a "description" to players in the client
I'd need to change 2 things
and test 2 things
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:55
hmmm your right maybe this update is not usefull for bitballs
and i simply should produce a app similar to bitballs but for other usecase
Justin Meyer
@justinbmeyer
Jan 13 2017 14:55
it's fine for bitballs if I can get the time to migrate
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:56
and implament that there and demo that
Justin Meyer
@justinbmeyer
Jan 13 2017 14:56
but I want only one code base to manage
it's hard enough keeping place-my-order, donejs-chat, and bitballs, and soon to be bitcentive all updated to latest, all running, etc
Frank Lemanschik
@frank-dspeed
Jan 13 2017 14:56
i understand that point
it shouldn't be that hard at all
we do then maybe something in general wrong?
:D
because its then hard for every one to keep apps current and working
thats not a goal of donejs
i will think about that at present i am able to maintain all apps that i did via node_modules
but i only did can3 apps
maybe there are some more complicated situations when using donejs or can2.3
thanks for feedback i will look into that
Justin Meyer
@justinbmeyer
Jan 13 2017 15:00
I'm guessing your apps don't have guides written about them, presentations, etc that need to be updated everytime you change them
Frank Lemanschik
@frank-dspeed
Jan 13 2017 15:01
not written but generated :D
they are also updated via npm
i most time only do search replace and abstract all tasks so most time never a nativ command is used
so i am able to migrate at that step
and i simply version my guides and presentations
a presentation for example for windows 3.11 never gets updated to windows 10
:D
same for manuals and that
i think as soon as the version problem of canjs donejs is solved this all will get more easy
Thomas Sieverding
@Bajix
Jan 13 2017 16:36
Is there a hangouts link for the contrib meeting?
Justin Meyer
@justinbmeyer
Jan 13 2017 16:37
@Bajix sent private link