These are chat archives for inveniosoftware/invenio

17th
Nov 2015
Yoan Blanc
@greut
Nov 17 2015 08:58
@jirikuncar mitsuhiko/werkzeug#812
Yoan Blanc
@greut
Nov 17 2015 09:43
@lnielsen any good reason to use %(version) ?
I think it can only lead to unwanted 404's
Lars Holm Nielsen
@lnielsen
Nov 17 2015 10:08
@greut In which context?
Yoan Blanc
@greut
Nov 17 2015 10:14
when you do deployment the proper way aka not the git pull way.
html is in cache, js is not
js will 404
Lars Holm Nielsen
@lnielsen
Nov 17 2015 10:27
Ah, you’re talking about the version in webassets bundles like gen/bundle.%(version)s.js?
Reason for keeping it in the file name is to allow serving multiple versions of the same file.
Yoan Blanc
@greut
Nov 17 2015 10:41
which is doable if you git pull your updates
not if you have updates you can rollback
Yoan Blanc
@greut
Nov 17 2015 12:24
@drjova regarde dependencies with npm, do you have a package in mind?
e.g. bootstrap-sass mentions jquery in bower.json but nothing in package.json
it becomes the bundle's author problem then.
Jacopo Notarstefano
@jacquerie
Nov 17 2015 13:51
Jiri Kuncar
@jirikuncar
Nov 17 2015 13:53
@jacquerie IMHO you are mixing Invenio<3.0 and Invenio>=3.0 packages.
Jacopo Notarstefano
@jacquerie
Nov 17 2015 13:57
Mh, are invenio-base==0.3.1 and invenio-ext==0.3.2 already >=3.0?
Jiri Kuncar
@jirikuncar
Nov 17 2015 13:59
Aaah you have invenio_ext in PACKAGES
@jacquerie please remove it and make sure that invenio_base is last in the list.
  • remove also invenio_testing
Jacopo Notarstefano
@jacquerie
Nov 17 2015 14:01
@jirikuncar, sure, will try. I can't recall why it was there. Probably frustrated with some autodiscovery not working. Let's see...
Jacopo Notarstefano
@jacquerie
Nov 17 2015 14:13
Thanks! Now I am back to my previous error: https://travis-ci.org/inspirehep/invenio-matcher/jobs/91602114
In my tests I am mocking the Elasticsearch instance, but, since setup_app is not run, I can't.
(In fact, this is probably why I added invenio-ext to PACKAGES)
Jiri Kuncar
@jirikuncar
Nov 17 2015 14:14
EXTENSIONS?
Jacopo Notarstefano
@jacquerie
Nov 17 2015 14:15
Ooh. Makes sense.
Yoan Blanc
@greut
Nov 17 2015 14:53
library versions conflict from bundles: drjova/invenio-assets#2
Jacopo Notarstefano
@jacquerie
Nov 17 2015 15:10
I'm almost there. I think that some boilerplate from invenio-cookiecutter is incompatible with mock (1.3.0): https://travis-ci.org/inspirehep/invenio-matcher/jobs/91607011#L693
Jiri Kuncar
@jirikuncar
Nov 17 2015 15:14
@jacquerie you are using old cookiecutter template.
Jacopo Notarstefano
@jacquerie
Nov 17 2015 15:25
@jirikuncar, woah, right, I generated this module 3 months ago and now it's missing all the new fixes in cookiecutter. I guess there's no way to get those, except tediously copying and pasting files, right?
Jacopo Notarstefano
@jacquerie
Nov 17 2015 20:20
@jirikuncar Thanks for the assistance. Now everything is nice and green :+1: