alphagov / trade-tariff-backend

Enabling the population and distribution via API of UK Customs tariffs and duties
MIT License
7 stars 6 forks source link

Sync process refactoring #158

Closed rodzyn closed 10 years ago

rodzyn commented 10 years ago

Since it was hard to read ~200 LOC sync method, I've put some effort to refactor it so it my opinion it's easier to read & understand now. Also, now I make two different loops to apply Taric data and Chief data afterwards in separate transactions. I've also changed few additional stuff, including tests so please take a look on that. (/cc @matthewford )