<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/lib/tasks, branch 4655-dashboard-controller</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>referential.rake: Update `Route#wayback` values</title>
<updated>2017-09-19T14:06:09+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-19T14:06:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=4b36ccafe309c5ef30ea1fbed2dc13322a95c1f4'/>
<id>4b36ccafe309c5ef30ea1fbed2dc13322a95c1f4</id>
<content type='text'>
The possible values for this field changed in
2fa3be1518da4f471d614832f80526e074983195 to `outbound` and `inbound`.
Update them accordingly in this Rake task, otherwise it fails.

Refs #4555
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The possible values for this field changed in
2fa3be1518da4f471d614832f80526e074983195 to `outbound` and `inbound`.
Update them accordingly in this Rake task, otherwise it fails.

Refs #4555
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix table name compliance_check_result to compliance_check_message Refs #4390 @2</title>
<updated>2017-09-18T13:00:00+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2017-09-18T13:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=196f739a0d9ac8a911b5ac032dca383d646872f3'/>
<id>196f739a0d9ac8a911b5ac032dca383d646872f3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Disable deploy when not in master/staging or production. Refs #4468</title>
<updated>2017-09-13T12:42:36+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2017-09-13T12:42:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=87ecd0d5585c2cb0ebe3f37735883d617909bf4c'/>
<id>87ecd0d5585c2cb0ebe3f37735883d617909bf4c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes nice pre-commit typo o/. Refs #4468</title>
<updated>2017-09-13T11:57:56+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2017-09-13T11:57:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=739d8f72dfccc858ce52db2d4a2222cce87418a4'/>
<id>739d8f72dfccc858ce52db2d4a2222cce87418a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop, create and migrate database in ci. Refs #4468</title>
<updated>2017-09-13T11:56:41+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2017-09-13T11:56:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=6f29e408e8d5a9c1dbd990059a11d4dc17b902b8'/>
<id>6f29e408e8d5a9c1dbd990059a11d4dc17b902b8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update show data for import Refs #4258</title>
<updated>2017-08-30T20:07:24+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2017-08-30T20:07:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=4d28e063f7071501eef61b59cf8a90730760c523'/>
<id>4d28e063f7071501eef61b59cf8a90730760c523</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Unify npm options in ci rake task and capistrano. Remove --silent option to display ... errors</title>
<updated>2017-08-24T12:06:00+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2017-08-24T12:06:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=a783663e1d9dffaef116f48820008927695095a4'/>
<id>a783663e1d9dffaef116f48820008927695095a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add --profile option to rspec during ci tasks</title>
<updated>2017-08-24T07:34:34+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2017-08-24T07:34:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=5aec3648aef7b3cfc7f1601d472cab551b9ad54d'/>
<id>5aec3648aef7b3cfc7f1601d472cab551b9ad54d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>schedule.rb: Add cron job to update parent imports from child imports</title>
<updated>2017-08-01T17:19:01+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-08-01T16:39:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=de687e374fe29a66fcf2d6f32849a5b7a7ef7646'/>
<id>de687e374fe29a66fcf2d6f32849a5b7a7ef7646</id>
<content type='text'>
This task will run every 5 minutes, synchronising parent imports with
the status of their children.

When all children have finished, if none of them have failed, the parent
import should get a status of "successful":

    WorkbenchImport status: :successful
      NetexImport status: :successful
      NetexImport status: :successful

When all children have finished, if any of them have failed, the parent
import should get a status of "failed":

    WorkbenchImport status: :failed
      NetexImport status: :failed
      NetexImport status: :successful

We need a Cron job for this instead of being able to do it via a Ruby
method because the thing that's setting the status on the sub-imports
when they're complete is the STIF Java IEV application. Thus there's no
way for our Ruby code to know that a sub-import has finished. Because of
that, we do this polling mechanism every five minutes to update the
imports that need updating.

Created a Rake task to use in the Whenever schedule because the `runner`
method from Whenever expanded to `script/rails`, which is a bloody
ancient file, and tries to run via JRuby lolwat. Didn't want to bother
adding a configuration to Whenever to use something more modern, and
didn't know whether the binstub in `bin/` for `rails` is available since
we don't commit those to the repo apparently (although I knew that fact
from before).

Refs #3511
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This task will run every 5 minutes, synchronising parent imports with
the status of their children.

When all children have finished, if none of them have failed, the parent
import should get a status of "successful":

    WorkbenchImport status: :successful
      NetexImport status: :successful
      NetexImport status: :successful

When all children have finished, if any of them have failed, the parent
import should get a status of "failed":

    WorkbenchImport status: :failed
      NetexImport status: :failed
      NetexImport status: :successful

We need a Cron job for this instead of being able to do it via a Ruby
method because the thing that's setting the status on the sub-imports
when they're complete is the STIF Java IEV application. Thus there's no
way for our Ruby code to know that a sub-import has finished. Because of
that, we do this polling mechanism every five minutes to update the
imports that need updating.

Created a Rake task to use in the Whenever schedule because the `runner`
method from Whenever expanded to `script/rails`, which is a bloody
ancient file, and tries to run via JRuby lolwat. Didn't want to bother
adding a configuration to Whenever to use something more modern, and
didn't know whether the binstub in `bin/` for `rails` is available since
we don't commit those to the repo apparently (although I knew that fact
from before).

Refs #3511
</pre>
</div>
</content>
</entry>
<entry>
<title>Update model diagram generation</title>
<updated>2017-08-01T12:29:53+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2017-08-01T12:29:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=84d73a0b872b078ae5b73e2f8f2db2bb304622c2'/>
<id>84d73a0b872b078ae5b73e2f8f2db2bb304622c2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
