<p>The new dependency manager takes over some of the responsibilities of the middle. This way we decouple the dependency tracking from the object storage. It makes the code easier to understand and to change.</p>
<p>There are more refactorings coming after this.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/osm2pgsql/pull/1168'>https://github.com/openstreetmap/osm2pgsql/pull/1168</a></p>
<h4>Commit Summary</h4>
<ul>
<li>New dependency manager class</li>
<li>Add debug access to pending way/relation ids in dependency manager</li>
<li>Disentangle the pending_processor code</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1168/files#diff-95e351a3805a1dafa85bf20b81d086e6">src/CMakeLists.txt</a>
(2)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1168/files#diff-bf02c3c419d3ddb36412d1341769d7de">src/dependency-manager.cpp</a>
(60)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1168/files#diff-fe39fe48c76cd95051f3c9849b955772">src/dependency-manager.hpp</a>
(161)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1168/files#diff-added0e699c20a170b5074495ff83c22">src/middle-pgsql.cpp</a>
(106)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1168/files#diff-f9b6b228e78e79858f9e52bb8c6ff081">src/middle-pgsql.hpp</a>
(17)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1168/files#diff-31eac6c228c4ab72f60d657761c9ba4e">src/middle-ram.hpp</a>
(5)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1168/files#diff-1e6a9b5f31e0c459d4b8545c57956b49">src/middle.hpp</a>
(39)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1168/files#diff-faaea964870887b7bf7a4925ed64850f">src/osm2pgsql.cpp</a>
(12)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1168/files#diff-945b0338af91c31d5230475d7275513d">src/osmdata.cpp</a>
(39)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1168/files#diff-71bd4d24701983b83cd8beedb90c03c8">src/osmdata.hpp</a>
(5)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1168/files#diff-328a9b7d06dabd86e513eeb757c3b39c">src/output.hpp</a>
(15)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1168/files#diff-4b779229f9f4cf8aa974a426de0dbed2">tests/common-import.hpp</a>
(40)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1168/files#diff-534e625287cf03f1406cbacfbc2d30ba">tests/test-middle.cpp</a>
(84)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1168/files#diff-edcb0ef3e4ea94ce57f1bda104aab90e">tests/test-output-multi-point-multi-table.cpp</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1168/files#diff-b3a2824fcd545a1671d10c545a9fcc02">tests/test-parse-osmium.cpp</a>
(60)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/osm2pgsql/pull/1168.patch'>https://github.com/openstreetmap/osm2pgsql/pull/1168.patch</a></li>
<li><a href='https://github.com/openstreetmap/osm2pgsql/pull/1168.diff'>https://github.com/openstreetmap/osm2pgsql/pull/1168.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/pull/1168">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353VOYW5IFUF6NVU6LBDRRGF3LANCNFSM4M7BTDNQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353WKJCEGJER7VTVBTCTRRGF3LA5CNFSM4M7BTDN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JGEOKKA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/pull/1168",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/1168",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>