{"id":31645875,"url":"https://github.com/abaddon/kustomcompare","last_synced_at":"2026-03-02T11:01:40.198Z","repository":{"id":57732218,"uuid":"455552619","full_name":"abaddon/kustomCompare","owner":"abaddon","description":"A library to compare classes ","archived":false,"fork":false,"pushed_at":"2025-05-16T10:42:26.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T05:35:52.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abaddon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-02-04T13:13:24.000Z","updated_at":"2025-05-16T10:40:45.000Z","dependencies_parsed_at":"2025-10-07T05:34:44.913Z","dependency_job_id":"314464f8-fb26-4caa-987e-5347ae252c9e","html_url":"https://github.com/abaddon/kustomCompare","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/abaddon/kustomCompare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abaddon%2FkustomCompare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abaddon%2FkustomCompare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abaddon%2FkustomCompare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abaddon%2FkustomCompare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abaddon","download_url":"https://codeload.github.com/abaddon/kustomCompare/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abaddon%2FkustomCompare/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29999218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T09:59:02.300Z","status":"ssl_error","status_checked_at":"2026-03-02T09:59:02.001Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-07T05:17:06.581Z","updated_at":"2026-03-02T11:01:39.317Z","avatar_url":"https://github.com/abaddon.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kustomCompare\n\n[![Maven Central](https://img.shields.io/maven-metadata/v?color=40BA13\u0026metadataUrl=https%3A%2F%2Frepo1.maven.org%2Fmaven2%2Fio%2Fgithub%2Fabaddon%2FkustomCompare%2Fmaven-metadata.xml\u0026versionPrefix=0.)](https://ossindex.sonatype.org/component/pkg:maven/io.github.abaddon/kustomCompare)\n[![Java CI with Gradle](https://github.com/abaddon/kustomCompare/actions/workflows/gradle.yml/badge.svg)](https://github.com/abaddon/kustomCompare/actions/workflows/gradle.yml)\n[![codecov](https://codecov.io/gh/abaddon/kustomCompare/branch/main/graph/badge.svg?token=N24T6BXQB8)](https://codecov.io/gh/abaddon/kustomCompare)\n\nA library to compare classes\n\nExample\n\n```kotlin\ndata class User(\n    val name: String,\n    val birthdate: Instant\n)\n\nval birthdate = Instant.now()\nval user1 = UserTest(\"stefano\", Instant.now())\nval user2 = UserTest(\"stefano\", Instant.now())\n\n// Define the fields to exclude in the compare\nval compareLogicConfig = CompareLogicConfig()\n    .addMemberToIgnore(\"birthdate\")\n// Create che compare \nval compareLogic = CompareLogic(compareLogicConfig)\n\n// compare the 2 elements\nval result = compareLogic.compare(user1, user2)\n\nassertTrue(result.result())\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabaddon%2Fkustomcompare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabaddon%2Fkustomcompare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabaddon%2Fkustomcompare/lists"}