<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/app/models, branch 7101-workgroup-controls</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Refs #7101; Update policies</title>
<updated>2018-05-21T10:40:51+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-05-21T10:40:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=408b9f70f2dda294d30d7f1e4c524cafe85af06a'/>
<id>408b9f70f2dda294d30d7f1e4c524cafe85af06a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #7101; Update ComplianceControlSets index view</title>
<updated>2018-05-21T08:24:03+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-05-21T08:24:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=d3f131476c29e92dc3451ea6099d09149ab8658d'/>
<id>d3f131476c29e92dc3451ea6099d09149ab8658d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Test opposite routes in merge referential. Refs #6842</title>
<updated>2018-05-17T14:27:32+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-05-17T10:38:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=85864e22795e6a2f04032234e2e39a58e900f1a5'/>
<id>85864e22795e6a2f04032234e2e39a58e900f1a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Associate opposite_routes during merge (when available). Refs #6842</title>
<updated>2018-05-17T14:27:32+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-05-17T10:23:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=e0864d754a0467addb39ce860b659818877bb9ec'/>
<id>e0864d754a0467addb39ce860b659818877bb9ec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6624; Update parent's checksum on deletion</title>
<updated>2018-05-17T14:06:19+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-05-17T09:18:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=488237c48b6174873470d7b6ce3d1465df46ba20'/>
<id>488237c48b6174873470d7b6ce3d1465df46ba20</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #582 from af83/7073-Fix_imports_details</title>
<updated>2018-05-17T13:59:05+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2018-05-17T13:59:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=3a087de30b60baad7805b9d6786776aadb43792b'/>
<id>3a087de30b60baad7805b9d6786776aadb43792b</id>
<content type='text'>
Fix import details Refs #7073</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix import details Refs #7073</pre>
</div>
</content>
</entry>
<entry>
<title>Fix import details Refs #7073</title>
<updated>2018-05-17T12:21:11+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2018-05-17T12:21:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=d021c0698a99be789491d9719dbb6c269006f2bb'/>
<id>d021c0698a99be789491d9719dbb6c269006f2bb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>CleanUp: Add `#destroy_empty`</title>
<updated>2018-05-15T13:24:29+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-05-15T13:24:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ceec2e53425f8a1c726f4903d03e268386cb598e'/>
<id>ceec2e53425f8a1c726f4903d03e268386cb598e</id>
<content type='text'>
Gives us a single call site to trigger the destruction of vehicle
journeys, journey patterns, and routes without content.

This was previously done directly in the `#clean` method, but since it's
not needed during referential duplication (only during merges), we don't
want to enable it by default. Thus now to activate the same old
functionality, you would create a `CleanUp` like this:

    CleanUp.new(methods: [:destroy_empty])

Refs #6854
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Gives us a single call site to trigger the destruction of vehicle
journeys, journey patterns, and routes without content.

This was previously done directly in the `#clean` method, but since it's
not needed during referential duplication (only during merges), we don't
want to enable it by default. Thus now to activate the same old
functionality, you would create a `CleanUp` like this:

    CleanUp.new(methods: [:destroy_empty])

Refs #6854
</pre>
</div>
</content>
</entry>
<entry>
<title>CleanUp#clean: Replace `#destroy_*` calls with `#run_methods`</title>
<updated>2018-05-15T10:10:50+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-05-15T10:10:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=3667a7d4976a9e69ae990df9ba681f679e0ee4fa'/>
<id>3667a7d4976a9e69ae990df9ba681f679e0ee4fa</id>
<content type='text'>
It turns out that we don't care about destroying orphaned data. From
Alban:

&gt; Quand on duplique un JDD, on lance un CleanUp, sauf que la partie
&gt; "suppression des données orphelines" n'intéresse personne au final.

Replace the calls to
`#destory_{vehicle_journeys,journey_patterns,routes}` with one to
`#run_methods`. This change allows callers to run any cleanup methods
defined in `CleanUp`. For example:

    CleanUp.new(methods: [:destory_routes])

But now by default, none of these destroy methods are run, saving us
from doing extra work that it turns out we don't need to bother doing.

Refs #6854
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It turns out that we don't care about destroying orphaned data. From
Alban:

&gt; Quand on duplique un JDD, on lance un CleanUp, sauf que la partie
&gt; "suppression des données orphelines" n'intéresse personne au final.

Replace the calls to
`#destory_{vehicle_journeys,journey_patterns,routes}` with one to
`#run_methods`. This change allows callers to run any cleanup methods
defined in `CleanUp`. For example:

    CleanUp.new(methods: [:destory_routes])

But now by default, none of these destroy methods are run, saving us
from doing extra work that it turns out we don't need to bother doing.

Refs #6854
</pre>
</div>
</content>
</entry>
<entry>
<title>CleanUp: Add `#run_methods`</title>
<updated>2018-05-14T16:42:59+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-05-14T16:42:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=72fd54c38b958d0be9d608a676e8fef84691d088'/>
<id>72fd54c38b958d0be9d608a676e8fef84691d088</id>
<content type='text'>
This method is coupled with a new virtual attribute that can be used in
the initializer like:

    CleanUp.new(methods: [:destroy_routes])

The method will run all methods specified in the `:methods` list. The
plan is to replace the calls to `destroy_routes` etc. with a call to
this method. The result will be a more configurable clean-up process,
allowing users to selectively choose what to clean up by declaring what
methods in the `CleanUp` model to call.

Refs #6854
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This method is coupled with a new virtual attribute that can be used in
the initializer like:

    CleanUp.new(methods: [:destroy_routes])

The method will run all methods specified in the `:methods` list. The
plan is to replace the calls to `destroy_routes` etc. with a call to
this method. The result will be a more configurable clean-up process,
allowing users to selectively choose what to clean up by declaring what
methods in the `CleanUp` model to call.

Refs #6854
</pre>
</div>
</content>
</entry>
</feed>
