<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/lib/tasks, branch 4443-edit-metadata</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Disable deploy when not in master/staging or production. Refs #4468</title>
<updated>2017-09-13T12:53:59+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=d6286b65a64bae29c509122c2b6eaf588cb004e5'/>
<id>d6286b65a64bae29c509122c2b6eaf588cb004e5</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>
<entry>
<title>Update erd config generation to use in stif documentation</title>
<updated>2017-07-18T08:09:14+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2017-07-18T08:09:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=94024c697bba9ca2a8f0b96a6143e1c4b4b951fc'/>
<id>94024c697bba9ca2a8f0b96a6143e1c4b4b951fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>update install scripts and tasks</title>
<updated>2017-07-11T08:48:10+00:00</updated>
<author>
<name>Florent Peyraud</name>
</author>
<published>2017-07-11T08:48:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=485adab2f70fb071f936bb32f05fe6e0f88b6231'/>
<id>485adab2f70fb071f936bb32f05fe6e0f88b6231</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>improve packaging</title>
<updated>2017-07-06T13:54:35+00:00</updated>
<author>
<name>Florent Peyraud</name>
</author>
<published>2017-07-06T13:54:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=6509f34e8ebdac1c0d685a9f8acaa31d2c99c293'/>
<id>6509f34e8ebdac1c0d685a9f8acaa31d2c99c293</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix RoutingConstraintZone Policy</title>
<updated>2017-06-28T22:19:24+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2017-06-28T22:19:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=1adc021ba4d797152a6f31cfe17161ef20877fb7'/>
<id>1adc021ba4d797152a6f31cfe17161ef20877fb7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
