{"id":15346675,"url":"https://github.com/centic9/commons-dost","last_synced_at":"2025-04-15T02:37:18.957Z","repository":{"id":29902376,"uuid":"33448056","full_name":"centic9/commons-dost","owner":"centic9","description":"Utilitity library for stuff that I use in multiple projects","archived":false,"fork":false,"pushed_at":"2024-10-04T18:06:08.000Z","size":1394,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-17T05:09:08.929Z","etag":null,"topics":["collections","java","logging","subversion","zipfile"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/centic9.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2015-04-05T16:58:25.000Z","updated_at":"2024-10-04T18:06:12.000Z","dependencies_parsed_at":"2023-02-19T13:20:13.419Z","dependency_job_id":"f61f96e6-9342-4e67-aede-dc68df068a47","html_url":"https://github.com/centic9/commons-dost","commit_stats":{"total_commits":468,"total_committers":5,"mean_commits":93.6,"dds":"0.14529914529914534","last_synced_commit":"2b31693563308bb7bf5a8fe74044ff583a4c1150"},"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centic9%2Fcommons-dost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centic9%2Fcommons-dost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centic9%2Fcommons-dost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centic9%2Fcommons-dost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/centic9","download_url":"https://codeload.github.com/centic9/commons-dost/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248995106,"owners_count":21195497,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["collections","java","logging","subversion","zipfile"],"created_at":"2024-10-01T11:25:58.539Z","updated_at":"2025-04-15T02:37:16.586Z","avatar_url":"https://github.com/centic9.png","language":"Java","funding_links":["https://github.com/sponsors/centic9"],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/centic9/commons-dost/actions/workflows/gradle-build.yml/badge.svg)](https://github.com/centic9/commons-dost/actions)\n[![Gradle Status](https://gradleupdate.appspot.com/centic9/commons-dost/status.svg?branch=master)](https://gradleupdate.appspot.com/centic9/commons-dost/status)\n[![Release](https://img.shields.io/github/release/centic9/commons-dost.svg)](https://github.com/centic9/commons-dost/releases)\n[![GitHub release](https://img.shields.io/github/release/centic9/commons-dost.svg?label=changelog)](https://github.com/centic9/commons-dost/releases/latest)\n[![Tag](https://img.shields.io/github/tag/centic9/commons-dost.svg)](https://github.com/centic9/commons-dost/tags)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.dstadler/commons-dost/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/org.dstadler/commons-dost) \n[![Maven Central](https://img.shields.io/maven-central/v/org.dstadler/commons-dost.svg)](https://maven-badges.herokuapp.com/maven-central/org.dstadler/commons-dost)\n\nThis is a small library of code-pieces that I find useful in many of my projects. \n\nIt covers areas that I miss in the JDK itself and also in Apache Commons libraries, e.g. for arrays and collections, logging, networking stuff, \nas well as helpers for testing.\n\n## Contents\n\nHere an (incomplete) list of bits and pieces in this lib:\n* MappedCounter - counting things easily\n* DateParser - print out things like \"1h 2min ago\" instead of \"at 2015-04-01 16:23:23\"\n* ExecutionHelper - More easily run external processes and collect their output using Apache commons-exec underneath\n* DeleteOnCloseInputStream - Delete a file as soon as the stream is closed\n* SVNLogFileParser - Parse the XML output of 'svn log --xml ...'\n* ZipFileCloseInputStream - Close a ZipFile as soon as the related InputStream (usually returned by the ZipFile) is closed\n* ZipUtils - utilities for accessing content in Zip files recursively, i.e. access a file in a zip file inside a zip file.\n* ThreadDump - get a printable output of all stack-traces similar to the output of the `jstack` tool\n* ObjectAccessorList - a list which wraps another list and allows to transparently access single properties of the \ntype of object contained in the original list.\n* UnsupportedCollection and UnsupportedList as base implementations of Collection and List where all methods throw an exception\n* DocumentStarter - knows how to open documents of known file-types on different operating systems, usually by using platform-specific tools\n* ChromeDriverUtils - Get current installed version of Chrome and download a matching Selenium \"chromedriver\" executable\n* ExecutorUtil - Helpers when working with Java Executors\n* XMLHelper - Methods to create safe XML Parsers with dangerous features turned off\n* GPXTrackpointsParser - Simple parser for GPX files\n\nPlease note that some testing related pieces were moved into their own library to better separate these things. Look at\nhttp://github.com/centic9/commons-test for more details.\n\n## Use it\n\n### Gradle\n\n    compile 'org.dstadler:commons-dost:1.+'\n\n## Change it\n\n### Grab it\n\n    git clone https://github.com/centic9/commons-dost.git\n\n### Build it and run tests\n\n    cd commons-dost\n    ./gradlew check jacocoTestReport\n\n### Release it\n\n    ./gradlew --console=plain release \u0026\u0026 ./gradlew closeAndReleaseRepository\n    \n* This should automatically release the new version on MavenCentral\n* Afterwards go to the [Github releases page](https://github.com/centic9/commons-dost/releases) and add release-notes\n\n## Support this project\n\nIf you find this library useful and would like to support it, you can [Sponsor the author](https://github.com/sponsors/centic9)\n\n## Licensing\n\n* commons-dost is licensed under the [BSD 2-Clause License].\n* A few pieces are imported from other sources, the source-files contain the necessary license pieces/references.\n\n[BSD 2-Clause License]: https://www.opensource.org/licenses/bsd-license.php\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentic9%2Fcommons-dost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcentic9%2Fcommons-dost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentic9%2Fcommons-dost/lists"}