Commit Graph

21 Commits

Author SHA1 Message Date
Dave Shanley
b83e751aa7 Working through test coverage of schema proxy
Main logic is now in place, ready for fleshing out. Pattern feels right.
2022-10-09 19:33:58 -04:00
Dave Shanley
277c7c0a4c Working through schema changes. 2022-10-09 14:37:05 -04:00
Dave Shanley
4b9c5fba1e Building out schema comparison mechanism
Which has led to a new wider hashing capability for the low level API. hashing makes it very easy to determine changes quickly, without having to run comparisons to discover changes, could really speed things up moving forward.
2022-10-08 14:09:46 -04:00
Dave Shanley
7f61a7624d Fixed flaky test in what changed
There is no order guarantee once parsed, I need to stop nmaking this mistake.

Signed-off-by: Dave Shanley <dave@quobix.com>
2022-10-05 11:37:42 -04:00
Dave Shanley
f7703c4266 Added example object to what-changed feature.
Ready to tackle the main event now. The Schema!

Signed-off-by: Dave Shanley <dave@quobix.com>
2022-10-05 11:33:35 -04:00
Dave Shanley
3649dc594f Refactored total change counts
Design is more uniformed and standardized, patterns are bubbling up. I think we're ready to tackle the schema soon.

Signed-off-by: Dave Shanley <dave@quobix.com>
2022-10-05 11:24:37 -04:00
Dave Shanley
0b2c3c1201 Added breaking change count to core design
Everything will now calculate total changes and breaking changes as a convenience and aggregation mechanism.

Signed-off-by: Dave Shanley <dave@quobix.com>
2022-10-05 10:15:55 -04:00
Dave Shanley
0dbbc8e826 Added discriminator checks and cleaned up some more patterns
Still quite early in the pattern finding process, needs another sweep to cache and fetch more pre-calculated change counts.

Signed-off-by: Dave Shanley <dave@quobix.com>
2022-10-05 09:27:46 -04:00
Dave Shanley
07c05ee540 Added XML object to what-changed.
Picking off low hanging fruit, before attacking the big, ugly stuff.

Signed-off-by: Dave Shanley <dave@quobix.com>
2022-10-04 07:35:06 -04:00
Dave Shanley
65fa21be86 Continued pattern building, added info changes
tried to make some more generic patterns, but I think it's about as thin as it can be now, some boilerplate will be required.

Signed-off-by: Dave Shanley <dave@quobix.com>
2022-10-03 09:46:12 -04:00
Dave Shanley
9775c384f7 Removed the ModifiedAndRemoved and Moved change types from the library.
They are not useful and will create a lot of noise, The context will always be available, but changes in context will not result in a recorded change.

Signed-off-by: Dave Shanley <dave@quobix.com>
2022-10-02 12:38:28 -04:00
Dave Shanley
60da35e8b5 Added in license diff check
Also refactored some of the import names, as they were pointless.

Signed-off-by: Dave Shanley <dave@quobix.com>
2022-10-02 12:02:52 -04:00
Dave Shanley
b4195d13f3 Refactored what-changed core code to be ready for buildout.
The designs and patterns are set, the way forward for low-level models is clear. Documentation and cleanliness will now be a side by side process as the rest is built out.

Signed-off-by: Dave Shanley <dave@quobix.com>
2022-10-02 10:58:53 -04:00
Dave Shanley
4cf9a0e0cd refactored extensions to use new clean generics.
feels pretty clean!
2022-10-01 12:50:26 -04:00
Dave Shanley
3d0fe1cc2e Cleaned up tags logic for what-changed feature.
Using new generic functions
2022-10-01 12:40:30 -04:00
Dave Shanley
ba37ca4e29 Collapsed repetitive code into generic functions.
Establishing patterns for individual objects, discovering designs to collapse what would be an obscene amount of repetitive code.
2022-09-30 10:39:35 -04:00
Dave Shanley
cb7df7c9b2 Adding more use cases
Fleshing out design to see how it holds up, needs more work.
2022-09-29 10:47:22 -04:00
Dave Shanley
a9252c656d Added CreateChange generic method
Works pretty well, cuts down on code.
2022-09-29 10:09:47 -04:00
Dave Shanley
c47cc15cad Added tags to what-changed 2022-09-29 07:46:21 -04:00
Dave Shanley
cd68570278 Fleshing out what-changed functionality.
Starting at the bottom again with low levels and sketching out how to consume it.
2022-09-28 11:41:59 -04:00
Dave Shanley
c099e0def5 3.0 Schema used by default now for 3.0.x minor versions.
Originally reported in vacuum: https://github.com/daveshanley/vacuum/issues/131
2022-09-28 07:17:57 -04:00